From 14347eb5cd22af29d06a824ce23d820203394ae8 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 04 十二月 2023 10:38:11 +0800
Subject: [PATCH] 科室查询优化

---
 phis-feign/src/main/java/com/hz/his/dto/project/ProjectRoomDto.java             |   14 ++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SSectionRoomService.java |    6 ++----
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/project/ProjectRoomDto.java b/phis-feign/src/main/java/com/hz/his/dto/project/ProjectRoomDto.java
new file mode 100644
index 0000000..532eaa0
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/project/ProjectRoomDto.java
@@ -0,0 +1,14 @@
+package com.hz.his.dto.project;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+/**
+ * @author fwq
+ * 椤圭洰鎵╁睍
+ * */
+@Data
+public class ProjectRoomDto extends PageDto {
+    /**鏄惁鍙煡璇㈡敞灏勭鍜岀毊鑲ょ*/
+    private Integer isSelectOnly = 0;
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSectionRoomService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSectionRoomService.java
index 98947f5..8d7072a 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSectionRoomService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSectionRoomService.java
@@ -2,12 +2,10 @@
 
 
 import com.hx.resultTool.Result;
-import com.hz.his.dto.PageDto;
-import com.hz.his.dto.employee.EmpDocDto;
+import com.hz.his.dto.project.ProjectRoomDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestParam;
 
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
@@ -19,5 +17,5 @@
      * 鑾峰彇绉戝
      */
     @PostMapping(value = "/section/list")
-    Result getSectionRoomList(@RequestBody(required = false) PageDto pageDto);
+    Result getSectionRoomList(@RequestBody ProjectRoomDto projectRoomDto);
 }

--
Gitblit v1.8.0