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
1e7f2822
Commit
1e7f2822
authored
Jan 25, 2022
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改装备定义添加性能指标冗余字段未填充问题
parent
b4997afb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
EquipmentIndexImpl.java
.../yeejoin/equipmanage/service/impl/EquipmentIndexImpl.java
+5
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentIndexImpl.java
View file @
1e7f2822
...
@@ -104,6 +104,8 @@ public class EquipmentIndexImpl extends ServiceImpl<EquipmentIndexMapper, Equipm
...
@@ -104,6 +104,8 @@ public class EquipmentIndexImpl extends ServiceImpl<EquipmentIndexMapper, Equipm
CarProperty
carProperty
=
new
CarProperty
();
CarProperty
carProperty
=
new
CarProperty
();
carProperty
.
setCarId
(
car
.
getId
());
carProperty
.
setCarId
(
car
.
getId
());
carProperty
.
setEquipmentIndexId
(
equipmentIndex
.
getId
());
carProperty
.
setEquipmentIndexId
(
equipmentIndex
.
getId
());
carProperty
.
setEquipmentIndexKey
(
equipmentIndex
.
getPerfQuotaName
());
carProperty
.
setEquipmentIndexName
(
equipmentIndex
.
getPerfQuotaDefinitionId
());
carProperties
.
add
(
carProperty
);
carProperties
.
add
(
carProperty
);
});
});
iCarPropertyService
.
saveBatch
(
carProperties
);
iCarPropertyService
.
saveBatch
(
carProperties
);
...
@@ -122,6 +124,9 @@ public class EquipmentIndexImpl extends ServiceImpl<EquipmentIndexMapper, Equipm
...
@@ -122,6 +124,9 @@ public class EquipmentIndexImpl extends ServiceImpl<EquipmentIndexMapper, Equipm
EquipmentSpecificIndex
equipmentSpecificIndex
=
new
EquipmentSpecificIndex
();
EquipmentSpecificIndex
equipmentSpecificIndex
=
new
EquipmentSpecificIndex
();
equipmentSpecificIndex
.
setEquipmentSpecificId
(
y
.
getId
());
equipmentSpecificIndex
.
setEquipmentSpecificId
(
y
.
getId
());
equipmentSpecificIndex
.
setEquipmentIndexId
(
equipmentIndex
.
getId
());
equipmentSpecificIndex
.
setEquipmentIndexId
(
equipmentIndex
.
getId
());
equipmentSpecificIndex
.
setEquipmentIndexKey
(
equipmentIndex
.
getPerfQuotaDefinitionId
());
equipmentSpecificIndex
.
setEquipmentSpecificIndexName
(
equipmentIndex
.
getPerfQuotaName
());
equipmentSpecificIndex
.
setEquipmentSpecialName
(
y
.
getName
());
equipmentSpecificIndexList
.
add
(
equipmentSpecificIndex
);
equipmentSpecificIndexList
.
add
(
equipmentSpecificIndex
);
});
});
iEquipmentSpecificIndexSerivce
.
saveBatch
(
equipmentSpecificIndexList
);
iEquipmentSpecificIndexSerivce
.
saveBatch
(
equipmentSpecificIndexList
);
...
...
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