From 8f077526eaeed57216126ba9381f32d91d5587aa Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期五, 17 四月 2026 15:55:45 +0800
Subject: [PATCH] fix(database): 修正称重盒子实体类 WeighingBox 的表名从 qm_weighing_box 修改为 md_weighing_box

---
 RuoYi-Vue-Plus/ruoyi-modules/ruoyi-qa/src/main/resources/mapper/WeighingBoxMapper.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/RuoYi-Vue-Plus/ruoyi-modules/ruoyi-qa/src/main/resources/mapper/WeighingBoxMapper.xml b/RuoYi-Vue-Plus/ruoyi-modules/ruoyi-qa/src/main/resources/mapper/WeighingBoxMapper.xml
index 9665421..594778e 100644
--- a/RuoYi-Vue-Plus/ruoyi-modules/ruoyi-qa/src/main/resources/mapper/WeighingBoxMapper.xml
+++ b/RuoYi-Vue-Plus/ruoyi-modules/ruoyi-qa/src/main/resources/mapper/WeighingBoxMapper.xml
@@ -25,7 +25,7 @@
     </resultMap>
 
     <sql id="selectWeighingBoxVo">
-        select id, name, code, weight, unit, location, calib_cycle_days, remind_days, last_calib_date, next_calib_date, active_status, description, del_flag, create_by, create_time, update_by, update_time from qm_weighing_box
+        select id, name, code, weight, unit, location, calib_cycle_days, remind_days, last_calib_date, next_calib_date, active_status, description, del_flag, create_by, create_time, update_by, update_time from md_weighing_box
     </sql>
 
     <select id="selectPageList" resultType="org.dromara.qa.md.domain.WeighingBox">
@@ -73,14 +73,14 @@
     </select>
 
     <update id="batchUpdateStatus">
-        update qm_weighing_box set active_status = #{activeStatus} where id in
+        update md_weighing_box set active_status = #{activeStatus} where id in
         <foreach collection="boxIds" item="id" open="(" separator="," close=")">
             ${id}
         </foreach>
     </update>
 
     <update id="batchUpdateCalibConfig">
-        update qm_weighing_box set calib_cycle_days = #{calibCycleDays}, remind_days = #{remindDays} where id in
+        update md_weighing_box set calib_cycle_days = #{calibCycleDays}, remind_days = #{remindDays} where id in
         <foreach collection="boxIds" item="id" open="(" separator="," close=")">
             ${id}
         </foreach>
@@ -99,7 +99,7 @@
                     when current_date + interval '1 day' * remind_days >= next_calib_date then 'warning'
                     else 'normal'
                 end as calib_status
-            from qm_weighing_box
+            from md_weighing_box
             where del_flag = 0
         ) as box
         where 1=1
@@ -134,7 +134,7 @@
                     when current_date + interval '1 day' * remind_days >= next_calib_date then 'warning'
                     else 'normal'
                 end as calib_status
-            from qm_weighing_box
+            from md_weighing_box
             where del_flag = 0
         ) as box
         where 1=1

--
Gitblit v1.9.3