开班计划审核
考试申请审核
This commit is contained in:
parent
a7f58dbc6e
commit
e96386f122
@ -9,6 +9,7 @@ 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.classplan.ClassPlanVO;
|
||||||
import cn.com.tenlion.pojo.vos.examcheck.ExamCheckVO;
|
import cn.com.tenlion.pojo.vos.examcheck.ExamCheckVO;
|
||||||
|
import cn.com.tenlion.service.applystudents.IApplyStudentsService;
|
||||||
import cn.com.tenlion.service.classplan.IClassPlanService;
|
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;
|
||||||
@ -43,6 +44,8 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
private IClassPlanService classPlanService;
|
private IClassPlanService classPlanService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private IInstitutionService iInstitutionService;
|
private IInstitutionService iInstitutionService;
|
||||||
|
@Autowired
|
||||||
|
private IApplyStudentsService applyStudentsService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save(ExamCheckVO examCheckVO) {
|
public void save(ExamCheckVO examCheckVO) {
|
||||||
@ -112,6 +115,14 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
setAppUpdateInfo(token, params);
|
setAppUpdateInfo(token, params);
|
||||||
}
|
}
|
||||||
examCheckDao.update(params);
|
examCheckDao.update(params);
|
||||||
|
// 开班计划审核通过以后,调用机构接口,删除机构相关信息
|
||||||
|
if(2 == examCheckVO.getCheckStatus()) {
|
||||||
|
try {
|
||||||
|
applyStudentsService.saveCopeApply(examCheckVO.getOrgId(), examCheckVO.getWorkTypeId(), examCheckVO.getPlanId());
|
||||||
|
}catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
// 信息回传到培训机构,返回审核状态等信息
|
// 信息回传到培训机构,返回审核状态等信息
|
||||||
String classPlanId = examCheckVO.getPlanId();
|
String classPlanId = examCheckVO.getPlanId();
|
||||||
ClassPlanVO classPlanVO = new ClassPlanVO();
|
ClassPlanVO classPlanVO = new ClassPlanVO();
|
||||||
|
@ -377,7 +377,7 @@
|
|||||||
management_exam_check t1
|
management_exam_check t1
|
||||||
WHERE
|
WHERE
|
||||||
t1.is_delete = 0
|
t1.is_delete = 0
|
||||||
AND (t1.check_status = 0 OR t1.check_staus = 3)
|
AND (t1.check_status = 0 OR t1.check_status = 3)
|
||||||
<if test="workTypeId != null and workTypeId != ''">
|
<if test="workTypeId != null and workTypeId != ''">
|
||||||
AND t1.work_type_id = #{workTypeId}
|
AND t1.work_type_id = #{workTypeId}
|
||||||
</if>
|
</if>
|
||||||
|
Loading…
Reference in New Issue
Block a user