package com.zcloud.service.bus; import java.util.List; import com.zcloud.entity.Page; import com.zcloud.entity.PageData; /** * 说明:隐患 * 作者:luoxiaobao * 时间:2021-01-04 * 官网:www.zcloudchina.com */ public interface HiddenService{ /**新增 * @param pd * @throws Exception */ public void save(PageData pd)throws Exception; /**删除 * @param pd * @throws Exception */ public void delete(PageData pd)throws Exception; /**修改 * @param pd * @throws Exception */ public void edit(PageData pd)throws Exception; /**修改信息 * @param pd * @throws Exception */ public void editInfo(PageData pd)throws Exception; /**修改位置描述信息 * @param pd * @throws Exception */ public void editInformation(PageData pd)throws Exception; /**修改安全环保检查信息 * @param pd * @throws Exception */ public void editSafetyInfo(PageData pd)throws Exception; public void editISCONFIRM(PageData pd)throws Exception; public void editHIDDENLEVEL(PageData pd)throws Exception; /**定时修改过期隐患 * @param pd * @throws Exception */ public void editDeadline(PageData pd)throws Exception; /**修改延期隐患为未整改 * @param pd * @throws Exception */ public void editDeferredDeadline(PageData pd)throws Exception; /**整改 * @param pd * @throws Exception */ public void rectify(PageData pd)throws Exception; /**复查 * @param pd * @throws Exception */ public void review(PageData pd)throws Exception; /**验收 * @param pd * @throws Exception */ public void check(PageData pd)throws Exception; /**安全环保检查验收 * @param pd * @throws Exception */ public void finalcheck(PageData pd)throws Exception; /**列表 * @param page * @throws Exception */ public List list(Page page)throws Exception; /**列表(全部) * @param pd * @throws Exception */ public List listAll(PageData pd)throws Exception; /**列表(全部,打印使用) * @param pd * @throws Exception */ public List listAllToPrint(PageData pd)throws Exception; public List listHiddenAll(PageData pd)throws Exception; /**通过id获取数据 * @param pd * @throws Exception */ public PageData findById(PageData pd)throws Exception; /**通过id获取数据 * @param pd * @throws Exception */ public PageData findByEmisId(PageData pd)throws Exception; /**批量删除 * @param ArrayDATA_IDS * @throws Exception */ public void deleteAll(String[] ArrayDATA_IDS)throws Exception; /**批量删除 * @param pd * @throws Exception */ public void deleteArray(PageData pd)throws Exception; /**批量修改 * @param ArrayDATA_IDS * @throws Exception */ public void updateAll(PageData hiddens)throws Exception; /**按日统计 * @param ArrayDATA_IDS * @throws Exception */ public List hiddenStatisticsByDay(PageData pd)throws Exception; /**总数统计 * @param ArrayDATA_IDS * @throws Exception */ public List hiddenStatisticsAll(PageData pd)throws Exception; /**根据用户ID获取待验收隐患 * @param pd * @throws Exception */ public List getCountByCheckorId(PageData pd) throws Exception; /**根据用户ID获取待验收隐患 * @param pd * @throws Exception */ public List getCountByConfirmId(PageData pd) throws Exception; /**根据用户ID获取特殊处置隐患 * @param pd * @throws Exception */ public List getCountSpecialByhId(PageData pd) throws Exception; /** * app首页 根据用户ID获取发现隐患信息 * @param pd CREATOR * @return * @throws Exception */ public List getCountByCreatorId(PageData pd) throws Exception; /** * app首页 根据用户ID获取整改隐患信息 * @param pd CREATOR * @return * @throws Exception */ public List getCountByRectifiCationorId(PageData pd)throws Exception; void changeState(PageData pd) throws Exception; List getBICount(PageData pd) throws Exception; void submit(PageData pd) throws Exception; /** * 提交清单(其他)隐患 * @param pd * @throws Exception */ void submitList(PageData pd) throws Exception; /** * 清单其他隐患 * @param pd * @return * @throws Exception */ public List getOtherHidden(PageData pd) throws Exception; public List getCountByHiddenType(PageData pd) throws Exception; /** * 清单其他隐患 * @param pd * @return * @throws Exception */ public List getHiddenNum(PageData pd) throws Exception; /** * 确认隐患,修改隐患状态 * @param pd * @throws Exception */ public void confirmHidden (PageData pd) throws Exception; /** * 修改隐患信息,隐患级别 ,整改负责人 , 整改期限 * @param pd * @throws Exception */ public void confirmUpdate(PageData pd) throws Exception; /** * 修改隐患状态,进入隐患特殊处理审核 */ public void updteStateBySpecialExamine(PageData pageData)throws Exception; /** * 隐患列表 -- 港务局 * @param page * @return * @throws Exception */ public List listGwj(Page page) throws Exception; /** * 忽略隐患列表 -- 港务局 * @param page * @return * @throws Exception */ public List listIgnore(Page page) throws Exception; /** * 重大隐患列表 -- 港务局 * @param page * @return * @throws Exception */ public List majorlist(Page page) throws Exception; /** * 修改隐患整改期限 * @param pd * @throws Exception */ public void updateHiddenRectificationDeadline ( PageData hiddenExa) throws Exception; /** * 根据状态按时间分组统计隐患数据 * @param pd * @return * @throws Exception */ public List statisticsGroupMonthByState (PageData pd) throws Exception; /** * 修改隐患状态 * @param type * @param hiddenId * @throws Exception */ public void updateStateByHidden(String type,String hiddenId) throws Exception; /** * 修改隐患整改人 * @param userId * @param deptId * @throws Exception */ public void updateRectificationUserId (String userId,String deptId ,String hiddenId ,String rectificationDeadline) throws Exception; /** * 隐患分析统计数据(已发现【COUNTFOUND】,待确认【COUNTCONFIRM】,已确认【COUNTCONFIRMED】,待验收【COUNTACCEPT】,已验收【COUNTACCEPTED】,延期处置【COUNTDEFERRED】) * @param pd * @return * @throws Exception */ PageData statisticsHiddenByState(PageData pd) throws Exception; /** * 按照隐患级别分类统计各部位隐患数据 * @param pd * @return * @throws Exception */ List statisticsGroupLevelByRegion(PageData pd) throws Exception; /** * 按照隐患级别分类统计各安全类型隐患数据 * @param pd * @return * @throws Exception */ List statisticsGroupTypeByLevel(PageData pd) throws Exception; /** * 分类统计各隐患类型2的隐患数据 * @param pd * @return * @throws Exception */ List statisticsGroupType2(PageData pd) throws Exception; /** * 隐患来源分类统计 * @param pd * @return */ List findHiddenSourceChartData(PageData pd) throws Exception; /** * 获取所有隐患的位置坐标(有坐标数据) * @param pd * @return * @throws Exception */ List listAllHiddenLocation(PageData pd) throws Exception; void editstate(PageData hiddenExa); /** * 重大隐患核实列表 -- 港务局 * @param page * @return * @throws Exception */ List verifylist(Page page) throws Exception; /** * 重大隐患列表 -- 港务局 * @param page * @return * @throws Exception */ List majormanage(Page page) throws Exception; /** * 获取安全环保检查下的隐患列表 * @param pd * @return * @throws Exception */ public List listAllInspection(PageData pd)throws Exception; /** * 安全环保检查流程归档更新隐患状态为暂存 * @param pd */ void editStateInspection(PageData pd)throws Exception; /**列表 * @param page * @throws Exception */ public List listForSafetyEnvironmental(Page page)throws Exception; /** * 安全环保检查隐患指派 * @param pd * @throws Exception */ void assign(PageData pd)throws Exception; /** * 获取其他没有指派完成的隐患 * @param pd * @return * @throws Exception */ List listOtherNotAssign(PageData pd)throws Exception; /** * 获取其他没有验收的隐患 * @param pd * @return * @throws Exception */ List listOtherNotAccept(PageData pd)throws Exception; List listOtherNotAccept4pc(PageData pd)throws Exception; /** * 获取检查记录的隐患 * @param pd * @return * @throws Exception */ List checkRecordList(PageData pd)throws Exception; /** * 通过安全环保检查ID获取隐患 * @param pd * @return * @throws Exception */ List findByInspectionId(PageData pd)throws Exception; void deleteByKey(PageData pd) throws Exception; List findByKey(PageData condition) throws Exception; List findByQue(PageData condition) throws Exception; List findByYin(PageData condition) throws Exception; List findByTs(PageData condition) throws Exception; /** * 按照隐患级别分类统计各安全类型隐患数据 * @param pd * @return * @throws Exception */ List statisticsHiddenCountByLevel(PageData pd) throws Exception; /**列表 * @param page * @throws Exception */ public List getListForTianzhang(Page page)throws Exception; public List getListForemis(Page page)throws Exception; public void saveForEmis(String hiddenId,String resXML)throws Exception; /**删除 * @param pd * @throws Exception */ public void deleteForEmis(String hiddenId)throws Exception; public String goEmis (PageData pd) throws Exception; /** * 修改隐患状态,成为待确认状态,清单检查和消防检查使用 * @param hiddens * @throws Exception */ public void updateGoConfirm(PageData hiddens)throws Exception; }