| | |
| | | import com.hx.exception.TipsException; |
| | | import com.hx.mybatisTool.SqlSentence; |
| | | import com.hx.phiappt.common.OrderTotalConstants; |
| | | import com.hx.phiappt.common.PayMethodTypeConstants; |
| | | import com.hx.phiappt.dao.mapper.OrdersTotalMapper; |
| | | import com.hx.phiappt.model.*; |
| | | import com.hx.phiappt.model.consume.ConsumeNotify; |
| | |
| | | otherRefundMethodList.add(orderPayMethodDto); |
| | | } |
| | | } |
| | | |
| | | |
| | | //再遍历原支付方式,是现金和执行金额才赋值其他配置的支付方式退款 |
| | | for(OrderPayMethodDto payMethodDto : refundPayMethodList){ |
| | | if(PayMethodTypeConstants.PAY_ADD_FUND.equals(payMethodDto.getRefundNumberNo()) |
| | | || PayMethodTypeConstants.PAY_STORED.equals(payMethodDto.getRefundNumberNo()) |
| | | || PayMethodTypeConstants.PAY_MONEY.equals(payMethodDto.getRefundNumberNo()) |
| | | || PayMethodTypeConstants.PAY_INTEGRAL.equals(payMethodDto.getRefundNumberNo()) |
| | | || PayMethodTypeConstants.PAY_INTEGRAL_CASH.equals(payMethodDto.getRefundNumberNo()) |
| | | ){ |
| | | continue; |
| | | } |
| | | if(payMethodDto.getIsMoneyPay() == BaseEntity.YES && payMethodDto.getIsExecute() == BaseEntity.YES){ |
| | | payMethodDto.setOtherRefundMethodList(otherRefundMethodList); |
| | | } |