From c889621e732862353911ecc1049dc44f0c592db9 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 16 十一月 2023 15:59:39 +0800
Subject: [PATCH] 行政区查询,添加了deleted != 1条件

---
 pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/block/BlockCtrl.java |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/block/BlockCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/block/BlockCtrl.java
index 3b356a9..78a2f73 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/block/BlockCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/block/BlockCtrl.java
@@ -18,10 +18,7 @@
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.MediaType;
 import org.springframework.validation.BindingResult;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
 import java.util.Objects;
@@ -53,8 +50,9 @@
                             schema = @Schema(implementation = BaBlock.class))}
             )
     })
-    @PostMapping(path = "some")
-    public BaseResponse<QueryResultVo<List<BaBlock>>> some(QueryVo vo){
+    @PostMapping(path = "some", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
+    @SsoAop("-1")
+    public BaseResponse<QueryResultVo<List<BaBlock>>> some(@Parameter(description = "鏌ヨform琛ㄥ崟鏁版嵁", required = true) QueryVo vo){
         try {
             QueryResultVo<List<BaBlock>> res = this.sv.selectSome(vo) ;
             return BaseResponseUtils.buildSuccess(res);
@@ -78,6 +76,7 @@
             )
     })
     @GetMapping(path = "one")
+    @SsoAop("-1")
     public BaseResponse<BaBlock> one(@Parameter(description = "瀹炰綋id", required = true) Long id){
         return BaseResponseUtils.buildSuccess(this.sv.selectById(id));
     }

--
Gitblit v1.8.0