|
@@ -39,7 +39,7 @@ public class StudentInfoServiceImpl extends ServiceImpl<StudentInfoMapper, Stude
|
|
|
if (!save) {
|
|
if (!save) {
|
|
|
throw new CustomException("学生数据添加失败");
|
|
throw new CustomException("学生数据添加失败");
|
|
|
}
|
|
}
|
|
|
- return true;
|
|
|
|
|
|
|
+ return Boolean.TRUE;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -49,7 +49,7 @@ public class StudentInfoServiceImpl extends ServiceImpl<StudentInfoMapper, Stude
|
|
|
if (!remove) {
|
|
if (!remove) {
|
|
|
throw new CustomException("学生数据删除失败");
|
|
throw new CustomException("学生数据删除失败");
|
|
|
}
|
|
}
|
|
|
- return true;
|
|
|
|
|
|
|
+ return Boolean.TRUE;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -64,7 +64,7 @@ public class StudentInfoServiceImpl extends ServiceImpl<StudentInfoMapper, Stude
|
|
|
if (!update) {
|
|
if (!update) {
|
|
|
throw new CustomException("学生数据修改失败");
|
|
throw new CustomException("学生数据修改失败");
|
|
|
}
|
|
}
|
|
|
- return true;
|
|
|
|
|
|
|
+ return Boolean.TRUE;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -83,6 +83,6 @@ public class StudentInfoServiceImpl extends ServiceImpl<StudentInfoMapper, Stude
|
|
|
if (!result) {
|
|
if (!result) {
|
|
|
throw new CustomException("学生批量删除失败");
|
|
throw new CustomException("学生批量删除失败");
|
|
|
}
|
|
}
|
|
|
- return true;
|
|
|
|
|
|
|
+ return Boolean.TRUE;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|