Commit 416174e3 by 刘鑫

fix: jackson java8 时间类接收错误

1 parent 35f849ea
...@@ -95,8 +95,10 @@ public class PeaApiController { ...@@ -95,8 +95,10 @@ public class PeaApiController {
*/ */
@GetMapping("/capacity/engineer") @GetMapping("/capacity/engineer")
public Result<CapacityQueryDTO.PersonalResult> capacityEngineer(@NotBlank @RequestParam("engineerCode") String engineerCode, public Result<CapacityQueryDTO.PersonalResult> capacityEngineer(@NotBlank @RequestParam("engineerCode") String engineerCode,
@NotNull @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate beginDate, @NotNull @DateTimeFormat(pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate endDate) { @RequestParam("beginDate") LocalDate beginDate,
@DateTimeFormat(pattern = "yyyy-MM-dd")
@RequestParam("endDate") LocalDate endDate) {
return Result.success(null); return Result.success(null);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!