230 lines
4.3 KiB
Java
230 lines
4.3 KiB
Java
package cn.com.tenlion.service.examcheck;
|
|
|
|
import cn.com.tenlion.pojo.bos.examcheck.ExamCheckBO;
|
|
import cn.com.tenlion.pojo.dtos.examcheck.ExamCheckDTO;
|
|
import cn.com.tenlion.pojo.pos.examcheck.ExamCheckPO;
|
|
import cn.com.tenlion.pojo.vos.examcheck.ExamCheckVO;
|
|
import ink.wgink.pojo.ListPage;
|
|
import ink.wgink.pojo.result.SuccessResultList;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @ClassName: IExamCheckService
|
|
* @Description:
|
|
* @Author: CodeFactory
|
|
* @Date: 2021-05-04 14:47:38
|
|
* @Version: 3.0
|
|
**/
|
|
public interface IExamCheckService {
|
|
|
|
/**
|
|
* 新增
|
|
*
|
|
* @param examCheckVO
|
|
* @return
|
|
*/
|
|
void save(ExamCheckVO examCheckVO);
|
|
|
|
/**
|
|
* 新增
|
|
*
|
|
* @param token
|
|
* @param examCheckVO
|
|
* @return
|
|
*/
|
|
void save(String token, ExamCheckVO examCheckVO);
|
|
|
|
/**
|
|
* 新增
|
|
*
|
|
* @param examCheckVO
|
|
* @return examCheckId
|
|
*/
|
|
String saveReturnId(ExamCheckVO examCheckVO);
|
|
|
|
/**
|
|
* 新增
|
|
*
|
|
* @param token
|
|
* @param examCheckVO
|
|
* @return examCheckId
|
|
*/
|
|
String saveReturnId(String token, ExamCheckVO examCheckVO);
|
|
|
|
/**
|
|
* 删除
|
|
*
|
|
* @param ids id列表
|
|
* @return
|
|
*/
|
|
void remove(List<String> ids);
|
|
|
|
|
|
/**
|
|
* 删除
|
|
*
|
|
* @param token
|
|
* @param ids id列表
|
|
* @return
|
|
*/
|
|
void remove(String token, List<String> ids);
|
|
|
|
/**
|
|
* 删除(物理删除)
|
|
*
|
|
* @param ids id列表
|
|
*/
|
|
void delete(List<String> ids);
|
|
|
|
/**
|
|
* 修改
|
|
*
|
|
* @param examCheckId
|
|
* @param examCheckVO
|
|
* @return
|
|
*/
|
|
void update(String examCheckId, ExamCheckVO examCheckVO);
|
|
|
|
/**
|
|
* 修改
|
|
*
|
|
* @param token
|
|
* @param examCheckId
|
|
* @param examCheckVO
|
|
* @return
|
|
*/
|
|
void update(String token, String examCheckId, ExamCheckVO examCheckVO);
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param params 参数Map
|
|
* @return
|
|
*/
|
|
ExamCheckDTO get(Map<String, Object> params);
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param examCheckId
|
|
* @return
|
|
*/
|
|
ExamCheckDTO get(String examCheckId);
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param params 参数Map
|
|
* @return
|
|
*/
|
|
ExamCheckBO getBO(Map<String, Object> params);
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param examCheckId
|
|
* @return
|
|
*/
|
|
ExamCheckBO getBO(String examCheckId);
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param params 参数Map
|
|
* @return
|
|
*/
|
|
ExamCheckPO getPO(Map<String, Object> params);
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param examCheckId
|
|
* @return
|
|
*/
|
|
ExamCheckPO getPO(String examCheckId);
|
|
|
|
/**
|
|
* 列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
*/
|
|
List<ExamCheckDTO> list(Map<String, Object> params);
|
|
|
|
/**
|
|
* 列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
*/
|
|
List<ExamCheckBO> listBO(Map<String, Object> params);
|
|
|
|
/**
|
|
* 列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
*/
|
|
List<ExamCheckPO> listPO(Map<String, Object> params);
|
|
|
|
/**
|
|
* 分页列表
|
|
*
|
|
* @param page
|
|
* @return
|
|
*/
|
|
SuccessResultList<List<ExamCheckDTO>> listPage(ListPage page);
|
|
|
|
/**
|
|
* 统计
|
|
*
|
|
* @param params
|
|
* @return
|
|
*/
|
|
Integer count(Map<String, Object> params);
|
|
|
|
/**
|
|
* 开班计划通过率计算
|
|
* @param params
|
|
* @return
|
|
*/
|
|
Map<String, Object> statistics(Map<String, Object> params);
|
|
|
|
/**
|
|
* 批量审核开班计划
|
|
* @param ids
|
|
* @param examCheckVO
|
|
*/
|
|
void updateMore(List<String> ids, ExamCheckVO examCheckVO);
|
|
|
|
/**
|
|
* 开办申请记录查询
|
|
* 通过返回true
|
|
* 不存在、待审核、退回返回false
|
|
* @param workTypeId
|
|
* @param orgId
|
|
* @return
|
|
*/
|
|
Boolean getExamCheck(String workTypeId, String orgId);
|
|
|
|
/**
|
|
* 开办申请记录查询
|
|
* 通过返回true
|
|
* 不存在、待审核、退回返回false
|
|
* @param workTypeId
|
|
* @param orgId
|
|
* @return
|
|
*/
|
|
Boolean getPlanExamCheck(String workTypeId, String orgId, String classPlanId);
|
|
|
|
/**
|
|
* 开办申请记录查询
|
|
* 不存在、待审核、退回返回true
|
|
* @param workTypeId
|
|
* @param orgId
|
|
* @return
|
|
*/
|
|
Boolean getExamCheckFailOrBack(String workTypeId, String orgId);
|
|
} |