From 38c0c64592fa93576d2b76f970ece6327cdcaf99 Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期四, 15 五月 2025 09:39:15 +0800
Subject: [PATCH] 【UPDATE】增加同步气柜管路工单数据字段

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml
index 6d57b8e..09c1e9d 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml
@@ -43,6 +43,10 @@
         <result property="planType"    column="plan_type"    />
         <result property="opStatus"    column="op_status"    />
         <result property="nextOpName"    column="next_op_name"    />
+        <result property="orderCreateTime"    column="order_create_time"    />
+        <result property="approveOn"    column="approve_on"    />
+        <result property="startWorkDate"    column="start_work_date"    />
+        <result property="lowOrderCode"    column="low_order_code"    />
 <!--        <collection property="apsProcessRoutes" javaType="java.util.ArrayList" ofType="com.aps.core.domain.ApsProcessRoute">-->
 <!--            <result property="id"    column="id"    />-->
 <!--            <result property="itemNo"    column="item_no"    />-->
@@ -95,7 +99,7 @@
                department, plan_start_day, plan_end_day, standby_number, standby_name, standby_stock,
                next_process_deparment, is_suspended, is_outsourcing, account, advanced_materials,
                advanced_document_number, advanced_requirement_day, is_plan_complete, is_stock_complete,
-               has_turnback, has_risk ,plan_type, op_status, next_op_name
+               has_turnback, has_risk ,plan_type, op_status, next_op_name, order_create_time, approve_on, start_work_date, low_order_code
         from aps_gas_piping_plan
     </sql>
 
@@ -133,8 +137,8 @@
             <if test="hasTurnback != null "> and has_turnback = #{hasTurnback}</if>
             <if test="hasRisk != null "> and has_risk = #{hasRisk}</if>
             <if test="planType != null "> and plan_type = #{planType}</if>
-             <if test="opStatus != null "> and op_status = #{opStatus}</if>
-              <if test="nextOpName != null "> and next_op_name = #{nextOpName}</if>
+            <if test="opStatus != null "> and op_status = #{opStatus}</if>
+            <if test="nextOpName != null "> and next_op_name = #{nextOpName}</if>
            and del_flag ='0'
         </where>
     </select>
@@ -185,6 +189,10 @@
             <if test="planType != null">plan_type,</if>
             <if test="opStatus != null">op_status,</if>
             <if test="nextOpName != null">next_op_name,</if>
+            <if test="orderCreateTime != null">order_create_time,</if>
+            <if test="approveOn != null">approve_on,</if>
+            <if test="startWorkDate != null">start_work_date,</if>
+            <if test="lowOrderCode != null">low_order_code,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null and id != ''">#{id},</if>
@@ -225,6 +233,10 @@
             <if test="planType != null">#{planType},</if>
             <if test="opStatus != null">#{opStatus},</if>
             <if test="nextOpName != null">#{nextOpName},</if>
+            <if test="orderCreateTime != null">#{orderCreateTime},</if>
+            <if test="approveOn != null">#{approveOn},</if>
+            <if test="startWorkDate != null">#{startWorkDate},</if>
+            <if test="lowOrderCode != null">#{lowOrderCode},</if>
          </trim>
     </insert>
 
@@ -268,6 +280,10 @@
             <if test="planType != null">plan_type = #{planType},</if>
             <if test="opStatus != null">op_status = #{opStatus},</if>
             <if test="nextOpName != null">next_op_name = #{nextOpName},</if>
+            <if test="orderCreateTime != null">order_create_time = #{orderCreateTime},</if>
+            <if test="approveOn != null">approve_on = #{approveOn},</if>
+            <if test="startWorkDate != null">start_work_date = #{startWorkDate},</if>
+            <if test="lowOrderCode != null">low_order_code = #{lowOrderCode},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3