|
@@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectClockUserInfoVo"/>
|
|
|
<where>
|
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
+ <if test="userId != null "> and user_id = #{userId}</if>
|
|
|
<if test="deptName != null "> and dept_name like concat('%', #{deptName}, '%')</if>
|
|
|
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
|
|
<if test="phonenumber != null and phonenumber != ''"> and phonenumber = #{phonenumber}</if>
|