From 8d573e45a06558221f0945f59666114ba8442075 Mon Sep 17 00:00:00 2001
From: 邱宇豪 <qyh123230312>
Date: 星期五, 22 九月 2023 13:27:35 +0800
Subject: [PATCH] 单位工程管理

---
 hd/pipe/engineeringManage/src/main/resources/mapping/SysProjectMapper.xml |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/hd/pipe/engineeringManage/src/main/resources/mapping/SysProjectMapper.xml b/hd/pipe/engineeringManage/src/main/resources/mapping/SysProjectMapper.xml
index 9d0e4e3..2a42a6b 100644
--- a/hd/pipe/engineeringManage/src/main/resources/mapping/SysProjectMapper.xml
+++ b/hd/pipe/engineeringManage/src/main/resources/mapping/SysProjectMapper.xml
@@ -310,7 +310,7 @@
       where sp.is_use=1
     <if test="proName!=null and proName!='' ">
         and sp.pro_name like concat('%',#{proName},'%')
-    </if>
+    </if>segment/segmentList
     <if test="companyId!=null and companyId!='' ">
         and sp.company_id=#{companyId}
     </if>
@@ -387,6 +387,40 @@
       <if test="createUser != null">
         create_user = #{createUser,jdbcType=VARCHAR},
       </if>
+
+        <if test="createUnit != null">
+            create_unit = #{createUnit,jdbcType=VARCHAR},
+        </if>
+        <if test="planUnit != null">
+            plan_unit = #{planUnit,jdbcType=VARCHAR},
+        </if>
+        <if test="supervisionUnit != null">
+            supervision_unit = #{supervisionUnit,jdbcType=VARCHAR},
+        </if>
+        <if test="constructionUnit != null">
+            construction_unit = #{constructionUnit,jdbcType=VARCHAR},
+        </if>
+        <if test="outsideDiameter != null">
+            outside_diameter = #{outsideDiameter,jdbcType=DOUBLE},
+        </if>
+        <if test="innerDiameter != null">
+            inner_diameter = #{innerDiameter,jdbcType=DOUBLE},
+        </if>
+        <if test="thickness != null">
+            thickness = #{thickness,jdbcType=DOUBLE},
+        </if>
+        <if test="ringWidth != null">
+            ring_width = #{ringWidth,jdbcType=DOUBLE},
+        </if>
+        <if test="concreteStrengthGrade != null">
+            concrete_strength_grade = #{concreteStrengthGrade,jdbcType=VARCHAR},
+        </if>
+        <if test="impermeabilityLevel != null">
+            impermeability_level = #{impermeabilityLevel,jdbcType=VARCHAR},
+        </if>
+        <if test="waterproofType != null">
+            waterproof_type = #{waterproofType,jdbcType=VARCHAR},
+        </if>
     </set>
     where pro_id = #{proId,jdbcType=VARCHAR}
   </update>

--
Gitblit v1.9.3