| | |
| | | package cn.gistack.sm.sjztmd.feign; |
| | | |
| | | import cn.gistack.sm.sjztmd.entity.AttResManagePerson; |
| | | import cn.gistack.sm.sjztmd.vo.PersonVO; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @ClassName AttResManagePersonClent |
| | |
| | | String API_PREFIX = "/client"; |
| | | String QUERY_LIST_BY_PHONE = API_PREFIX + "/queryListByPhone"; |
| | | String GET_AD_BASE = API_PREFIX + "/getAdBaseById"; |
| | | String GET_PERSONG_LIST_BY_RES_GUID = API_PREFIX + "/getPersonListByResGuid"; |
| | | String GET_USER_LIST_BY_RES_GUID = API_PREFIX + "/getUserListByResGuid"; |
| | | |
| | | @GetMapping(QUERY_LIST_BY_PHONE) |
| | | R queryListByPhone(@RequestParam("userPhone") String userPhone); |
| | |
| | | @GetMapping(GET_AD_BASE) |
| | | R getAdBaseById(@RequestParam("guid") String guid); |
| | | |
| | | /** |
| | | * 根据水库编号及责任人类型查询相关责任人信息 |
| | | * @param res_cd |
| | | * @param personList |
| | | * @return |
| | | */ |
| | | @GetMapping(GET_PERSONG_LIST_BY_RES_GUID) |
| | | List<PersonVO> getPersonListByResGuid(@RequestParam("res_cd") String res_cd, @RequestParam("personList") String personList); |
| | | |
| | | /** |
| | | * 根据水库编号查询除责任人之外的人员信息 |
| | | * @param res_cd |
| | | * @return |
| | | */ |
| | | @GetMapping(GET_USER_LIST_BY_RES_GUID) |
| | | List<PersonVO> getUserListByResGuid(@RequestParam("res_cd") String res_cd); |
| | | } |