提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.phis; |
7c680b
|
2 |
|
C |
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.PageDto; |
f5bce1
|
5 |
import com.hz.his.dto.TimeDto; |
F |
6 |
import com.hz.his.dto.project.ProjectDto; |
910975
|
7 |
import com.hz.his.vo.project.ProjectFindVo; |
7c680b
|
8 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
9 |
import org.springframework.web.bind.annotation.PostMapping; |
|
10 |
import org.springframework.web.bind.annotation.RequestBody; |
|
11 |
import org.springframework.web.bind.annotation.RequestParam; |
|
12 |
|
|
13 |
import java.util.List; |
77622b
|
14 |
import java.util.Map; |
7c680b
|
15 |
|
C |
16 |
/** |
|
17 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
18 |
*/ |
314a4b
|
19 |
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "project") |
7c680b
|
20 |
public interface SProjectService { |
C |
21 |
|
|
22 |
/** |
|
23 |
* 获取项目spu详情 |
|
24 |
* @param projectId 公共标识 |
|
25 |
* @return Result |
|
26 |
*/ |
|
27 |
@PostMapping(value = "/project/spu/detail") |
|
28 |
Result getProjectSpuDetail(@RequestParam("projectId") String projectId); |
|
29 |
|
|
30 |
/** |
|
31 |
* 获取项目sku详情 |
|
32 |
* @param projectId 公共标识 |
|
33 |
* @return Result |
|
34 |
*/ |
|
35 |
@PostMapping(value = "/project/sku/detail") |
|
36 |
Result getProjectSkuDetail(@RequestParam("projectId") String projectId); |
|
37 |
|
|
38 |
/** |
|
39 |
* 获取项目sku列表 |
|
40 |
* @param spuId 公共标识 |
|
41 |
* @return Result |
|
42 |
*/ |
|
43 |
@PostMapping(value = "/project/sku/spuId/list") |
|
44 |
List<String> getSkuListBySpuId(@RequestParam("spuId") String spuId); |
|
45 |
|
|
46 |
|
|
47 |
/** |
|
48 |
* 获取项目列表 |
|
49 |
* @return Result |
|
50 |
*/ |
|
51 |
@PostMapping(value = "/project/page/list") |
910975
|
52 |
Result getProjectList(@RequestBody ProjectFindVo projectFindVo); |
7c680b
|
53 |
|
C |
54 |
/** |
e90a2a
|
55 |
* 获取项目列表(因为代码的问题,这个接口保存下来) |
5703c2
|
56 |
* @return Result |
C |
57 |
*/ |
|
58 |
@PostMapping(value = "/project/page/list2") |
7c680b
|
59 |
Result getProjectList(@RequestBody PageDto pageDto); |
C |
60 |
|
|
61 |
/** |
|
62 |
* 获取项目门店价格列表 |
|
63 |
* @return Result |
|
64 |
*/ |
|
65 |
@PostMapping(value = "/project/sku/getProjectShopPrice") |
|
66 |
Result getProjectShopPrice(@RequestBody String id); |
d6712e
|
67 |
|
94e364
|
68 |
/** |
F |
69 |
* 获取项目门店价格更新 |
|
70 |
* @return Result |
|
71 |
*/ |
|
72 |
@PostMapping(value = "/project/sku/shop/price/update") |
f5bce1
|
73 |
Result getUpdateShopPrice(@RequestBody TimeDto timeDto); |
d6712e
|
74 |
|
F |
75 |
/** |
|
76 |
* 获取项目sku列表(同步使用) |
|
77 |
* @return Result |
|
78 |
*/ |
|
79 |
@PostMapping(value = "/project/page/sku/update") |
f5bce1
|
80 |
Result getUpdateProject(@RequestBody ProjectDto projectDto); |
d6712e
|
81 |
|
F |
82 |
/** |
|
83 |
* 获取项目spu列表(同步使用) |
|
84 |
* @return Result |
|
85 |
*/ |
|
86 |
@PostMapping(value = "/project/page/spu/update") |
f5bce1
|
87 |
Result getUpdateSpuProject(@RequestBody ProjectDto projectDto); |
1e5b85
|
88 |
|
F |
89 |
/** |
f075bf
|
90 |
* 获取当前项目sku规格和其spu规格(同步使用) |
1e5b85
|
91 |
* @return Result |
f075bf
|
92 |
* 返回使用SpecDt |
1e5b85
|
93 |
*/ |
F |
94 |
@PostMapping(value = "/project/page/spu/spec/update") |
f075bf
|
95 |
Result getUpdateSpuSpecProject(@RequestParam("projectId") String projectId); |
F |
96 |
|
|
97 |
/** |
|
98 |
* 获取当前项目sku和对应的spu信息 |
|
99 |
* @return Result |
|
100 |
*/ |
|
101 |
@PostMapping(value = "/project/sku/spu") |
|
102 |
Result getSkuAndSpu(@RequestParam("projectId") String projectId); |
1e5b85
|
103 |
|
9a9c5f
|
104 |
/** |
W |
105 |
* 判断是否为医疗项目 |
|
106 |
* @return Result |
|
107 |
*/ |
|
108 |
@PostMapping(value = "/project/check/medical") |
|
109 |
Result checkMedicalIitems(@RequestBody ProjectDto projectDto); |
|
110 |
|
77622b
|
111 |
/** |
R |
112 |
* his助手,门店助手 开单时 使用查询项目列表 |
|
113 |
* @param projectDto |
|
114 |
* @return |
|
115 |
*/ |
|
116 |
@PostMapping(value = "/project/list/by/type") |
55711b
|
117 |
Result getProjectByTypeId(@RequestBody ProjectDto projectDto); |
77622b
|
118 |
|
55711b
|
119 |
/**查询项目积分抵扣现金的比例*/ |
e8d1de
|
120 |
@PostMapping(value = "/project/integral/cash/rate") |
0cbe6e
|
121 |
Result getIntegralCashRate(@RequestBody ProjectDto projectDto); |
eeab94
|
122 |
|
F |
123 |
/**查询映射项目模块树型三级*/ |
f0a5c0
|
124 |
@PostMapping(value = "/project/item/relation/list") |
eeab94
|
125 |
Result projectItemList(@RequestBody ProjectDto projectDto); |
F |
126 |
|
39f990
|
127 |
/** |
R |
128 |
* his助手,门店助手 开单时 使用查询促销列表 |
|
129 |
* @param projectDto |
|
130 |
* @return |
|
131 |
*/ |
|
132 |
@PostMapping(value = "/card/list/by/type") |
|
133 |
Result getCardByTypeId(@RequestBody ProjectDto projectDto); |
|
134 |
|
|
135 |
|
|
136 |
/** |
|
137 |
* his助手,门店助手 开单时 使用查询卡项列表 |
|
138 |
* @param projectDto |
|
139 |
* @return |
|
140 |
*/ |
|
141 |
@PostMapping(value = "/promotion/list/by/type") |
|
142 |
Result getPromotionByTypeId(@RequestBody ProjectDto projectDto); |
|
143 |
|
7c680b
|
144 |
} |