考试申请审核功能修改。
This commit is contained in:
parent
3d73403c72
commit
79e078f3dd
@ -87,6 +87,15 @@ public interface IExamApplyService {
|
|||||||
*/
|
*/
|
||||||
void update(String examApplyId, ExamApplyVO examApplyVO);
|
void update(String examApplyId, ExamApplyVO examApplyVO);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改考场分配状态
|
||||||
|
*
|
||||||
|
* @param planId
|
||||||
|
* @param examApplyVO
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
void updateStatus(String planId, ExamApplyVO examApplyVO);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改应急管理局-考试申请表-renpc
|
* 修改应急管理局-考试申请表-renpc
|
||||||
*
|
*
|
||||||
|
@ -8,8 +8,6 @@ import cn.com.tenlion.pojo.vos.distribution.DistributionSaveVO;
|
|||||||
import cn.com.tenlion.pojo.vos.examapply.ExamApplyVO;
|
import cn.com.tenlion.pojo.vos.examapply.ExamApplyVO;
|
||||||
import cn.com.tenlion.service.examapply.IExamApplyService;
|
import cn.com.tenlion.service.examapply.IExamApplyService;
|
||||||
import cn.com.tenlion.service.examination.distribution.IDistributionService;
|
import cn.com.tenlion.service.examination.distribution.IDistributionService;
|
||||||
import ink.wgink.annotation.CheckNullAnnotation;
|
|
||||||
import ink.wgink.annotation.CheckNumberAnnotation;
|
|
||||||
import ink.wgink.common.base.DefaultBaseService;
|
import ink.wgink.common.base.DefaultBaseService;
|
||||||
import ink.wgink.pojo.ListPage;
|
import ink.wgink.pojo.ListPage;
|
||||||
import ink.wgink.pojo.result.SuccessResultList;
|
import ink.wgink.pojo.result.SuccessResultList;
|
||||||
@ -17,7 +15,6 @@ import ink.wgink.util.map.HashMapUtil;
|
|||||||
import ink.wgink.util.UUIDUtil;
|
import ink.wgink.util.UUIDUtil;
|
||||||
import com.github.pagehelper.PageHelper;
|
import com.github.pagehelper.PageHelper;
|
||||||
import com.github.pagehelper.PageInfo;
|
import com.github.pagehelper.PageInfo;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
@ -97,6 +94,22 @@ public class ExamApplyServiceImpl extends DefaultBaseService implements IExamApp
|
|||||||
update(null, examApplyId, examApplyVO);
|
update(null, examApplyId, examApplyVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateStatus(String planId, ExamApplyVO examApplyVO) {
|
||||||
|
updateStatus(planId, null, examApplyVO);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void updateStatus(String planId, String token, ExamApplyVO examApplyVO) {
|
||||||
|
Map<String, Object> params = new HashMap<>(1);
|
||||||
|
params.put("examId", planId);
|
||||||
|
if (StringUtils.isBlank(token)) {
|
||||||
|
setUpdateInfo(params);
|
||||||
|
} else {
|
||||||
|
setAppUpdateInfo(token, params);
|
||||||
|
}
|
||||||
|
examApplyDao.update(params);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void update(String token, String examApplyId, ExamApplyVO examApplyVO) {
|
public void update(String token, String examApplyId, ExamApplyVO examApplyVO) {
|
||||||
Map<String, Object> params = HashMapUtil.beanToMap(examApplyVO);
|
Map<String, Object> params = HashMapUtil.beanToMap(examApplyVO);
|
||||||
|
Loading…
Reference in New Issue
Block a user