Browse Source

发放奖学金报错解决

dzx 3 months ago
parent
commit
579b52a0c3

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

@@ -144,6 +144,7 @@ public class BaseStudentScholarshipReleaseController {
                 applicantVo.setScholarshipLevel(dto.getScholarshipLevel());
                 applicantVo.setScholarshipLevel(dto.getScholarshipLevel());
                 applicantVo.setBaseStudentScholarshipCategoryId(dto.getBaseStudentScholarshipCategoryId());
                 applicantVo.setBaseStudentScholarshipCategoryId(dto.getBaseStudentScholarshipCategoryId());
                 applicantVo.setReviewStatus(1);
                 applicantVo.setReviewStatus(1);
+                applicantVo.setAmount(dto.getTotalAmount().doubleValue());
                 dataList.add(applicantVo);
                 dataList.add(applicantVo);
 
 
                 insertList.add(
                 insertList.add(

+ 3 - 0
src/main/java/com/xjrsoft/module/student/dto/AddStudentScholarshipDto.java

@@ -38,4 +38,7 @@ public class AddStudentScholarshipDto implements Serializable {
     */
     */
     @ApiModelProperty("等级")
     @ApiModelProperty("等级")
     private Integer scholarshipLevel;
     private Integer scholarshipLevel;
+
+    @ApiModelProperty("金额")
+    private Integer totalAmount;
 }
 }