傅行帆 5 years ago
parent
commit
3b01c3820c

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

@@ -214,12 +214,12 @@ public class WxPayServiceImpl implements IWxPayService {
214 214
                 if (orderInfo.get("refund_status").equals(WXPayConstants.SUCCESS)){
215 215
                     taRaiseRecord.setPayStatus(CommConstant.PAY_STATUS_REFUNDED);
216 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 220
                 if (!orderInfo.get("refund_status").equals(WXPayConstants.SUCCESS)){
221 221
                     taRaiseRecord.setPayStatus(CommConstant.PAY_STATUS_CHANGE);
222
-                    taRaiseRecord.setRefundReason("");
222
+                    taRaiseRecord.setRefundFailReason("");
223 223
                 }
224 224
 
225 225
                 taRaiseRecordMapper.updateById(taRaiseRecord);