路泰机电科技体检——数据平台后端
zhaowenxuan
2024-12-18 a86b542a327a5b970b46825660149fc1bf2e5f36
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
package com.example.controller;
 
import com.example.domain.TjCustomer;
import com.example.dto.xian.meiji.CheXiaoMzFyDto;
import com.example.dto.xian.meiji.CreateMenZhenFyDto;
import com.example.factory.ServiceFactory;
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接口请求
 * @Company: 西安路泰科技有限公司
 * @Author: zhaowenxuan
 * @Date: 2024/12/17 17:16
 */
@RestController
@RequestMapping("/api/his")
public class HisController {
 
    private final ServiceFactory serviceFactory;
    private final HisService hisService;
 
    @Autowired
    public HisController(ServiceFactory serviceFactory) {
        this.serviceFactory = serviceFactory;
        hisService= serviceFactory.getService();
    }
 
    /**
     * 建档
     */
    @PostMapping("creat")
    public String jianDang (@RequestBody Map<String ,Object> map) {
        return hisService.jianDang(map);
    }
 
    /**
     * 验证身份证是否建过档
     */
    @PostMapping("isCreat")
    public String getBingRenXxByShengFenZheng (@RequestBody Map<String ,Object> map) {
        return hisService.getBingRenXxByShengFenZheng(map);
    }
 
    /**
     * 病人基本信息变更
     */
    @PostMapping("update")
    public String saveBingRenXx (@RequestBody Map<String ,Object> map) {
        return hisService.saveBingRenXx(map);
    }
 
    /**
     * 待收费费用查询
     */
    @PostMapping("getPendingPaymentList")
    public String getListDaiShouFei (@RequestBody Map<String ,Object> map) {
        return hisService.getListDaiShouFei(map);
    }
 
    /**
     * 生成待收费/待退费 费用
     */
    @PostMapping("creatCostInfo")
    public String createMenZhenFy (@RequestBody Map<String ,Object> map) {
        return hisService.createMenZhenFy(map);
    }
 
    /**
     * 门诊未收费费用撤销
     */
    @PostMapping("revokeCost")
    public String cheXiaoMzFy (@RequestBody Map<String ,Object> map) {
        return hisService.cheXiaoMzFy(map);
    }
 
    /**
     * 收费/退费完成通知第三方
     */
    @PostMapping("pushPayMsg")
    public String pushZhiFuMsg (@RequestBody Map<String ,Object> map) {
        return hisService.pushZhiFuMsg(map);
    }
 
    /**
     * 科室信息查询
     */
    @PostMapping("getKeShiList")
    public String getKeShi (@RequestBody Map<String ,Object> map) {
        return hisService.getKeShi(map);
    }
 
    /**
     * 医生信息查询
     */
    @PostMapping("getYiShengList")
    public String getListYiShengZd (@RequestBody Map<String ,Object> map) {
        return hisService.getListYiShengZd(map);
    }
 
    /**
     * 获取收费项目分页
     */
    @PostMapping("getShouFeiXmList")
    public String getShouFeiXm (@RequestBody Map<String ,Object> map) {
        return hisService.getShouFeiXm(map);
    }
 
    /**
     *科室信息推送
     */
    @PostMapping("getKeShiByConditionsList")
    public String getKeShiByConditions (@RequestBody Map<String ,Object> map) {
        return hisService.getKeShiByConditions(map);
    }
 
    /**
     * 取样本字典
     */
    @PostMapping("getYangBen")
    public String getYangBen (@RequestBody Map<String ,Object> map) {
        return hisService.getYangBen(map);
    }
 
    /**
     *  病区信息推送
     */
    @PostMapping("getBingQuList")
    public String getListBingQuZd (@RequestBody Map<String ,Object> map) {
        return hisService.getListBingQuZd(map);
    }
 
    /**
     * 职⼯信息
     */
    @PostMapping("getZhiGongList")
    public String getZhiGongPage (@RequestBody Map<String ,Object> map) {
        return hisService.getZhiGongPage(map);
    }
 
    /**
     * 检查项目
     */
    @PostMapping("getJcxm")
    public String getJianChaXm (@RequestBody Map<String ,Object> map) {
        return hisService.getJianChaXm(map);
    }
 
    /**
     * 检验项⽬推送
     */
    @PostMapping("getJyxm")
    public String getJianYanXm(@RequestBody Map<String ,Object> map){
        return hisService.getJianYanXm(map);
    }
 
    /**
     * 检验项⽬收费推送
     */
    @PostMapping("getShouFeiXmjg")
    public String getShouFeiXmJg(@RequestBody Map<String ,Object> map){
        return hisService.getShouFeiXmJg(map);
    }
 
    /**
     * 检验容器
     */
    @PostMapping("getJyrqList")
    public String getRongQi(@RequestBody Map<String ,Object> map){
        return hisService.getRongQi(map);
    }
 
    /**
     *  检验样本
     */
    @PostMapping("getJyybList")
    public String getJyYangBen(@RequestBody Map<String ,Object> map){
        return hisService.getJyYangBen(map);
    }
}