diff --git a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java index a8cce03a..2ece01c4 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java @@ -2984,6 +2984,7 @@ public class ResourceServiceImpl extends CrudServiceImpl { + logger.info("云资源使用信息信息:" + JSON.toJSONString(index)); switch (index.get("type").toString()) { // 根据类型填充其审核状态 case "云主机": case "云数据库": 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/logback-spring.xml b/renren-admin/src/main/resources/logback-spring.xml index 90ec8960..3abc2e6f 100644 --- a/renren-admin/src/main/resources/logback-spring.xml +++ b/renren-admin/src/main/resources/logback-spring.xml @@ -73,7 +73,7 @@ - + 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"