Commit bc640b75 by 王祖波

关联微盟商品

parent fc91551a
...@@ -209,7 +209,7 @@ public class ContentMaterialController { ...@@ -209,7 +209,7 @@ public class ContentMaterialController {
@ResponseBody @ResponseBody
@RequestMapping("/get-material") @RequestMapping("/get-material")
public RestResponse<ContentMaterialInfoVO> getMaterialMember(String enterpriseId,Long contentMaterialId,String clerkId) { public RestResponse<ContentMaterialInfoVO> getMaterialMember(String enterpriseId,Long contentMaterialId,String clerkId) {
ServiceResponse<ContentMaterialDTO> response = contentMaterialApiService.getMaterialMember(enterpriseId, contentMaterialId, clerkId); ServiceResponse<ContentMaterialDTO> response = contentMaterialApiService.getMaterialMember(enterpriseId, contentMaterialId, clerkId, "");
if (!response.isSuccess()) { if (!response.isSuccess()) {
return RestResponse.failure(response.getCode(), response.getMessage()); return RestResponse.failure(response.getCode(), response.getMessage());
} }
......
...@@ -3,6 +3,7 @@ package com.gic.haoban.manage.web.qo.content; ...@@ -3,6 +3,7 @@ package com.gic.haoban.manage.web.qo.content;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.gic.content.api.dto.material.ContentMaterialRelationThirdDTO;
import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank; import org.hibernate.validator.constraints.NotBlank;
...@@ -100,6 +101,11 @@ public class ContentMaterialSaveQO { ...@@ -100,6 +101,11 @@ public class ContentMaterialSaveQO {
*/ */
private List<String> contentGoodsIdList; private List<String> contentGoodsIdList;
/**
* 关联第三方商品id列表
*/
private List<ContentMaterialRelationThirdDTO> thirdGoodsList;
public Long getContentMaterialId() { public Long getContentMaterialId() {
return contentMaterialId; return contentMaterialId;
} }
...@@ -259,5 +265,13 @@ public class ContentMaterialSaveQO { ...@@ -259,5 +265,13 @@ public class ContentMaterialSaveQO {
public void setContentGoodsIdList(List<String> contentGoodsIdList) { public void setContentGoodsIdList(List<String> contentGoodsIdList) {
this.contentGoodsIdList = contentGoodsIdList; this.contentGoodsIdList = contentGoodsIdList;
} }
public List<ContentMaterialRelationThirdDTO> getThirdGoodsList() {
return thirdGoodsList;
}
public void setThirdGoodsList(List<ContentMaterialRelationThirdDTO> thirdGoodsList) {
this.thirdGoodsList = thirdGoodsList;
}
} }
...@@ -72,5 +72,15 @@ public class SimpleGoodsInfoVO implements Serializable { ...@@ -72,5 +72,15 @@ public class SimpleGoodsInfoVO implements Serializable {
*/ */
private Integer sourceType; private Integer sourceType;
/**
* 第三方商品id
*/
private String thirdGoodsId;
/**
* 商品类型0:gic 1:微盟
*/
private Integer thirdType = 0;
} }
...@@ -55,6 +55,16 @@ public class ContentGoodsVO { ...@@ -55,6 +55,16 @@ public class ContentGoodsVO {
*/ */
private BigDecimal minPrice; private BigDecimal minPrice;
/**
* 第三方商品id
*/
private String thirdGoodsId;
/**
* 商品类型0:gic 1:微盟
*/
private Integer thirdType = 0;
public String getGoodsId() { public String getGoodsId() {
return goodsId; return goodsId;
} }
...@@ -126,4 +136,20 @@ public class ContentGoodsVO { ...@@ -126,4 +136,20 @@ public class ContentGoodsVO {
public void setMinPrice(BigDecimal minPrice) { public void setMinPrice(BigDecimal minPrice) {
this.minPrice = minPrice; this.minPrice = minPrice;
} }
public String getThirdGoodsId() {
return thirdGoodsId;
}
public void setThirdGoodsId(String thirdGoodsId) {
this.thirdGoodsId = thirdGoodsId;
}
public Integer getThirdType() {
return thirdType;
}
public void setThirdType(Integer thirdType) {
this.thirdType = thirdType;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment