From 8ecd7c831f4a26c2e28351fcfa7b585a168c8822 Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期五, 09 五月 2025 14:42:21 +0800
Subject: [PATCH] 修改自定义更新时间

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanOrderManagerMapper.xml |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanOrderManagerMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanOrderManagerMapper.xml
index c491c83..b4358df 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanOrderManagerMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanOrderManagerMapper.xml
@@ -23,7 +23,7 @@
         <result property="hasDelayRisk"    column="has_delay_risk"    />
         <result property="startDate"    column="start_date"    />
         <result property="completeDate"    column="complete_date"    />
-        <result property="customTime"    column="custom_time"    />
+<!--        <result property="customTime"    column="custom_time"    />-->
     </resultMap>
 
     <select id="selectApsPlanOrderManager" parameterType="ApsPlateOrderPlanManager" resultMap="ApsPlateOrderPlanManagerResult">
@@ -42,7 +42,6 @@
             plan.plan_start_day,
             plan.plan_end_day,
             plan.unmatched_quantity,
-            plan.custom_time,
             require.has_delay_risk,
             plan.id,
             require.start_date,
@@ -52,7 +51,7 @@
             left join aps_plate_plan plan on detail.doc_no = plan.document_number
         <where>  
             <if test="workOrderNo != null  and workOrderNo != ''"> and detail.doc_no = #{workOrderNo}</if>
-            <if test="requireId != null  and requireId != ''"> and detail.require_id = #{requireId}</if>
+            <if test="requireTrackId != null  and requireTrackId != ''"> and detail.require_track_id = #{requireTrackId}</if>
             <if test="mainPartNumber != null  and mainPartNumber != ''"> and plan.main_part_number = #{mainPartNumber}</if>
             <if test="hasDelayRisk != null  and hasDelayRisk != ''"> and require.has_delay_risk = #{hasDelayRisk}</if>
         </where>
@@ -159,7 +158,7 @@
 
     <update id="updatePlanDateByCustom" parameterType="ApsPlateOrderPlanDate">
         update aps_plate_plan set
-          custom_time = #{customDate},
+          plan_end_day = #{customDate},
           update_by = #{updateBy},
           update_time = now()
         where id in

--
Gitblit v1.9.3