提交 | 用户 | age
|
bb0cb6
|
1 |
package com.hz.his.feign.service.phis; |
C |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.phis.vo.order.OrderActivityVo; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
import org.springframework.web.bind.annotation.RequestParam; |
|
9 |
|
|
10 |
import java.math.BigDecimal; |
|
11 |
|
|
12 |
/**订单活动查询 |
|
13 |
* @author CJH |
|
14 |
*/ |
|
15 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "order-activity") |
|
16 |
public interface SOrderActivityService { |
|
17 |
|
|
18 |
/** |
|
19 |
* 根据活动编码查询订单是否已经执行 |
|
20 |
* @param orderActivityVo 对象 |
|
21 |
* @return Result 使用OrderActivityReturnVo转化 |
|
22 |
*/ |
|
23 |
@PostMapping(value = "/order/activity/execute") |
|
24 |
Result getActivityExecute(@RequestBody OrderActivityVo orderActivityVo); |
|
25 |
|
49fb1b
|
26 |
/** |
F |
27 |
* 根据活动编码查询赠送的增值金 |
|
28 |
*/ |
|
29 |
@PostMapping(value = "/order/activity/increment/money") |
b0f127
|
30 |
Result getActivityReturn(@RequestBody OrderActivityVo orderActivityVo); |
49fb1b
|
31 |
|
bb0cb6
|
32 |
} |