|
|
@@ -458,7 +458,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="resetMethod != null and resetMethod != ''">reset_method = #{resetMethod},</if>
|
|
|
<if test="invalidReason != null and invalidReason != ''">invalid_reason = #{invalidReason},</if>
|
|
|
<if test="returnType != null and returnType != ''">return_type = #{returnType},</if>
|
|
|
- <if test="returnReason != null and returnReason != ''">return_reason = #{returnReason},</if>
|
|
|
+ <if test="workOrderStatus != null and (workOrderStatus == 'return' or workOrderStatus == 'accept_return')">
|
|
|
+ return_reason = #{returnReason},
|
|
|
+ </if>
|
|
|
<if test="feedbackReason != null and feedbackReason != ''">feedback_reason = #{feedbackReason},</if>
|
|
|
<if test="confirmStatus != null">confirm_status = #{confirmStatus},</if>
|
|
|
<if test="wwryNum != null">wwry_num = #{wwryNum},</if>
|
|
|
@@ -477,7 +479,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="orderAttachment != null and orderAttachment != ''">order_attachment = #{orderAttachment},</if>
|
|
|
<if test="extraWork != null and extraWork != ''">extra_work = #{extraWork},</if>
|
|
|
<if test="acceptReturnType != null and acceptReturnType != ''">accept_return_type = #{acceptReturnType},</if>
|
|
|
- <if test="acceptReturnReason != null and acceptReturnReason != ''">accept_return_reason = #{acceptReturnReason},</if>
|
|
|
+ accept_return_reason = #{acceptReturnReason},
|
|
|
<if test="scoreReturnReason != null and scoreReturnReason != ''">score_return_reason = #{scoreReturnReason},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|