| | |
| | | public class OrderPaymentServiceImpl extends ServiceImpl<OrderPaymentMapper, OrderPayment> implements OrderPaymentService { |
| | | |
| | | @Override |
| | | public void saveOrderPayment(Long userId, Long shopId, String orderId, BigDecimal payMoney, Date endTime, |
| | | public void saveOrderPayment(Long userId, Long shopId, String subMchId, String orderId, BigDecimal payMoney, Date endTime, |
| | | String profitSharing, String openid, String goodsNames, String prepayId) { |
| | | OrderPayment payment = new OrderPayment(); |
| | | payment.setPaymentId(IdUtils.simpleUUID()); |
| | |
| | | payment.setOrderId(orderId); |
| | | payment.setPayMoney(payMoney); |
| | | payment.setTimeExpire(endTime); |
| | | payment.setSubMchId(subMchId); |
| | | // 0 否 1、是 |
| | | payment.setProfitSharing("Y".equals(profitSharing) ? 1 : 0); |
| | | payment.setUserOpenId(openid); |