|
@@ -1,6 +1,5 @@
|
|
|
package cn.com.qmth.print.manage.service.impl;
|
|
|
|
|
|
-import cn.com.qmth.print.manage.config.PmConstants;
|
|
|
import cn.com.qmth.print.manage.dao.CheckRecordDao;
|
|
|
import cn.com.qmth.print.manage.entity.CheckRecordEntity;
|
|
|
import cn.com.qmth.print.manage.entity.ExamEntity;
|
|
@@ -116,6 +115,11 @@ public class CheckRecordServiceImpl extends ServiceImpl<CheckRecordDao, CheckRec
|
|
|
throw new StatusException("该分组结束考生不正确");
|
|
|
}
|
|
|
CheckRecordEntity checkRecord = checkRecordDao.selectById(id);
|
|
|
+ String startGroupName = checkRecord.getGroupName();
|
|
|
+ if (!startGroupName.equals(groupName)){
|
|
|
+ throw new StatusException(String.format("校验失败,校验结尾的分组字段[%s]和开头的[%s]不一致",groupName,startGroupName));
|
|
|
+ }
|
|
|
+
|
|
|
checkRecord.setEndNumber(endNumber);
|
|
|
checkRecord.setUpdaterId(userId);
|
|
|
checkRecord.setUpdateTime(new Date());
|