SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001718s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029321s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14259284 LIMIT 5 [ RunTime:0.047669s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14259284 ORDER BY `minOrder` ASC [ RunTime:0.019993s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14259284 ORDER BY `unit` DESC [ RunTime:0.018277s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14259284 LIMIT 2 [ RunTime:0.008612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14259284 ORDER BY `minOrder` ASC [ RunTime:0.013563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14265411 LIMIT 5 [ RunTime:0.049289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14265411 ORDER BY `minOrder` ASC [ RunTime:0.045233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14265411 ORDER BY `unit` DESC [ RunTime:0.066832s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14265411 LIMIT 2 [ RunTime:0.044760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14265411 ORDER BY `minOrder` ASC [ RunTime:0.039440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14264990 LIMIT 5 [ RunTime:0.024833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14264990 ORDER BY `minOrder` ASC [ RunTime:0.082961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14264990 ORDER BY `unit` DESC [ RunTime:0.033066s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14264990 LIMIT 2 [ RunTime:0.048326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14264990 ORDER BY `minOrder` ASC [ RunTime:0.041798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14264356 LIMIT 5 [ RunTime:0.035138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14264356 ORDER BY `minOrder` ASC [ RunTime:0.024688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14264356 ORDER BY `unit` DESC [ RunTime:0.053259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14264356 LIMIT 2 [ RunTime:0.059768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14264356 ORDER BY `minOrder` ASC [ RunTime:0.011270s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079045s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64403210 LIMIT 5 [ RunTime:0.037385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64403210 ORDER BY `minOrder` ASC [ RunTime:0.025218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64403210 ORDER BY `unit` DESC [ RunTime:0.039430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64403210 LIMIT 2 [ RunTime:0.048383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64403210 ORDER BY `minOrder` ASC [ RunTime:0.019599s ]
select * from pdf where partno='0078894A7' and brandshort='Magnetics, a division of Spang & Co.' limit 1 [ RunTime:0.018636s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002526s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0078894A7' OR `brand` LIKE 'Magnetics, a division of Spang & Co.%' ) ) LIMIT 1 [ RunTime:0.013710s ]
SELECT `id` FROM `stock` WHERE `id` <> 64403210 AND `partno` = '0078894A7' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%magnetics, a division of spang & co.%' ) [ RunTime:0.024905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14259284 [ RunTime:0.028204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64409231 LIMIT 5 [ RunTime:0.020963s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64409231 ORDER BY `minOrder` ASC [ RunTime:0.092881s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64409231 ORDER BY `unit` DESC [ RunTime:0.032844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64409231 LIMIT 2 [ RunTime:0.016460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64409231 ORDER BY `minOrder` ASC [ RunTime:0.006965s ]
select * from pdf where partno='0078894A7HT19' and brandshort='Magnetics, a division of Spang & Co.' limit 1 [ RunTime:0.031290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0078894A7HT19' OR `brand` LIKE 'Magnetics, a division of Spang & Co.%' ) ) LIMIT 1 [ RunTime:0.021080s ]
SELECT `id` FROM `stock` WHERE `id` <> 64409231 AND `partno` = '0078894A7HT19' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%magnetics, a division of spang & co.%' ) [ RunTime:0.037954s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14265411 [ RunTime:0.013879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64408628 LIMIT 5 [ RunTime:0.000746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64408628 ORDER BY `minOrder` ASC [ RunTime:0.025222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64408628 ORDER BY `unit` DESC [ RunTime:0.023493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64408628 LIMIT 2 [ RunTime:0.008033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64408628 ORDER BY `minOrder` ASC [ RunTime:0.006163s ]
select * from pdf where partno='0078894A7HT15' and brandshort='Magnetics, a division of Spang & Co.' limit 1 [ RunTime:0.008874s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0078894A7HT15' OR `brand` LIKE 'Magnetics, a division of Spang & Co.%' ) ) LIMIT 1 [ RunTime:0.012838s ]
SELECT `id` FROM `stock` WHERE `id` <> 64408628 AND `partno` = '0078894A7HT15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%magnetics, a division of spang & co.%' ) [ RunTime:0.010367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14264990 [ RunTime:0.008482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64407825 LIMIT 5 [ RunTime:0.036460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64407825 ORDER BY `minOrder` ASC [ RunTime:0.028523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64407825 ORDER BY `unit` DESC [ RunTime:0.028595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64407825 LIMIT 2 [ RunTime:0.011071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64407825 ORDER BY `minOrder` ASC [ RunTime:0.007658s ]
select * from pdf where partno='0078894A7S' and brandshort='Magnetics, a division of Spang & Co.' limit 1 [ RunTime:0.006481s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0078894A7S' OR `brand` LIKE 'Magnetics, a division of Spang & Co.%' ) ) LIMIT 1 [ RunTime:0.008721s ]
SELECT `id` FROM `stock` WHERE `id` <> 64407825 AND `partno` = '0078894A7S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%magnetics, a division of spang & co.%' ) [ RunTime:0.009256s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002464s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012051s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004960s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006947s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001170s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004764s ]
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 '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002272s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '0078894A7%' OR `brand` LIKE '0078894A7%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002121s ]