提交 f53c340c 作者: 张小凤

Req(update)

上级 ada087a7
......@@ -239,6 +239,7 @@ public class RequirementsInfoDO implements Serializable {
this.latitude = requirementsEditVO.getLatitude();
this.adcode = requirementsEditVO.getAdcode();
this.orderAmount = requirementsEditVO.getOrderAmount();
this.insurance=requirementsEditVO.getInsurance();
}
......
......@@ -149,7 +149,7 @@
<update id="updateRequirementsInfo" parameterType="com.mmc.csf.release.entity.requirements.RequirementsInfoDO">
update requirements_info
<set>
<if test=" requireDescription != null and requireDescription!='' ">
<if test="requireDescription !='' and requireDescription != null">
require_description = #{requireDescription},
</if>
<if test=" taskStartTime != null ">
......@@ -164,16 +164,16 @@
<if test=" longitude != null ">
longitude = #{longitude},
</if>
<if test=" insurance != null and insurance != ' ' ">
<if test="insurance != '' and insurance != null ">
insurance = #{insurance},
</if>
<if test=" adcode != null and adcode != ' ' ">
<if test="adcode != '' and adcode != null ">
adcode = #{adcode},
</if>
<if test=" serviceId != null ">
service_id = #{serviceId},
</if>
<if test=" serviceName != null and serviceName!='' ">
<if test="serviceName!='' and serviceName != null ">
service_name = #{serviceName},
</if>
update_time=NOW(),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论