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
3cf990ef
Commit
3cf990ef
authored
Oct 24, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新装备保存
parent
2b8bd32f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
EquipmentSpecificIndexMapper.java
...join/equipmanage/mapper/EquipmentSpecificIndexMapper.java
+1
-1
EquipmentSpecificIndexMapper.xml
...rc/main/resources/mapper/EquipmentSpecificIndexMapper.xml
+3
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/EquipmentSpecificIndexMapper.java
View file @
3cf990ef
...
...
@@ -98,7 +98,7 @@ public interface EquipmentSpecificIndexMapper extends BaseMapper<EquipmentSpecif
* @param equipmentIndexId 指标业务id
* @param value 更新的值
*/
void
updateIndexValueBatch
(
@Param
(
"equipmentSpecificId"
)
Long
equipmentSpecificId
,
@Param
(
"list"
)
List
<
EquipmentSpecificIndex
>
equipmentSpecificIndices
);
void
updateIndexValueBatch
(
@Param
(
"equipmentSpecificId"
)
Long
equipmentSpecificId
,
@Param
(
"list"
)
List
<
EquipmentSpecificIndex
>
list
);
List
<
EquipmentIndexVO
>
getEquipSpecificIndexList
(
EquipmentIndexVO
equipmentIndexVo
);
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificIndexMapper.xml
View file @
3cf990ef
...
...
@@ -26,10 +26,9 @@
</resultMap>
<update
id=
"updateIndexValueBatch"
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
separator=
";"
>
update wl_equipment_specific_index set
value = #{item.value}
where equipment_specific_id = #{item.equipmentSpecificId}
and equipment_index_id = #{item.equipmentIndexId}
update wl_equipment_specific_index wesi set wesi.`value` = #{item.value}
where wesi.equipment_specific_id = #{item.equipmentSpecificId}
and wesi.equipment_index_id = #{item.equipmentIndexId}
</foreach>
</update>
<select
id=
"getEquipmentSpeIndexBySpeIotCode"
...
...
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