SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002469s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030764s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16416329 LIMIT 5 [ RunTime:0.039800s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16416329 ORDER BY `minOrder` ASC [ RunTime:0.013913s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.013870s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16416329 ORDER BY `unit` DESC [ RunTime:0.035887s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.018671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16416329 LIMIT 2 [ RunTime:0.027464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16416329 ORDER BY `minOrder` ASC [ RunTime:0.021052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16416299 LIMIT 5 [ RunTime:0.007679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16416299 ORDER BY `minOrder` ASC [ RunTime:0.038505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16416299 ORDER BY `unit` DESC [ RunTime:0.010018s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16416299 LIMIT 2 [ RunTime:0.018557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16416299 ORDER BY `minOrder` ASC [ RunTime:0.008547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11973630 LIMIT 5 [ RunTime:0.007578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11973630 ORDER BY `minOrder` ASC [ RunTime:0.028149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11973630 ORDER BY `unit` DESC [ RunTime:0.010781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11973630 LIMIT 2 [ RunTime:0.021557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11973630 ORDER BY `minOrder` ASC [ RunTime:0.010857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19600654 LIMIT 5 [ RunTime:0.014714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19600654 ORDER BY `minOrder` ASC [ RunTime:0.006495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19600654 ORDER BY `unit` DESC [ RunTime:0.049820s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19600654 LIMIT 2 [ RunTime:0.005900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19600654 ORDER BY `minOrder` ASC [ RunTime:0.010442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14417099 LIMIT 5 [ RunTime:0.025077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14417099 ORDER BY `minOrder` ASC [ RunTime:0.015583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14417099 ORDER BY `unit` DESC [ RunTime:0.017133s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14417099 LIMIT 2 [ RunTime:0.038703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14417099 ORDER BY `minOrder` ASC [ RunTime:0.001956s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012035s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56340982 LIMIT 5 [ RunTime:0.009005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56340982 ORDER BY `minOrder` ASC [ RunTime:0.006280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56340982 ORDER BY `unit` DESC [ RunTime:0.012525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56340982 LIMIT 2 [ RunTime:0.015203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56340982 ORDER BY `minOrder` ASC [ RunTime:0.007357s ]
select * from pdf where partno='226310-000' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.021115s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002536s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '226310-000' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.017485s ]
SELECT `id` FROM `stock` WHERE `id` <> 56340982 AND `partno` = '226310-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.015565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16416299 [ RunTime:0.008294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37607990 LIMIT 5 [ RunTime:0.006877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37607990 ORDER BY `minOrder` ASC [ RunTime:0.013481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37607990 ORDER BY `unit` DESC [ RunTime:0.010854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37607990 LIMIT 2 [ RunTime:0.044444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37607990 ORDER BY `minOrder` ASC [ RunTime:0.002696s ]
select * from pdf where partno='22631' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.011006s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22631' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.005411s ]
SELECT `id` FROM `stock` WHERE `id` <> 37607990 AND `partno` = '22631' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.005320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11973630 [ RunTime:0.011766s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56330851 LIMIT 5 [ RunTime:0.005354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56330851 ORDER BY `minOrder` ASC [ RunTime:0.009234s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56330851 ORDER BY `unit` DESC [ RunTime:0.017094s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56330851 LIMIT 2 [ RunTime:0.016883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56330851 ORDER BY `minOrder` ASC [ RunTime:0.009830s ]
select * from pdf where partno='22631.6' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.010439s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22631.6' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.008460s ]
SELECT `id` FROM `stock` WHERE `id` <> 56330851 AND `partno` = '22631.6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.017569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14417099 [ RunTime:0.035398s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024951s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045591s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017227s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006256s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039062s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040073s ]
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 '22631%' OR `brand` LIKE '22631%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024366s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '22631%' OR `brand` LIKE '22631%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.044476s ]