From 1cc0d488b65a0a153383d284eec7ad86e1cec941 Mon Sep 17 00:00:00 2001
From: bluejay <253316343@qq.com>
Date: 星期一, 14 四月 2025 15:35:56 +0800
Subject: [PATCH] 气体管路,钣金计划 前端联调

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipingPlanMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 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 29da727..537e360 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
@@ -79,6 +79,8 @@
             <if test="isStockComplete != null "> and is_stock_complete = #{isStockComplete}</if>
             <if test="hasTurnback != null "> and has_turnback = #{hasTurnback}</if>
             <if test="hasRisk != null "> and has_risk = #{hasRisk}</if>
+
+           and del_flag ='0'
         </where>
     </select>
     
@@ -216,4 +218,8 @@
             #{id}
         </foreach>
     </delete>
+
+    <update id="removeAllPlans" >
+        update  aps_gas_piping_plan  set del_flag='1' where del_flag ='0'
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3