| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- package cn.com.goldenwater.dcproj.service;
- import cn.com.goldenwater.core.service.CrudService;
- import cn.com.goldenwater.dcproj.dto.*;
- import cn.com.goldenwater.dcproj.model.BisInspPblm;
- import cn.com.goldenwater.dcproj.model.BisInspPblmDelLog;
- import cn.com.goldenwater.dcproj.model.KeyRegPblm;
- import cn.com.goldenwater.dcproj.model.WagaTotal;
- import cn.com.goldenwater.dcproj.param.*;
- import com.github.pagehelper.PageInfo;
- import org.springframework.web.multipart.MultipartFile;
- import javax.servlet.http.HttpServletResponse;
- import java.io.IOException;
- import java.util.Date;
- import java.util.List;
- /**
- * @author lune
- * @date 2019-2-19
- */
- public interface BisInspPblmService extends CrudService<BisInspPblm, BisInspPblmParam> {
- PageInfo<BisInspPblm> listOfPage(BisInspPblmParam pblmParam);
- /**
- * 通用问题导出接口
- *
- * @param pblmParam 问题筛选参数
- * @param response response
- */
- void exportPblmForExcel(PblmParam pblmParam, HttpServletResponse response);
- public KeyRegPblm convertRegPblm(KeyRegPblm baseDtos);
- void updateStateByObjId(String objId, String state);
- /**
- * 添加问题
- *
- * @param bisInspPblm 问题数据
- */
- void insertPblms(BisInspPblm bisInspPblm);
- /**
- * 更新问题
- *
- * @param bisInspPblm 问题数据
- * @return 返回成功状态
- */
- int updatePblm(BisInspPblm bisInspPblm);
- PageInfo<BisInspPblm> findPageList(PlbmParam plbmParam);
- // ------------------------- 自定方法 -------------------------
- public PageInfo<BisInspPblm> queryListByPage(BisInspPblmParam p) throws Exception;
- public List<BisInspPblm> queryList(BisInspPblmParam p) throws Exception;
- List<CountType> countByType(String presId, String adCode, String orgId);
- /**
- * 小水库问题-新
- */
- PageInfo<BisInspPblm> findReverPlbmList(ReverParam reverParam);
- /**
- * 人饮问题-新
- */
- PageInfo<BisInspPblm> findVillPlbmList(VillParam villParam);
- /**
- * 水毁问题-新
- */
- PageInfo<BisInspPblm> findTrackPlbmList(TrackParam trackParam);
- BisInspPblmDelLog insertPblmLog(BisInspPblmDelLogDto bisInspPblmDelLogDto);
- PageInfo<BisInspPblm> findWaterPlbmList(UnderWaterParam waterParam);
- PageInfo<PblmRetCount> countByReverPage(CountParam countParam);
- PageInfo<VillCount> countByVillPage(CountParam countParam);
- public PageInfo<TrackCount> countByTrackPage(CountParam countParam);
- public void setValue(TrackCount trackCount, TrackTypeCount typeCount);
- public void setVillValue(VillCount villCount, VillTypeCount typeCount, String type);
- /**
- * 获取问题所在的县数量
- */
- List<VillCount> findVillPblmBYAreaId(String areaId, String persId, String orgId, String pType);
- List<TrackCount> findTrackPblmBYAreaId(String areaId, String persId, String orgId);
- PageInfo<BisInspPblm> findWagaPlbmList(WagaParam wagaParam);
- PageInfo<KeyRegPblm> findKeyRegPlbmList(KeyRegPatam keyRegPatam);
- /**
- * 水闸问题统计
- */
- PageInfo<PblmRetCount> countByWagaPage(CountParam countParam);
- /**
- * 统计172工程问题
- */
- PageInfo<PblmRetCount> countByKeyRegPage(CountParam countParam);
- /**
- * 流域机构下查询172工程问题
- */
- List<PblmRetCount> findKeyRegBYAreaId(String pType, String persId, String orgId);
- /**
- * 流域下小水闸统计
- */
- List<WagaTotal> findWagaPblmBYAreaId(String s, String persId, String orgId);
- PageInfo<BisInspPblm> findSdPblmList(SdPblmParam param);
- PageInfo<PblmRetCount> countBySdPage(CountParam countParam);
- List<PblmRole> findPblmByPersId(String persId, String currentOrgId);
- PageInfo<PblmRetCount> countBySwhsPage(CountParam countParam);
- PageInfo<BisInspPblm> findPblmList(PblmParam param);
- List<BisInspPblm> pblmList(PblmParam param);
- List<String> findVillType(String currentOrgId);
- PageInfo<PblmRetCount> countByWiuPage(CountParam countParam);
- PageInfo<PblmRetCount> countByPrdPage(CountParam countParam);
- PageInfo<PblmRetCount> countByJsflPage(CountParam countParam);
- PageInfo<PblmRetCount> countByJswaPage(CountParam countParam);
- boolean havePblm(String value, String id);
- PageInfo<BisInspVo> pblmPage(BisInspVo bisInspVo);
- PageInfo<BisInspVo> pblmRectPage(BisInspVo bisInspVo);
- int updatePblmState(BisInspPblmParam pblmParam) throws Exception;
- List<BisInspPblm> getPblmList(String id, String type, String objId, String orgId);
- /**
- * 根据行政区代码和时间获取问题数据
- *
- * @param adCode
- * @param stTm
- * @param enTm
- * @return
- */
- BisInspTaskTotal getPblmListByTm(String adCode, String objType, Date stTm, Date enTm);
- List<String> getPblmPath(String pblmId);
- /**
- * 问题汇总功能增加外部问题导入
- * @param f
- */
- List<String> excelImport(MultipartFile f, String recPers) throws Exception;
- List<BisInspPblm> getPblmListFromImport(PblmParam param);
- void batchDelete(List<PblmParam> param);
- List<BisInspPblm> list(ReverParam reverParam);
- }
|