cd8dab59 刘嘉

修改检测退款逻辑

1 个父辈 c40e01b1
...@@ -54,8 +54,6 @@ public class CheckRefundStatusBizServiceImpl extends AbstractBizService<CheckRef ...@@ -54,8 +54,6 @@ public class CheckRefundStatusBizServiceImpl extends AbstractBizService<CheckRef
54 if(!StringUtil.isNull(memberProductBackList) && !memberProductBackList.isEmpty()){ 54 if(!StringUtil.isNull(memberProductBackList) && !memberProductBackList.isEmpty()){
55 MemberProductBack memberProductBack = memberProductBackList.stream().findFirst().get(); 55 MemberProductBack memberProductBack = memberProductBackList.stream().findFirst().get();
56 PineappleRefundEnum refundEnum = PineappleRefundEnum.resolveByPlatformRefundStatus(memberProductBack.getStateReturn()); 56 PineappleRefundEnum refundEnum = PineappleRefundEnum.resolveByPlatformRefundStatus(memberProductBack.getStateReturn());
57 //不予理会表示没有退款
58 if(!StringUtil.isNull(refundEnum) && PineappleRefundEnum.JH_05.getCode() != refundEnum.getCode()){
59 //如果退款状态是店铺收货需要判断该退款信息是否已付款 57 //如果退款状态是店铺收货需要判断该退款信息是否已付款
60 if(memberProductBack.getStateReturn().intValue() == MemberProductBackEnum.ShopDelivery.getCode()){ 58 if(memberProductBack.getStateReturn().intValue() == MemberProductBackEnum.ShopDelivery.getCode()){
61 if(memberProductBack.getStateMoney() == 1){ 59 if(memberProductBack.getStateMoney() == 1){
...@@ -83,7 +81,7 @@ public class CheckRefundStatusBizServiceImpl extends AbstractBizService<CheckRef ...@@ -83,7 +81,7 @@ public class CheckRefundStatusBizServiceImpl extends AbstractBizService<CheckRef
83 checkRefundStatusResponse.setCode(PineappleEnum.SUCCESS.getCode()); 81 checkRefundStatusResponse.setCode(PineappleEnum.SUCCESS.getCode());
84 checkRefundStatusResponse.setMessage(PineappleEnum.SUCCESS.getMsg()); 82 checkRefundStatusResponse.setMessage(PineappleEnum.SUCCESS.getMsg());
85 return checkRefundStatusResponse; 83 return checkRefundStatusResponse;
86 } 84
87 } 85 }
88 //2.查询换货表有没有记录 86 //2.查询换货表有没有记录
89 List<MemberProductExchange> memberProductExchangeList = memberReadDao.getMemberProductExchangeByOrderSn(callRequest.getBizModel().getOrderID()); 87 List<MemberProductExchange> memberProductExchangeList = memberReadDao.getMemberProductExchangeByOrderSn(callRequest.getBizModel().getOrderID());
......