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
4548986c
Commit
4548986c
authored
Dec 01, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_test' into develop_tzs_register
parents
0f439483
820360c2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
ChangeFieldWatchConstants.java
...odule/jg/biz/edit/constant/ChangeFieldWatchConstants.java
+2
-2
ChangeEquipImpactCertListener.java
...iz/edit/event/listener/ChangeEquipImpactCertListener.java
+1
-0
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+15
-1
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 @
4548986c
...
@@ -10,7 +10,7 @@ public class ChangeFieldWatchConstants {
...
@@ -10,7 +10,7 @@ public class ChangeFieldWatchConstants {
public
static
final
Set
<
String
>
USE_CERT_MONITORED_FIELDS
=
public
static
final
Set
<
String
>
USE_CERT_MONITORED_FIELDS
=
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
"equDefine"
,
"equCode"
,
"useInnerCode"
,
"factoryNum"
,
"equDefine"
,
"equCode"
,
"useInnerCode"
,
"factoryNum"
,
"province"
,
"city"
,
"county"
,
"street"
,
"address"
,
"useOrgCode"
,
"carNumber"
,
"useRegistrationCode"
,
"province"
,
"city"
,
"county"
,
"street"
,
"
factoryUseSiteStreet"
,
"
address"
,
"useOrgCode"
,
"carNumber"
,
"useRegistrationCode"
,
"receiveCompanyCode"
"receiveCompanyCode"
)));
)));
...
@@ -56,7 +56,7 @@ public class ChangeFieldWatchConstants {
...
@@ -56,7 +56,7 @@ public class ChangeFieldWatchConstants {
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
Collections
.
unmodifiableSet
(
new
HashSet
<>(
Arrays
.
asList
(
"equCode"
,
"productName"
,
"contactPhone"
,
"installUnitName"
,
"equCode"
,
"productName"
,
"contactPhone"
,
"installUnitName"
,
"equipType"
,
"factoryNum"
,
"produceUnitName"
,
"produceLicenseNum"
,
"province"
,
"equipType"
,
"factoryNum"
,
"produceUnitName"
,
"produceLicenseNum"
,
"province"
,
"city"
,
"county"
,
"street"
,
"address"
,
"useOrgCode"
,
"useRegistrationCode"
"city"
,
"county"
,
"street"
,
"
factoryUseSiteStreet"
,
"
address"
,
"useOrgCode"
,
"useRegistrationCode"
)));
)));
/**
/**
...
...
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 @
4548986c
...
@@ -155,6 +155,7 @@ public class ChangeEquipImpactCertListener {
...
@@ -155,6 +155,7 @@ public class ChangeEquipImpactCertListener {
case
"city"
:
case
"city"
:
case
"county"
:
case
"county"
:
case
"street"
:
case
"street"
:
case
"factoryUseSiteStreet"
:
case
"address"
:
case
"address"
:
if
(!
"unit"
.
equals
(
manage
.
getManageType
()))
{
if
(!
"unit"
.
equals
(
manage
.
getManageType
()))
{
updateEquUseAddressByChangeId
(
manage
,
meta
.
getChangeId
());
updateEquUseAddressByChangeId
(
manage
,
meta
.
getChangeId
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
View file @
4548986c
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.biz.service.impl;
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.biz.service.impl;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.map.MapUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
...
@@ -274,7 +275,20 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
...
@@ -274,7 +275,20 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
changeInfo
.
put
(
"safetyManagerName"
,
notice
.
getSafetyManager
().
split
(
"_"
)[
1
]);
changeInfo
.
put
(
"safetyManagerName"
,
notice
.
getSafetyManager
().
split
(
"_"
)[
1
]);
}
}
}
else
{
}
else
{
changeInfo
.
put
(
"registrationList"
,
JSON
.
parse
(
historyServiceOne
.
getChangeData
()));
JSONArray
registrationList
=
JSON
.
parseArray
(
historyServiceOne
.
getChangeData
());
if
(!
ValidationUtil
.
isEmpty
(
registrationList
))
{
registrationList
.
stream
().
map
(
obj
->
(
JSONObject
)
obj
).
forEach
(
jsonObject
->
{
String
estateUnitSeq
=
jsonObject
.
getString
(
"estateUnitSeq"
);
String
estateUnitName
=
jsonObject
.
getString
(
"estateUnitName"
);
// 兼容历史数据(历史数据estateUnitName字段存的是base_info表主键)
// 如果estateUnitSeq字段存在则表示是新加的单子不用特殊处理
if
(
ValidationUtil
.
isEmpty
(
estateUnitSeq
)
&&
!
ValidationUtil
.
isEmpty
(
estateUnitName
))
{
Map
<
String
,
String
>
propertyUnitInfo
=
commonServiceImpl
.
queryTcmUnitInfoBySeq
(
estateUnitName
,
TcmUnitTypeEnum
.
CQ
.
getCode
());
jsonObject
.
put
(
"estateUnitName"
,
MapUtil
.
getStr
(
propertyUnitInfo
,
"sequenceNbr"
));
}
});
}
changeInfo
.
put
(
"registrationList"
,
registrationList
);
}
}
changeInfo
.
put
(
"havingPermission"
,
notice
.
getNextExecuteUserIds
()
!=
null
&&
notice
.
getNextExecuteUserIds
().
contains
(
RequestContext
.
getExeUserId
()));
changeInfo
.
put
(
"havingPermission"
,
notice
.
getNextExecuteUserIds
()
!=
null
&&
notice
.
getNextExecuteUserIds
().
contains
(
RequestContext
.
getExeUserId
()));
String
companyType
=
selectedOrgInfo
.
getCompany
().
getCompanyType
();
String
companyType
=
selectedOrgInfo
.
getCompany
().
getCompanyType
();
...
...
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