phis-feign/src/main/java/com/hz/his/dto/promotion/PromotionDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/phis/SCardItemService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderActivityService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/phis/SPromotionService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/phis/vo/order/OrderActivityReturnVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/phis/vo/order/OrderActivityVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/dto/promotion/PromotionDto.java
@@ -1,5 +1,6 @@ package com.hz.his.dto.promotion; import com.hz.his.dto.PageDto; import lombok.Data; /** @@ -7,7 +8,7 @@ * @author fwq * */ @Data public class PromotionDto { public class PromotionDto extends PageDto { /**更新时间*/ private String editTime; phis-feign/src/main/java/com/hz/his/feign/service/phis/SCardItemService.java
@@ -52,4 +52,11 @@ */ @PostMapping(value = "/cardItem/update/list") Result getUpdateCardItem(@RequestBody CardDto cardDto); /** * 获取暂停和结束销售的卡项 * @return Result */ @PostMapping(value = "/cardItem/noUp/list") Result noUpList(@RequestBody CardDto cardDto); } phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderActivityService.java
New file @@ -0,0 +1,26 @@ 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); } phis-feign/src/main/java/com/hz/his/feign/service/phis/SPromotionService.java
@@ -41,4 +41,8 @@ /**获取促销更新列表*/ @PostMapping(value = "/promotion/update/list") Result getUpdatePromotion(@RequestBody PromotionDto promotionDto); /**获取暂停和结束销售的促销*/ @PostMapping(value = "/promotion/noUp/list") Result noUpList(@RequestBody PromotionDto promotionDto); } phis-feign/src/main/java/com/hz/phis/vo/order/OrderActivityReturnVo.java
New file @@ -0,0 +1,12 @@ package com.hz.phis.vo.order; import lombok.Data; /** * @author CJH */ @Data public class OrderActivityReturnVo { /**活动的订单是否已执行:0否1是*/ private Integer isExecute; } phis-feign/src/main/java/com/hz/phis/vo/order/OrderActivityVo.java
New file @@ -0,0 +1,18 @@ package com.hz.phis.vo.order; import lombok.Data; /** * @author CJH */ @Data public class OrderActivityVo { /**活动页面类型-指定订单标识*/ private String orderId; /**活动页面类型-可空*/ private Integer activityPageType; /**活动区分编号-必填*/ private String activityPageCode; /**his用户-必填*/ private String userId; }