查询订单分账配置

This commit is contained in:
Guoqs
2025-10-14 11:50:21 +08:00
parent 9e08d916f7
commit 65a26e1faf
11 changed files with 84 additions and 7 deletions

View File

@@ -998,4 +998,22 @@ public class TempController extends BaseController {
}
return response;
}
/**
* 查询订单分账配置
* @param dto
* @return
*/
@PostMapping("/queryOrderSplitConfigList")
public RestApiResponse<?> queryOrderSplitConfigList(@RequestBody DebugOrderDTO dto) {
RestApiResponse<?> response;
try {
tempService.queryOrderSplitConfigList(dto.getOrderCode());
response = new RestApiResponse<>();
} catch (Exception e) {
logger.error("查询订单分账配置 error,", e);
response = new RestApiResponse<>(e);
}
return response;
}
}

View File

@@ -1425,5 +1425,9 @@ public class TempService {
logger.info("checkOrderSplitRecord订单号:{}, afterSettleOrderDTO:{}", orderCode, JSON.toJSONString(afterSettleOrderDTO));
orderBasicInfoService.checkOrUpdateOrderSplitRecord(afterSettleOrderDTO);
}
public List<StationSplitConfig> queryOrderSplitConfigList(String orderCode) {
return orderBasicInfoService.queryOrderSplitConfigList(orderCode);
}
}

View File

@@ -592,7 +592,7 @@ public class PaymentTestController {
// 查询支付确认id
QueryPaymentConfirmDTO dto = new QueryPaymentConfirmDTO();
dto.setPaymentConfirmId("0022120251010134711990822599294813462528");
dto.setPaymentConfirmId("0022120250914002345990812975021684928512");
dto.setWechatAppId(wechatAppId1);
// 查询分账信息
PaymentConfirmInfo paymentConfirmInfo = adapayService.queryPaymentConfirmDetail(dto);

View File

@@ -43,6 +43,7 @@
002212025091410343310813128734659739648
002212025091411305910813142936145289216
002212025091411585210813149954511876096
002212025091412172910813154639293620224
002212025091412445910813161557793845248
002212025091408225810813095620038254592
002212025091412331610813158610146066432