Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhmes-agecal
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
耿迪迪
zhmes-agecal
Commits
223e5917
Commit
223e5917
authored
Jun 05, 2025
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
共用方法拆分
parent
41078752
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
271 additions
and
93 deletions
+271
-93
EquipmentDataCollection.java
...ong/web/controller/equipment/EquipmentDataCollection.java
+197
-93
TEquipmentInfoMapper.java
...n/java/com/zehong/system/mapper/TEquipmentInfoMapper.java
+9
-0
TStoreyInfoMapper.java
...main/java/com/zehong/system/mapper/TStoreyInfoMapper.java
+8
-0
ITEquipmentInfoService.java
...ava/com/zehong/system/service/ITEquipmentInfoService.java
+8
-0
ITStoreyInfoService.java
...n/java/com/zehong/system/service/ITStoreyInfoService.java
+8
-0
TEquipmentInfoServiceImpl.java
...zehong/system/service/impl/TEquipmentInfoServiceImpl.java
+12
-0
TStoreyInfoServiceImpl.java
...om/zehong/system/service/impl/TStoreyInfoServiceImpl.java
+5
-0
TEquipmentInfoMapper.xml
...src/main/resources/mapper/system/TEquipmentInfoMapper.xml
+8
-0
TStoreyInfoMapper.xml
...em/src/main/resources/mapper/system/TStoreyInfoMapper.xml
+16
-0
No files found.
zhmes-agecal-admin/src/main/java/com/zehong/web/controller/equipment/EquipmentDataCollection.java
View file @
223e5917
This diff is collapsed.
Click to expand it.
zhmes-agecal-system/src/main/java/com/zehong/system/mapper/TEquipmentInfoMapper.java
View file @
223e5917
...
...
@@ -2,6 +2,7 @@ package com.zehong.system.mapper;
import
java.util.List
;
import
com.zehong.system.domain.TEquipmentInfo
;
import
org.apache.ibatis.annotations.Param
;
/**
* 生产设备信息Mapper接口
...
...
@@ -27,6 +28,14 @@ public interface TEquipmentInfoMapper
*/
public
List
<
TEquipmentInfo
>
selectTEquipmentInfoList
(
TEquipmentInfo
tEquipmentInfo
);
/**
* 查询老化柜、标定柜信息列表
*
* @param types 生产设备类型
* @return 生产设备信息集合
*/
public
List
<
TEquipmentInfo
>
selectTEquipmentList
(
@Param
(
"types"
)
List
<
String
>
types
);
/**
* 新增生产设备信息
*
...
...
zhmes-agecal-system/src/main/java/com/zehong/system/mapper/TStoreyInfoMapper.java
View file @
223e5917
...
...
@@ -43,6 +43,14 @@ public interface TStoreyInfoMapper
*/
public
int
updateTStoreyInfo
(
TStoreyInfo
tStoreyInfo
);
/**
* 修改老化层信息
*
* @param tStoreyInfo 老化层信息
* @return 结果
*/
public
int
updateTStoreyInfoByCode
(
TStoreyInfo
tStoreyInfo
);
/**
* 删除老化层信息
*
...
...
zhmes-agecal-system/src/main/java/com/zehong/system/service/ITEquipmentInfoService.java
View file @
223e5917
...
...
@@ -27,6 +27,14 @@ public interface ITEquipmentInfoService
*/
public
List
<
TEquipmentInfo
>
selectTEquipmentInfoList
(
TEquipmentInfo
tEquipmentInfo
);
/**
* 查询老化柜、标定柜信息列表
*
* @param types 生产设备类型
* @return 生产设备信息集合
*/
public
List
<
TEquipmentInfo
>
selectTEquipmentList
(
List
<
String
>
types
);
/**
* 新增生产设备信息
*
...
...
zhmes-agecal-system/src/main/java/com/zehong/system/service/ITStoreyInfoService.java
View file @
223e5917
...
...
@@ -43,6 +43,14 @@ public interface ITStoreyInfoService
*/
public
int
updateTStoreyInfo
(
TStoreyInfo
tStoreyInfo
);
/**
* 修改老化层信息
*
* @param tStoreyInfo 老化层信息
* @return 结果
*/
public
int
updateTStoreyInfoByCode
(
TStoreyInfo
tStoreyInfo
);
/**
* 批量删除老化层信息
*
...
...
zhmes-agecal-system/src/main/java/com/zehong/system/service/impl/TEquipmentInfoServiceImpl.java
View file @
223e5917
...
...
@@ -43,6 +43,18 @@ public class TEquipmentInfoServiceImpl implements ITEquipmentInfoService
return
tEquipmentInfoMapper
.
selectTEquipmentInfoList
(
tEquipmentInfo
);
}
/**
* 查询老化柜、标定柜信息列表
*
* @param types 生产设备类型
* @return 生产设备信息集合
*/
@Override
public
List
<
TEquipmentInfo
>
selectTEquipmentList
(
List
<
String
>
types
)
{
return
tEquipmentInfoMapper
.
selectTEquipmentList
(
types
);
}
/**
* 新增生产设备信息
*
...
...
zhmes-agecal-system/src/main/java/com/zehong/system/service/impl/TStoreyInfoServiceImpl.java
View file @
223e5917
...
...
@@ -67,6 +67,11 @@ public class TStoreyInfoServiceImpl implements ITStoreyInfoService
return
tStoreyInfoMapper
.
updateTStoreyInfo
(
tStoreyInfo
);
}
public
int
updateTStoreyInfoByCode
(
TStoreyInfo
tStoreyInfo
)
{
return
tStoreyInfoMapper
.
updateTStoreyInfoByCode
(
tStoreyInfo
);
}
/**
* 批量删除老化层信息
*
...
...
zhmes-agecal-system/src/main/resources/mapper/system/TEquipmentInfoMapper.xml
View file @
223e5917
...
...
@@ -47,6 +47,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fAlarmTime != null and fAlarmTime != ''"
>
and f_alarm_time = #{fAlarmTime}
</if>
</where>
</select>
<select
id=
"selectTEquipmentList"
parameterType=
"List"
resultMap=
"TEquipmentInfoResult"
>
<include
refid=
"selectTEquipmentInfoVo"
/>
where f_equipment_type in
<foreach
item=
"item"
collection=
"types"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</select>
<select
id=
"selectTEquipmentInfoById"
parameterType=
"Long"
resultMap=
"TEquipmentInfoResult"
>
<include
refid=
"selectTEquipmentInfoVo"
/>
...
...
zhmes-agecal-system/src/main/resources/mapper/system/TStoreyInfoMapper.xml
View file @
223e5917
...
...
@@ -85,6 +85,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where f_storey_id = #{fStoreyId}
</update>
<update
id=
"updateTStoreyInfoByCode"
parameterType=
"TStoreyInfo"
>
update t_storey_info
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fEquipmentId != null"
>
f_equipment_id = #{fEquipmentId},
</if>
<if
test=
"fStoreyCode != null"
>
f_storey_code = #{fStoreyCode},
</if>
<if
test=
"fTrayCode != null"
>
f_tray_code = #{fTrayCode},
</if>
<if
test=
"fIp != null"
>
f_ip = #{fIp},
</if>
<if
test=
"fStatus != null"
>
f_status = #{fStatus},
</if>
<if
test=
"fPort != null"
>
f_port = #{fPort},
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time = #{fUpdateTime},
</if>
<if
test=
"fCreateTime != null"
>
f_create_time = #{fCreateTime},
</if>
<if
test=
"fAlarmTime != null"
>
f_alarm_time = #{fAlarmTime},
</if>
</trim>
where f_storey_code = #{fStoreyCode}
</update>
<delete
id=
"deleteTStoreyInfoById"
parameterType=
"Long"
>
delete from t_storey_info where f_storey_id = #{fStoreyId}
</delete>
...
...
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