From 40c8f926742ac885981e1791291b77b8fd662163 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期五, 23 五月 2025 14:55:10 +0800
Subject: [PATCH] 1、编辑打包方式,避免生成的jar过大在升级过程耗费大量时间 将target下的config、lib和jar 统一放在同一目录下,修改服务启动命令 后续升级在不修改依赖、配置文件的情况下替换jar即可 涉及依赖、配置文件仅需在lib、config下新增/替换相关文件即可

---
 hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskMapper.xml |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskMapper.xml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskMapper.xml
index 059ec28..340bb78 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskMapper.xml
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskMapper.xml
@@ -4,11 +4,13 @@
 
     <resultMap id="baseMap" type="com.mes.opctask.entity.EdgStorageDeviceTask">
         <id column="task_running" property="taskRunning"/>
+        <id column="glass_id" property="glassId"/>
+        <id column="in_place" property="inPlace"/>
         <id column="glass_id_in" property="glassIdIn"/>
         <id column="glass_id_out" property="glassIdOut"/>
         <id column="current_cell" property="currentCell"/>
         <id column="start_cell" property="startCell"/>
-        <id column="enc_cell" property="endCell"/>
+        <id column="end_cell" property="endCell"/>
         <id column="task_state" property="taskState"/>
         <id column="create_time" property="createTime"/>
         <id column="update_time" property="updateTime"/>
@@ -16,19 +18,16 @@
 
     <select id="queryTaskMessage" resultMap="baseMap">
         select *
-        from #{tableName}
+        from ${tableName}
         limit 1
     </select>
 
     <update id="updateTaskMessage">
-        UPDATE #{tableName}
-        SET task_running = #{taskRunning},
-        glass_id_out = #{glassIdOut},
-        current_cell = #{currentCell},
-        start_cell = #{startCell},
-        enc_cell = #{endCell},
-        <if test="taskState == 0">
-            task_state = #{taskState},
-        </if>
+        UPDATE ${tableName}
+        SET task_running = #{task.taskRunning},
+        glass_id_out = #{task.glassIdOut},
+        current_cell = #{task.currentCell},
+        start_cell = #{task.startCell},
+        end_cell = #{task.endCell}
     </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0