shudonghui 1 year ago
parent
commit
7997658424
1 changed files with 2 additions and 0 deletions
  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'