cmg
2024-07-09 831246b84cdfd0c3f08f0d9f08091b17d84accfd
提交 | 用户 | age
ddd881 1 package com.hz.his.feign.service.phis;
7c680b 2
C 3 import com.hx.resultTool.Result;
003473 4 import com.hz.his.dto.activity.ActivityLimitDto;
f5bce1 5 import com.hz.his.dto.order.OrderDto;
7c680b 6 import org.springframework.cloud.openfeign.FeignClient;
C 7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9 import org.springframework.web.bind.annotation.RequestParam;
10
11 /**
12  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
13  */
314a4b 14 @FeignClient(name = "phi-platform-user", path = "/p-his-data", contextId = "order")
7c680b 15 public interface SOrderService {
C 16
17     /**
18      * 订单列表
19      */
20     @PostMapping(value = "/order/list")
f5bce1 21     Result orderList(@RequestBody OrderDto orderDto);
7c680b 22
C 23     /**
24      * 订单详情
7d2647 25      * 转换用OrderDetailDt
7c680b 26      */
C 27     @PostMapping(value = "/order/detail")
28     Result orderDetail(@RequestParam("orderId") String orderId);
29
fe50cf 30     /**
W 31      * 根据商品id查询订单数量
32      */
33     @PostMapping(value = "/order/numByGoodsId")
003473 34     Result queryOrderNumByGoodsId(@RequestBody ActivityLimitDto activityLimitDto);
fe50cf 35
W 36     /**
37      * 根据活动id查询订单数量
38      */
39     @PostMapping(value = "/order/numByActivityId")
003473 40     Result queryOrderNumByActivityId(@RequestBody ActivityLimitDto activityLimitDto);
fe50cf 41
7dbcc1 42     /**
W 43      * 订单列表
44      */
45     @PostMapping(value = "/order/deta/all")
46     Result getOrderDetasAll(@RequestBody OrderDto orderDto);
792cfe 47
W 48     /**
49      * 订单列表
50      */
51     @PostMapping(value = "/getOrderCustomerConfirm")
52     Result getOrderCustomerConfirm(@RequestBody OrderDto orderDto);
7c680b 53 }