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
b7f98770
Commit
b7f98770
authored
Nov 11, 2025
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 下料解绑数据调整
parent
0fa60356
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
20 deletions
+5
-20
TStoreyInfoMapper.java
...main/java/com/zehong/system/mapper/TStoreyInfoMapper.java
+1
-1
RobotArmCommandServiceImpl.java
...ehong/system/service/impl/RobotArmCommandServiceImpl.java
+1
-6
AllCommandHandler.java
...c/main/java/com/zehong/system/task/AllCommandHandler.java
+1
-6
TStoreyInfoMapper.xml
...em/src/main/resources/mapper/system/TStoreyInfoMapper.xml
+1
-6
TTrayInfoMapper.xml
...stem/src/main/resources/mapper/system/TTrayInfoMapper.xml
+1
-1
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/mapper/TStoreyInfoMapper.java
View file @
b7f98770
...
...
@@ -30,7 +30,7 @@ public interface TStoreyInfoMapper
*/
public
TStoreyInfo
selectTStoreyInfoByCode
(
String
fStoreyCode
);
public
void
unbindByCode
(
TStoreyInfo
tStoreyInfo
);
public
void
unbindByCode
(
String
fStoreyCode
);
public
void
updateStatusByCode
(
TStoreyInfo
tStoreyInfo
);
...
...
zhmes-agecal-system/src/main/java/com/zehong/system/service/impl/RobotArmCommandServiceImpl.java
View file @
b7f98770
...
...
@@ -247,12 +247,7 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
storeyInfoMapper
.
updateStatusByCode
(
tStoreyInfo
);
// 如果是下料的话 得把 下料的 流程走完
}
else
{
tStoreyInfo
.
setfStoreyCode
(
tStoreyInfo
.
getfStoreyCode
());
tStoreyInfo
.
setUpdateTime
(
new
Date
());
tStoreyInfo
.
setfStatus
(
"0"
);
tStoreyInfo
.
setfAgingStartTime
(
null
);
tStoreyInfo
.
setfAgingEndTime
(
null
);
storeyInfoMapper
.
unbindByCode
(
tStoreyInfo
);
storeyInfoMapper
.
unbindByCode
(
storeyCode
);
// 清理 托盘 和 层的关联关系
tTrayInfoMapper
.
clearStoreyCodeByStoreyCode
(
storeyCode
);
...
...
zhmes-agecal-system/src/main/java/com/zehong/system/task/AllCommandHandler.java
View file @
b7f98770
...
...
@@ -120,12 +120,7 @@ public class AllCommandHandler {
log
.
info
(
"已发送断电指令 - 设备:{} 层:{}"
,
event
.
getDeviceCode
(),
event
.
getLayer
());
master
.
destroy
();
tStoreyInfo
.
setfStoreyCode
(
tStoreyInfo
.
getfStoreyCode
());
tStoreyInfo
.
setUpdateTime
(
new
Date
());
tStoreyInfo
.
setfStatus
(
"0"
);
tStoreyInfo
.
setfAgingStartTime
(
null
);
tStoreyInfo
.
setfAgingEndTime
(
null
);
tStoreyInfoMapper
.
unbindByCode
(
tStoreyInfo
);
tStoreyInfoMapper
.
unbindByCode
(
storeyCode
);
// 清理 托盘 和 层的关联关系
tTrayInfoMapper
.
clearStoreyCodeByStoreyCode
(
storeyCode
);
...
...
zhmes-agecal-system/src/main/resources/mapper/system/TStoreyInfoMapper.xml
View file @
b7f98770
...
...
@@ -209,12 +209,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update
id=
"unbindByCode"
parameterType=
"TStoreyInfo"
>
update t_storey_info
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fStatus != null"
>
f_status = #{fStatus},
</if>
<if
test=
"fAgingStartTime == null"
>
f_aging_start_time = null,
</if>
<if
test=
"fAgingEndTime == null"
>
f_aging_end_time = null,
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time = #{fUpdateTime},
</if>
</trim>
set f_status = '0', f_aging_start_time = null,f_aging_end_time = null
where f_storey_code = #{fStoreyCode}
</update>
<update
id=
"updateStatusByCode"
parameterType=
"TStoreyInfo"
>
...
...
zhmes-agecal-system/src/main/resources/mapper/system/TTrayInfoMapper.xml
View file @
b7f98770
...
...
@@ -106,7 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update
id=
"clearStoreyCodeByStoreyCode"
parameterType=
"string"
>
update t_tray_info
set f_storey_code = null
where f_storey_code = #{
fS
toreyCode}
where f_storey_code = #{
s
toreyCode}
</update>
<update
id=
"initStatusByTrayId"
parameterType=
"long"
>
update t_tray_info
...
...
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