Commit c0ddd255 by 刘鑫

fix: 日期接收参数替换为date类型

1 parent d89318cd
......@@ -8,7 +8,7 @@ import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
/**
......@@ -65,7 +65,7 @@ public class EngineerParamDTO {
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate birth;
private Date birth;
private String gender;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!