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())) {
pageSize = Integer.parseInt(params.get("pageSize").toString());
}
ArrayList<Object> resultList = new ArrayList<>();
resultList.addAll(sysUserDao.getApproverUnconfiguredDepartment(pageNum, pageSize));
pageNum = (pageNum - 1) * pageSize;
ArrayList<Object> resultList = new ArrayList<>(sysUserDao.getApproverUnconfiguredDepartment(pageNum, pageSize));
Map<String, Object> resultMap = new HashMap<>();
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
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 sys_user su ON ahp.START_USER_ID_ = su.id
WHERE
aht.ASSIGNEE_ = #{userId}
<if test="userName != null and userName != ''" >
and su.real_name like CONCAT('%', #{userName} ,'%')
</if>
<if test="processInstanceId != null">
and aht.PROC_INST_ID_ = #{processInstanceId}
</if>

View File

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