yjwang преди 1 седмица
родител
ревизия
50f7b8aecf
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      fs-service/src/main/resources/mapper/his/FsUserMapper.xml

+ 6 - 0
fs-service/src/main/resources/mapper/his/FsUserMapper.xml

@@ -383,6 +383,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="projectId != null">
                 AND ucu.project_id = #{projectId}
             </if>
+            <if test="status != null">
+                AND ucu.status = #{status}
+            </if>
         </where>
     </select>
 
@@ -421,6 +424,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="projectId != null">
                 AND ucu.project_id = #{projectId}
             </if>
+            <if test="status != null">
+                AND ucu.status = #{status}
+            </if>
         </where>
     </select>
     <update id="transferCompanyUser">