From d6712e6691fd49d7a416fc086e28072733f5c440 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 14 七月 2022 15:59:44 +0800 Subject: [PATCH] 修改 --- phis-feign/src/main/java/com/hz/phis/dt/card/CardDt.java | 17 ++++++++ phis-feign/src/main/java/com/hz/phis/dt/promotion/PromotionDt.java | 15 +++++++ phis-feign/src/main/java/com/hz/phis/dt/project/ProjectDt.java | 17 ++++++++ phis-feign/src/main/java/com/hz/his/feign/service/SPromotionService.java | 4 ++ phis-feign/src/main/java/com/hz/his/feign/service/SCardItemService.java | 9 ++++ phis-feign/src/main/java/com/hz/his/feign/service/SProjectService.java | 16 ++++++++ 6 files changed, 77 insertions(+), 1 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 ae19309..25f7c23 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 @@ -2,6 +2,7 @@ import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; +import com.hz.phis.dt.card.CardDt; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -39,10 +40,16 @@ Result getCardUsed(@RequestParam("orderItemNo") String orderItemNo); /** - * 鑾峰彇闂ㄥ簵鍒楄〃 + * 鑾峰彇鍗¢」鍒楄〃 * @return Result */ @PostMapping(value = "/cardItem/page/list") Result getCardList(@RequestBody PageDto pageDto); + /** + * 鑾峰彇鍗¢」鏇存柊 + * @return Result + */ + @PostMapping(value = "/cardItem/update/list") + Result getUpdateCardItem(CardDt cardDt); } \ 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 33678b8..8d818b8 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 @@ -2,6 +2,7 @@ import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; +import com.hz.phis.dt.project.ProjectDt; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -53,4 +54,19 @@ */ @PostMapping(value = "/project/sku/getProjectShopPrice") Result getProjectShopPrice(@RequestBody String id); + + + /** + * 鑾峰彇椤圭洰sku鍒楄〃(鍚屾浣跨敤) + * @return Result + */ + @PostMapping(value = "/project/page/sku/update") + Result getUpdateProject(@RequestBody ProjectDt projectDt); + + /** + * 鑾峰彇椤圭洰spu鍒楄〃(鍚屾浣跨敤) + * @return Result + */ + @PostMapping(value = "/project/page/spu/update") + Result getUpdateSpuProject(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 4b0ef38..7ac6619 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 @@ -2,6 +2,8 @@ import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; +import com.hz.phis.dt.card.CardDt; +import com.hz.phis.dt.promotion.PromotionDt; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -37,4 +39,6 @@ @PostMapping(value = "/promotion/page/list") Result getPromotionList(@RequestBody PageDto pageDto); + /**鑾峰彇淇冮攢鏇存柊*/ + Result getUpdatePromotion(PromotionDt promotionDt); } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/phis/dt/card/CardDt.java b/phis-feign/src/main/java/com/hz/phis/dt/card/CardDt.java new file mode 100644 index 0000000..b2d0808 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/card/CardDt.java @@ -0,0 +1,17 @@ +package com.hz.phis.dt.card; + +import com.hz.his.dto.PageDto; + + +public class CardDt 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/project/ProjectDt.java b/phis-feign/src/main/java/com/hz/phis/dt/project/ProjectDt.java new file mode 100644 index 0000000..e9a6b83 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/project/ProjectDt.java @@ -0,0 +1,17 @@ +package com.hz.phis.dt.project; + +import com.hz.his.dto.PageDto; + + +public class ProjectDt 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/promotion/PromotionDt.java b/phis-feign/src/main/java/com/hz/phis/dt/promotion/PromotionDt.java new file mode 100644 index 0000000..75c2ed8 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/promotion/PromotionDt.java @@ -0,0 +1,15 @@ +package com.hz.phis.dt.promotion; + +public class PromotionDt { + + /**鏇存柊鏃堕棿*/ + private String editTime; + + public String getEditTime() { + return editTime; + } + + public void setEditTime(String editTime) { + this.editTime = editTime; + } +} -- Gitblit v1.8.0