diff --git a/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml b/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml index 751b3a7..a1999fa 100644 --- a/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml +++ b/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml @@ -375,7 +375,7 @@ and ( m.SIGNUSERID = #{customParamMap.userId} - or (m.currentNodeOrBizStatus = 'exptlistEnter' AND m.SIGNUSERID IS null + or (m.currentNodeOrBizStatus in ('exptlistEnter','startAccept') AND m.SIGNUSERID IS null AND m.area_code = #{customParamMap.areaCode} @@ -465,7 +465,7 @@ and ( m.SIGNUSERID = #{customParamMap.userId} - or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus = 'exptlistEnter' AND m.SIGNUSERID IS null) + or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus in ('exptlistEnter','startAccept') AND m.SIGNUSERID IS null) or exists (select 1 from tsrefgroupanduser tg where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId})) @@ -1586,7 +1586,7 @@ ) m where m.BUSTYPE in ('33','7','12','14','27') and ( m.SIGNUSERID = #{customParamMap.userId} - or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus = 'exptlistEnter' AND m.SIGNUSERID IS null) + or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus in ('exptlistEnter','startAccept') AND m.SIGNUSERID IS null) or exists (select 1 from tsrefgroupanduser tg where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId}) )