Commit 10995161 authored by zhangyingbin's avatar zhangyingbin

修改问题

parent 238eb5ea
...@@ -5,16 +5,18 @@ ...@@ -5,16 +5,18 @@
<select id="getInfoByUseUnit" <select id="getInfoByUseUnit"
resultType="com.yeejoin.amos.boot.module.tzs.api.dto.EquEnterDto"> resultType="com.yeejoin.amos.boot.module.tzs.api.dto.EquEnterDto">
SELECT SELECT
RI.sequence_nbr, RI.sequence_nbr,
RI.use_org_code, RI.use_org_code,
RI.equ_category, RI.equ_category,
RI.product_name, RI.product_name,
UI.address UI.address
FROM tz_jg_registration_info RI FROM
LEFT JOIN tz_jg_use_info UI ON RI.sequence_code = UI.sequence_code idx_biz_jg_register_info RI
LEFT JOIN tz_base_enterprise_info EI ON EI.use_code = UI.use_unit_credit_code LEFT JOIN idx_biz_jg_use_info UI ON RI."RECORD" = UI."RECORD"
WHERE EI.use_unit =#{useUnit} LEFT JOIN tz_base_enterprise_info EI ON EI.use_code = UI."USE_UNIT_CREDIT_CODE"
LEFT JOIN idx_biz_jg_other_info oi ON oi."RECORD" = RI."RECORD"
WHERE EI.use_unit =#{useUnit} and oi."CLAIM_STATUS" = '已认领'
</select> </select>
<select id="getInfo" <select id="getInfo"
......
...@@ -72,10 +72,10 @@ ...@@ -72,10 +72,10 @@
<select id="qualityProblemStatistics" resultType="java.util.Map"> <select id="qualityProblemStatistics" resultType="java.util.Map">
SELECT SELECT
qi.generate_stage AS name, IFNULL(qi.generate_stage,'其他阶段') AS name,
count(1) AS value count(1) AS value
FROM FROM
tz_ugp_quality_problem AS qi (SELECT NULLIF(qi.generate_stage,'') AS generate_stage, qi.project_id FROM tz_ugp_quality_problem qi) AS qi
<where> <where>
<if test="projectIds != null and projectIds.size > 0"> <if test="projectIds != null and projectIds.size > 0">
and qi.project_id in and qi.project_id in
......
...@@ -935,7 +935,9 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project ...@@ -935,7 +935,9 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
private void changeStatus(List<Map<String, Object>> data, List<Map<String, Object>> fileList) { private void changeStatus(List<Map<String, Object>> data, List<Map<String, Object>> fileList) {
data.forEach(item -> { data.forEach(item -> {
List<Map<String, Object>> collect = fileList.stream().filter(itemData -> itemData.get(symbolKey).equals(item.get(symbolKey))).collect(Collectors.toList()); List<Map<String, Object>> collect = fileList.stream().filter(itemData -> itemData.get(symbolKey).equals(item.get(symbolKey))).collect(Collectors.toList());
item.put("auditStatus", ObjectUtils.isEmpty(collect.get(0).get(status)) ? "" : collect.get(0).get(status)); if(!ValidationUtil.isEmpty(collect)) {
item.put("auditStatus", ObjectUtils.isEmpty(collect.get(0).get(status)) ? "" : collect.get(0).get(status));
}
}); });
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment