Merge remote-tracking branch 'origin/baotou-signup' into baotou-signup
This commit is contained in:
commit
818bea57c9
@ -209,6 +209,16 @@ public interface IExamCheckService {
|
|||||||
*/
|
*/
|
||||||
Boolean getExamCheck(String workTypeId, String orgId);
|
Boolean getExamCheck(String workTypeId, String orgId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开办申请记录查询
|
||||||
|
* 通过返回true
|
||||||
|
* 不存在、待审核、退回返回false
|
||||||
|
* @param workTypeId
|
||||||
|
* @param orgId
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
Boolean getPlanExamCheck(String workTypeId, String orgId, String classPlanId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 开办申请记录查询
|
* 开办申请记录查询
|
||||||
* 不存在、待审核、退回返回true
|
* 不存在、待审核、退回返回true
|
||||||
|
@ -115,10 +115,11 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
setAppUpdateInfo(token, params);
|
setAppUpdateInfo(token, params);
|
||||||
}
|
}
|
||||||
examCheckDao.update(params);
|
examCheckDao.update(params);
|
||||||
|
ExamCheckDTO examCheckDTO = get(examCheckId);
|
||||||
// 开班计划审核通过以后,调用机构接口,删除机构相关信息
|
// 开班计划审核通过以后,调用机构接口,删除机构相关信息
|
||||||
if(2 == examCheckVO.getCheckStatus()) {
|
if(2 == examCheckVO.getCheckStatus()) {
|
||||||
try {
|
try {
|
||||||
applyStudentsService.saveCopeApply(examCheckVO.getOrgId(), examCheckVO.getWorkTypeId(), examCheckVO.getPlanId());
|
applyStudentsService.saveCopeApply(examCheckDTO.getOrgId(), examCheckDTO.getWorkTypeId(), examCheckDTO.getPlanId());
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
@ -242,10 +243,19 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params);
|
ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params);
|
||||||
if(null == examCheckDTO) {
|
if(null == examCheckDTO) {
|
||||||
return false;
|
return false;
|
||||||
}else {
|
}
|
||||||
if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) {
|
return true;
|
||||||
return false;
|
}
|
||||||
}
|
|
||||||
|
@Override
|
||||||
|
public Boolean getPlanExamCheck(String workTypeId, String orgId, String classPlanId) {
|
||||||
|
Map<String, Object> params = new HashMap<>(1);
|
||||||
|
params.put("workTypeId", workTypeId);
|
||||||
|
params.put("orgId", orgId);
|
||||||
|
params.put("classPlanId", classPlanId);
|
||||||
|
ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params);
|
||||||
|
if(null == examCheckDTO) {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -258,10 +268,6 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params);
|
ExamCheckDTO examCheckDTO = examCheckDao.getExamCheck(params);
|
||||||
if(null == examCheckDTO) {
|
if(null == examCheckDTO) {
|
||||||
return true;
|
return true;
|
||||||
}else {
|
|
||||||
if(0 == examCheckDTO.getCheckStatus() || 3 == examCheckDTO.getCheckStatus()) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -153,13 +153,17 @@
|
|||||||
WHERE
|
WHERE
|
||||||
t1.is_delete = 0
|
t1.is_delete = 0
|
||||||
<if test="examCheckId != null and examCheckId != ''">
|
<if test="examCheckId != null and examCheckId != ''">
|
||||||
AND
|
AND t1.exam_check_id = #{examCheckId}
|
||||||
t1.exam_check_id = #{examCheckId}
|
</if>
|
||||||
|
<if test="workTypeId != null and workTypeId != ''">
|
||||||
|
AND t1.work_type_id = #{workTypeId}
|
||||||
|
</if>
|
||||||
|
<if test="orgId != null and orgId != ''">
|
||||||
|
AND t1.org_id = #{orgId}
|
||||||
|
</if>
|
||||||
|
<if test="planId != null and planId != ''">
|
||||||
|
AND t1.plan_id = #{planId}
|
||||||
</if>
|
</if>
|
||||||
<if test="planId != null and planId != ''">
|
|
||||||
AND
|
|
||||||
t1.plan_id = #{planId}
|
|
||||||
</if>
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 详情 -->
|
<!-- 详情 -->
|
||||||
@ -381,12 +385,16 @@
|
|||||||
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_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>
|
||||||
<if test="orgId != null and orgId != ''">
|
<if test="orgId != null and orgId != ''">
|
||||||
AND t1.org_id = #{orgId}
|
AND t1.org_id = #{orgId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="classPlanId != null and classPlanId != ''">
|
||||||
|
AND t1.plan_id = #{classPlanId}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
@ -37,7 +37,7 @@
|
|||||||
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="updateEvent">
|
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="updateEvent">
|
||||||
<i class="fa fa-lg fa-edit"></i> 考试申请审核
|
<i class="fa fa-lg fa-edit"></i> 考试申请审核
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="checkMore">
|
<button type="button" class="layui-btn layui-btn-sm" lay-event="checkMore">
|
||||||
<i class="fa fa-lg fa-edit"></i> 考试申请批量审核
|
<i class="fa fa-lg fa-edit"></i> 考试申请批量审核
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="updateEvent">
|
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="updateEvent">
|
||||||
<i class="fa fa-lg fa-edit"></i> 开班计划审核
|
<i class="fa fa-lg fa-edit"></i> 开班计划审核
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="checkMore">
|
<button type="button" class="layui-btn layui-btn-sm" lay-event="checkMore">
|
||||||
<i class="fa fa-lg fa-edit"></i> 开班计划批量审核
|
<i class="fa fa-lg fa-edit"></i> 开班计划批量审核
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user