SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001470s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047808s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16403700 LIMIT 5 [ RunTime:0.023913s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16403700 ORDER BY `minOrder` ASC [ RunTime:0.077425s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16403700 ORDER BY `unit` DESC [ RunTime:0.025615s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.019235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16403700 LIMIT 2 [ RunTime:0.022917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16403700 ORDER BY `minOrder` ASC [ RunTime:0.047625s ]
select * from pdf where partno='10603-8-0' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.018906s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14366889 LIMIT 5 [ RunTime:0.128732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14366889 ORDER BY `minOrder` ASC [ RunTime:0.020211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14366889 ORDER BY `unit` DESC [ RunTime:0.022299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14366889 LIMIT 2 [ RunTime:0.061156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14366889 ORDER BY `minOrder` ASC [ RunTime:0.054418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13490904 LIMIT 5 [ RunTime:0.052836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13490904 ORDER BY `minOrder` ASC [ RunTime:0.073627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13490904 ORDER BY `unit` DESC [ RunTime:0.050558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13490904 LIMIT 2 [ RunTime:0.078402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13490904 ORDER BY `minOrder` ASC [ RunTime:0.029963s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035756s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.098299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63059580 LIMIT 5 [ RunTime:0.040615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63059580 ORDER BY `minOrder` ASC [ RunTime:0.030944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63059580 ORDER BY `unit` DESC [ RunTime:0.094653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63059580 LIMIT 2 [ RunTime:0.071403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63059580 ORDER BY `minOrder` ASC [ RunTime:0.035544s ]
select * from pdf where partno='10603-8-0-F871' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.020264s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001486s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10603-8-0-F871' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.012483s ]
SELECT `id` FROM `stock` WHERE `id` <> 63059580 AND `partno` = '10603-8-0-F871' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.103816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14366889 [ RunTime:0.047675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63059448 LIMIT 5 [ RunTime:0.047628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63059448 ORDER BY `minOrder` ASC [ RunTime:0.147561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63059448 ORDER BY `unit` DESC [ RunTime:0.120774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63059448 LIMIT 2 [ RunTime:0.143531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63059448 ORDER BY `minOrder` ASC [ RunTime:0.051030s ]
select * from pdf where partno='10603-8-0CS1803' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.035637s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10603-8-0CS1803' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.051215s ]
SELECT `id` FROM `stock` WHERE `id` <> 63059448 AND `partno` = '10603-8-0CS1803' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.217456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13490904 [ RunTime:0.066829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63051891 LIMIT 5 [ RunTime:0.098524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63051891 ORDER BY `minOrder` ASC [ RunTime:0.147545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63051891 ORDER BY `unit` DESC [ RunTime:0.050679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63051891 LIMIT 2 [ RunTime:0.050602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63051891 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
select * from pdf where partno='10603-8-0' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.028032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10603-8-0' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.005919s ]
SELECT `id` FROM `stock` WHERE `id` <> 63051891 AND `partno` = '10603-8-0' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.097103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16403700 [ RunTime:0.051041s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038354s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.102986s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051434s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117955s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.116295s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.157499s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.181875s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '10603-8-0%' OR `brand` LIKE '10603-8-0%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.077999s ]