2023-11-07 09:32:12 +08:00
|
|
|
|
package com.zcloud.service.bus;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import com.zcloud.entity.Page;
|
|
|
|
|
import com.zcloud.entity.PageData;
|
|
|
|
|
|
2023-12-17 15:29:45 +08:00
|
|
|
|
/**
|
2023-11-07 09:32:12 +08:00
|
|
|
|
* 说明:风险单元
|
|
|
|
|
* 作者:luoxiaobao
|
|
|
|
|
* 时间:2020-12-30
|
|
|
|
|
* 官网:www.zcloudchina.com
|
|
|
|
|
*/
|
|
|
|
|
public interface RiskUnitService{
|
|
|
|
|
|
|
|
|
|
/**新增
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public void save(PageData pd)throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
2023-11-07 09:32:12 +08:00
|
|
|
|
/**删除
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public void delete(PageData pd)throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
2023-11-07 09:32:12 +08:00
|
|
|
|
/**修改
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public void edit(PageData pd)throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
2023-11-07 09:32:12 +08:00
|
|
|
|
/**列表
|
|
|
|
|
* @param page
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public List<PageData> list(Page page)throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
2023-11-07 09:32:12 +08:00
|
|
|
|
/**列表(全部)
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public List<PageData> listAll(PageData pd)throws Exception;
|
|
|
|
|
|
|
|
|
|
/**列表(全部)
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public List<PageData> listonly(PageData pd)throws Exception;
|
|
|
|
|
/**列表(首页)
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public List<PageData> listIndexAll(PageData pd)throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
2023-11-07 09:32:12 +08:00
|
|
|
|
/**通过id获取数据
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public PageData findById(PageData pd)throws Exception;
|
|
|
|
|
/**通过名称获取数据
|
|
|
|
|
* @param pd
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public List<PageData> findByName(PageData pd)throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
2023-11-07 09:32:12 +08:00
|
|
|
|
/**批量删除
|
|
|
|
|
* @param ArrayDATA_IDS
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
public void deleteAll(String[] ArrayDATA_IDS)throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
2023-11-07 09:32:12 +08:00
|
|
|
|
public List<PageData> getRisByUnitId (Page page) throws Exception;
|
2023-12-17 15:29:45 +08:00
|
|
|
|
|
|
|
|
|
Object listAllForMap(PageData pd);
|
2023-11-07 09:32:12 +08:00
|
|
|
|
}
|
|
|
|
|
|