| | |
| | | |
| | | import com.iailab.module.data.api.plan.dto.ApiPlanDataDTO; |
| | | import com.iailab.module.data.api.plan.dto.ApiPlanItemDTO; |
| | | import com.iailab.module.data.api.point.dto.ApiPointDTO; |
| | | import com.iailab.module.data.common.ApiDataQueryDTO; |
| | | import com.iailab.module.data.common.ApiDataValueDTO; |
| | | import com.iailab.module.data.enums.ApiConstants; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.LinkedHashMap; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | /** |
| | | * @author PanZhibao |
| | |
| | | LinkedHashMap<String, List<ApiPlanDataDTO>> queryPlanItemRecordValue(@RequestBody ApiDataQueryDTO dto); |
| | | |
| | | @GetMapping(PREFIX + "/info/no/{itemNo}") |
| | | @Operation(summary = "根据测点编号查询测点信息") |
| | | @Operation(summary = "根据编号查询计划数据信息") |
| | | ApiPlanItemDTO getInfoByNo(@PathVariable("itemNo") String itemNo); |
| | | |
| | | @GetMapping(PREFIX + "/info/id/{id}") |
| | | @Operation(summary = "根据测点编号查询测点信息") |
| | | @Operation(summary = "根据id查询计划数据信息") |
| | | ApiPlanItemDTO getInfoById(@PathVariable("id") String id); |
| | | |
| | | @PostMapping(PREFIX + "/info/ids") |
| | | @Operation(summary = "根据多个id查询计划数据信息") |
| | | List<ApiPlanItemDTO> getInfoByIds(@RequestParam("planIds") Set<String> planIds); |
| | | } |