校验是否为并充订单

This commit is contained in:
Guoqs
2024-11-14 17:02:03 +08:00
parent c2f849ec75
commit a59dc883c1
2 changed files with 52 additions and 2 deletions

View File

@@ -619,4 +619,21 @@ public class TempController extends BaseController {
}
return response;
}
/**
* 并充订单数据修正
* https://localhost:8080/temp/correctCombinedChargingOrder
*/
@PostMapping("/correctCombinedChargingOrder")
public RestApiResponse<?> correctCombinedChargingOrder(@RequestBody QueryOrderDTO dto) {
RestApiResponse<?> response;
try {
tempService.correctCombinedChargingOrder(dto);
response = new RestApiResponse<>();
} catch (Exception e) {
logger.error("校验订单是否为并充订单error", e);
response = new RestApiResponse<>();
}
return response;
}
}