SHOW FULL COLUMNS FROM `soshop_bg_country` [ RunTime:0.000700s ]
SELECT * FROM `soshop_bg_country` WHERE `status` = 1 [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `soshop_product` [ RunTime:0.000806s ]
SHOW FULL COLUMNS FROM `soshop_user` [ RunTime:0.000682s ]
SELECT * FROM `soshop_user` WHERE `soshop_user`.`app_id` = '10001' AND `user_id` = 0 LIMIT 1 [ RunTime:0.000470s ]
SHOW FULL COLUMNS FROM `soshop_comment` [ RunTime:0.000708s ]
SELECT *,(SELECT COUNT(*) AS think_count FROM `soshop_comment` `count_table` WHERE `count_table`.`app_id` = '10001' AND `is_delete` = 0 AND `status` = 1 AND ( `count_table`.`product_id` =soshop_product.product_id )) AS `comment_data_count` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1339 LIMIT 1 [ RunTime:0.000651s ]
SHOW FULL COLUMNS FROM `soshop_product_image` [ RunTime:0.000542s ]
SELECT * FROM `soshop_product_image` WHERE `soshop_product_image`.`app_id` = '10001' AND `image_type` = 0 AND `product_id` = 1339 ORDER BY `id` ASC [ RunTime:0.000550s ]
SHOW FULL COLUMNS FROM `soshop_upload_file` [ RunTime:0.000598s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` = 616 [ RunTime:0.000406s ]
SELECT * FROM `soshop_product_image` WHERE `soshop_product_image`.`app_id` = '10001' AND `image_type` = 1 AND `product_id` = 1339 ORDER BY `id` ASC [ RunTime:0.000573s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` = 616 [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `soshop_product_sku` [ RunTime:0.000601s ]
SELECT * FROM `soshop_product_sku` WHERE `soshop_product_sku`.`app_id` = '10001' AND `product_id` = 1339 ORDER BY `product_sku_id` ASC [ RunTime:0.000464s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` = 0 [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `soshop_product_spec_rel` [ RunTime:0.000504s ]
SELECT * FROM `soshop_product_spec_rel` WHERE `soshop_product_spec_rel`.`app_id` = '10001' AND `product_id` = 1339 ORDER BY `id` ASC [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `soshop_delivery` [ RunTime:0.000519s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `soshop_delivery_rule` [ RunTime:0.000547s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000445s ]
SELECT * FROM `soshop_comment` WHERE `soshop_comment`.`app_id` = '10001' AND `is_delete` = 0 AND `status` = 1 AND `product_id` = 1339 [ RunTime:0.000428s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` = 0 [ RunTime:0.000359s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` = 0 [ RunTime:0.000361s ]
SHOW FULL COLUMNS FROM `soshop_category` [ RunTime:0.000552s ]
SELECT `category_id`,`name`,`parent_id`,`path`,`is_input`,`is_attr`,`image_id`,`content`,`images`,`sort` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` IN (1,2) AND `status` = 1 ORDER BY `sort` ASC,`category_id` ASC [ RunTime:0.000437s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` = 0 [ RunTime:0.000359s ]
SELECT `category_id`,`name`,`is_attr`,`sort` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 1 LIMIT 1 [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `soshop_supplier` [ RunTime:0.000836s ]
SELECT * FROM `soshop_supplier` WHERE `soshop_supplier`.`app_id` = '10001' AND `shop_supplier_id` = 1 LIMIT 1 [ RunTime:0.000551s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` = 241 [ RunTime:0.000409s ]
SHOW FULL COLUMNS FROM `soshop_supplier_category` [ RunTime:0.000542s ]
SELECT * FROM `soshop_supplier_category` WHERE `soshop_supplier_category`.`app_id` = '10001' AND `category_id` = 1 [ RunTime:0.000351s ]
SHOW FULL COLUMNS FROM `soshop_supplier_user` [ RunTime:0.000587s ]
SELECT `supplier_user_id` FROM `soshop_supplier_user` WHERE `soshop_supplier_user`.`app_id` = '10001' AND `shop_supplier_id` = 1 LIMIT 1 [ RunTime:0.000363s ]
UPDATE `soshop_product` SET `view_times` = `view_times` + 1 WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1339 [ RunTime:0.005667s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` IN (1,2) AND `status` = 1 [ RunTime:0.000419s ]
SHOW FULL COLUMNS FROM `soshop_setting` [ RunTime:0.000539s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000425s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1339 LIMIT 1 [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `soshop_ware_point` [ RunTime:0.000608s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000363s ]
SHOW FULL COLUMNS FROM `soshop_ware_goods` [ RunTime:0.000822s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3721012181381' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.002565s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000454s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 1 [ RunTime:0.000436s ]
SHOW FULL COLUMNS FROM `soshop_product_attr` [ RunTime:0.000668s ]
SELECT `attr_id`,`val`,`val_fr` FROM `soshop_product_attr` WHERE `soshop_product_attr`.`app_id` = '10001' AND `product_id` = 1339 [ RunTime:0.001077s ]
SHOW FULL COLUMNS FROM `soshop_category_attr` [ RunTime:0.000652s ]
SELECT `id`,`name`,`type`,`is_require` FROM `soshop_category_attr` WHERE `soshop_category_attr`.`app_id` = '10001' AND `category_id` IN (1,2) AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `soshop_category_attr_option` [ RunTime:0.000654s ]
SELECT * FROM `soshop_category_attr_option` WHERE `soshop_category_attr_option`.`app_id` = '10001' AND `status` = 1 AND `attr_id` IN (2,3,4,5,6,7,8,9,10,11) ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000543s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` IN (0,1,2) AND `category_id` <> 1 ORDER BY `path` ASC [ RunTime:0.001339s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `soshop_product` `product` LEFT JOIN `soshop_supplier` `supplier` ON `product`.`shop_supplier_id`=`supplier`.`shop_supplier_id` LEFT JOIN `soshop_product` `sp` ON `sp`.`product_id`=`product`.`supply_product_id` INNER JOIN `soshop_product_sku` `s` ON `s`.`product_id`=`product`.`product_id` LEFT JOIN `soshop_ware_point` `p` ON `p`.`point_id`=`product`.`pickpoint_id` LEFT JOIN `soshop_ware_goods` `g` ON `g`.`ware_id`=p.ware_id and g.sku = s.product_no WHERE `product`.`app_id` = '10001' AND ( FIND_IN_SET('2',product.category_id) ) AND `product`.`product_id` <> '1339' AND `product`.`audit_status` = '10' AND `product`.`product_status` = '10' AND `product`.`audit_status` = '10' AND `product`.`is_delete` = '0' AND `supplier`.`is_delete` = '0' AND `supplier`.`status` = '0' AND `supplier`.`is_recycle` = '0' GROUP BY `product`.`product_id` ) `_group_count_` [ RunTime:0.052257s ]
SELECT `product`.*,(product.sales_initial + product.sales_actual) as product_sales,sp.product_stock as supply_product_stock,( SELECT MIN(product_price) FROM `soshop_product_sku` WHERE `soshop_product_sku`.`app_id` = '10001' AND ( `product`.`product_id` = `product`.`product_id` ) ) AS product_min_price,( SELECT MAX(product_price) FROM `soshop_product_sku` WHERE `soshop_product_sku`.`app_id` = '10001' AND ( `product`.`product_id` = `product`.`product_id` ) ) AS product_max_price FROM `soshop_product` `product` LEFT JOIN `soshop_supplier` `supplier` ON `product`.`shop_supplier_id`=`supplier`.`shop_supplier_id` LEFT JOIN `soshop_product` `sp` ON `sp`.`product_id`=`product`.`supply_product_id` INNER JOIN `soshop_product_sku` `s` ON `s`.`product_id`=`product`.`product_id` LEFT JOIN `soshop_ware_point` `p` ON `p`.`point_id`=`product`.`pickpoint_id` LEFT JOIN `soshop_ware_goods` `g` ON `g`.`ware_id`=p.ware_id and g.sku = s.product_no WHERE `product`.`app_id` = '10001' AND ( FIND_IN_SET('2',product.category_id) ) AND `product`.`product_id` <> '1339' AND `product`.`audit_status` = '10' AND `product`.`product_status` = '10' AND `product`.`audit_status` = '10' AND `product`.`is_delete` = '0' AND `supplier`.`is_delete` = '0' AND `supplier`.`status` = '0' AND `supplier`.`is_recycle` = '0' GROUP BY `product`.`product_id` ORDER BY `product_sort`,`product_id` DESC LIMIT 0,10 [ RunTime:0.693869s ]
SELECT * FROM `soshop_product_image` WHERE `soshop_product_image`.`app_id` = '10001' AND `image_type` = 0 AND `product_id` IN (1750,1749,1748,1747,1746,1745,1738,1737,1736,1735) ORDER BY `id` ASC [ RunTime:0.001137s ]
SELECT * FROM `soshop_upload_file` WHERE `soshop_upload_file`.`app_id` = '10001' AND `file_id` IN (1064,1065,1066,1067,1088,1089,1092,1093,1096,1097) [ RunTime:0.000622s ]
SELECT * FROM `soshop_product_sku` WHERE `soshop_product_sku`.`app_id` = '10001' AND `product_id` IN (1750,1749,1748,1747,1746,1745,1738,1737,1736,1735) ORDER BY `product_sku_id` ASC [ RunTime:0.000728s ]
SELECT `shop_supplier_id`,`name`,`address`,`logo_id`,`commission_rate`,`is_drawback`,`tc_rate` FROM `soshop_supplier` WHERE `soshop_supplier`.`app_id` = '10001' AND `shop_supplier_id` IN (34,1,23) [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `soshop_brand` [ RunTime:0.000725s ]
SELECT `brand_id`,`name` FROM `soshop_brand` WHERE `soshop_brand`.`app_id` = '10001' AND `brand_id` IN (8,2,10) [ RunTime:0.000413s ]
SELECT * FROM `soshop_product_spec_rel` WHERE `soshop_product_spec_rel`.`app_id` = '10001' AND `product_id` IN (1750,1749,1748,1747,1746,1745,1738,1737,1736,1735) ORDER BY `id` ASC [ RunTime:0.000511s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000432s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000453s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000473s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000457s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000412s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000376s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000387s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000375s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000409s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000403s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000379s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000396s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000378s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000404s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000407s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000394s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000380s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000385s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000383s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000370s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000415s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000400s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000380s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000395s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000382s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000406s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000402s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000365s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000385s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000386s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000381s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000405s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000375s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000392s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000379s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000384s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000412s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000399s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000409s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000379s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000379s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000369s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000426s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000428s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000380s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 9 ORDER BY `sort` ASC [ RunTime:0.000374s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.001952s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 1 ORDER BY `sort` ASC [ RunTime:0.000716s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000899s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `status` = 1 AND `parent_id` = 32 ORDER BY `sort` ASC [ RunTime:0.000376s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000386s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000575s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1750 LIMIT 1 [ RunTime:0.000434s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 1 LIMIT 1 [ RunTime:0.000386s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3770003568521' AND `ware_id` = 1 AND `state` = 1 LIMIT 1 [ RunTime:0.001572s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000413s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000533s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1749 LIMIT 1 [ RunTime:0.000378s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 1 LIMIT 1 [ RunTime:0.000319s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3770004352684' AND `ware_id` = 1 AND `state` = 1 LIMIT 1 [ RunTime:0.001443s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000334s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000501s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1748 LIMIT 1 [ RunTime:0.000345s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000357s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3790004758287' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001574s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000468s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000486s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1747 LIMIT 1 [ RunTime:0.000407s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000323s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3790005263285' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001532s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000342s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000478s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1746 LIMIT 1 [ RunTime:0.000348s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000340s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3790006353435' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001589s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000333s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000461s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1745 LIMIT 1 [ RunTime:0.000394s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000357s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3790004244322' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001549s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000332s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000473s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1738 LIMIT 1 [ RunTime:0.000356s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000329s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3770003877561' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001533s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000337s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000454s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1737 LIMIT 1 [ RunTime:0.000451s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000377s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3770002966952' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001585s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000365s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000967s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1736 LIMIT 1 [ RunTime:0.000359s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000365s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3770001855844' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001572s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000360s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000496s ]
SELECT `product_id`,`pickpoint_id`,`shop_supplier_id` FROM `soshop_product` WHERE `soshop_product`.`app_id` = '10001' AND `product_id` = 1735 LIMIT 1 [ RunTime:0.000399s ]
SELECT `ware_id` FROM `soshop_ware_point` WHERE `soshop_ware_point`.`app_id` = '10001' AND `point_id` = 10 LIMIT 1 [ RunTime:0.000325s ]
SELECT `w`.`id`,`w`.`name`,`w`.`hs`,`w`.`barcode`,`h`.`added_tax`,`h`.`expend_tax` FROM `soshop_ware_goods` `w` LEFT JOIN `soshop_bg_hscode` `h` ON `h`.`hs`=`w`.`hs` WHERE `w`.`app_id` = '10001' AND `sku` = '3770002793794' AND `ware_id` = 4 AND `state` = 1 LIMIT 1 [ RunTime:0.001537s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000367s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000482s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 34 [ RunTime:0.000451s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10023 LIMIT 1 [ RunTime:0.000497s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10023 [ RunTime:0.000602s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000413s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000485s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 34 [ RunTime:0.000426s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10023 LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10023 [ RunTime:0.000537s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000387s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.001525s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 1 [ RunTime:0.000495s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000383s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000432s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000322s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000559s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 1 [ RunTime:0.000448s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000423s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000311s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000418s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 1 [ RunTime:0.000490s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000401s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000392s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000298s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000408s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 1 [ RunTime:0.001483s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000418s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.001123s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000419s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000564s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 23 [ RunTime:0.000481s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000414s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000562s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000353s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000614s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 23 [ RunTime:0.000341s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000324s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000373s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000292s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000376s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 23 [ RunTime:0.000402s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000401s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000875s ]
SELECT `category_id`,`name` FROM `soshop_category` WHERE `soshop_category`.`app_id` = '10001' AND `category_id` = 2 AND `status` = 1 [ RunTime:0.000404s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000559s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 23 [ RunTime:0.002330s ]
SELECT * FROM `soshop_delivery` WHERE `soshop_delivery`.`app_id` = '10001' AND `delivery_id` = 10014 LIMIT 1 [ RunTime:0.000430s ]
SELECT * FROM `soshop_delivery_rule` WHERE `soshop_delivery_rule`.`app_id` = '10001' AND `delivery_id` = 10014 [ RunTime:0.000572s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000506s ]
SELECT * FROM `soshop_setting` WHERE `soshop_setting`.`app_id` = '10001' AND `app_id` = 10001 AND `shop_supplier_id` = 0 [ RunTime:0.000564s ]