傅行帆 5 years ago
parent
commit
3b01c3820c

+ 2
- 2
src/main/java/com/huiju/estateagents/service/impl/WxPayServiceImpl.java View File

214
                 if (orderInfo.get("refund_status").equals(WXPayConstants.SUCCESS)){
214
                 if (orderInfo.get("refund_status").equals(WXPayConstants.SUCCESS)){
215
                     taRaiseRecord.setPayStatus(CommConstant.PAY_STATUS_REFUNDED);
215
                     taRaiseRecord.setPayStatus(CommConstant.PAY_STATUS_REFUNDED);
216
                     if (!StringUtils.isEmpty(orderInfo.get("err_code"))){
216
                     if (!StringUtils.isEmpty(orderInfo.get("err_code"))){
217
-                        taRaiseRecord.setRefundReason(WXPayRefundReason.getMsg(orderInfo.get("err_code")));
217
+                        taRaiseRecord.setRefundFailReason(WXPayRefundReason.getMsg(orderInfo.get("err_code")));
218
                     }
218
                     }
219
                 }
219
                 }
220
                 if (!orderInfo.get("refund_status").equals(WXPayConstants.SUCCESS)){
220
                 if (!orderInfo.get("refund_status").equals(WXPayConstants.SUCCESS)){
221
                     taRaiseRecord.setPayStatus(CommConstant.PAY_STATUS_CHANGE);
221
                     taRaiseRecord.setPayStatus(CommConstant.PAY_STATUS_CHANGE);
222
-                    taRaiseRecord.setRefundReason("");
222
+                    taRaiseRecord.setRefundFailReason("");
223
                 }
223
                 }
224
 
224
 
225
                 taRaiseRecordMapper.updateById(taRaiseRecord);
225
                 taRaiseRecordMapper.updateById(taRaiseRecord);