fwq
2023-11-27 c282bcf60ea5d3d362c8630718b382504b672814
提交 | 用户 | age
c099d4 1 package com.hz.his.feign.service.platform.compare;
C 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.vo.compare.CompareDeleteVo;
5 import com.hz.his.vo.compare.CompareListVo;
6 import com.hz.his.vo.compare.CompareVo;
7 import org.springframework.cloud.openfeign.FeignClient;
8 import org.springframework.web.bind.annotation.PostMapping;
9 import org.springframework.web.bind.annotation.RequestBody;
10
11 /**对比照feign
12  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
13  * @author CJH
14  */
15 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "compare-photo")
16 public interface SComparePhoteService {
17
18     /**列表
19      * @param compareListVo 传参结构
20      * @return
21      */
22     @PostMapping(value = "/compare/photo/record/list")
23     Result listData(@RequestBody CompareListVo compareListVo);
24
25
26     /**新增对比照
27      * @param compareVo 传参结构
28      * @return
29      */
30     @PostMapping(value = "/compare/photo/record/add")
31     Result add(@RequestBody CompareVo compareVo);
32
33     /**查看对比照
34      * @param compareListVo 传参结构
35      * @return data转化为CompareDataVo
36      */
37     @PostMapping(value = "/compare/photo/record/see")
38     Result see(@RequestBody CompareListVo compareListVo);
39
40     /**更新对比照
41      * @param compareVo 传参结构
42      */
43     @PostMapping(value = "/compare/photo/record/update")
44     Result update(@RequestBody CompareVo compareVo);
45
46     /**删除对比照总记录
47      * @param compareDeleteVo 传参结构
48      * @return
49      */
50     @PostMapping(value = "/compare/photo/record/delete")
51     Result delete(@RequestBody CompareDeleteVo compareDeleteVo);
52
53     /**删除对比照子单
54      * @param compareDeleteVo 传参结构
55      * @return
56      */
57     @PostMapping(value = "/compare/photo/record/delete/item")
58     Result deleteItem(@RequestBody CompareDeleteVo compareDeleteVo);
59
60     /**获取用户项目
61      * @param compareListVo 传参结构
62      * @return
63      */
64     @PostMapping(value = "/compare/photo/record/user/project")
65     Result userProjectSearchList(@RequestBody CompareListVo compareListVo);
66
67     /**获取用户划扣
68      * @param compareListVo 传参结构
69      * @return
70      */
71     @PostMapping(value = "/compare/photo/record/deduction/project")
72     Result userDeductionSearchList(@RequestBody CompareListVo compareListVo);
73
74 }