|
|
@@ -31,8 +31,10 @@ import com.xjrsoft.module.banding.service.IBandingTaskClassStudentService;
|
|
|
import com.xjrsoft.module.banding.service.IBandingTaskService;
|
|
|
import com.xjrsoft.module.base.entity.BaseClass;
|
|
|
import com.xjrsoft.module.base.entity.BaseGrade;
|
|
|
+import com.xjrsoft.module.base.entity.BaseMajorSet;
|
|
|
import com.xjrsoft.module.base.mapper.BaseClassMapper;
|
|
|
import com.xjrsoft.module.base.mapper.BaseGradeMapper;
|
|
|
+import com.xjrsoft.module.base.mapper.BaseMajorSetMapper;
|
|
|
import com.xjrsoft.module.organization.dto.GetUserByParamDto;
|
|
|
import com.xjrsoft.module.organization.entity.User;
|
|
|
import com.xjrsoft.module.organization.entity.UserRoleRelation;
|
|
|
@@ -101,6 +103,7 @@ public class StudentReportRecordServiceImpl extends MPJBaseServiceImpl<StudentRe
|
|
|
private final IBandingTaskClassService taskClassService;
|
|
|
private final IBandingTaskService taskService;
|
|
|
private final BaseGradeMapper gradeMapper;
|
|
|
+ private final BaseMajorSetMapper majorSetMapper;
|
|
|
|
|
|
|
|
|
@Override
|
|
|
@@ -376,6 +379,8 @@ public class StudentReportRecordServiceImpl extends MPJBaseServiceImpl<StudentRe
|
|
|
baseClass.setCode(baseGrade.getTitle().replace("年", "") + String.format("%03d", i));
|
|
|
}
|
|
|
baseClass.setGradeId(task.getGradeId());
|
|
|
+ BaseMajorSet majorSet = majorSetMapper.selectById(baseClass.getMajorSetId());
|
|
|
+ baseClass.setOrgId(majorSet.getDepartmentId());
|
|
|
classMapper.insert(baseClass);
|
|
|
}
|
|
|
//根据身份证号查询这个学生是否存在
|