SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001297s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016770s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16635628 LIMIT 5 [ RunTime:0.012527s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16635628 ORDER BY `minOrder` ASC [ RunTime:0.059093s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001787s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16635628 ORDER BY `unit` DESC [ RunTime:0.069717s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16635628 LIMIT 2 [ RunTime:0.036756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16635628 ORDER BY `minOrder` ASC [ RunTime:0.021664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14769352 LIMIT 5 [ RunTime:0.035344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14769352 ORDER BY `minOrder` ASC [ RunTime:0.073729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14769352 ORDER BY `unit` DESC [ RunTime:0.032188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14769352 LIMIT 2 [ RunTime:0.006068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14769352 ORDER BY `minOrder` ASC [ RunTime:0.026666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14766241 LIMIT 5 [ RunTime:0.025275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14766241 ORDER BY `minOrder` ASC [ RunTime:0.018938s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14766241 ORDER BY `unit` DESC [ RunTime:0.031001s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14766241 LIMIT 2 [ RunTime:0.004129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14766241 ORDER BY `minOrder` ASC [ RunTime:0.044075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14766205 LIMIT 5 [ RunTime:0.022567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14766205 ORDER BY `minOrder` ASC [ RunTime:0.025748s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14766205 ORDER BY `unit` DESC [ RunTime:0.019571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14766205 LIMIT 2 [ RunTime:0.023813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14766205 ORDER BY `minOrder` ASC [ RunTime:0.021103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13876697 LIMIT 5 [ RunTime:0.023455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876697 ORDER BY `minOrder` ASC [ RunTime:0.033249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13876697 ORDER BY `unit` DESC [ RunTime:0.020214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13876697 LIMIT 2 [ RunTime:0.031297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13876697 ORDER BY `minOrder` ASC [ RunTime:0.022555s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033858s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64332021 LIMIT 5 [ RunTime:0.036129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64332021 ORDER BY `minOrder` ASC [ RunTime:0.030160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64332021 ORDER BY `unit` DESC [ RunTime:0.051897s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64332021 LIMIT 2 [ RunTime:0.018613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64332021 ORDER BY `minOrder` ASC [ RunTime:0.012810s ]
select * from pdf where partno='MD124S-07I6' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.007671s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD124S-07I6' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.008498s ]
SELECT `id` FROM `stock` WHERE `id` <> 64332021 AND `partno` = 'MD124S-07I6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.007588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16635628 [ RunTime:0.035438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64332018 LIMIT 5 [ RunTime:0.024468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64332018 ORDER BY `minOrder` ASC [ RunTime:0.027781s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64332018 ORDER BY `unit` DESC [ RunTime:0.025401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64332018 LIMIT 2 [ RunTime:0.020216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64332018 ORDER BY `minOrder` ASC [ RunTime:0.037149s ]
select * from pdf where partno='MD124S-07I5' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.010025s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD124S-07I5' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.021196s ]
SELECT `id` FROM `stock` WHERE `id` <> 64332018 AND `partno` = 'MD124S-07I5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.007901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14769352 [ RunTime:0.015032s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64331989 LIMIT 5 [ RunTime:0.004823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331989 ORDER BY `minOrder` ASC [ RunTime:0.025252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64331989 ORDER BY `unit` DESC [ RunTime:0.015100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64331989 LIMIT 2 [ RunTime:0.006702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331989 ORDER BY `minOrder` ASC [ RunTime:0.003466s ]
select * from pdf where partno='MD124S-07I4' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.001820s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD124S-07I4' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.002848s ]
SELECT `id` FROM `stock` WHERE `id` <> 64331989 AND `partno` = 'MD124S-07I4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.009450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13876697 [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64325345 LIMIT 5 [ RunTime:0.002371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64325345 ORDER BY `minOrder` ASC [ RunTime:0.012124s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64325345 ORDER BY `unit` DESC [ RunTime:0.003156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64325345 LIMIT 2 [ RunTime:0.009047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64325345 ORDER BY `minOrder` ASC [ RunTime:0.018881s ]
select * from pdf where partno='MD124S-07I' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.001224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD124S-07I' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.002445s ]
SELECT `id` FROM `stock` WHERE `id` <> 64325345 AND `partno` = 'MD124S-07I' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.005312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14766241 [ RunTime:0.007994s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64325239 LIMIT 5 [ RunTime:0.004888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64325239 ORDER BY `minOrder` ASC [ RunTime:0.016413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64325239 ORDER BY `unit` DESC [ RunTime:0.015160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64325239 LIMIT 2 [ RunTime:0.029932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64325239 ORDER BY `minOrder` ASC [ RunTime:0.003462s ]
select * from pdf where partno='MD124S-07' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.018885s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MD124S-07' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.022499s ]
SELECT `id` FROM `stock` WHERE `id` <> 64325239 AND `partno` = 'MD124S-07' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.026256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14766205 [ RunTime:0.011444s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058268s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022104s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022082s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014263s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008319s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004706s ]
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 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012803s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MD124S-07%' OR `brand` LIKE 'MD124S-07%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.018555s ]