Browse Source

project增加用户列表查询条件

chenjun 1 year ago
parent
commit
403334ce37

+ 3 - 0
zjugis-business/src/main/resources/mapper/oracle/ProjectMapper.xml

@@ -83,6 +83,9 @@
         <if test="params != null and params.userId != null  and params.userId != ''">
             LEFT JOIN PROJECT_WORKER_RELATION PW ON PW.PROJECT_ID = P.ID
         </if>
+        <if test="params != null and params.userId == null  and  params.userList != null and params.userList.size > 0">
+            LEFT JOIN PROJECT_WORKER_RELATION PW ON PW.PROJECT_ID = P.ID
+        </if>
         <where>
             P.ISVALID = 1 AND P.FLOW_STATUS IN (90,99)
             <if test="params != null and params.hyId != null">