ezhizao_zx 9 月之前
父節點
當前提交
b0731a480b

+ 1 - 0
src/main/resources/mybatis/business/auxiliaryDaywork/BizDayworkAuxiliaryItemMapper.xml

@@ -157,6 +157,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             t1.deleted = 0
             <if test="id != null"> AND t1.id = #{id}</if>
             <if test="deptName != null  and deptName != ''"> AND t1.dept_name like concat('%', #{deptName}, '%')</if>
+            <if test="userId != null "> AND t1.user_id = #{userId}</if>
             <if test="status != null  and status != ''"> AND t1.status = #{status}</if>
             <if test="userName != null  and userName != ''"> AND t1.user_name like concat('%', #{userName}, '%')</if>
             <if test="nickName != null  and nickName != ''"> AND t1.nick_name like concat('%', #{nickName}, '%')</if>