From ba2671867bbcf09b84e1b43c31f77fc02c2debb5 Mon Sep 17 00:00:00 2001 From: tyty Date: Mon, 4 Sep 2023 17:16:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E8=83=BD=E8=AF=8A=E6=96=AD=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../defect/controller/OperDefectStatisticsController.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/OperDefectStatisticsController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/OperDefectStatisticsController.java index 6045079..cbbd4b1 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/OperDefectStatisticsController.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/OperDefectStatisticsController.java @@ -19,7 +19,6 @@ import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.log.annotation.ApiLog; -import org.springblade.core.mp.support.BladePage; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.tool.api.R; @@ -27,7 +26,6 @@ import org.springblade.core.tool.utils.CollectionUtil; import org.springblade.core.tool.utils.ObjectUtil; import org.springblade.system.entity.Dept; import org.springblade.system.feign.ISysClient; -import org.springframework.cloud.openfeign.SpringQueryMap; import org.springframework.web.bind.annotation.*; import java.util.List; @@ -71,7 +69,7 @@ public class OperDefectStatisticsController extends BladeController { }) @OperationAnnotation(moduleName = "缺陷管理",title = "缺陷记录",operatorType = OperatorType.MOBILE,businessType = BusinessType.GENCODE,action = "分页查询缺陷记录列表") - public R> list(@SpringQueryMap OperDefectStatisticsVO entity) { + public R> list(@RequestBody OperDefectStatisticsVO entity) { Query query=new Query(); query.setCurrent(entity.getCurrent()); query.setSize(entity.getSize()); @@ -87,7 +85,7 @@ public class OperDefectStatisticsController extends BladeController { return o; }).collect(Collectors.toList())); } - return R.data(BladePage.of(vos)); + return R.data(vos); } /**