信用修复待办数量修改统计语句

This commit is contained in:
zhouxy 2026-01-05 14:08:33 +08:00
parent e05e4d6293
commit 5bdb4cb44c
2 changed files with 4 additions and 2 deletions

View File

@ -302,6 +302,7 @@ public class TaskController extends BaseController {
taskListParam.setSignuserid(curUser.getPrimaryKey());
Map<String, Object> customParamMap = pageRequestDto.getCustomParamMap();
customParamMap.put("areaCode", curUser.getRegionID());
if(customParamMap != null && customParamMap.get("UNISCIDORREGNO")!=null){
if (StringUtils.isNotBlank(customParamMap.get("UNISCIDORREGNO").toString())) {

View File

@ -452,8 +452,9 @@
</if>
</if>
and ( m.SIGNUSERID = #{customParamMap.userId} or exists (select 1 from tsrefgroupanduser tg
where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId}))
and ( m.SIGNUSERID = #{customParamMap.userId}
or (m.area_code = #{customParamMap.areaCode} AND m.currentNodeOrBizStatus = 'exptlistEnter' AND m.SIGNUSERID IS null)
or exists (select 1 from tsrefgroupanduser tg where tg.GROUPID = m.ACCEPTGROUPID and tg.USERID = #{customParamMap.userId}))
</where>
</select>