Procházet zdrojové kódy

发放奖学金报错解决

dzx před 3 měsíci
rodič
revize
ad347fae93

+ 0 - 1
src/main/java/com/xjrsoft/module/student/controller/BaseStudentScholarshipReleaseController.java

@@ -56,7 +56,6 @@ public class BaseStudentScholarshipReleaseController {
 
     private final IBaseStudentScholarshipApplicantService applicantService;
     private final IBaseStudentScholarshipReleaseService releaseService;
-    private final IUserService userService;
 
     @GetMapping(value = "/page")
     @ApiOperation(value = "奖学金发放记录表列表(分页)")

+ 2 - 1
src/main/java/com/xjrsoft/module/student/dto/AddBaseStudentScholarshipReleaseDto.java

@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.io.Serializable;
+import java.time.LocalDate;
 import java.util.Date;
 
 
@@ -33,6 +34,6 @@ public class AddBaseStudentScholarshipReleaseDto implements Serializable {
     * 发放日期
     */
     @ApiModelProperty("发放日期")
-    private Date releaseDate;
+    private LocalDate releaseDate;
 
 }

+ 2 - 1
src/main/java/com/xjrsoft/module/student/entity/BaseStudentScholarshipRelease.java

@@ -10,6 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.io.Serializable;
+import java.time.LocalDate;
 import java.util.Date;
 
 
@@ -83,7 +84,7 @@ public class BaseStudentScholarshipRelease implements Serializable {
     * 发放日期
     */
     @ApiModelProperty("发放日期")
-    private Date releaseDate;
+    private LocalDate releaseDate;
 
 
 }