225 lines
5.2 KiB
Java
225 lines
5.2 KiB
Java
package cn.com.tenlion.dao.classplan;
|
|
|
|
import cn.com.tenlion.pojo.bos.classplan.ClassPlanBO;
|
|
import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO;
|
|
import cn.com.tenlion.pojo.pos.classplan.ClassPlanPO;
|
|
import ink.wgink.exceptions.RemoveException;
|
|
import ink.wgink.exceptions.SaveException;
|
|
import ink.wgink.exceptions.SearchException;
|
|
import ink.wgink.exceptions.UpdateException;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @ClassName: IClassPlanDao
|
|
* @Description:
|
|
* @Author: CodeFactory
|
|
* @Date: 2021-05-03 06:54:52
|
|
* @Version: 3.0
|
|
**/
|
|
@Repository
|
|
public interface IClassPlanDao {
|
|
|
|
/**
|
|
* 新增
|
|
*
|
|
* @param params
|
|
* @throws SaveException
|
|
*/
|
|
void save(Map<String, Object> params) throws SaveException;
|
|
|
|
/**
|
|
* 删除
|
|
*
|
|
* @param params
|
|
* @throws RemoveException
|
|
*/
|
|
void remove(Map<String, Object> params) throws RemoveException;
|
|
|
|
/**
|
|
* 删除(物理)
|
|
*
|
|
* @param params
|
|
* @throws RemoveException
|
|
*/
|
|
void delete(Map<String, Object> params) throws RemoveException;
|
|
|
|
/**
|
|
* 修改
|
|
*
|
|
* @param params
|
|
* @throws UpdateException
|
|
*/
|
|
void update(Map<String, Object> params) throws UpdateException;
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
ClassPlanDTO get(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
ClassPlanBO getBO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 详情
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
ClassPlanPO getPO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<ClassPlanDTO> list(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<ClassPlanBO> listBO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<ClassPlanPO> listPO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 统计
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
Integer count(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 保存培训计划课程信息
|
|
* @param params
|
|
*/
|
|
void saveClassPlanLesson(Map<String, Object> params);
|
|
|
|
/**
|
|
* 查询计划下课程选择信息
|
|
* @param classPlanId
|
|
* @return
|
|
*/
|
|
List<Map<String, Object>> listClassPlanLessons(String classPlanId);
|
|
|
|
/**
|
|
* 逻辑删除计划下所有课程
|
|
* @param params
|
|
*/
|
|
void deleteClassPlanLessons(Map<String, Object> params);
|
|
|
|
/**
|
|
* 逻辑删除开班计划下所有老师的授课时刻安排
|
|
* @param params
|
|
*/
|
|
void deleteTeacherLessonsTime(Map<String, Object> params);
|
|
|
|
/**
|
|
* 根据机构id统计计划的分类数量
|
|
* @param params
|
|
* @return
|
|
*/
|
|
Map<String, Object> countPlanType(Map<String, Object> params);
|
|
|
|
/**
|
|
* 保存考试申请图片和PDF
|
|
* @param params
|
|
*/
|
|
void saveExamFile(Map<String, Object> params);
|
|
|
|
/**
|
|
* 查询考试申请图片和PDF
|
|
* @param params
|
|
* @return
|
|
*/
|
|
Map<String, Object> getExamFile(Map<String, Object> params);
|
|
|
|
/**
|
|
* 更新考试申请图片和PDF
|
|
* @param params
|
|
*/
|
|
void updateExamFile(Map<String, Object> params);
|
|
|
|
/**
|
|
* 查询开设工种的所有培训机构
|
|
* @param params
|
|
* @return
|
|
*/
|
|
List<Map<String, Object>> listOrgSignInfo(Map<String, Object> params);
|
|
|
|
List<Map<String, Object>> getOrgWorkTypeBind(Map<String, Object> params);
|
|
|
|
List<Map<String, Object>> getOrgWorkTypeParent(Map<String, Object> params);
|
|
|
|
void updateApplyBatchPass(Map<String, Object> params);
|
|
|
|
/**
|
|
* 删除开班计划审核表中的记录
|
|
* @param params classPlanId
|
|
*/
|
|
void removeExamCheck(Map<String, Object> params);
|
|
|
|
/**
|
|
* 删除开班计划审核历史
|
|
* @param params classPlanId
|
|
*/
|
|
void removeExamCheckAuditHistory(Map<String, Object> params);
|
|
|
|
/**
|
|
* 删除考试申请
|
|
* @param params
|
|
*/
|
|
void removeCancelPlanExam(Map<String, Object> params);
|
|
|
|
List<Map<String, Object>> listExamPlace(Map<String, Object> params);
|
|
|
|
/**
|
|
* 保存考试申请审核历史记录
|
|
* @param historyMap
|
|
*/
|
|
void saveExamPlanHistory(Map<String, Object> historyMap);
|
|
|
|
List<Map<String, Object>> listOrgInfo(Map<String, Object> params);
|
|
|
|
void updateStudentsScore(Map<String, Object> params);
|
|
|
|
void updateExamUnPassStudentsScore(Map<String, Object> params);
|
|
|
|
void deleteSendDepartmentHis(String classPlanId);
|
|
|
|
void saveSendDepartment(Map<String, Object> saveMap);
|
|
|
|
List<Map<String, Object>> listSendDepartment(Map<String, Object> params);
|
|
|
|
List<Map<String, Object>> listSendClassPlan(Map<String, Object> query);
|
|
|
|
void removeExamFile(String classPlanId);
|
|
} |