[ DB ] CONNECT:[ UseTime:0.027215s ] mysql:dbname=kfw_test;host=rm-8vbr0043pyk836f88ho.mysql.zhangbei.rds.aliyuncs.com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `product_sales_attr` [ RunTime:0.017881s ]
[ SQL ] SELECT * FROM `product_sales_attr` WHERE `id` = 807 [ RunTime:0.021564s ]
[ SQL ] SHOW COLUMNS FROM `product_virtual_category_attr` [ RunTime:0.016622s ]
[ SQL ] SELECT `c`.`id`,`productid`,title virtualtitle,`productsalesattrid` FROM `product_virtual_category_attr` `a` INNER JOIN `product_virtual_category` `c` ON `a`.`productvirtualcategoryid`=`c`.`id` WHERE `productsalesattrid` IN (807) AND `deleted` = 1 [ RunTime:0.017008s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.016204s ]
[ SQL ] SELECT `id`,`title` FROM `product` WHERE `id` IN (29) [ RunTime:0.016860s ]
[ SQL ] SHOW COLUMNS FROM `product_sales_attr_desc` [ RunTime:0.021040s ]
[ SQL ] SELECT * FROM `product_sales_attr_desc` WHERE `productsalesattrid` = 807 [ RunTime:0.018161s ]
[ SQL ] SELECT `c`.`id`,`productid`,title virtualtitle,`productsalesattrid` FROM `product_virtual_category_attr` `a` INNER JOIN `product_virtual_category` `c` ON `a`.`productvirtualcategoryid`=`c`.`id` WHERE `productsalesattrid` IN (807) AND `deleted` = 1 [ RunTime:0.017037s ]
[ SQL ] SELECT * FROM `product_sales_attr` WHERE `productid` = 29 ORDER BY sort asc [ RunTime:0.016972s ]
[ SQL ] SELECT * FROM `product_sales_attr_desc` WHERE `productsalesattrid` IN (807,814) [ RunTime:0.015896s ]
[ SQL ] SELECT `c`.`id`,`productid`,title virtualtitle,`productsalesattrid` FROM `product_virtual_category_attr` `a` INNER JOIN `product_virtual_category` `c` ON `a`.`productvirtualcategoryid`=`c`.`id` WHERE `productsalesattrid` IN (807,814) AND `deleted` = 1 [ RunTime:0.015902s ]
[ SQL ] SHOW COLUMNS FROM `area` [ RunTime:0.016207s ]
[ SQL ] SELECT * FROM `area` WHERE `deleted` = 1 ORDER BY sort ASC [ RunTime:0.045675s ]
[ SQL ] SHOW COLUMNS FROM `product_sku` [ RunTime:0.019546s ]
[ SQL ] SELECT * FROM `product_sku` WHERE `productsalesattrid` = 807 AND `state` = 2 [ RunTime:0.019594s ]
[ SQL ] SHOW COLUMNS FROM `provider_sku` [ RunTime:0.021178s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `provider_sku` `ps` INNER JOIN `provider` `p` ON `p`.`id`=`ps`.`providerid` LEFT JOIN `khcs_customer` `khcus` ON `p`.`id`=`khcus`.`providerid` WHERE `p`.`authentication` = 4 AND `p`.`canreceiveorders` = 2 AND `ps`.`productsalesattrid` = 807 AND `ps`.`state` = 2 AND `ps`.`kfwstate` = 2 AND `ps`.`skustate` = 2 AND `ps`.`area` = '39' AND ( ( `p`.`type` = 5 AND `p`.`kfwzxstate` = 2 AND `p`.`zxstate` = 2 AND `ps`.`isopenzx` = 2 ) OR `p`.`type` <> 5 ) LIMIT 1 [ RunTime:0.019568s ]