|
@@ -422,6 +422,10 @@ public class EPaperStudentService {
|
422
|
422
|
**/
|
423
|
423
|
@Transactional(rollbackFor = Exception.class)
|
424
|
424
|
public void saveCommitPaperForScantron(PaperStudentWebVo pswvo) throws Exception{
|
|
425
|
+
|
|
426
|
+ //扫描一次扫描数量+1
|
|
427
|
+ eScanbatchMapper.updateScannum(pswvo.getBatchid());
|
|
428
|
+
|
425
|
429
|
if(N_Utils.isEmptyInteger(pswvo.getEpid()) || N_Utils.isEmpty(pswvo.getExamno())){
|
426
|
430
|
updateScanErrorInfo(4,pswvo);
|
427
|
431
|
return;
|
|
@@ -504,8 +508,7 @@ public class EPaperStudentService {
|
504
|
508
|
|
505
|
509
|
ePaperStudentQuestionMapper.updateBatchStuQuestion(sqlist);
|
506
|
510
|
ePaperStudentMapper.updateStudentPaper(paperStudent);
|
507
|
|
- //扫描完成更改批次数量
|
508
|
|
- eScanbatchMapper.updateScannum(paperStudent.getBatchid());
|
|
511
|
+
|
509
|
512
|
//更改违规数量
|
510
|
513
|
if(paperStudent.getHasbad() == 1){
|
511
|
514
|
eScanbatchMapper.updateWgnum(paperStudent.getBatchid());
|
|
@@ -537,7 +540,10 @@ public class EPaperStudentService {
|
537
|
540
|
* @author: wn
|
538
|
541
|
* @date:
|
539
|
542
|
**/
|
|
543
|
+ @Transactional(rollbackFor = Exception.class)
|
540
|
544
|
public void saveScanPaperError(EScanerror eScanerror){
|
|
545
|
+ //扫描一次扫描数量+1
|
|
546
|
+ eScanbatchMapper.updateScannum(eScanerror.getBatchid());
|
541
|
547
|
eScanerror.setErrortype(1);
|
542
|
548
|
eScanerror.setCreatetime(N_Utils.getSecondTimestamp());
|
543
|
549
|
eScanerrorMapper.insertUseGeneratedKeys(eScanerror);
|