btxtgxq-system-city/src/main/java/com/cm/systemcity/dao/buildinghouse/IBuildingHouseDao.java
2021-07-13 17:46:12 +08:00

95 lines
2.2 KiB
Java

package com.cm.systemcity.dao.buildinghouse;
import com.cm.common.exception.RemoveException;
import com.cm.common.exception.SaveException;
import com.cm.common.exception.SearchException;
import com.cm.common.exception.UpdateException;
import com.cm.systemcity.pojo.dtos.buildinghouse.BuildingHouseDTO;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* @ClassName: IBuildingHouseDao
* @Description: 房屋管理表
* @Author: CodeFactory
* @Date: 2021-07-07 17:14:22
* @Version: 3.0
**/
@Repository
public interface IBuildingHouseDao {
/**
* 新增房屋管理表
*
* @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
*/
BuildingHouseDTO get(Map<String, Object> params) throws SearchException;
/**
* 房屋管理表列表
*
* @param params
* @return
* @throws SearchException
*/
List<BuildingHouseDTO> list(Map<String, Object> params) throws SearchException;
/**
* 房屋管理表统计
*
* @param params
* @return
* @throws SearchException
*/
Integer count(Map<String, Object> params) throws SearchException;
/**
* 删除冗余数据
* @param params
* @throws RemoveException
*/
void deleteNoData(Map<String, Object> params) throws RemoveException;
/**
* 删除楼宇时,删除楼宇下的房屋信息
* @param params
* @throws RemoveException
*/
void removeData(Map<String, Object> params) throws RemoveException;
}