| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | /** |
| | | * @ClassName AttResManagePersonClent |
| | |
| | | String GET_USER_LIST_BY_RES_GUID = API_PREFIX + "/getUserListByResGuid"; |
| | | String SYNCHARONIZATION_ADD_USER = API_PREFIX + "/synchronizationAddUser"; |
| | | String SYNCHARONIZATION_UPDATE_USER = API_PREFIX + "/synchronizationUpdateUser"; |
| | | String GET_PERSON_LIST_BY_WATER_CODE_LIST = API_PREFIX + "/getPersonListByWaterCodeList"; |
| | | |
| | | @GetMapping(QUERY_LIST_BY_PHONE) |
| | | R queryListByPhone(@RequestParam("userPhone") String userPhone); |
| | |
| | | @PostMapping(SYNCHARONIZATION_UPDATE_USER) |
| | | int syncharonization_update_user(); |
| | | |
| | | /** |
| | | * 通过水库代码获取巡查责任人及技术责任人手机号 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | @PostMapping(GET_PERSON_LIST_BY_WATER_CODE_LIST) |
| | | Set<String> getPersonListByWaterCodeList(@RequestBody List<String> list); |
| | | } |