From a86b542a327a5b970b46825660149fc1bf2e5f36 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期三, 18 十二月 2024 17:40:18 +0800
Subject: [PATCH] his调用

---
 src/main/java/com/example/controller/HisController.java |  167 +++++++++++++------------------------------------------
 1 files changed, 40 insertions(+), 127 deletions(-)

diff --git a/src/main/java/com/example/controller/HisController.java b/src/main/java/com/example/controller/HisController.java
index 978e21f..0f94c7b 100644
--- a/src/main/java/com/example/controller/HisController.java
+++ b/src/main/java/com/example/controller/HisController.java
@@ -7,10 +7,12 @@
 import com.example.service.HisService;
 import org.springframework.beans.factory.annotation.Autowired;
 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;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * his鎺ュ彛璇锋眰
@@ -31,244 +33,155 @@
         hisService= serviceFactory.getService();
     }
 
-
     /**
      * 寤烘。
-     * @param customer
-     * @return
      */
     @PostMapping("creat")
-    public String jianDang (TjCustomer customer) {
-        return hisService.jianDang(customer);
+    public String jianDang (@RequestBody Map<String ,Object> map) {
+        return hisService.jianDang(map);
     }
 
     /**
      * 楠岃瘉韬唤璇佹槸鍚﹀缓杩囨。
-     * @param customer
-     * @return
      */
     @PostMapping("isCreat")
-    public String getBingRenXxByShengFenZheng (TjCustomer customer) {
-        return hisService.getBingRenXxByShengFenZheng(customer);
+    public String getBingRenXxByShengFenZheng (@RequestBody Map<String ,Object> map) {
+        return hisService.getBingRenXxByShengFenZheng(map);
     }
 
     /**
      * 鐥呬汉鍩烘湰淇℃伅鍙樻洿
-     * @param customer
-     * @return
      */
     @PostMapping("update")
-    public String saveBingRenXx (TjCustomer customer) {
-        return hisService.saveBingRenXx(customer);
+    public String saveBingRenXx (@RequestBody Map<String ,Object> map) {
+        return hisService.saveBingRenXx(map);
     }
 
     /**
      * 寰呮敹璐硅垂鐢ㄦ煡璇�
-     * @param bingRenId
-     * @param jiuZhenKh
-     * @param yuanQuId
-     * @return
      */
     @PostMapping("getPendingPaymentList")
-    public String getListDaiShouFei (String bingRenId,String jiuZhenKh,String yuanQuId) {
-        return hisService.getListDaiShouFei(bingRenId,jiuZhenKh,yuanQuId);
+    public String getListDaiShouFei (@RequestBody Map<String ,Object> map) {
+        return hisService.getListDaiShouFei(map);
     }
-
 
     /**
      * 鐢熸垚寰呮敹璐�/寰呴��璐� 璐圭敤
-     * @param dto
-     * @return
      */
     @PostMapping("creatCostInfo")
-    public String createMenZhenFy (CreateMenZhenFyDto dto) {
-        return hisService.createMenZhenFy(dto);
+    public String createMenZhenFy (@RequestBody Map<String ,Object> map) {
+        return hisService.createMenZhenFy(map);
     }
-
 
     /**
      * 闂ㄨ瘖鏈敹璐硅垂鐢ㄦ挙閿�
-     * @param dto
-     * @return
      */
     @PostMapping("revokeCost")
-    public String cheXiaoMzFy (CheXiaoMzFyDto dto) {
-        return hisService.cheXiaoMzFy(dto);
+    public String cheXiaoMzFy (@RequestBody Map<String ,Object> map) {
+        return hisService.cheXiaoMzFy(map);
     }
-
 
     /**
      * 鏀惰垂/閫�璐瑰畬鎴愰�氱煡绗笁鏂�
-     * @param feiYongId
-     * @param yeWuLx
-     * @return
      */
     @PostMapping("pushPayMsg")
-    public String pushZhiFuMsg (String feiYongId,int yeWuLx ) {
-        return hisService.pushZhiFuMsg(feiYongId,yeWuLx);
+    public String pushZhiFuMsg (@RequestBody Map<String ,Object> map) {
+        return hisService.pushZhiFuMsg(map);
     }
-
 
     /**
      * 绉戝淇℃伅鏌ヨ
-     * @param yuanQuId
-     * @param keShiMc
-     * @param pageIndex
-     * @param pageSize
-     * @return
      */
     @PostMapping("getKeShiList")
-    public String getKeShi (String yuanQuId,String keShiMc,int pageIndex,int pageSize ) {
-        return hisService.getKeShi(yuanQuId,keShiMc,pageIndex,pageSize);
+    public String getKeShi (@RequestBody Map<String ,Object> map) {
+        return hisService.getKeShi(map);
     }
 
     /**
      * 鍖荤敓淇℃伅鏌ヨ
-     * @param yuanQuId
-     * @param keShiMc
-     * @param pageIndex
-     * @param pageSize
-     * @return
      */
     @PostMapping("getYiShengList")
-    public String getListYiShengZd (String yuanQuId,String keShiMc,int pageIndex,int pageSize ) {
-        return hisService.getListYiShengZd(yuanQuId,keShiMc,pageIndex,pageSize);
+    public String getListYiShengZd (@RequestBody Map<String ,Object> map) {
+        return hisService.getListYiShengZd(map);
     }
-
 
     /**
      * 鑾峰彇鏀惰垂椤圭洰鍒嗛〉
-     * @param queryString
-     * @param bianGengSj
-     * @param pageIndex
-     * @param pageSize
-     * @return
      */
     @PostMapping("getShouFeiXmList")
-    public String getShouFeiXm (String queryString,String bianGengSj,int pageIndex,int pageSize ) {
-        return hisService.getShouFeiXm(queryString,bianGengSj,pageIndex,pageSize);
+    public String getShouFeiXm (@RequestBody Map<String ,Object> map) {
+        return hisService.getShouFeiXm(map);
     }
-
-
 
     /**
      *绉戝淇℃伅鎺ㄩ��
-     * @param xingZhiSx 缁勭粐灞炴�� 绗竴浣�1聽琛ㄧず 鎸傚彿
-     * 绗簩浣� 1琛ㄧず涓村簥
-     * 绗笁浣� 1琛ㄧず妫�鏌�
-     * 绗洓浣� 1 琛ㄧず鎵嬫湳
-     * 绗簲浣� 1 琛ㄧず娌荤枟
-     * 绗叚浣� 1 琛ㄧず鎶ょ悊
-     * @param queryString 妯$硦鍖归厤杈撯紛鐮�1銆佺瀹ゅ悕绉�
-     * @param zuoFeiBz 浣滃簾鏍囧織锛�0 姝e父锛�1 浣滃簾
-     * @param yuanQuId 闄㈠尯id
-     * @param keShiIds 绉戝ID闆嗗悎
-     * @param ifPlus 鏄惁鏌ヨplus灞炴��
-     * @return
      */
     @PostMapping("getKeShiByConditionsList")
-    public String getKeShiByConditions (int xingZhiSx, String queryString, int zuoFeiBz, String yuanQuId, List<String> keShiIds, int ifPlus) {
-        return hisService.getKeShiByConditions(xingZhiSx, queryString, zuoFeiBz, yuanQuId, keShiIds,ifPlus);
+    public String getKeShiByConditions (@RequestBody Map<String ,Object> map) {
+        return hisService.getKeShiByConditions(map);
     }
-
-
 
     /**
      * 鍙栨牱鏈瓧鍏�
-     * @param queryString 鏍锋湰绫诲瀷鍚嶇О(鏍锋湰鍚嶇О/鏍锋湰绫诲瀷id)
-     * @param pageIndex
-     * @param pageSize 姣忊粴鏉℃暟锛堟渶饧や笉鑳借秴杩�100锛�
-     * @return
      */
     @PostMapping("getYangBen")
-    public String getYangBen (String queryString,int pageIndex,int pageSize ) {
-        return hisService.getYangBen(queryString,pageIndex,pageSize);
+    public String getYangBen (@RequestBody Map<String ,Object> map) {
+        return hisService.getYangBen(map);
     }
-
 
     /**
      *  鐥呭尯淇℃伅鎺ㄩ��
-     * @param yuanQuId 闄㈠尯Id
-     * @param keShiId 绉戝Id
-     * @param pageIndex 褰撳墠饣�
-     * @param pageSize 姣忊粴鏉℃暟锛堟渶饧や笉鑳借秴杩�100锛�
-     * @return
      */
     @PostMapping("getBingQuList")
-    public String getListBingQuZd (String yuanQuId,String keShiId,int pageIndex,int pageSize ) {
-        return hisService.getListBingQuZd(yuanQuId,keShiId,pageIndex,pageSize);
+    public String getListBingQuZd (@RequestBody Map<String ,Object> map) {
+        return hisService.getListBingQuZd(map);
     }
 
     /**
      * 鑱屸集淇℃伅
-     * @param bianGengSj 鍙樻洿鏃堕棿
-     * @param pageIndex 褰撳墠饣�
-     * @param pageSize 姣忊粴鏉℃暟锛堟渶饧や笉鑳借秴杩�100锛�
-     * @return
      */
     @PostMapping("getZhiGongList")
-    public String getZhiGongPage (String bianGengSj,int pageIndex,int pageSize ) {
-        return hisService.getZhiGongPage(bianGengSj,pageIndex,pageSize);
+    public String getZhiGongPage (@RequestBody Map<String ,Object> map) {
+        return hisService.getZhiGongPage(map);
     }
-
 
     /**
      * 妫�鏌ラ」鐩�
-     * @param queryString
-     * @param bianGengSj
-     * @param pageIndex
-     * @param pageSize
-     * @return
      */
     @PostMapping("getJcxm")
-    public String getJianChaXm (String queryString,String bianGengSj,int pageIndex,int pageSize ) {
-        return hisService.getJianChaXm(queryString,bianGengSj,pageIndex,pageSize);
+    public String getJianChaXm (@RequestBody Map<String ,Object> map) {
+        return hisService.getJianChaXm(map);
     }
 
     /**
      * 妫�楠岄」饨帹閫�
-     * @param queryCode 鏌ヨ鐮�(椤光浆缂栫爜/鎷尖境鐮�
-     * @param page 褰撳墠饣�
-     * @param size 姣忊粴鏉℃暟锛堟渶饧や笉鑳借秴杩�100
-     * @return
      */
     @PostMapping("getJyxm")
-    public String getJianYanXm(String queryCode,Integer page,Integer size){
-        return hisService.getJianYanXm(queryCode,page,size);
+    public String getJianYanXm(@RequestBody Map<String ,Object> map){
+        return hisService.getJianYanXm(map);
     }
 
     /**
      * 妫�楠岄」饨敹璐规帹閫�
-     * @param shouFeiXmId 鏀惰垂椤光浆id
-     * @param jiaGeTx 浠锋牸浣撶郴
-     * @return
      */
     @PostMapping("getShouFeiXmjg")
-    public String getShouFeiXmJg(String shouFeiXmId,String jiaGeTx){
-        return hisService.getShouFeiXmJg(shouFeiXmId,jiaGeTx);
+    public String getShouFeiXmJg(@RequestBody Map<String ,Object> map){
+        return hisService.getShouFeiXmJg(map);
     }
 
     /**
      * 妫�楠屽鍣�
-     * @param queryString 瀹瑰櫒鍚嶇О(瀹瑰櫒鍚嶇О/杈撯紛鐮�1)
-     * @param pageIndex 褰撳墠饣�
-     * @param pageSize 姣忊粴鏉℃暟锛堟渶饧や笉鑳借秴杩�100锛�
-     * @return
      */
     @PostMapping("getJyrqList")
-    public String getRongQi(String queryString,Integer pageIndex,Integer pageSize){
-        return hisService.getRongQi(queryString,pageIndex,pageSize);
+    public String getRongQi(@RequestBody Map<String ,Object> map){
+        return hisService.getRongQi(map);
     }
 
     /**
      *  妫�楠屾牱鏈�
-     * @param queryString 鏍锋湰绫诲瀷鍚嶇О(鏍锋湰鍚嶇О/鏍锋湰绫诲瀷id)
-     * @param pageIndex  褰撳墠饣�
-     * @param pageSize 姣忊粴鏉℃暟锛堟渶饧や笉鑳借秴杩�100锛�
-     * @return
      */
     @PostMapping("getJyybList")
-    public String getYangBen(String queryString,Integer pageIndex,Integer pageSize){
-        return hisService.getJyYangBen(queryString,pageIndex,pageSize);
+    public String getJyYangBen(@RequestBody Map<String ,Object> map){
+        return hisService.getJyYangBen(map);
     }
 }

--
Gitblit v1.8.0