From bede9e4551d6b0675875f429454c323f84ce3ca1 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 14 七月 2022 18:25:37 +0800 Subject: [PATCH] 定时器同步sku --- phis-feign/src/main/java/com/hz/phis/dt/consumables/ConsumablesDt.java | 17 +++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/SConsumablesService.java | 8 ++++++++ phis-feign/src/main/java/com/hz/his/feign/service/SPromotionService.java | 3 ++- phis-feign/src/main/java/com/hz/phis/dt/limit/LimitDt.java | 17 +++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/SLimitService.java | 5 +++++ phis-feign/src/main/java/com/hz/his/feign/service/SCardItemService.java | 2 +- phis-feign/src/main/java/com/hz/his/feign/service/SProjectService.java | 2 +- 7 files changed, 51 insertions(+), 3 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SCardItemService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SCardItemService.java index 25f7c23..90569e8 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SCardItemService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SCardItemService.java @@ -51,5 +51,5 @@ * @return Result */ @PostMapping(value = "/cardItem/update/list") - Result getUpdateCardItem(CardDt cardDt); + Result getUpdateCardItem(@RequestBody CardDt cardDt); } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SConsumablesService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SConsumablesService.java index 3c1d0c8..0ac885f 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SConsumablesService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SConsumablesService.java @@ -2,6 +2,7 @@ import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; +import com.hz.phis.dt.consumables.ConsumablesDt; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -27,4 +28,11 @@ */ @PostMapping(value = "/consumables/page/list") Result getConsumablesList(@RequestBody PageDto pageDto); + + /** + * 鑾峰彇鑰楁潗鍒楄〃 + * @return Result + */ + @PostMapping(value = "/consumables/update/list") + Result getUpdateConsumables(@RequestBody ConsumablesDt consumablesDt); } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SLimitService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SLimitService.java index ba67368..245a60b 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SLimitService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SLimitService.java @@ -1,8 +1,10 @@ package com.hz.his.feign.service; import com.hx.resultTool.Result; +import com.hz.phis.dt.limit.LimitDt; 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; /** @@ -45,4 +47,7 @@ @PostMapping(value = "/goods/level/limit") Result getLevelLimit(@RequestParam("limitId") String limitId, @RequestParam("userId") String userId); + /**鑾峰彇鏇存柊闄愬埗*/ + @PostMapping(value = "/goods/update/limit") + Result getUpdateList(@RequestBody LimitDt limitDt); } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SProjectService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SProjectService.java index 8d818b8..e7ceaef 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SProjectService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SProjectService.java @@ -68,5 +68,5 @@ * @return Result */ @PostMapping(value = "/project/page/spu/update") - Result getUpdateSpuProject(ProjectDt projectDt); + Result getUpdateSpuProject(@RequestBody ProjectDt projectDt); } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SPromotionService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SPromotionService.java index 7ac6619..4538746 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SPromotionService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SPromotionService.java @@ -40,5 +40,6 @@ Result getPromotionList(@RequestBody PageDto pageDto); /**鑾峰彇淇冮攢鏇存柊*/ - Result getUpdatePromotion(PromotionDt promotionDt); + @PostMapping(value = "/promotion/update/list") + Result getUpdatePromotion(@RequestBody PromotionDt promotionDt); } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/phis/dt/consumables/ConsumablesDt.java b/phis-feign/src/main/java/com/hz/phis/dt/consumables/ConsumablesDt.java new file mode 100644 index 0000000..22f06d0 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/consumables/ConsumablesDt.java @@ -0,0 +1,17 @@ +package com.hz.phis.dt.consumables; + +import com.hz.his.dto.PageDto; + + +public class ConsumablesDt extends PageDto { + /**鏇存柊鏃堕棿*/ + private String editTime; + + public String getEditTime() { + return editTime; + } + + public void setEditTime(String editTime) { + this.editTime = editTime; + } +} diff --git a/phis-feign/src/main/java/com/hz/phis/dt/limit/LimitDt.java b/phis-feign/src/main/java/com/hz/phis/dt/limit/LimitDt.java new file mode 100644 index 0000000..642f911 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/limit/LimitDt.java @@ -0,0 +1,17 @@ +package com.hz.phis.dt.limit; + +import com.hz.his.dto.PageDto; + + +public class LimitDt extends PageDto { + /**鏇存柊鏃堕棿*/ + private String editTime; + + public String getEditTime() { + return editTime; + } + + public void setEditTime(String editTime) { + this.editTime = editTime; + } +} -- Gitblit v1.8.0