查询订单分账配置

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);
}
}