|
|
@ -6,7 +6,8 @@ |
|
|
|
update user_gold_record |
|
|
|
set audit_id = #{auditId}, |
|
|
|
audit_status = #{auditStatus}, |
|
|
|
reject_reason = #{rejectReason} |
|
|
|
reject_reason = #{rejectReason}, |
|
|
|
audit_time = #{auditTime} |
|
|
|
where order_code = #{orderCode} |
|
|
|
</update> |
|
|
|
<!--更新用户余额--> |
|
|
@ -20,6 +21,7 @@ |
|
|
|
current_free_june = current_free_june + COALESCE(#{currentFreeJune},0), |
|
|
|
current_free_december = current_free_december + COALESCE(#{currentFreeDecember},0), |
|
|
|
current_task_gold = current_task_gold + COALESCE(#{currentTaskGold},0) |
|
|
|
|
|
|
|
where jwcode = #{jwcode} |
|
|
|
</update> |
|
|
|
<!--修改消费订单为已退款--> |
|
|
@ -53,7 +55,7 @@ |
|
|
|
AND ugr.activity = #{rechargeAudit.activity} |
|
|
|
</if> |
|
|
|
<if test="rechargeAudit.payModel != null and rechargeAudit.payModel != ''"> |
|
|
|
AND ugr.payModel = #{rechargeAudit.payModel} |
|
|
|
AND ugr.pay_model = #{rechargeAudit.payModel} |
|
|
|
</if> |
|
|
|
<if test="rechargeAudit.market != null and rechargeAudit.market != ''"> |
|
|
|
AND u.market = #{rechargeAudit.market} |
|
|
|