This commit is contained in:
wangliwen 2022-12-27 09:59:50 +08:00
commit 96abf890b6
3 changed files with 8 additions and 2 deletions

View File

@ -540,8 +540,8 @@ public class SysUserServiceImpl extends BaseServiceImpl<SysUserDao, SysUserEntit
if (params.get("pageSize") != null && StringUtils.isNumber(params.get("pageSize").toString())) { if (params.get("pageSize") != null && StringUtils.isNumber(params.get("pageSize").toString())) {
pageSize = Integer.parseInt(params.get("pageSize").toString()); pageSize = Integer.parseInt(params.get("pageSize").toString());
} }
ArrayList<Object> resultList = new ArrayList<>(); pageNum = (pageNum - 1) * pageSize;
resultList.addAll(sysUserDao.getApproverUnconfiguredDepartment(pageNum, pageSize)); ArrayList<Object> resultList = new ArrayList<>(sysUserDao.getApproverUnconfiguredDepartment(pageNum, pageSize));
Map<String, Object> resultMap = new HashMap<>(); Map<String, Object> resultMap = new HashMap<>();
resultMap.put("total", sysUserDao.getApproverUnconfiguredDepartmentCount()); resultMap.put("total", sysUserDao.getApproverUnconfiguredDepartmentCount());

View File

@ -41,8 +41,12 @@
( SELECT DISTINCT PROC_DEF_ID_, PROC_INST_ID_, ASSIGNEE_ FROM ACT_HI_TASKINST ) aht ( SELECT DISTINCT PROC_DEF_ID_, PROC_INST_ID_, ASSIGNEE_ FROM ACT_HI_TASKINST ) aht
LEFT JOIN ACT_HI_PROCINST ahp ON aht.PROC_INST_ID_ = ahp.PROC_INST_ID_ LEFT JOIN ACT_HI_PROCINST ahp ON aht.PROC_INST_ID_ = ahp.PROC_INST_ID_
LEFT JOIN ACT_RE_PROCDEF arp ON aht.PROC_DEF_ID_ = arp.ID_ LEFT JOIN ACT_RE_PROCDEF arp ON aht.PROC_DEF_ID_ = arp.ID_
LEFT JOIN sys_user su ON ahp.START_USER_ID_ = su.id
WHERE WHERE
aht.ASSIGNEE_ = #{userId} aht.ASSIGNEE_ = #{userId}
<if test="userName != null and userName != ''" >
and su.real_name like CONCAT('%', #{userName} ,'%')
</if>
<if test="processInstanceId != null"> <if test="processInstanceId != null">
and aht.PROC_INST_ID_ = #{processInstanceId} and aht.PROC_INST_ID_ = #{processInstanceId}
</if> </if>

View File

@ -1079,8 +1079,10 @@
taa.apply_price AS "applyPrice" taa.apply_price AS "applyPrice"
FROM FROM
t_ability_application taa t_ability_application taa
LEFT JOIN tb_data_resource tdr ON taa.resource_id = tdr.id
WHERE WHERE
1 = 1 1 = 1
AND tdr.del_flag = 0
AND taa.approve_status = '通过' UNION ALL AND taa.approve_status = '通过' UNION ALL
SELECT SELECT
tmb.apply_price AS "applyPrice" tmb.apply_price AS "applyPrice"