From 453a6f886bc9bb289759e598135be610c665c8aa Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Thu, 5 Sep 2024 16:49:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A1=E6=A3=80=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnac/hzinfo/inspect/ai/feign/ImageAnalysisClient.java | 3 ++- .../src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.java | 2 +- .../src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/feign/ImageAnalysisClient.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/feign/ImageAnalysisClient.java index 816853d..d65648e 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/feign/ImageAnalysisClient.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/feign/ImageAnalysisClient.java @@ -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 analysisByStationId(Long stationId) { + public List analysisByStationId(@RequestBody Long stationId) { return zhiPuBigModelService.analysisImgByStationId(stationId); } } diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.java index ebfa615..29280c2 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.java @@ -129,5 +129,5 @@ public interface TaskMapper extends UserDataScopeBaseMapper { List getSameDayTask(@Param("taskIds") List taskIds, @Param("status") String status,@Param("startDate") String startDate,@Param("endDate") String endDate); - List getListByUserIdAndStatus(Long userId, String autoVideo, List taskStatus,String time); + List getListByUserIdAndStatus(@Param("userId") Long userId, @Param("autoVideo") String autoVideo, @Param("taskStatus") List taskStatus, @Param("time") String time); } diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml index 3bc04c3..84ecf4e 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/TaskMapper.xml @@ -238,7 +238,7 @@ order by t.UPDATE_TIME desc -、 +