Browse Source

增加视频字段

master
cgx 4 months ago
parent
commit
5ab9062e4d
4 changed files with 26 additions and 2 deletions
  1. +8
    -1
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/product/entity/TbProduct.java
  2. +8
    -1
      jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/productOrder/entity/TbProductOrder.java
  3. +8
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/entity/ProductReq.java
  4. +2
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/service/impl/ProductServiceImpl.java

+ 8
- 1
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/product/entity/TbProduct.java View File

@ -107,7 +107,14 @@ public class TbProduct implements Serializable {
@Excel(name = "商品规格", width = 15)
@ApiModelProperty(value = "商品规格")
private java.lang.String specsName;
/**检测视频*/
@Excel(name = "检测视频", width = 15)
@ApiModelProperty(value = "检测视频")
private java.lang.String reportVideo;
/**商品视频*/
@Excel(name = "商品视频", width = 15)
@ApiModelProperty(value = "商品视频")
private java.lang.String video;
/**交货时间*/
@Excel(name = "交货时间", width = 15, format = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")


+ 8
- 1
jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/modules/productOrder/entity/TbProductOrder.java View File

@ -101,7 +101,14 @@ public class TbProductOrder implements Serializable {
@Excel(name = "商品规格", width = 15)
@ApiModelProperty(value = "商品规格")
private java.lang.String specsName;
/**检测视频*/
@Excel(name = "检测视频", width = 15)
@ApiModelProperty(value = "检测视频")
private java.lang.String reportVideo;
/**商品视频*/
@Excel(name = "商品视频", width = 15)
@ApiModelProperty(value = "商品视频")
private java.lang.String video;
/**暂定数量、*/
@Excel(name = "暂定数量、", width = 15)


+ 8
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/entity/ProductReq.java View File

@ -61,4 +61,12 @@ public class ProductReq implements Serializable {
@Excel(name = "商品规格ID", width = 15)
@ApiModelProperty(value = "商品规格ID")
private java.lang.String specsId;
/**检测视频*/
@Excel(name = "检测视频", width = 15)
@ApiModelProperty(value = "检测视频")
private java.lang.String reportVideo;
/**商品视频*/
@Excel(name = "商品视频", width = 15)
@ApiModelProperty(value = "商品视频")
private java.lang.String video;
}

+ 2
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/service/impl/ProductServiceImpl.java View File

@ -125,6 +125,8 @@ public class ProductServiceImpl extends ServiceImpl<TbProductMapper, TbProduct>
tbProductOrder.setPhone(one2.getPhone());
tbProductOrder.setPic(product.getPic());
tbProductOrder.setPicDetail(product.getPicDetail());
tbProductOrder.setVideo(product.getVideo());
tbProductOrder.setReportVideo(product.getReportVideo());
tbProductOrder.setSpecsId(product.getSpecsId());
tbProductOrder.setSpecsName(product.getSpecsName());
tbProductOrder.setPrice(product.getPrice());


Loading…
Cancel
Save