|
|
|
@ -4,6 +4,7 @@ import com.hnac.hzinfo.inspect.ai.service.IZhiPuBigModelService;
|
|
|
|
|
import com.hnac.hzinfo.inspect.ai.vo.ZhiPuImageAnalysisDTO; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
@ -21,7 +22,7 @@ public class ImageAnalysisClient implements IImageAnalysisClient {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@PostMapping(ANALYSIS_BY_STATION_ID) |
|
|
|
|
public List<ZhiPuImageAnalysisDTO> analysisByStationId(Long stationId) { |
|
|
|
|
public List<ZhiPuImageAnalysisDTO> analysisByStationId(@RequestBody Long stationId) { |
|
|
|
|
return zhiPuBigModelService.analysisImgByStationId(stationId); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|