fwq
2024-04-15 6c7294b43bbb8e4f64b262281be6264a50ecc381
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
package com.hz.his.feign.service.platform.compare;
 
import com.hx.resultTool.Result;
import com.hz.his.vo.compare.CompareDeleteVo;
import com.hz.his.vo.compare.CompareListVo;
import com.hz.his.vo.compare.CompareVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**对比照feign
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 * @author CJH
 */
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "compare-photo")
public interface SComparePhoteService {
 
    /**列表
     * @param compareListVo 传参结构
     * @return
     */
    @PostMapping(value = "/compare/photo/record/list")
    Result listData(@RequestBody CompareListVo compareListVo);
 
 
    /**新增对比照
     * @param compareVo 传参结构
     * @return
     */
    @PostMapping(value = "/compare/photo/record/add")
    Result add(@RequestBody CompareVo compareVo);
 
    /**查看对比照
     * @param compareListVo 传参结构
     * @return data转化为CompareDataVo
     */
    @PostMapping(value = "/compare/photo/record/see")
    Result see(@RequestBody CompareListVo compareListVo);
 
    /**更新对比照
     * @param compareVo 传参结构
     */
    @PostMapping(value = "/compare/photo/record/update")
    Result update(@RequestBody CompareVo compareVo);
 
    /**删除对比照总记录
     * @param compareDeleteVo 传参结构
     * @return
     */
    @PostMapping(value = "/compare/photo/record/delete")
    Result delete(@RequestBody CompareDeleteVo compareDeleteVo);
 
    /**删除对比照子单
     * @param compareDeleteVo 传参结构
     * @return
     */
    @PostMapping(value = "/compare/photo/record/delete/item")
    Result deleteItem(@RequestBody CompareDeleteVo compareDeleteVo);
 
    /**获取用户项目
     * @param compareListVo 传参结构
     * @return
     */
    @PostMapping(value = "/compare/photo/record/user/project")
    Result userProjectSearchList(@RequestBody CompareListVo compareListVo);
 
    /**获取用户划扣
     * @param compareListVo 传参结构
     * @return
     */
    @PostMapping(value = "/compare/photo/record/deduction/project")
    Result userDeductionSearchList(@RequestBody CompareListVo compareListVo);
 
}