diff --git a/renren-admin/src/main/java/io/renren/modules/sys/service/impl/SysUserServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/sys/service/impl/SysUserServiceImpl.java index ef93af9a..4ca731ec 100644 --- a/renren-admin/src/main/java/io/renren/modules/sys/service/impl/SysUserServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/sys/service/impl/SysUserServiceImpl.java @@ -540,8 +540,8 @@ public class SysUserServiceImpl extends BaseServiceImpl resultList = new ArrayList<>(); - resultList.addAll(sysUserDao.getApproverUnconfiguredDepartment(pageNum, pageSize)); + pageNum = (pageNum - 1) * pageSize; + ArrayList resultList = new ArrayList<>(sysUserDao.getApproverUnconfiguredDepartment(pageNum, pageSize)); Map resultMap = new HashMap<>(); resultMap.put("total", sysUserDao.getApproverUnconfiguredDepartmentCount()); diff --git a/renren-admin/src/main/resources/mapper/activiti/ProcessActivityDao.xml b/renren-admin/src/main/resources/mapper/activiti/ProcessActivityDao.xml index 2995f245..aeb193e1 100644 --- a/renren-admin/src/main/resources/mapper/activiti/ProcessActivityDao.xml +++ b/renren-admin/src/main/resources/mapper/activiti/ProcessActivityDao.xml @@ -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} + + and su.real_name like CONCAT('%', #{userName} ,'%') + and aht.PROC_INST_ID_ = #{processInstanceId} diff --git a/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml b/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml index 3b6bc1ff..9b78d09d 100644 --- a/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml +++ b/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml @@ -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"