From 6cd496d3b3321e8d33d9c528892c2efdd8a7a3dc Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期二, 20 五月 2025 10:09:34 +0800
Subject: [PATCH] 钣金需求日期:批量导入、删除、分页列表

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
index 8ce9249..250e09d 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingRouteStatMapper.xml
@@ -4,7 +4,7 @@
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.aps.core.mapper.ApsGasPipingRouteStatMapper">
     
-    <resultMap type="ApsGasPipingRouteStat" id="ApsGasPipingRouteStatResult">
+    <resultMap type="com.aps.core.domain.ApsGasPipingRouteStat" id="ApsGasPipingRouteStatResult">
         <result property="id"    column="id"    />
         <result property="workOrderNo"    column="work_order_no"    />
         <result property="roadProcessNumber"    column="road_process_number"    />
@@ -38,11 +38,11 @@
                process_plan_start_day, design_times, del_flag, create_by,
                process_name, create_time, item_number, standard_dosage,
                process_total_dosage, design_capacity, major, plan_start_year,
-               plan_start_month, plan_start_day , warning
+               plan_start_month, plan_start_day , warning, plant
         from aps_gas_piping_route_stat
     </sql>
 
-    <select id="selectApsGasPipingRouteStatList" parameterType="ApsGasPipingRouteStat" resultMap="ApsGasPipingRouteStatResult">
+    <select id="selectApsGasPipingRouteStatList" parameterType="com.aps.core.domain.ApsGasPipingRouteStat" resultMap="ApsGasPipingRouteStatResult">
         <include refid="selectApsGasPipingRouteStatVo"/>
         <where>  
             <if test="workOrderNo != null  and workOrderNo != ''"> and work_order_no = #{workOrderNo}</if>
@@ -75,7 +75,7 @@
         where id = #{id}
     </select>
 
-    <insert id="insertApsGasPipingRouteStat" parameterType="ApsGasPipingRouteStat">
+    <insert id="insertApsGasPipingRouteStat" parameterType="com.aps.core.domain.ApsGasPipingRouteStat">
         insert into aps_gas_piping_route_stat
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="id != null">id,</if>
@@ -133,7 +133,7 @@
          </trim>
     </insert>
 
-    <update id="updateApsGasPipingRouteStat" parameterType="ApsGasPipingRouteStat">
+    <update id="updateApsGasPipingRouteStat" parameterType="com.aps.core.domain.ApsGasPipingRouteStat">
         update aps_gas_piping_route_stat
         <trim prefix="SET" suffixOverrides=",">
             <if test="workOrderNo != null">work_order_no = #{workOrderNo},</if>
@@ -214,7 +214,7 @@
                false as warning
         from aps_gas_piping_plan as pl
                  left join aps_process_route as rt on pl.document_number = rt.work_order_no
-        where pl.document_number is not null and rt.work_order_no is not null
+        where pl.document_number is not null and rt.work_order_no is not null and pl.plan_end_day is not null
         order by rt.work_order_no asc, rt.process_number desc
     </select>
 

--
Gitblit v1.9.3