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
cbce352f
Commit
cbce352f
authored
Sep 02, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):修改管道证号bug
parent
669a29ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
ChangeFieldWatchConstants.java
...odule/jg/biz/edit/constant/ChangeFieldWatchConstants.java
+4
-4
ChangeEquipImpactCertListener.java
...iz/edit/event/listener/ChangeEquipImpactCertListener.java
+4
-3
DPSubController.java
...boot/module/statistcs/biz/controller/DPSubController.java
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/constant/ChangeFieldWatchConstants.java
View file @
cbce352f
...
...
@@ -10,7 +10,7 @@ public class ChangeFieldWatchConstants {
public
static
final
Set
<
String
>
USE_CERT_MONITORED_FIELDS
=
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
"equDefine"
,
"equCode"
,
"useInnerCode"
,
"factoryNum"
,
"province"
,
"city"
,
"county"
,
"street"
,
"address"
,
"useOrgCode"
,
"carNumber"
"province"
,
"city"
,
"county"
,
"street"
,
"address"
,
"useOrgCode"
,
"carNumber"
,
"useRegistrationCode"
)));
/**
...
...
@@ -19,7 +19,7 @@ public class ChangeFieldWatchConstants {
public
static
final
Set
<
String
>
USE_FLAG_MONITORED_FIELDS
=
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
"equDefine"
,
"equCode"
,
"useInnerCode"
,
"inspectOrgName"
,
"nextInspectDate"
,
"emergencyTel"
,
"maintenanceUnitName"
,
"useOrg
Code"
"emergencyTel"
,
"maintenanceUnitName"
,
"useOrgCode"
,
"useRegistration
Code"
)));
/**
...
...
@@ -28,7 +28,7 @@ public class ChangeFieldWatchConstants {
public
static
final
Set
<
String
>
USE_FLAG_VEHICLE_MONITORED_FIELDS
=
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
"productName"
,
"carNumber"
,
"factoryNum"
,
"gasNum"
,
"volume"
,
"fillingMedium"
,
"inspectOrgName"
,
"nextInspectDate"
,
"useOrg
Code"
"nextInspectDate"
,
"useOrgCode"
,
"useRegistration
Code"
)));
/**
...
...
@@ -55,7 +55,7 @@ public class ChangeFieldWatchConstants {
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
"equCode"
,
"productName"
,
"contactPhone"
,
"installUnitName"
,
"equipType"
,
"factoryNum"
,
"produceUnitName"
,
"produceLicenseNum"
,
"province"
,
"city"
,
"county"
,
"street"
,
"address"
,
"useOrg
Code"
"city"
,
"county"
,
"street"
,
"address"
,
"useOrgCode"
,
"useRegistration
Code"
)));
/**
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/event/listener/ChangeEquipImpactCertListener.java
View file @
cbce352f
...
...
@@ -142,6 +142,7 @@ public class ChangeEquipImpactCertListener {
manage
.
setEquDefine
(
EquDefineConverter
.
getKeyByValue
(
afterValue
));
break
;
case
"useOrgCode"
:
case
"useRegistrationCode"
:
manage
.
setUseRegistrationCode
(
afterValue
);
break
;
case
"carNumber"
:
...
...
@@ -333,9 +334,9 @@ public class ChangeEquipImpactCertListener {
private
void
handleNewProjectEdit
(
List
<
FieldChangeMeta
>
fieldChangeMetaList
,
String
projectContraptionId
)
{
log
.
info
(
"处理 handleNewProjectEdit 类型逻辑"
);
IdxBizJgProjectContraption
projectContraption
=
jgProjectContraptionService
.
getById
(
projectContraptionId
);
JSONObject
certificatePrintTag
=
Optional
.
ofNullable
(
projectContraption
.
getCertificatePrintTag
())
.
map
(
JSONObject:
:
parseObject
).
orElse
(
new
JSONObject
());
JSONObject
tagJson
=
this
.
handleFieldChangeProject
(
fieldChangeMetaList
,
certificatePrintTag
);
JSONObject
certificatePrintTag
=
Optional
.
ofNullable
(
projectContraption
.
getCertificatePrintTag
())
.
map
(
JSONObject:
:
parseObject
).
orElse
(
new
JSONObject
());
JSONObject
tagJson
=
this
.
handleFieldChangeProject
(
fieldChangeMetaList
,
certificatePrintTag
);
projectContraption
.
setCertificatePrintTag
(
JSONObject
.
toJSONString
(
tagJson
));
jgProjectContraptionService
.
updateById
(
projectContraption
);
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/DPSubController.java
View file @
cbce352f
...
...
@@ -51,9 +51,9 @@ public class DPSubController {
if
(
ValidationUtil
.
isEmpty
(
param
.
get
(
"equList"
))){
param
.
put
(
"equList"
,
param
.
get
(
"EQU_LIST_CODE"
));
}
//
if (ValidationUtil.isEmpty(param.get("PRODUCT_NAME"))){
// param.put("PRODUCT_NAME", param.get("EQU_LIST")
);
//
}
if
(
ValidationUtil
.
isEmpty
(
param
.
get
(
"PRODUCT_NAME"
))){
param
.
put
(
"PRODUCT_NAME"
,
"--"
);
}
if
(!
ValidationUtil
.
isEmpty
(
param
.
get
(
"equListCode"
))){
// 问题列表关联设备
param
.
put
(
"equList"
,
param
.
get
(
"equListCode"
));
param
.
put
(
"EQU_LIST_CODE"
,
param
.
get
(
"equListCode"
));
...
...
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