fwq
2024-07-17 cb7bf61ddec695b25f8fe509815c5e5794180b0f
phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderActivityService.java
@@ -1,13 +1,11 @@
package com.hz.his.feign.service.phis;
import com.hx.resultTool.Result;
import com.hz.phis.vo.order.OrderActivityCountVo;
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
@@ -16,11 +14,19 @@
public interface SOrderActivityService {
    /**
     * 根据活动编码查询订单是否已经执行
     * 根据活动编码查询是否执行+是否消费+赠送数据
     * @param orderActivityVo 对象
     * @return Result 使用OrderActivityReturnVo转化
     */
    @PostMapping(value = "/order/activity/execute")
    Result getActivityExecute(@RequestBody OrderActivityVo orderActivityVo);
    /**
     * 获取用户活动返赠的数据
     * @param orderActivityVo 对象
     * @return Result 使用OrderActivityReturnVo转化
     */
    @PostMapping(value = "/order/activity/increment/money")
    Result getActivityReturn(@RequestBody OrderActivityCountVo orderActivityVo);
}