|
@@ -979,6 +979,43 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
return classPeriodStudentVos;
|
|
return classPeriodStudentVos;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public List<ClassPeriodStudentNewVo> listUserPeriodNew(ClassGradeUserQueryBo bo) {
|
|
|
|
+
|
|
|
|
+// //查询班级学员信息
|
|
|
|
+// List<ClassPeriodStudentNewVo> classPeriodStudentVos = baseMapper.listUserPeriodNew(bo);
|
|
|
|
+// //查找学员学习记录
|
|
|
|
+// for (ClassPeriodStudentVo classPeriodStudentVo : classPeriodStudentVos) {
|
|
|
|
+//
|
|
|
|
+// //总的审核状态按照策划规则
|
|
|
|
+// ClassGradeUserQueryBo classGradeUserQueryBo = new ClassGradeUserQueryBo();
|
|
|
|
+// classGradeUserQueryBo.setGradeId(classPeriodStudentVo.getGradeId());
|
|
|
|
+// classGradeUserQueryBo.setUserId(classPeriodStudentVo.getUserId());
|
|
|
|
+// classGradeUserQueryBo.setGoodsId(classPeriodStudentVo.getGoodsId());
|
|
|
|
+// List<ClassPeriodUserVo> classPeriodUserVos1 = baseMapper.listPeriod(classGradeUserQueryBo);
|
|
|
|
+// ClassPeriodUserVo classPeriodUserVos = classPeriodUserVos1.get(0);
|
|
|
|
+// classPeriodUserVos.setPending(classPeriodStudentVo.getSecAllNum() - classPeriodUserVos.getPass() - classPeriodUserVos.getCheat());
|
|
|
|
+// classPeriodUserVos.setExamPending(classPeriodUserVos.getExamNum() - classPeriodUserVos.getExamPass() - classPeriodUserVos.getExamCheat());
|
|
|
|
+// //當前班級學員審核狀態 -1不可审核 0待審 1未通过 2通过
|
|
|
|
+// Integer gradePeriodStatus = 0; //班级里的审核状态字段,保持一致 0 未通过 1通过 2待审核 -1 不可审核
|
|
|
|
+//
|
|
|
|
+// classPeriodStudentVo.setAllStatus(changePeriodStatus(classPeriodStudentVo.getPeriodStatus()));
|
|
|
|
+//
|
|
|
|
+// classPeriodStudentVo.setWaitRebuildNum(classPeriodUserVos.getCheat() + classPeriodUserVos.getExamCheat());
|
|
|
|
+// List<Long> timeList = baseMapper.selectStart(classPeriodStudentVo.getUserId(), classPeriodStudentVo.getGoodsId(), classPeriodStudentVo.getGradeId(),classPeriodStudentVo.getOrderGoodsId());
|
|
|
|
+// if (!CollectionUtils.isEmpty(timeList)) {
|
|
|
|
+// //查找开始学习时间
|
|
|
|
+// classPeriodStudentVo.setStartTime(timeList.get(0));
|
|
|
|
+// }else{
|
|
|
|
+// classPeriodStudentVo.setStartTime(baseMapper.selectStartNoPhoto(classPeriodStudentVo.getUserId(), classPeriodStudentVo.getGoodsId(), classPeriodStudentVo.getGradeId(),classPeriodStudentVo.getOrderGoodsId())
|
|
|
|
+// );
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// }
|
|
|
|
+// return classPeriodStudentVos;
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public ClassPeriodStudentVo DecryptOfficialInfo(ClassGradeDecryptQueryBo bo) {
|
|
public ClassPeriodStudentVo DecryptOfficialInfo(ClassGradeDecryptQueryBo bo) {
|
|
String pars;
|
|
String pars;
|