Browse Source

Merge branch 'master' of http://39.105.58.247:3100/hydw/hycw

zx 5 months ago
parent
commit
13c4fe32d3

+ 2 - 2
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmExamineCountyMapper.xml

@@ -52,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="roleCd != null">#{roleCd},</if>
             <if test="requireCd != null">#{requireCd},</if>
             <if test="compteHourNumX != null">#{compteHourNumX},</if>
-            <if test="amount != null">#{amount},</if>
+            amount = #{amount},
          </trim>
     </insert>
 
@@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="roleCd != null">role_cd = #{roleCd},</if>
             <if test="requireCd != null">require_cd = #{requireCd},</if>
             <if test="compteHourNumX != null">compte_hour_num_x = #{compteHourNumX},</if>
-            <if test="amount != null">amount = #{amount},</if>
+            amount = #{amount},
         </trim>
         where id = #{id}
     </update>