Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-12-27 10:00:09 +08:00
commit be805a0272
5 changed files with 10 additions and 3 deletions

View File

@ -2984,6 +2984,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
try {
list = lcJdbcTemplate.queryForList(sb.toString());
list = list.stream().map(index -> {
logger.info("云资源使用信息信息:" + JSON.toJSONString(index));
switch (index.get("type").toString()) { // 根据类型填充其审核状态
case "云主机":
case "云数据库":

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

@ -73,7 +73,7 @@
<appender-ref ref="FILE_INFO"/>
</logger>
<logger name="org.springboot.sample" level="ERROR"/>
<logger name="io.renren" level="ERROR"/>
<logger name="io.renren" level="INFO"/>
</springProfile>
<root level="INFO">

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"