diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProduct.java b/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProduct.java index 4edda53..ad58e7a 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProduct.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProduct.java @@ -126,6 +126,8 @@ public class TbProduct implements Serializable { private String specTableHeaders; + private Integer stockNumber; + @Transient private int orderCount; @@ -642,4 +644,12 @@ public class TbProduct implements Serializable { public void setOrderCount(int orderCount) { this.orderCount = orderCount; } -} \ No newline at end of file + + public Integer getStockNumber() { + return stockNumber; + } + + public void setStockNumber(Integer stockNumber) { + this.stockNumber = stockNumber; + } +} diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSku.java b/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSku.java index 4cc6b43..9c387dc 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSku.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/entity/TbProductSku.java @@ -49,5 +49,7 @@ public class TbProductSku implements Serializable { private Long updatedAt; + private Integer isPauseSale = 0; + private static final long serialVersionUID = 1L; -} \ No newline at end of file +} diff --git a/src/main/resources/mapper/TbProductMapper.xml b/src/main/resources/mapper/TbProductMapper.xml index b63d801..577b191 100644 --- a/src/main/resources/mapper/TbProductMapper.xml +++ b/src/main/resources/mapper/TbProductMapper.xml @@ -62,6 +62,7 @@ + @@ -72,21 +73,21 @@ - id, category_id, spec_id, source_path, brand_id, merchant_id, shop_id, name, short_title, - type, pack_fee, low_price, low_member_price, unit_id, unit_snap, cover_img, share_img, - video_cover_img, sort, limit_number, product_score, status, fail_msg, is_recommend, - is_hot, is_new, is_on_sale, is_show, type_enum, is_distribute, is_del, is_stock, - is_pause_sale, is_free_freight, freight_id, strategy_type, strategy_id, is_vip, is_delete, - created_at, updated_at, base_sales_number, real_sales_number, sales_number, thumb_count, - store_count, furnish_meal, furnish_express, furnish_draw, furnish_vir, is_combo, - is_show_cash, is_show_mall, is_need_examine, show_on_mall_status, show_on_mall_time, - show_on_mall_error_msg, enable_label, tax_config_id, spec_table_headers + id, category_id, spec_id, source_path, brand_id, merchant_id, shop_id, name, short_title, + type, pack_fee, low_price, low_member_price, unit_id, unit_snap, cover_img, share_img, + video_cover_img, sort, limit_number, product_score, status, fail_msg, is_recommend, + is_hot, is_new, is_on_sale, is_show, type_enum, is_distribute, is_del, is_stock, + is_pause_sale, is_free_freight, freight_id, strategy_type, strategy_id, is_vip, is_delete, + created_at, updated_at, base_sales_number, real_sales_number, sales_number, thumb_count, + store_count, furnish_meal, furnish_express, furnish_draw, furnish_vir, is_combo, + is_show_cash, is_show_mall, is_need_examine, show_on_mall_status, show_on_mall_time, + show_on_mall_error_msg, enable_label, tax_config_id, spec_table_headers, stock_number images, video, notice, group_snap, spec_info, select_spec - \ No newline at end of file +