120 lines
2.5 KiB
Java
120 lines
2.5 KiB
Java
|
package cn.com.tenlion.dao.classplan;
|
|||
|
|
|||
|
import ink.wgink.exceptions.RemoveException;
|
|||
|
import ink.wgink.exceptions.SaveException;
|
|||
|
import ink.wgink.exceptions.SearchException;
|
|||
|
import ink.wgink.exceptions.UpdateException;
|
|||
|
import cn.com.tenlion.pojo.bos.classplan.ClassPlanBO;
|
|||
|
import cn.com.tenlion.pojo.pos.classplan.ClassPlanPO;
|
|||
|
import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO;
|
|||
|
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;
|
|||
|
|
|||
|
}
|