|
@@ -14,6 +14,7 @@ import com.zhongzheng.modules.grade.domain.ClassGradeGoods;
|
|
|
import com.zhongzheng.modules.grade.domain.ClassGradeSys;
|
|
|
import com.zhongzheng.modules.grade.service.IClassGradeGoodsService;
|
|
|
import com.zhongzheng.modules.grade.service.IClassGradeSysService;
|
|
|
+import com.zhongzheng.modules.grade.service.IClassGradeUserService;
|
|
|
import com.zhongzheng.modules.grade.vo.ClassGradeStudentVo;
|
|
|
import com.zhongzheng.modules.system.domain.SysConfig;
|
|
|
import com.zhongzheng.modules.user.bo.SubjectStudyRecordQueryBo;
|
|
@@ -57,6 +58,9 @@ public class ClassGradeServiceImpl extends ServiceImpl<ClassGradeMapper, ClassGr
|
|
|
@Autowired
|
|
|
private IUserStudyRecordService iUserStudyRecordService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private IClassGradeUserService iClassGradeUserService;
|
|
|
+
|
|
|
@Override
|
|
|
public ClassGradeVo queryById(Long gradeId){
|
|
|
ClassGradeQueryBo classGradeQueryBo = new ClassGradeQueryBo();
|
|
@@ -200,4 +204,14 @@ public class ClassGradeServiceImpl extends ServiceImpl<ClassGradeMapper, ClassGr
|
|
|
}
|
|
|
return classGradeStudentVos;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean editUserGrade(ClassGradeUserAddBo bo) {
|
|
|
+ bo.setCreateBy(SecurityUtils.getUsername());
|
|
|
+ bo.setStatus(1);
|
|
|
+ bo.setCreateTime(DateUtils.getNowTime());
|
|
|
+ bo.setUpdateTime(DateUtils.getNowTime());
|
|
|
+ bo.setFromType(2);
|
|
|
+ return iClassGradeUserService.insertByAddBo(bo);
|
|
|
+ }
|
|
|
}
|