zx 6 mēneši atpakaļ
vecāks
revīzija
1dee1ccd4b

+ 1 - 1
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmWorkPlanMapper.xml

@@ -542,7 +542,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="stdCityOrgNo != null">std_city_org_no = #{stdCityOrgNo},</if>
             <if test="planExecStDsc != null">plan_exec_st_dsc = #{planExecStDsc},</if>
             <if test="cancelReason != null">cancel_reason = #{cancelReason},</if>
-            <if test="riskType != null  and riskType != ''">risk_type = #{riskType}</if>
+            <if test="riskType != null ">risk_type = #{riskType},</if>
             <if test="planReason != null">plan_reason = #{planReason},</if>
             <if test="createBy != null">create_by = #{createBy},</if>
             <if test="createTime != null">create_time = #{createTime},</if>