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
e92bb09c
Commit
e92bb09c
authored
Mar 17, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全追溯企业许可问题监管单位code赋值错误修改
parent
88dab3c9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
CommonMapper.xml
...-module-jg-api/src/main/resources/mapper/CommonMapper.xml
+2
-0
SafetyProblemTopicMessage.java
...oot/module/jg/biz/listener/SafetyProblemTopicMessage.java
+1
-1
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+5
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/CommonMapper.xml
View file @
e92bb09c
...
...
@@ -2575,6 +2575,7 @@
ei.use_unit_code useUnitCode,
ei.use_unit useUnit,
ei.unit_type unitType,
ei.supervise_code superviseCode,
ei.supervise_org_code superviseOrgCode,
ei.supervise_org_name superviseOrgName,
ul.sequence_nbr problemSourceId,
...
...
@@ -2639,6 +2640,7 @@
ei.use_unit_code useUnitCode,
ei.use_unit useUnit,
ei.unit_type unitType,
ei.supervise_code superviseCode,
ei.supervise_org_code superviseOrgCode,
ei.supervise_org_name superviseOrgName,
tup.sequence_nbr problemSourceId,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/listener/SafetyProblemTopicMessage.java
View file @
e92bb09c
...
...
@@ -176,7 +176,7 @@ public class SafetyProblemTopicMessage extends EmqxListener {
safetyProblemTracing
.
setPrincipalUnitCode
(
json
.
getOrDefault
(
"useUnitCode"
,
""
).
toString
());
safetyProblemTracing
.
setPrincipalUnitType
(
json
.
getOrDefault
(
"unitType"
,
""
).
toString
());
safetyProblemTracing
.
setGoverningBody
(
json
.
getOrDefault
(
"superviseOrgName"
,
""
).
toString
());
safetyProblemTracing
.
setGoverningBodyCode
(
json
.
getOrDefault
(
"
useUnit
Code"
,
""
).
toString
());
safetyProblemTracing
.
setGoverningBodyCode
(
json
.
getOrDefault
(
"
supervise
Code"
,
""
).
toString
());
safetyProblemTracing
.
setGoverningBodyOrgCode
(
json
.
getOrDefault
(
"superviseOrgCode"
,
""
).
toString
());
safetyProblemTracing
.
setCreateDate
(
new
Date
());
safetyProblemTracing
.
setProblemStatus
(
SafetyProblemStatusEnum
.
UNHANDLED
.
getName
());
...
...
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/JGDPStatisticsServiceImpl.java
View file @
e92bb09c
...
...
@@ -80,9 +80,7 @@ import java.math.RoundingMode;
import
java.nio.charset.StandardCharsets
;
import
java.text.SimpleDateFormat
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
import
java.time.format.DateTimeFormatter
;
import
java.time.temporal.TemporalAdjusters
;
import
java.util.*
;
import
java.util.concurrent.ThreadLocalRandom
;
import
java.util.function.Function
;
...
...
@@ -3447,7 +3445,12 @@ public class JGDPStatisticsServiceImpl {
if
(
com
.
baomidou
.
mybatisplus
.
core
.
toolkit
.
ObjectUtils
.
isEmpty
(
orgCode
)){
return
new
Page
<>();
}
// 默认登录监管单位orgcode过滤
problemModel
.
setGoverningBodyOrgCode
(
orgCode
);
if
(!
ObjectUtils
.
isEmpty
(
problemModel
.
getGoverningBodyOrgCode
())){
// 筛选条件起效
problemModel
.
setGoverningBodyOrgCode
(
problemModel
.
getGoverningBodyOrgCode
());
}
// 使用orgCode过滤
// 将单位类型从code转化为value
if
(!
ValidationUtil
.
isEmpty
(
problemModel
.
getPrincipalUnitType
())){
...
...
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