shudonghui il y a 1 an
Parent
commit
7997658424
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      sop-business/src/main/resources/mapper/SysUserMapper.xml

+ 2 - 0
sop-business/src/main/resources/mapper/SysUserMapper.xml

@@ -45,6 +45,7 @@
         left join sys_custom sc on sc.id = tbc.custom_id
         left join sys_user su ON tfcfe.create_id = su.id
         <where> 1 = 1
+            and tbs.status!='CANCEL'
             and art.ASSIGNEE_ = cast(#{userId} as char)
             <if test="flowTaskTypeEnum != null and flowTaskTypeEnum != '' and flowTaskTypeEnum == 'DRAFT'">
                 and tffa.status = #{flowTaskTypeEnum}
@@ -109,6 +110,7 @@
         left join sys_custom sc on sc.id = tbc.custom_id
         left join sys_user su ON tfcfe.create_id = su.id
         <where> 1 = 1
+            and tbs.status!='CANCEL'
             and art.ASSIGNEE_ is null
             and ari.USER_ID_ = cast(#{userId} as char)
             and ari.TYPE_ = 'candidate'