| | |
| | | return R.data(null); |
| | | } |
| | | |
| | | @Override |
| | | public R getYwxtAdBaseById(String guid) { |
| | | AttAdBase attAdBase = new AttAdBase(); |
| | | attAdBase.setGuid(guid); |
| | | List<AttAdBase> attAdBases = adBaseService.getYwxtAdList(guid); |
| | | if (attAdBases.size() > 0) |
| | | return R.data(attAdBases.get(0)); |
| | | |
| | | return R.data(null); |
| | | } |
| | | |
| | | /** |
| | | * 查询责任人相关信息 |
| | | * @param guid |
| | |
| | | /** |
| | | * |
| | | * @param res_cd |
| | | * @param areaList |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<PersonVO> getUserListByResGuid(String res_cd) { |
| | | return adBaseService.getPersonListByResGuid(res_cd); |
| | | public List<PersonVO> getUserListByResGuid(String res_cd, String areaList) { |
| | | return adBaseService.getPersonListByResGuid(res_cd,areaList); |
| | | } |
| | | |
| | | @Override |
| | |
| | | public Set<String> getPersonListByWaterCodeList(List<String> list) { |
| | | return attResManagePersonService.getPersonListByWaterCodeList(list); |
| | | } |
| | | |
| | | /** |
| | | * 根据水库编号查询市县水利部人员姓名及联系方式 |
| | | * @param res_cd 水库编号 |
| | | * @return |
| | | */ |
| | | @Override |
| | | @GetMapping(GET_CITY_COUNTY_PERSONG_LIST_BY_RES_GUID) |
| | | public List<PersonVO> getCityCountyPersonListByResGuid(String res_cd) { |
| | | return attResManagePersonService.getCityCountyPersonListByResGuid(res_cd); |
| | | } |
| | | } |