bug修改。
This commit is contained in:
parent
c05deab518
commit
82620ebe6c
@ -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();
|
||||||
}
|
}
|
||||||
@ -246,6 +247,19 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@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;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean getExamCheckFailOrBack(String workTypeId, String orgId) {
|
public Boolean getExamCheckFailOrBack(String workTypeId, String orgId) {
|
||||||
Map<String, Object> params = new HashMap<>(1);
|
Map<String, Object> params = new HashMap<>(1);
|
||||||
|
@ -388,6 +388,9 @@
|
|||||||
<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>
|
Loading…
Reference in New Issue
Block a user