This commit is contained in:
YAS\29473
2026-01-09 15:39:51 +08:00
parent 074b624644
commit 5b6342da69
4 changed files with 90 additions and 0 deletions

View File

@@ -1053,4 +1053,26 @@ public class TempController extends BaseController {
return response;
}
/**
* 单个会员批量绑定车牌号
*/
@PostMapping("/batchBindCarNumber")
public RestApiResponse<?> batchBindCarNumber(@RequestBody CarNumberBindDTO dto) {
logger.info("单个会员批量绑定车牌号, param:{}", JSON.toJSONString(dto));
RestApiResponse<?> response;
try {
tempService.batchBindCarNumber(dto);
response = new RestApiResponse<>();
} catch (BusinessException e) {
logger.warn("单个会员批量绑定车牌号 warn", e);
response = new RestApiResponse<>(e.getCode(), e.getMessage());
} catch (Exception e) {
logger.error("单个会员批量绑定车牌号 error", e);
response = new RestApiResponse<>("00300002", "单个会员批量绑定车牌号异常");
}
logger.info("单个会员批量绑定车牌号, result:{}", JSON.toJSONString(response));
return response;
}
}