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
efce4678
Commit
efce4678
authored
Jan 16, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化:更新ES中的数据(公共方法),使用单位code去重
parent
a7c7efff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
EquipmentCategoryServiceImpl.java
...le/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
+5
-3
No files found.
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
efce4678
...
...
@@ -2500,9 +2500,11 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
esEquipmentCategory
.
deleteById
(
record
);
//整合新旧数据
Bean
.
copyExistPropertis
(
newData
,
oldData
);
//处理施工单位信息
oldData
.
setUSC_UNIT_CREDIT_CODE
(
oldUscUnitCreditCode
+
","
+
newUscUnitCreditCode
);
oldData
.
setUSC_UNIT_NAME
(
oldUscUnitName
+
","
+
newUscUnitName
);
//处理施工单位信息[去重]
if
(!
oldUscUnitCreditCode
.
contains
(
newUscUnitCreditCode
)){
oldData
.
setUSC_UNIT_CREDIT_CODE
(
oldUscUnitCreditCode
+
","
+
newUscUnitCreditCode
);
oldData
.
setUSC_UNIT_NAME
(
oldUscUnitName
+
","
+
newUscUnitName
);
}
}
if
(!
ObjectUtils
.
isEmpty
(
oldData
))
{
oldData
.
setREC_DATE
(
System
.
currentTimeMillis
());
...
...
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