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/EdgStorageDeviceTaskHistoryMapper.xml |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskHistoryMapper.xml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskHistoryMapper.xml
index f6025e0..02adb4e 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskHistoryMapper.xml
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskHistoryMapper.xml
@@ -64,6 +64,22 @@
         GROUP BY t1.create_time,t2.create_time
         ;
     </select>
-
+    <select id="queryEdgDailyProduction" resultMap="baseMap">
+        SELECT
+        count( t.glass_id_out ) AS count_out_one,
+        round( sum( t1.width * t1.height )/ 1000000, 2 ) AS total_area_out_one
+        FROM
+        edg_storage_device_task_history t
+        INNER JOIN glass_info t1 ON t.glass_id_out = t1.glass_id
+        WHERE
+        t.task_type IN ( 2, 3 )
+        <if test="beginDate != null and beginDate != ''">
+            AND STR_TO_DATE( t.create_time, '%Y-%m-%d' ) BETWEEN #{beginDate}
+            AND #{endDate}
+        </if>
+        <if test="deviceId != null and deviceId != 0">
+            AND device_id = #{deviceId}
+        </if>
+    </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0