mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 20:45:10 +08:00
查询订单分账配置
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user