rjuqwhnt
This commit is contained in:
parent
9237b68fea
commit
285efe3970
@ -10,7 +10,7 @@ import java.util.Date;import java.util.Date;
|
||||
/**
|
||||
*sku 的属性值表
|
||||
* @author quyixiao
|
||||
* @since 2025-08-24
|
||||
* @since 2025-10-27
|
||||
*/
|
||||
|
||||
@Data
|
||||
@ -21,16 +21,14 @@ private static final long serialVersionUID = 1L;
|
||||
public final static String CLASS_NAME ="com.heyu.api.data.entity.vv.VvSkuPropertyValueEntity:";
|
||||
|
||||
public final static String all = CLASS_NAME + "*";
|
||||
public final static String id_ = CLASS_NAME + "id"; //
|
||||
public final static String is_delete = CLASS_NAME + "is_delete"; // 是否删除:0 否 1 删除
|
||||
public final static String create_time = CLASS_NAME + "create_time"; // 创建时间
|
||||
public final static String modify_time = CLASS_NAME + "modify_time"; // 修改时间
|
||||
public final static String product_id = CLASS_NAME + "product_id"; // 商品id
|
||||
public final static String sku_id = CLASS_NAME + "sku_id"; // skuid
|
||||
public final static String product_property_id = CLASS_NAME + "product_property_id"; // 商品属性id
|
||||
public final static String product_property_value_id = CLASS_NAME + "product_property_value_id"; // 商品属性值id
|
||||
public final static String product_property_name = CLASS_NAME + "product_property_name"; // 属性名称
|
||||
public final static String product_property_value = CLASS_NAME + "product_property_value"; // sku 属性值表
|
||||
public final static String id_ = CLASS_NAME + "id"; //
|
||||
public final static String is_delete = CLASS_NAME + "is_delete"; // 是否删除:0 否 1 删除
|
||||
public final static String create_time = CLASS_NAME + "create_time"; // 创建时间
|
||||
public final static String modify_time = CLASS_NAME + "modify_time"; // 修改时间
|
||||
public final static String product_id = CLASS_NAME + "product_id"; // 商品id
|
||||
public final static String sku_id = CLASS_NAME + "sku_id"; // skuid
|
||||
public final static String product_property_name = CLASS_NAME + "product_property_name"; // 属性名称
|
||||
public final static String product_property_value = CLASS_NAME + "product_property_value"; // sku 属性值表
|
||||
//
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
@ -41,13 +39,9 @@ private static final long serialVersionUID = 1L;
|
||||
//修改时间
|
||||
private Date modifyTime;
|
||||
//商品id
|
||||
private Long productId;
|
||||
private Integer productId;
|
||||
//skuid
|
||||
private Long skuId;
|
||||
//商品属性id
|
||||
private Long productPropertyId;
|
||||
//商品属性值id
|
||||
private Long productPropertyValueId;
|
||||
private Integer skuId;
|
||||
//属性名称
|
||||
private String productPropertyName;
|
||||
//sku 属性值表
|
||||
@ -116,14 +110,14 @@ private static final long serialVersionUID = 1L;
|
||||
* 商品id
|
||||
* @return
|
||||
*/
|
||||
public Long getProductId() {
|
||||
public Integer getProductId() {
|
||||
return productId;
|
||||
}
|
||||
/**
|
||||
* 商品id
|
||||
* @param productId
|
||||
*/
|
||||
public void setProductId(Long productId) {
|
||||
public void setProductId(Integer productId) {
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
@ -131,47 +125,17 @@ private static final long serialVersionUID = 1L;
|
||||
* skuid
|
||||
* @return
|
||||
*/
|
||||
public Long getSkuId() {
|
||||
public Integer getSkuId() {
|
||||
return skuId;
|
||||
}
|
||||
/**
|
||||
* skuid
|
||||
* @param skuId
|
||||
*/
|
||||
public void setSkuId(Long skuId) {
|
||||
public void setSkuId(Integer skuId) {
|
||||
this.skuId = skuId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品属性id
|
||||
* @return
|
||||
*/
|
||||
public Long getProductPropertyId() {
|
||||
return productPropertyId;
|
||||
}
|
||||
/**
|
||||
* 商品属性id
|
||||
* @param productPropertyId
|
||||
*/
|
||||
public void setProductPropertyId(Long productPropertyId) {
|
||||
this.productPropertyId = productPropertyId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品属性值id
|
||||
* @return
|
||||
*/
|
||||
public Long getProductPropertyValueId() {
|
||||
return productPropertyValueId;
|
||||
}
|
||||
/**
|
||||
* 商品属性值id
|
||||
* @param productPropertyValueId
|
||||
*/
|
||||
public void setProductPropertyValueId(Long productPropertyValueId) {
|
||||
this.productPropertyValueId = productPropertyValueId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 属性名称
|
||||
* @return
|
||||
@ -211,8 +175,6 @@ private static final long serialVersionUID = 1L;
|
||||
",modifyTime=" + modifyTime +
|
||||
",productId=" + productId +
|
||||
",skuId=" + skuId +
|
||||
",productPropertyId=" + productPropertyId +
|
||||
",productPropertyValueId=" + productPropertyValueId +
|
||||
",productPropertyName=" + productPropertyName +
|
||||
",productPropertyValue=" + productPropertyValue +
|
||||
"}";
|
||||
|
||||
@ -48,7 +48,7 @@ public class MysqlMain_update {
|
||||
}
|
||||
List<TablesBean> list = new ArrayList<TablesBean>();
|
||||
|
||||
list.add(new TablesBean("vv_promoter_award_line"));
|
||||
list.add(new TablesBean("vv_sku_property_value"));
|
||||
|
||||
|
||||
Map<String, String> map = MysqlUtil2ShowCreateTable.getComments();
|
||||
|
||||
@ -278,6 +278,14 @@ public class AdminProductController {
|
||||
vvProductDTO.setShowPromotionPrice(vvSkuDTO.getPromotionPrice());
|
||||
vvProductDao.insertOrUpdateVvProduct(vvProductDTO);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***
|
||||
* 插入
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user