fwq
2024-06-06 49fb1b194f0de2e15fa18a8b31f0ab97d419e3fd
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
package com.hz.his.feign.service.phis;
 
import com.hx.resultTool.Result;
import com.hz.phis.vo.order.OrderActivityVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.math.BigDecimal;
 
/**订单活动查询
 * @author CJH
 */
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "order-activity")
public interface SOrderActivityService {
 
    /**
     * 根据活动编码查询订单是否已经执行
     * @param orderActivityVo 对象
     * @return Result 使用OrderActivityReturnVo转化
     */
    @PostMapping(value = "/order/activity/execute")
    Result getActivityExecute(@RequestBody OrderActivityVo orderActivityVo);
 
    /**
     * 根据活动编码查询赠送的增值金
     */
    @PostMapping(value = "/order/activity/increment/money")
    Result getActivityIncrement(@RequestBody OrderActivityVo orderActivityVo);
 
}