mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-24 04:55:08 +08:00
校验是否为并充订单
This commit is contained in:
@@ -602,4 +602,21 @@ public class TempController extends BaseController {
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验订单是否为并充订单
|
||||
* https://localhost:8080/temp/checkCombinedChargingOrder
|
||||
*/
|
||||
@PostMapping("/checkCombinedChargingOrder")
|
||||
public RestApiResponse<?> checkCombinedChargingOrder(@RequestBody QueryOrderDTO dto) {
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
Map<String, List<String>> map = tempService.checkCombinedChargingOrder(dto.getOrderCodeList());
|
||||
response = new RestApiResponse<>(map);
|
||||
} catch (Exception e) {
|
||||
logger.error("校验订单是否为并充订单error", e);
|
||||
response = new RestApiResponse<>();
|
||||
}
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user