SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001302s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067581s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.026772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20090115 LIMIT 5 [ RunTime:0.033510s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20090115 ORDER BY `minOrder` ASC [ RunTime:0.008650s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20090115 ORDER BY `unit` DESC [ RunTime:0.040479s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.008585s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20090115 LIMIT 2 [ RunTime:0.050214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20090115 ORDER BY `minOrder` ASC [ RunTime:0.019160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18929732 LIMIT 5 [ RunTime:0.040149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18929732 ORDER BY `minOrder` ASC [ RunTime:0.043611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18929732 ORDER BY `unit` DESC [ RunTime:0.032493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18929732 LIMIT 2 [ RunTime:0.050340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18929732 ORDER BY `minOrder` ASC [ RunTime:0.036707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16586461 LIMIT 5 [ RunTime:0.035312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16586461 ORDER BY `minOrder` ASC [ RunTime:0.054934s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16586461 ORDER BY `unit` DESC [ RunTime:0.037485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16586461 LIMIT 2 [ RunTime:0.028593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16586461 ORDER BY `minOrder` ASC [ RunTime:0.029961s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043022s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59402749 LIMIT 5 [ RunTime:0.048181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59402749 ORDER BY `minOrder` ASC [ RunTime:0.025184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59402749 ORDER BY `unit` DESC [ RunTime:0.041926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59402749 LIMIT 2 [ RunTime:0.022889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59402749 ORDER BY `minOrder` ASC [ RunTime:0.005191s ]
select * from pdf where partno='675122-000' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.018983s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002581s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '675122-000' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.017510s ]
SELECT `id` FROM `stock` WHERE `id` <> 59402749 AND `partno` = '675122-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.015934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20090115 [ RunTime:0.018823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62849583 LIMIT 5 [ RunTime:0.017092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62849583 ORDER BY `minOrder` ASC [ RunTime:0.013978s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62849583 ORDER BY `unit` DESC [ RunTime:0.013487s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62849583 LIMIT 2 [ RunTime:0.007906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62849583 ORDER BY `minOrder` ASC [ RunTime:0.000626s ]
select * from pdf where partno='6751297-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.004872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6751297-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.016626s ]
SELECT `id` FROM `stock` WHERE `id` <> 62849583 AND `partno` = '6751297-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.001461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16586461 [ RunTime:0.000794s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41380721 LIMIT 5 [ RunTime:0.006494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41380721 ORDER BY `minOrder` ASC [ RunTime:0.001199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41380721 ORDER BY `unit` DESC [ RunTime:0.009651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41380721 LIMIT 2 [ RunTime:0.000518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41380721 ORDER BY `minOrder` ASC [ RunTime:0.008045s ]
select * from pdf where partno='6751211110F' and brandshort='Dialight' limit 1 [ RunTime:0.001004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6751211110F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.001484s ]
SELECT `id` FROM `stock` WHERE `id` <> 41380721 AND `partno` = '6751211110F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.002776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18929732 [ RunTime:0.000771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32597094 LIMIT 5 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32597094 ORDER BY `minOrder` ASC [ RunTime:0.001028s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32597094 ORDER BY `unit` DESC [ RunTime:0.014169s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32597094 LIMIT 2 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32597094 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='67512' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.003672s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67512' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.010027s ]
SELECT `id` FROM `stock` WHERE `id` <> 32597094 AND `partno` = '67512' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.008131s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004016s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006361s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001111s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008978s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008147s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005941s ]
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 '67512%' OR `brand` LIKE '67512%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009045s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '67512%' OR `brand` LIKE '67512%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010332s ]