liu 1 year ago
parent
commit
9578b427cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/com/template/controller/WelcomeBedController.java

+ 1 - 0
src/main/java/com/template/controller/WelcomeBedController.java

@@ -119,6 +119,7 @@ public class WelcomeBedController implements WelcomeBedControllerAPI {
         wb.setGrade(iwbr.getGrade());
         wb.setGrade(iwbr.getGrade());
         wb.setCollegeId(iwbr.getCollegeId());
         wb.setCollegeId(iwbr.getCollegeId());
         wb.setCollege(iwbr.getCollege());
         wb.setCollege(iwbr.getCollege());
+        wb.setRetentionState(1);
 
 
         int result = welcomeBedService.insertWelcomeBed(wb);
         int result = welcomeBedService.insertWelcomeBed(wb);
         return result > 0 ? CommonResult.ok("添加成功!") : CommonResult.fail("添加失败");
         return result > 0 ? CommonResult.ok("添加成功!") : CommonResult.fail("添加失败");