Explorar o código

学生处分调整

dzx hai 1 ano
pai
achega
2bf527212c

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

@@ -136,6 +136,7 @@ public class BaseStudentPunishmentInfoController {
     public RT<Boolean> handle(@Valid @RequestBody AddBasePunishmentStudentHandleDto dto){
         BasePunishmentStudentHandle handle = BeanUtil.toBean(dto, BasePunishmentStudentHandle.class);
         handle.setCreateDate(new Date());
+        handle.setBaseStudentPunishmentInfoId(dto.getPunishmentInfoId());
         boolean save = handleService.save(handle);
         BaseStudentPunishmentInfo punishmentInfo = baseStudentPunishmentInfoService.getById(dto.getPunishmentInfoId());
         punishmentInfo.setPunishmentTypeId(dto.getPunishmentTypeId());