md
This commit is contained in:
parent
55fe74ad0c
commit
ac2c3b5d3d
@ -1040,22 +1040,21 @@
|
||||
problem_type = #{problemType},
|
||||
problem_cause = #{problemCause},
|
||||
problem_delay_days = #{problemDelayDays}
|
||||
|
||||
<if test="updateBy != null and updateBy != ''">,update_by = #{updateBy}</if>
|
||||
<if test="updateSite != null and updateSite != ''">,update_site = #{updateSite}</if>
|
||||
|
||||
<if test="updateBy != null and updateBy != ''">,update_by = #{updateBy}</if>
|
||||
<if test="updateSite != null and updateSite != ''">,update_site = #{updateSite},</if>
|
||||
where bill_code=#{billCode}
|
||||
</update>
|
||||
|
||||
<update id="updatePreOrNextSiteByBillCode" parameterType="EmisWaybill">
|
||||
|
||||
update emis_waybill set
|
||||
<if test="currentSiteCode != null and currentSiteCode != ''">current_site_code = #{currentSiteCode},</if>
|
||||
<if test="nextSiteCode != null and nextSiteCode != ''">next_site_code = #{nextSiteCode},</if>
|
||||
<if test="lastSiteCode != null and lastSiteCode != ''">last_site_code = #{lastSiteCode},</if>
|
||||
<if test="updateBy != null and updateBy != ''">,update_by = #{updateBy}</if>
|
||||
<if test="updateSite != null and updateSite != ''">,update_site = #{updateSite}</if>
|
||||
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="currentSiteCode != null and currentSiteCode != ''">current_site_code = #{currentSiteCode},</if>
|
||||
<if test="nextSiteCode != null and nextSiteCode != ''">next_site_code = #{nextSiteCode},</if>
|
||||
<if test="lastSiteCode != null and lastSiteCode != ''">last_site_code = #{lastSiteCode},</if>
|
||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||
<if test="updateSite != null and updateSite != ''">update_site = #{updateSite},</if>
|
||||
</trim>
|
||||
where bill_code=#{billCode}
|
||||
</update>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user