From 1e5b85771c9bb6366286d4c0c279ec630a8d3276 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期一, 22 八月 2022 17:56:39 +0800 Subject: [PATCH] 同步规格 --- phis-feign/src/main/java/com/hz/phis/dt/spec/SpecDt.java | 26 ++++++++ phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecDt.java | 37 ++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java | 8 ++ phis-feign/src/main/java/com/hz/phis/dt/spec/SkuSpecDt.java | 35 +++++++++++ phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecValueDt.java | 25 ++++++++ 5 files changed, 131 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java index e81f706..428a4bb 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java @@ -76,4 +76,12 @@ */ @PostMapping(value = "/project/page/spu/update") Result getUpdateSpuProject(@RequestBody ProjectDto projectDto); + + /** + * 鑾峰彇椤圭洰spu瑙勬牸鍒楄〃(鍚屾浣跨敤) + * @return Result + */ + @PostMapping(value = "/project/page/spu/spec/update") + Result getUpdateSpuSpecProject(@RequestParam("hisId") String hisId); + } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/phis/dt/spec/SkuSpecDt.java b/phis-feign/src/main/java/com/hz/phis/dt/spec/SkuSpecDt.java new file mode 100644 index 0000000..c7d4b99 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/spec/SkuSpecDt.java @@ -0,0 +1,35 @@ +package com.hz.phis.dt.spec; + + +public class SkuSpecDt { + + private String id; + + private String specName; + + private String specValueName; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getSpecName() { + return specName; + } + + public void setSpecName(String specName) { + this.specName = specName; + } + + public String getSpecValueName() { + return specValueName; + } + + public void setSpecValueName(String specValueName) { + this.specValueName = specValueName; + } +} diff --git a/phis-feign/src/main/java/com/hz/phis/dt/spec/SpecDt.java b/phis-feign/src/main/java/com/hz/phis/dt/spec/SpecDt.java new file mode 100644 index 0000000..e1b0838 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/spec/SpecDt.java @@ -0,0 +1,26 @@ +package com.hz.phis.dt.spec; + +import java.util.List; + +public class SpecDt { + + private List<SpuSpecDt> spuSpecList; + + private List<SkuSpecDt> skuSpecList; + + public List<SpuSpecDt> getSpuSpecList() { + return spuSpecList; + } + + public void setSpuSpecList(List<SpuSpecDt> spuSpecList) { + this.spuSpecList = spuSpecList; + } + + public List<SkuSpecDt> getSkuSpecList() { + return skuSpecList; + } + + public void setSkuSpecList(List<SkuSpecDt> skuSpecList) { + this.skuSpecList = skuSpecList; + } +} diff --git a/phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecDt.java b/phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecDt.java new file mode 100644 index 0000000..41e5c2d --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecDt.java @@ -0,0 +1,37 @@ +package com.hz.phis.dt.spec; + +import java.util.List; +import java.util.Map; + +public class SpuSpecDt { + + private String id; + + private String specName; + + private List<SpuSpecValueDt> specValueList; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getSpecName() { + return specName; + } + + public void setSpecName(String specName) { + this.specName = specName; + } + + public List<SpuSpecValueDt> getSpecValueList() { + return specValueList; + } + + public void setSpecValueList(List<SpuSpecValueDt> specValueList) { + this.specValueList = specValueList; + } +} diff --git a/phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecValueDt.java b/phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecValueDt.java new file mode 100644 index 0000000..3921434 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/dt/spec/SpuSpecValueDt.java @@ -0,0 +1,25 @@ +package com.hz.phis.dt.spec; + + +public class SpuSpecValueDt { + + private String id; + + private String specValueName; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getSpecValueName() { + return specValueName; + } + + public void setSpecValueName(String specValueName) { + this.specValueName = specValueName; + } +} -- Gitblit v1.8.0