考试申请审核功能修改。
This commit is contained in:
parent
20da5aa0a0
commit
e41cd545d8
@ -5,8 +5,10 @@ import cn.com.tenlion.dao.examcheck.IExamCheckDao;
|
|||||||
import cn.com.tenlion.pojo.bos.examcheck.ExamCheckBO;
|
import cn.com.tenlion.pojo.bos.examcheck.ExamCheckBO;
|
||||||
import cn.com.tenlion.pojo.dtos.examcheck.ExamCheckDTO;
|
import cn.com.tenlion.pojo.dtos.examcheck.ExamCheckDTO;
|
||||||
import cn.com.tenlion.pojo.pos.examcheck.ExamCheckPO;
|
import cn.com.tenlion.pojo.pos.examcheck.ExamCheckPO;
|
||||||
|
import cn.com.tenlion.pojo.vos.classplan.ClassPlanVO;
|
||||||
import cn.com.tenlion.pojo.vos.examapply.ExamApplyVO;
|
import cn.com.tenlion.pojo.vos.examapply.ExamApplyVO;
|
||||||
import cn.com.tenlion.pojo.vos.examcheck.ExamCheckVO;
|
import cn.com.tenlion.pojo.vos.examcheck.ExamCheckVO;
|
||||||
|
import cn.com.tenlion.service.classplan.IClassPlanService;
|
||||||
import cn.com.tenlion.service.examapply.IExamApplyService;
|
import cn.com.tenlion.service.examapply.IExamApplyService;
|
||||||
import cn.com.tenlion.service.examcheck.IExamCheckService;
|
import cn.com.tenlion.service.examcheck.IExamCheckService;
|
||||||
import ink.wgink.common.base.DefaultBaseService;
|
import ink.wgink.common.base.DefaultBaseService;
|
||||||
@ -36,6 +38,8 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
private IExamCheckDao examCheckDao;
|
private IExamCheckDao examCheckDao;
|
||||||
@Autowired
|
@Autowired
|
||||||
private IExamApplyService examApplyService;
|
private IExamApplyService examApplyService;
|
||||||
|
@Autowired
|
||||||
|
private IClassPlanService classPlanService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(ExamCheckVO examCheckVO) {
|
public void save(ExamCheckVO examCheckVO) {
|
||||||
@ -108,9 +112,16 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
// 如果受理通过,则新增一条考场分配数据
|
// 如果受理通过,则新增一条考场分配数据
|
||||||
if(2 == examCheckVO.getCheckStatus()) {
|
if(2 == examCheckVO.getCheckStatus()) {
|
||||||
ExamApplyVO examApplyVO = new ExamApplyVO();
|
ExamApplyVO examApplyVO = new ExamApplyVO();
|
||||||
|
examApplyVO.setStatus(0);
|
||||||
examApplyVO.setExamId(examCheckVO.getPlanId());
|
examApplyVO.setExamId(examCheckVO.getPlanId());
|
||||||
examApplyService.save(examApplyVO);
|
examApplyService.save(examApplyVO);
|
||||||
}
|
}
|
||||||
|
// 信息回传到培训机构,返回审核状态等信息
|
||||||
|
String classPlanId = examCheckVO.getPlanId();
|
||||||
|
ClassPlanVO classPlanVO = new ClassPlanVO();
|
||||||
|
classPlanVO.setReportType(examCheckVO.getCheckStatus().toString());
|
||||||
|
classPlanVO.setReportReason(examCheckVO.getReason());
|
||||||
|
classPlanService.update(classPlanId, classPlanVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -295,7 +295,7 @@ public class ExaminationServiceImpl extends DefaultBaseService implements IExami
|
|||||||
DistributionFieldSaveVO distributionFieldSaveVO = new DistributionFieldSaveVO();
|
DistributionFieldSaveVO distributionFieldSaveVO = new DistributionFieldSaveVO();
|
||||||
distributionFieldSaveVO.setInvigilatorId(examinationDTO.getExaminationId());
|
distributionFieldSaveVO.setInvigilatorId(examinationDTO.getExaminationId());
|
||||||
distributionFieldService.update(distributionFieldDTO.getDistributionFieldId(), distributionFieldSaveVO);
|
distributionFieldService.update(distributionFieldDTO.getDistributionFieldId(), distributionFieldSaveVO);
|
||||||
distributionCardService.buildingPictures(params.get("examId").toString(), params.get("examId").toString());
|
distributionCardService.saveBuildingPictures(params.get("examId").toString(), params.get("examId").toString());
|
||||||
return examinationDTO;
|
return examinationDTO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -315,7 +315,7 @@ public class ExaminationServiceImpl extends DefaultBaseService implements IExami
|
|||||||
DistributionFieldSaveVO distributionFieldSaveVO = new DistributionFieldSaveVO();
|
DistributionFieldSaveVO distributionFieldSaveVO = new DistributionFieldSaveVO();
|
||||||
distributionFieldSaveVO.setInvigilatorId(examinationDTO.getExaminationId());
|
distributionFieldSaveVO.setInvigilatorId(examinationDTO.getExaminationId());
|
||||||
distributionFieldService.update(distributionFieldDTO.getDistributionFieldId(), distributionFieldSaveVO);
|
distributionFieldService.update(distributionFieldDTO.getDistributionFieldId(), distributionFieldSaveVO);
|
||||||
distributionCardService.buildingPictures(params.get("examId").toString(), params.get("examId").toString());
|
distributionCardService.saveBuildingPictures(params.get("examId").toString(), params.get("examId").toString());
|
||||||
return examinationDTO;
|
return examinationDTO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user