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