提交 | 用户 | age
|
b55a75
|
1 |
package com.hx.warehouse.feign; |
63ddd3
|
2 |
|
7f2ed4
|
3 |
import com.hx.warehouse.dto.gold.ParListDto; |
63ddd3
|
4 |
import com.hx.resultTool.Result; |
e02c8b
|
5 |
import com.hx.warehouse.dto.order.OrderBackDto; |
7189b2
|
6 |
import com.hx.warehouse.dto.order.OrderUpdateDto; |
2c6e0b
|
7 |
import com.hx.warehouse.dto.order.stock.StockShopDto; |
63ddd3
|
8 |
import org.springframework.cloud.openfeign.FeignClient; |
F |
9 |
import org.springframework.web.bind.annotation.PostMapping; |
|
10 |
import org.springframework.web.bind.annotation.RequestBody; |
|
11 |
|
|
12 |
/** |
|
13 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
14 |
*/ |
cc62f4
|
15 |
@FeignClient(name="phi-pre-sys", path = "/warehouse",contextId = "warehouse-update") |
63ddd3
|
16 |
public interface WUpdateService { |
F |
17 |
|
|
18 |
|
|
19 |
/** |
|
20 |
* 更新门店仓库 |
|
21 |
* */ |
|
22 |
@PostMapping(value = "/update/shopWareHouse") |
7f2ed4
|
23 |
Result updateShopWarehouse(@RequestBody ParListDto parListDto); |
63ddd3
|
24 |
|
F |
25 |
/** |
|
26 |
* 更新商品信息 |
|
27 |
* */ |
|
28 |
@PostMapping(value = "/update/consumables") |
7f2ed4
|
29 |
Result updateConsumables(@RequestBody ParListDto parListDto); |
63ddd3
|
30 |
|
F |
31 |
/** |
|
32 |
* 更新商品库存 |
|
33 |
* */ |
|
34 |
@PostMapping(value = "/update/stock") |
7f2ed4
|
35 |
Result updateConsumablesStock(@RequestBody ParListDto parListDto); |
63ddd3
|
36 |
|
7189b2
|
37 |
/** |
F |
38 |
* 更新出入库单信息 |
|
39 |
* */ |
|
40 |
@PostMapping(value = "/update/order/info") |
e02c8b
|
41 |
Result orderSuccess(@RequestBody OrderBackDto orderBackDto); |
F |
42 |
|
|
43 |
/** |
|
44 |
* 出入库成功回调信息入参 |
|
45 |
* */ |
|
46 |
@PostMapping(value = "/update/back/parameter") |
|
47 |
Result backParameter(@RequestBody OrderBackDto orderBackDto); |
7189b2
|
48 |
|
9c028b
|
49 |
|
2c6e0b
|
50 |
|
63ddd3
|
51 |
} |