SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001414s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.093651s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005240s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19573560 LIMIT 5 [ RunTime:0.033943s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19573560 ORDER BY `minOrder` ASC [ RunTime:0.079897s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.019593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19573560 ORDER BY `unit` DESC [ RunTime:0.039229s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.012642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19573560 LIMIT 2 [ RunTime:0.023865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19573560 ORDER BY `minOrder` ASC [ RunTime:0.025613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19573685 LIMIT 5 [ RunTime:0.040715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19573685 ORDER BY `minOrder` ASC [ RunTime:0.018809s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19573685 ORDER BY `unit` DESC [ RunTime:0.014714s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19573685 LIMIT 2 [ RunTime:0.052143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19573685 ORDER BY `minOrder` ASC [ RunTime:0.042324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19513522 LIMIT 5 [ RunTime:0.035665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19513522 ORDER BY `minOrder` ASC [ RunTime:0.071430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19513522 ORDER BY `unit` DESC [ RunTime:0.035674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19513522 LIMIT 2 [ RunTime:0.023145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19513522 ORDER BY `minOrder` ASC [ RunTime:0.017062s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17297156 LIMIT 5 [ RunTime:0.034066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17297156 ORDER BY `minOrder` ASC [ RunTime:0.022636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17297156 ORDER BY `unit` DESC [ RunTime:0.030907s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17297156 LIMIT 2 [ RunTime:0.016085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17297156 ORDER BY `minOrder` ASC [ RunTime:0.017123s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14245339 LIMIT 5 [ RunTime:0.004766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14245339 ORDER BY `minOrder` ASC [ RunTime:0.003667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14245339 ORDER BY `unit` DESC [ RunTime:0.003392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14245339 LIMIT 2 [ RunTime:0.027800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14245339 ORDER BY `minOrder` ASC [ RunTime:0.014209s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010902s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60372661 LIMIT 5 [ RunTime:0.002267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60372661 ORDER BY `minOrder` ASC [ RunTime:0.030664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60372661 ORDER BY `unit` DESC [ RunTime:0.008967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60372661 LIMIT 2 [ RunTime:0.018815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60372661 ORDER BY `minOrder` ASC [ RunTime:0.002710s ]
select * from pdf where partno='533050-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.006641s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '533050-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.004126s ]
SELECT `id` FROM `stock` WHERE `id` <> 60372661 AND `partno` = '533050-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.009101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19573560 [ RunTime:0.005782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64020260 LIMIT 5 [ RunTime:0.016085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64020260 ORDER BY `minOrder` ASC [ RunTime:0.009299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64020260 ORDER BY `unit` DESC [ RunTime:0.000679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64020260 LIMIT 2 [ RunTime:0.006169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64020260 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
select * from pdf where partno='53305-698' and brandshort='Custom Computer Services Inc. CCS' limit 1 [ RunTime:0.006781s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53305-698' OR `brand` LIKE 'Custom Computer Services Inc. (CCS)%' ) ) LIMIT 1 [ RunTime:0.002089s ]
SELECT `id` FROM `stock` WHERE `id` <> 64020260 AND `partno` = '53305-698' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%custom computer services inc.%' ) [ RunTime:0.003407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19513522 [ RunTime:0.005710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58515703 LIMIT 5 [ RunTime:0.001105s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58515703 ORDER BY `minOrder` ASC [ RunTime:0.007775s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58515703 ORDER BY `unit` DESC [ RunTime:0.000655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58515703 LIMIT 2 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58515703 ORDER BY `minOrder` ASC [ RunTime:0.002222s ]
select * from pdf where partno='53305' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.003144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53305' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.003403s ]
SELECT `id` FROM `stock` WHERE `id` <> 58515703 AND `partno` = '53305' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.001502s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005927s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004140s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002618s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003832s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009409s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002725s ]
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 '53305%' OR `brand` LIKE '53305%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001460s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '53305%' OR `brand` LIKE '53305%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.007171s ]