|
@@ -98,15 +98,14 @@ public class PushLogicServiceImpl implements PushLogicService {
|
|
|
@Override
|
|
|
@Transactional
|
|
|
public Map<String, Object> executeScorePushLogic(Map<String, Object> map) throws Exception {
|
|
|
- SysUser sysUser = (SysUser) map.get(SystemConstant.SYS_USER);
|
|
|
+ SysUser sysUser = (SysUser) map.get(SystemConstant.USER);
|
|
|
Long schoolId = sysUser.getSchoolId();
|
|
|
Integer examId = (Integer) map.get("examId");
|
|
|
- String examCode = (String) map.get("examCode");
|
|
|
Long examIdLong = Long.parseLong(String.valueOf(examId));
|
|
|
List<TSyncExamStudentScore> tSyncExamStudentScoreList = null;
|
|
|
List<String> errorTSyncExamStudentScoreList = null;
|
|
|
try {
|
|
|
- int totalCount = stmmsUtils.getStudentCount(schoolId, examId, examCode, null, null, null, null, null, null, true);
|
|
|
+ int totalCount = stmmsUtils.getStudentCount(schoolId, examId, null, null, null, null, null, null, null, true);
|
|
|
log.info("云阅卷:考试成绩考生数量查询接口调用,返回数量:{}", totalCount);
|
|
|
if (totalCount > 0) {
|
|
|
int pageSize = stmmsUtils.getDefaultPageSize();
|
|
@@ -118,7 +117,7 @@ public class PushLogicServiceImpl implements PushLogicService {
|
|
|
tSyncExamStudentScoreList = new ArrayList<>();
|
|
|
errorTSyncExamStudentScoreList = new ArrayList<>();
|
|
|
for (int i = 1; i <= pageNos; i++) {
|
|
|
- List<Map> students = stmmsUtils.getStudentScore(schoolId, examId, examCode, null, null, null, null, null, null, true, i, pageSize);
|
|
|
+ List<Map> students = stmmsUtils.getStudentScore(schoolId, examId, null, null, null, null, null, null, null, true, i, pageSize);
|
|
|
for (Map student : students) {
|
|
|
try {
|
|
|
//查学院id
|