...
|
...
|
@@ -82,7 +82,9 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
order.setStatus(OrderStatus.HAS_PAYED.getCode());
|
|
|
order.setUpdateTime(DateUtil.getCurrentTimeSecond());
|
|
|
// order.setPayment(orderInfo.getPayment());
|
|
|
entrySellerRechargeOrderMapper.updateByOrderCode(order);
|
|
|
if (entrySellerRechargeOrderMapper.updateByOrderCode(order) == 0) {
|
|
|
throw new ServiceException(400, "充值订单已经处理过:" + orderInfo.getOrderCode());
|
|
|
}
|
|
|
orderInfo.setStatus(OrderStatus.HAS_PAYED.getCode());
|
|
|
}
|
|
|
|
...
|
...
|
@@ -346,7 +348,7 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
pageResp.setData(new ArrayList<>());
|
|
|
return new com.yohoufo.common.ApiResponse(200, "查询成功", pageResp);
|
|
|
} else {
|
|
|
List<SellerWalletDetail> resultList = sellerWalletDetailMapper.selectUserDetailCount(uid,
|
|
|
List<SellerWalletDetail> resultList = sellerWalletDetailMapper.selectUserDetail(uid,
|
|
|
(page - 1) * limit, count);
|
|
|
List<JSONObject> array = new ArrayList<>();
|
|
|
pageResp.setData(array);
|
...
|
...
|
|