This commit is contained in:
黎润豪 2026-03-06 14:25:20 +08:00
commit a5a0230d7f
1 changed files with 3 additions and 3 deletions

View File

@ -407,7 +407,7 @@
</if> </if>
</if> </if>
and ( m.SIGNUSERID = #{customParamMap.userId} and ( m.SIGNUSERID = #{customParamMap.userId}
or (m.currentNodeOrBizStatus in ('exptlistEnter','startAccept') AND m.SIGNUSERID IS null or (m.currentNodeOrBizStatus in ('exptlistEnter','startAccept','serIllegalEnter') AND m.SIGNUSERID IS null
<choose> <choose>
<when test="customParamMap.checkChildUnit eq '0'.toString()"> <when test="customParamMap.checkChildUnit eq '0'.toString()">
AND m.area_code = #{customParamMap.areaCode} AND m.area_code = #{customParamMap.areaCode}
@ -502,7 +502,7 @@
</if> </if>
and ( m.SIGNUSERID = #{customParamMap.userId} and ( m.SIGNUSERID = #{customParamMap.userId}
or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus in ('exptlistEnter','startAccept') AND m.SIGNUSERID IS null) or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus in ('exptlistEnter','startAccept','serIllegalEnter') AND m.SIGNUSERID IS null)
or exists (select 1 from tsrefgroupanduser tg where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId})) or exists (select 1 from tsrefgroupanduser tg where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId}))
</where> </where>
</select> </select>
@ -1703,7 +1703,7 @@
) m ) m
where m.BUSTYPE in ('33','7','12','14','27') where m.BUSTYPE in ('33','7','12','14','27')
and ( m.SIGNUSERID = #{customParamMap.userId} and ( m.SIGNUSERID = #{customParamMap.userId}
or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus in ('exptlistEnter','startAccept') AND m.SIGNUSERID IS null) or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus in ('exptlistEnter','startAccept','serIllegalEnter') AND m.SIGNUSERID IS null)
or exists (select 1 from tsrefgroupanduser tg where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId}) ) or exists (select 1 from tsrefgroupanduser tg where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId}) )
</select> </select>