...
|
...
|
@@ -19,7 +19,7 @@ class Shopping |
|
|
|
|
|
const SELECT_BUY_GOODS_NUMBER = 'SELECT sum(buy_number) as number FROM `orders_goods` as og left join `orders` as o on o.order_code =og.order_code WHERE og.product_sku=:product_sku and o.order_status < :order_status';
|
|
|
|
|
|
const INSERT_ORDERS_GOODS_INFO = 'insert into `orders_goods_info` (`order_code`,`product_skc`,`product_sku`,`buy_number`,`goods_type`,`quality_level`,`sale_price`,`last_price`,`store_id`,`color_id`,`brand_id`,`goods_images`,`color_name`,`goods_name`,`size_name`,`max_category_id`,`middle_category_id`,`small_category_id`,`gender`) values (:order_code,:product_skc,:product_sku,:buy_number,:goods_type,:quality_level,:sale_price,:last_price,:store_id,:color_id,:brand_id,:goods_images,:color_name,:goods_name,:size_name,:max_category_id,:middle_category_id,:small_category_id,:gender)';
|
|
|
const INSERT_ORDERS_GOODS_INFO = 'insert into `orders_goods_info` (`order_code`,`product_skc`,`product_sku`,`buy_number`,`goods_type`,`quality_level`,`sale_price`,`last_price`,`store_id`,`color_id`,`brand_id`,`goods_images`,`color_name`,`goods_name`,`size_name`,`max_category_id`,`middle_category_id`,`small_category_id`,`gender`,`shipping_fee`) values (:order_code,:product_skc,:product_sku,:buy_number,:goods_type,:quality_level,:sale_price,:last_price,:store_id,:color_id,:brand_id,:goods_images,:color_name,:goods_name,:size_name,:max_category_id,:middle_category_id,:small_category_id,:gender,:shipping_fee)';
|
|
|
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|