|
|
|
@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @Author: ypj |
|
|
|
@ -22,7 +23,8 @@ public class ImageAnalysisClient implements IImageAnalysisClient {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@PostMapping(ANALYSIS_BY_STATION_ID) |
|
|
|
|
public List<ZhiPuImageAnalysisDTO> analysisByStationId(@RequestBody Long stationId) { |
|
|
|
|
public List<ZhiPuImageAnalysisDTO> analysisByStationId(@RequestBody Map<String, Long> stationIdMap) { |
|
|
|
|
Long stationId = Long.valueOf(stationIdMap.get("stationId").toString()); |
|
|
|
|
return zhiPuBigModelService.analysisImgByStationId(stationId); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|