2021-05-02 10:40:13 +08:00
|
|
|
|
package cn.com.tenlion.service.apply;
|
|
|
|
|
|
2021-05-04 15:00:10 +08:00
|
|
|
|
import cn.com.tenlion.pojo.dtos.apply.ApplyClassPlanDTO;
|
2021-05-03 18:13:08 +08:00
|
|
|
|
import cn.com.tenlion.pojo.vos.apply.ApplyAuditVO;
|
2021-05-02 10:40:13 +08:00
|
|
|
|
import ink.wgink.pojo.ListPage;
|
|
|
|
|
import ink.wgink.pojo.result.SuccessResultList;
|
|
|
|
|
import cn.com.tenlion.pojo.dtos.apply.ApplyDTO;
|
|
|
|
|
import cn.com.tenlion.pojo.vos.apply.ApplyVO;
|
|
|
|
|
import cn.com.tenlion.pojo.bos.apply.ApplyBO;
|
|
|
|
|
import cn.com.tenlion.pojo.pos.apply.ApplyPO;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ClassName: IApplyService
|
|
|
|
|
* @Description: 报名信息
|
|
|
|
|
* @Author: CodeFactory
|
|
|
|
|
* @Date: 2021-05-01 18:49:41
|
|
|
|
|
* @Version: 3.0
|
|
|
|
|
**/
|
|
|
|
|
public interface IApplyService {
|
|
|
|
|
|
2021-05-04 15:00:10 +08:00
|
|
|
|
/**
|
|
|
|
|
* 报名信息审核
|
|
|
|
|
* @param applyAuditVO
|
|
|
|
|
*/
|
|
|
|
|
void audit(String token,ApplyAuditVO applyAuditVO);
|
|
|
|
|
|
2021-05-05 12:47:02 +08:00
|
|
|
|
/**
|
|
|
|
|
* 获取我的报名列表
|
|
|
|
|
* @param token
|
|
|
|
|
* @param page
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
SuccessResultList<List<ApplyDTO>> listPageMyApply(String token,ListPage page);
|
|
|
|
|
|
2021-05-04 15:00:10 +08:00
|
|
|
|
/**
|
|
|
|
|
* 获取报名计划列表
|
|
|
|
|
* @param page
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
SuccessResultList<List<ApplyClassPlanDTO>> listPageApplyClassPlan(ListPage page) throws Exception;
|
|
|
|
|
|
2021-05-02 18:17:23 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取班级报名人员列表
|
|
|
|
|
* @param classId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<ApplyDTO> listByClassId(String classId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改报名状态
|
2021-05-03 18:13:08 +08:00
|
|
|
|
* @param applyAuditVO
|
2021-05-02 18:17:23 +08:00
|
|
|
|
*/
|
2021-05-03 18:34:54 +08:00
|
|
|
|
void updateAuditState(String token,ApplyAuditVO applyAuditVO);
|
2021-05-02 18:17:23 +08:00
|
|
|
|
|
2021-05-02 10:40:13 +08:00
|
|
|
|
/**
|
|
|
|
|
* 新增报名信息
|
|
|
|
|
*
|
|
|
|
|
* @param applyVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void save(ApplyVO applyVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增报名信息
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param applyVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void save(String token, ApplyVO applyVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增报名信息
|
|
|
|
|
*
|
|
|
|
|
* @param applyVO
|
|
|
|
|
* @return applyId
|
|
|
|
|
*/
|
|
|
|
|
String saveReturnId(ApplyVO applyVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增报名信息
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param applyVO
|
|
|
|
|
* @return applyId
|
|
|
|
|
*/
|
|
|
|
|
String saveReturnId(String token, ApplyVO applyVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除报名信息
|
|
|
|
|
*
|
|
|
|
|
* @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 applyId
|
|
|
|
|
* @param applyVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void update(String applyId, ApplyVO applyVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改报名信息
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param applyId
|
|
|
|
|
* @param applyVO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
void update(String token, String applyId, ApplyVO applyVO);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息详情
|
|
|
|
|
*
|
|
|
|
|
* @param params 参数Map
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ApplyDTO get(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息详情
|
|
|
|
|
*
|
|
|
|
|
* @param applyId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ApplyDTO get(String applyId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息详情
|
|
|
|
|
*
|
|
|
|
|
* @param params 参数Map
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ApplyBO getBO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息详情
|
|
|
|
|
*
|
|
|
|
|
* @param applyId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ApplyBO getBO(String applyId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息详情
|
|
|
|
|
*
|
|
|
|
|
* @param params 参数Map
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ApplyPO getPO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息详情
|
|
|
|
|
*
|
|
|
|
|
* @param applyId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
ApplyPO getPO(String applyId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<ApplyDTO> list(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<ApplyBO> listBO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<ApplyPO> listPO(Map<String, Object> params);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息分页列表
|
|
|
|
|
*
|
|
|
|
|
* @param page
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
SuccessResultList<List<ApplyDTO>> listPage(ListPage page);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 报名信息统计
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
Integer count(Map<String, Object> params);
|
|
|
|
|
|
2021-05-11 18:07:18 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 统计培训机构全部计划报名人数
|
|
|
|
|
* @param applyInstitutionId 机构ID
|
|
|
|
|
* @param applyAuditStates 机构状态
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
Integer countAllApplyNum(String applyInstitutionId, List<String> applyAuditStates);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 统计机构星期的报名信息
|
|
|
|
|
* @param week
|
|
|
|
|
* @param applyInstitutionId
|
|
|
|
|
* @param applyClassId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
Map<String, Object> countWeekNum(String weekTime,String applyInstitutionId,String applyClassId);
|
|
|
|
|
|
2021-05-02 10:40:13 +08:00
|
|
|
|
}
|