增加监测点信息批量查询
This commit is contained in:
@@ -6,8 +6,11 @@ import com.njcn.device.biz.commApi.fallback.CommTerminalGeneralClientFallbackFac
|
||||
import com.njcn.device.biz.pojo.dto.LineDTO;
|
||||
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.RequestParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* pqs
|
||||
*
|
||||
@@ -22,11 +25,20 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
public interface CommLineClient {
|
||||
|
||||
/**
|
||||
* @Description: 获取监测点信息
|
||||
* @param id
|
||||
* @Description: 获取监测点信息
|
||||
* @Author: wr
|
||||
* @Date: 2023/9/22 11:11
|
||||
*/
|
||||
@GetMapping("/getLineDetail")
|
||||
HttpResult<LineDTO> getLineDetail(@RequestParam("id") String id);
|
||||
|
||||
/***
|
||||
* 批量获取监测点信息
|
||||
* @author hongawen
|
||||
* @date 2023/11/3 15:25
|
||||
* @param ids 监测点索引集合
|
||||
*/
|
||||
@PostMapping("/getLineDetailBatch")
|
||||
HttpResult<List<LineDTO>> getLineDetailBatch(@RequestParam("ids") List<String> ids);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user