瀏覽代碼

包厢菜谱

tjf 2 月之前
父節點
當前提交
8371111802
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruoyi-system/src/main/resources/mapper/system/ClockUserInfoMapper.xml

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/ClockUserInfoMapper.xml

@@ -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>