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
d6d98801
Commit
d6d98801
authored
Jul 11, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
0b09f950
54aece6a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
JgUseRegistration.java
...oin/amos/boot/module/jg/api/entity/JgUseRegistration.java
+1
-1
EquipClaimServiceImpl.java
...oot/module/jg/biz/service/impl/EquipClaimServiceImpl.java
+0
-0
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+2
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgUseRegistration.java
View file @
d6d98801
...
@@ -263,7 +263,7 @@ public class JgUseRegistration extends BaseEntity {
...
@@ -263,7 +263,7 @@ public class JgUseRegistration extends BaseEntity {
private
String
supervisionOrgCode
;
private
String
supervisionOrgCode
;
/**
/**
* 工程装置id
* 工程装置id
( 主键sequence_nbr )
*/
*/
@TableField
(
"project_contraption_id"
)
@TableField
(
"project_contraption_id"
)
private
String
projectContraptionId
;
private
String
projectContraptionId
;
...
...
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/EquipClaimServiceImpl.java
View file @
d6d98801
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
d6d98801
...
@@ -1405,7 +1405,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -1405,7 +1405,7 @@ public class TzBaseEnterpriseInfoServiceImpl
String
oldSuperviseOrgCode
=
tzBaseEnterpriseInfo
.
getSuperviseOrgCode
();
String
oldSuperviseOrgCode
=
tzBaseEnterpriseInfo
.
getSuperviseOrgCode
();
String
newSuperviseOrgCode
=
companyModel
.
getOrgCode
().
replace
(
"*"
+
companyModel
.
getCompanyOrgCode
(),
""
);
String
newSuperviseOrgCode
=
companyModel
.
getOrgCode
().
replace
(
"*"
+
companyModel
.
getCompanyOrgCode
(),
""
);
// 更新 tz_base_enterprise_info。只有管辖机构有改动才更新
// 更新 tz_base_enterprise_info。只有管辖机构有改动才更新
if
(!
new
SuperviseOrgCode
.
equals
(
oldSupervise
OrgCode
))
{
if
(!
new
OrgCode
.
equals
(
old
OrgCode
))
{
HashMap
<
String
,
Object
>
parentMessage
=
(
HashMap
<
String
,
Object
>)
Privilege
.
companyClient
.
queryByOrgcode
(
newSuperviseOrgCode
).
getResult
();
HashMap
<
String
,
Object
>
parentMessage
=
(
HashMap
<
String
,
Object
>)
Privilege
.
companyClient
.
queryByOrgcode
(
newSuperviseOrgCode
).
getResult
();
// 目前平台返回key为compnay(存在拼写错误)
// 目前平台返回key为compnay(存在拼写错误)
CompanyModel
parentModel
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
parentMessage
.
get
(
"compnay"
)),
CompanyModel
.
class
);
CompanyModel
parentModel
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
parentMessage
.
get
(
"compnay"
)),
CompanyModel
.
class
);
...
@@ -1425,5 +1425,6 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -1425,5 +1425,6 @@ public class TzBaseEnterpriseInfoServiceImpl
public
void
updateUnitOrgCode
(
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
,
CompanyModel
parentModel
,
String
oldSuperviseOrgCode
,
String
newSuperviseOrgCode
,
String
oldOrgCode
,
String
newOrgCode
)
{
public
void
updateUnitOrgCode
(
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
,
CompanyModel
parentModel
,
String
oldSuperviseOrgCode
,
String
newSuperviseOrgCode
,
String
oldOrgCode
,
String
newOrgCode
)
{
tzBaseEnterpriseInfoMapper
.
updateSubCompanyOrgCode
(
parentModel
.
getCompanyName
(),
oldSuperviseOrgCode
,
newSuperviseOrgCode
,
oldOrgCode
,
newOrgCode
,
tzBaseEnterpriseInfo
.
getSequenceNbr
());
tzBaseEnterpriseInfoMapper
.
updateSubCompanyOrgCode
(
parentModel
.
getCompanyName
(),
oldSuperviseOrgCode
,
newSuperviseOrgCode
,
oldOrgCode
,
newOrgCode
,
tzBaseEnterpriseInfo
.
getSequenceNbr
());
tzBaseEnterpriseInfoMapper
.
updateUnitOrgCode
(
oldOrgCode
,
newOrgCode
);
tzBaseEnterpriseInfoMapper
.
updateUnitOrgCode
(
oldOrgCode
,
newOrgCode
);
publisher
.
publish
(
new
DataRefreshEvent
(
this
,
Collections
.
singletonList
(
tzBaseEnterpriseInfo
.
getSequenceNbr
()
+
""
),
DataRefreshEvent
.
DataType
.
enterprise
.
name
(),
DataRefreshEvent
.
Operation
.
UPDATE
));
}
}
}
}
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