邱宇豪
2023-09-22 8d573e45a06558221f0945f59666114ba8442075
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>