SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002233s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005687s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18752074 LIMIT 5 [ RunTime:0.014518s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18752074 ORDER BY `minOrder` ASC [ RunTime:0.011908s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.015071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18752074 ORDER BY `unit` DESC [ RunTime:0.009549s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18752074 LIMIT 2 [ RunTime:0.023464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18752074 ORDER BY `minOrder` ASC [ RunTime:0.019279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11185608 LIMIT 5 [ RunTime:0.027991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11185608 ORDER BY `minOrder` ASC [ RunTime:0.020541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11185608 ORDER BY `unit` DESC [ RunTime:0.029080s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11185608 LIMIT 2 [ RunTime:0.030206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11185608 ORDER BY `minOrder` ASC [ RunTime:0.029409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11182116 LIMIT 5 [ RunTime:0.046188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11182116 ORDER BY `minOrder` ASC [ RunTime:0.059852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11182116 ORDER BY `unit` DESC [ RunTime:0.015124s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11182116 LIMIT 2 [ RunTime:0.056373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11182116 ORDER BY `minOrder` ASC [ RunTime:0.031658s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.073016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51086856 LIMIT 5 [ RunTime:0.039941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51086856 ORDER BY `minOrder` ASC [ RunTime:0.049879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51086856 ORDER BY `unit` DESC [ RunTime:0.044218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51086856 LIMIT 2 [ RunTime:0.033464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51086856 ORDER BY `minOrder` ASC [ RunTime:0.002926s ]
select * from pdf where partno='38032aaxl' and brandshort='amphenol auxel' limit 1 [ RunTime:0.116525s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '38032aaxl' OR `brand` LIKE 'amphenol auxel%' ) ) LIMIT 1 [ RunTime:0.042163s ]
SELECT `id` FROM `stock` WHERE `id` <> 51086856 AND `partno` = '38032aaxl' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol auxel%' ) [ RunTime:0.068337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32306561 LIMIT 5 [ RunTime:0.077735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32306561 ORDER BY `minOrder` ASC [ RunTime:0.052941s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32306561 ORDER BY `unit` DESC [ RunTime:0.023800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32306561 LIMIT 2 [ RunTime:0.007784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32306561 ORDER BY `minOrder` ASC [ RunTime:0.007801s ]
select * from pdf where partno='38032-0000-21-3' and brandshort='jumptec' limit 1 [ RunTime:0.016448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '38032-0000-21-3' OR `brand` LIKE 'jumptec%' ) ) LIMIT 1 [ RunTime:0.001160s ]
SELECT `id` FROM `stock` WHERE `id` <> 32306561 AND `partno` = '38032-0000-21-3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%jumptec%' ) [ RunTime:0.000775s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60989277 LIMIT 5 [ RunTime:0.014191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60989277 ORDER BY `minOrder` ASC [ RunTime:0.014804s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60989277 ORDER BY `unit` DESC [ RunTime:0.005277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60989277 LIMIT 2 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60989277 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='38032' and brandshort='Altech Corporation' limit 1 [ RunTime:0.008159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '38032' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.024981s ]
SELECT `id` FROM `stock` WHERE `id` <> 60989277 AND `partno` = '38032' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.013109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58207791 LIMIT 5 [ RunTime:0.014443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58207791 ORDER BY `minOrder` ASC [ RunTime:0.000982s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58207791 ORDER BY `unit` DESC [ RunTime:0.020366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58207791 LIMIT 2 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58207791 ORDER BY `minOrder` ASC [ RunTime:0.003811s ]
select * from pdf where partno='3803241' and brandshort='Altech Corporation' limit 1 [ RunTime:0.001745s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3803241' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.002979s ]
SELECT `id` FROM `stock` WHERE `id` <> 58207791 AND `partno` = '3803241' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.007208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58207785 LIMIT 5 [ RunTime:0.020631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58207785 ORDER BY `minOrder` ASC [ RunTime:0.007637s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58207785 ORDER BY `unit` DESC [ RunTime:0.008213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58207785 LIMIT 2 [ RunTime:0.008554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58207785 ORDER BY `minOrder` ASC [ RunTime:0.009596s ]
select * from pdf where partno='3803221' and brandshort='Altech Corporation' limit 1 [ RunTime:0.004249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3803221' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.029748s ]
SELECT `id` FROM `stock` WHERE `id` <> 58207785 AND `partno` = '3803221' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.012732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63507131 LIMIT 5 [ RunTime:0.000701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63507131 ORDER BY `minOrder` ASC [ RunTime:0.012050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63507131 ORDER BY `unit` DESC [ RunTime:0.012577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63507131 LIMIT 2 [ RunTime:0.021330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63507131 ORDER BY `minOrder` ASC [ RunTime:0.002236s ]
select * from pdf where partno='380320' and brandshort='FLIR Extech' limit 1 [ RunTime:0.006638s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '380320' OR `brand` LIKE 'FLIR Extech%' ) ) LIMIT 1 [ RunTime:0.004645s ]
SELECT `id` FROM `stock` WHERE `id` <> 63507131 AND `partno` = '380320' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%flir extech%' ) [ RunTime:0.014916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11182116 [ RunTime:0.016193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58207788 LIMIT 5 [ RunTime:0.008965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58207788 ORDER BY `minOrder` ASC [ RunTime:0.005523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58207788 ORDER BY `unit` DESC [ RunTime:0.019386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58207788 LIMIT 2 [ RunTime:0.015534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58207788 ORDER BY `minOrder` ASC [ RunTime:0.017648s ]
select * from pdf where partno='3803231' and brandshort='Altech Corporation' limit 1 [ RunTime:0.003993s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3803231' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.006235s ]
SELECT `id` FROM `stock` WHERE `id` <> 58207788 AND `partno` = '3803231' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000890s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003654s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011807s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012799s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006778s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049929s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014142s ]
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 '38032%' OR `brand` LIKE '38032%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004216s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '38032%' OR `brand` LIKE '38032%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.037853s ]