Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
10995161
Commit
10995161
authored
Apr 12, 2023
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
238eb5ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
14 deletions
+19
-14
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+12
-10
QualityProblemMapper.xml
...gp-api/src/main/resources/mapper/QualityProblemMapper.xml
+3
-3
ProjectServiceImpl.java
.../boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
+4
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
10995161
...
@@ -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"
...
...
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/QualityProblemMapper.xml
View file @
10995161
...
@@ -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
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectServiceImpl.java
View file @
10995161
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment