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
9f66e99a
Commit
9f66e99a
authored
Aug 20, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into…
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into develop_tzs_register_to_0715
parents
a789708c
46e05396
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
16 deletions
+20
-16
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+5
-10
JGStatisticsMapper.xml
...tics-api/src/main/resources/mapper/JGStatisticsMapper.xml
+4
-3
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+7
-3
problem.json
...odule-statistics-biz/src/main/resources/json/problem.json
+4
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jczs/amos-boot-module-jczs-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
9f66e99a
...
...
@@ -134,17 +134,12 @@
AND regulatory_labels LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.regulatoryLabels},'%')
</if>
<if
test=
"orgCodeList != null and ! orgCodeList.isEmpty() and orgCodeList.size() > 0"
>
<foreach
collection=
"orgCodeList"
item=
"item"
index=
"index"
>
<if
test=
"index==0"
>
AND
</if>
<if
test=
"index!= 0"
>
OR
</if>
supervise_org_code LIKE CONCAT('%',#{item},'%')
<if
test=
"orgCodeList != null and !orgCodeList.isEmpty()"
>
AND (
<foreach
collection=
"orgCodeList"
item=
"item"
separator=
" OR "
>
supervise_org_code LIKE CONCAT('%', #{item}, '%')
</foreach>
)
</if>
AND is_delete = 0
</where>
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/JGStatisticsMapper.xml
View file @
9f66e99a
...
...
@@ -314,6 +314,7 @@
WHERE
C.org_code LIKE concat ( #{orgCode}, '%' )
and A.certificate_status = '已登记'
and A.is_delete = 0
</select>
<select
id=
"useCountByOrgCode"
resultType=
"java.lang.Long"
>
...
...
@@ -348,21 +349,21 @@
tzs_jg_installation_notice T
WHERE
T.notice_status = 6616
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
all
SELECT COUNT
( 1 )
FROM
tzs_jg_maintain_notice T
WHERE
T.notice_status = 6616
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
all
SELECT COUNT
( 1 )
FROM
tzs_jg_reform_notice T
WHERE
T.notice_status = 6616
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' ) UNION
all
SELECT COUNT
( 1 )
FROM
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DPSubServiceImpl.java
View file @
9f66e99a
...
...
@@ -528,9 +528,9 @@ public class DPSubServiceImpl {
e
.
printStackTrace
();
}
}
if
(
"正常"
.
equals
(
problemStatus
))
{
if
(
"正常"
.
equals
(
problemStatus
)
||
"已处理"
.
equals
(
problemStatus
)
)
{
color
=
"green"
;
}
else
if
(
"异常"
.
equals
(
problemStatus
))
{
}
else
if
(
"异常"
.
equals
(
problemStatus
)
||
"未处理"
.
equals
(
problemStatus
)
)
{
color
=
"red"
;
}
qrcode
.
put
(
"value"
,
!
ValidationUtil
.
isEmpty
(
result
.
get
(
"SUPERVISORY_CODE"
))
?
"https://sxtzsb.sxsei.com:9435/tzs/?code="
+
result
.
get
(
"SUPERVISORY_CODE"
)
:
result
.
get
(
"USE_ORG_CODE"
));
...
...
@@ -597,8 +597,12 @@ public class DPSubServiceImpl {
((
JSONArray
)
value
).
stream
().
forEach
(
y
->
{
JSONObject
yObj
=
(
JSONObject
)
y
;
String
[]
str
=
yObj
.
getString
(
"url"
).
split
(
"\\."
);
String
icon
=
MatinfoEnum
.
getIconUrl
(
str
[
1
]).
getIcon
();
if
(
ValidationUtil
.
isEmpty
(
str
)){
yObj
.
put
(
"thumb"
,
yObj
.
getString
(
"url"
));
}
else
{
String
icon
=
Objects
.
requireNonNull
(
MatinfoEnum
.
getIconUrl
(
str
[
1
])).
getIcon
();
yObj
.
put
(
"thumb"
,
ValidationUtil
.
isEmpty
(
icon
)
?
yObj
.
getString
(
"url"
)
:
icon
);
}
});
attachmentUploadDatasObj
.
put
(
"value"
,
value
);
String
accept
=
visualParams
.
getString
(
"accept"
);
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/problem.json
View file @
9f66e99a
...
...
@@ -77,6 +77,10 @@
"content"
:
{
"keyinfo"
:
{
"title"
:
"{principalUnit}"
,
"qrcode"
:
{
"title"
:
"监管码"
,
"problem"
:
[]
},
"keyParams"
:
[
{
"key"
:
"sourceType"
,
"label"
:
"隐患主体类型"
},
{
"key"
:
"problemType"
,
"label"
:
"隐患类型"
},
...
...
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