From 8bfafbd2e35e2cd0e370281c007fe98fe7fb91d3 Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期四, 17 四月 2025 14:15:36 +0800
Subject: [PATCH] 钣金统计表更新逻辑
---
aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml
index 6f26ce2..aadf427 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateProcessStatMapper.xml
@@ -22,10 +22,14 @@
<result property="batchNumber" column="batch_number" />
<result property="createBy" column="create_by" />
<result property="delFlag" column="del_flag" />
+ <result property="warning" column="warning" />
</resultMap>
<sql id="selectApsPlateProcessStatVo">
- select id, work_order_no, process_name, num, route_process_number, current_process_number, production_quantity, standard_time, process_total_time, process_plan_end_day,process_plan_start_day, order_plan_end_day, design_times, batch_number, create_by, del_flag from aps_plate_process_stat
+ select id, work_order_no, process_name, num, route_process_number, current_process_number, production_quantity,
+ standard_time, process_total_time, process_plan_end_day,process_plan_start_day, order_plan_end_day, design_times,
+ batch_number, create_by, del_flag, warning
+ from aps_plate_process_stat
</sql>
<select id="selectApsPlateProcessStatList" parameterType="ApsPlateProcessStat" resultMap="ApsPlateProcessStatResult">
@@ -65,12 +69,12 @@
<if test="processTotalTime != null">process_total_time,</if>
<if test="processPlanEndDay != null">process_plan_end_day,</if>
<if test="processPlanStartDay != null">process_plan_start_day,</if>
- <if test="processPlanStartDay != null">process_plan_start_day,</if>
+ <if test="orderPlanEndDay != null">order_plan_end_day,</if>
<if test="designTimes != null">design_times,</if>
<if test="batchNumber != null">batch_number,</if>
<if test="createBy != null">create_by,</if>
-
- <if test="delFlag != null">del_flag,</if>
+ <if test="warning != null">warning,</if>
+ del_flag,
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@@ -84,11 +88,12 @@
<if test="processTotalTime != null">#{processTotalTime},</if>
<if test="processPlanEndDay != null">#{processPlanEndDay},</if>
<if test="processPlanStartDay != null">#{processPlanStartDay},</if>
+ <if test="orderPlanEndDay != null">#{orderPlanEndDay},</if>
<if test="designTimes != null">#{designTimes},</if>
<if test="batchNumber != null">#{batchNumber},</if>
<if test="createBy != null">#{createBy},</if>
-
- <if test="delFlag != null">#{delFlag},</if>
+ <if test="warning != null">#{warning},</if>
+ '0'
</trim>
</insert>
--
Gitblit v1.9.3