Commit c5991810 by 程裕兵

feat:refund state trans wrong

parent 2aee8575
......@@ -109,9 +109,9 @@ public class RefundServiceImpl implements RefundService {
@Override
public StudioMerchantRefundVO merchantRefund(StudioMerchantRefundParams params) {
StudioCashierRecord refund = this.initRefundRecord(params);
StudioMerchantCheckRefundVO checkResult = this.checkBeforeMerchantRefund(params);
StudioCashierRecord refund = this.initRefundRecord(params);
if (CheckRefundCodeEnum.isFail(checkResult.getCode())) {
this.refundCallback(RefundConvert.convertRefundEvent(refund, checkResult));
return StudioMerchantRefundVO.builder()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment