package cn.com.tenlion.dao.userexpand; 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.userexpand.UserExpandBO; import cn.com.tenlion.pojo.pos.userexpand.UserExpandPO; import cn.com.tenlion.pojo.dtos.userexpand.UserExpandDTO; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * @ClassName: IUserExpandDao * @Description: * @Author: CodeFactory * @Date: 2021-04-09 14:12:12 * @Version: 3.0 **/ @Repository public interface IUserExpandDao { /** * 新增 * * @param params * @throws SaveException */ void save(Map params) throws SaveException; /** * 删除 * * @param params * @throws RemoveException */ void remove(Map params) throws RemoveException; /** * 删除(物理) * * @param params * @throws RemoveException */ void delete(Map params) throws RemoveException; /** * 修改 * * @param params * @throws UpdateException */ void update(Map params) throws UpdateException; /** * 详情 * * @param params * @return * @throws SearchException */ UserExpandDTO get(Map params) throws SearchException; /** * 详情 * * @param params * @return * @throws SearchException */ UserExpandBO getBO(Map params) throws SearchException; /** * 详情 * * @param params * @return * @throws SearchException */ UserExpandPO getPO(Map params) throws SearchException; /** * 列表 * * @param params * @return * @throws SearchException */ List list(Map params) throws SearchException; /** * 列表 * * @param params * @return * @throws SearchException */ List listBO(Map params) throws SearchException; /** * 列表 * * @param params * @return * @throws SearchException */ List listPO(Map params) throws SearchException; /** * 统计 * * @param params * @return * @throws SearchException */ Integer count(Map params) throws SearchException; }