SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001286s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059199s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14754422 LIMIT 5 [ RunTime:0.090390s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14754422 ORDER BY `minOrder` ASC [ RunTime:0.038925s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.019840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14754422 ORDER BY `unit` DESC [ RunTime:0.077900s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.031372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14754422 LIMIT 2 [ RunTime:0.142808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14754422 ORDER BY `minOrder` ASC [ RunTime:0.025036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13860822 LIMIT 5 [ RunTime:0.144977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13860822 ORDER BY `minOrder` ASC [ RunTime:0.055569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13860822 ORDER BY `unit` DESC [ RunTime:0.133967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13860822 LIMIT 2 [ RunTime:0.024958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13860822 ORDER BY `minOrder` ASC [ RunTime:0.015786s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13848665 LIMIT 5 [ RunTime:0.035846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13848665 ORDER BY `minOrder` ASC [ RunTime:0.142135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13848665 ORDER BY `unit` DESC [ RunTime:0.016947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13848665 LIMIT 2 [ RunTime:0.051377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13848665 ORDER BY `minOrder` ASC [ RunTime:0.018615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13831052 LIMIT 5 [ RunTime:0.052335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831052 ORDER BY `minOrder` ASC [ RunTime:0.051077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13831052 ORDER BY `unit` DESC [ RunTime:0.041909s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13831052 LIMIT 2 [ RunTime:0.074186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831052 ORDER BY `minOrder` ASC [ RunTime:0.145352s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.195403s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58464867 LIMIT 5 [ RunTime:0.043990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58464867 ORDER BY `minOrder` ASC [ RunTime:0.049686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58464867 ORDER BY `unit` DESC [ RunTime:0.081666s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58464867 LIMIT 2 [ RunTime:0.053046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58464867 ORDER BY `minOrder` ASC [ RunTime:0.036075s ]
select * from pdf where partno='1D30' and brandshort='MEC Switches' limit 1 [ RunTime:0.073021s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.008090s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1D30' OR `brand` LIKE 'MEC Switches%' ) ) LIMIT 1 [ RunTime:0.080481s ]
SELECT `id` FROM `stock` WHERE `id` <> 58464867 AND `partno` = '1D30' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mec switches%' ) [ RunTime:0.031978s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41911091 LIMIT 5 [ RunTime:0.033950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41911091 ORDER BY `minOrder` ASC [ RunTime:0.083722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41911091 ORDER BY `unit` DESC [ RunTime:0.035176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41911091 LIMIT 2 [ RunTime:0.051965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41911091 ORDER BY `minOrder` ASC [ RunTime:0.014684s ]
select * from pdf where partno='1D30DL' and brandshort='Altech Corporation' limit 1 [ RunTime:0.063470s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1D30DL' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.071887s ]
SELECT `id` FROM `stock` WHERE `id` <> 41911091 AND `partno` = '1D30DL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.091539s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13831052 [ RunTime:0.094450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41884339 LIMIT 5 [ RunTime:0.206379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41884339 ORDER BY `minOrder` ASC [ RunTime:0.074985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41884339 ORDER BY `unit` DESC [ RunTime:0.107833s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41884339 LIMIT 2 [ RunTime:0.033158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41884339 ORDER BY `minOrder` ASC [ RunTime:0.108184s ]
select * from pdf where partno='1D30UM' and brandshort='Altech Corporation' limit 1 [ RunTime:0.071764s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1D30UM' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.031785s ]
SELECT `id` FROM `stock` WHERE `id` <> 41884339 AND `partno` = '1D30UM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.078385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14754422 [ RunTime:0.041986s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41882415 LIMIT 5 [ RunTime:0.038009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41882415 ORDER BY `minOrder` ASC [ RunTime:0.020324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41882415 ORDER BY `unit` DESC [ RunTime:0.085524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41882415 LIMIT 2 [ RunTime:0.020832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41882415 ORDER BY `minOrder` ASC [ RunTime:0.018318s ]
select * from pdf where partno='1D30UR' and brandshort='Altech Corporation' limit 1 [ RunTime:0.058430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1D30UR' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.053391s ]
SELECT `id` FROM `stock` WHERE `id` <> 41882415 AND `partno` = '1D30UR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.082446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13860822 [ RunTime:0.037235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41871888 LIMIT 5 [ RunTime:0.036036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41871888 ORDER BY `minOrder` ASC [ RunTime:0.080176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41871888 ORDER BY `unit` DESC [ RunTime:0.070996s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41871888 LIMIT 2 [ RunTime:0.022793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41871888 ORDER BY `minOrder` ASC [ RunTime:0.034084s ]
select * from pdf where partno='1D30UL' and brandshort='Altech Corporation' limit 1 [ RunTime:0.018085s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1D30UL' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.056153s ]
SELECT `id` FROM `stock` WHERE `id` <> 41871888 AND `partno` = '1D30UL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.036290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13848665 [ RunTime:0.034534s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034560s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021173s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058115s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024858s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037710s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013709s ]
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 '1D30%' OR `brand` LIKE '1D30%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029393s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1D30%' OR `brand` LIKE '1D30%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017733s ]