SHOW FULL COLUMNS FROM `stock` [ RunTime:0.016359s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003395s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16635549 LIMIT 5 [ RunTime:0.002645s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16635549 ORDER BY `minOrder` ASC [ RunTime:0.000696s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006758s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16635549 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16635549 LIMIT 2 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16635549 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14769247 LIMIT 5 [ RunTime:0.005308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14769247 ORDER BY `minOrder` ASC [ RunTime:0.000606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14769247 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14769247 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14769247 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14769242 LIMIT 5 [ RunTime:0.000698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14769242 ORDER BY `minOrder` ASC [ RunTime:0.000554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14769242 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14769242 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14769242 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14768016 LIMIT 5 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14768016 ORDER BY `minOrder` ASC [ RunTime:0.000676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14768016 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14768016 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14768016 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14767484 LIMIT 5 [ RunTime:0.000930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14767484 ORDER BY `minOrder` ASC [ RunTime:0.000797s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14767484 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14767484 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14767484 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13875309 LIMIT 5 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13875309 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13875309 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13875309 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13875309 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000878s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64331836 LIMIT 5 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331836 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64331836 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64331836 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331836 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='MG212S-15I5' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.000697s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.010563s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MG212S-15I5' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.000714s ]
SELECT `id` FROM `stock` WHERE `id` <> 64331836 AND `partno` = 'MG212S-15I5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.000594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16635549 [ RunTime:0.000388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64331816 LIMIT 5 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331816 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64331816 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64331816 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331816 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
select * from pdf where partno='MG212S-15I6' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.000675s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MG212S-15I6' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.000476s ]
SELECT `id` FROM `stock` WHERE `id` <> 64331816 AND `partno` = 'MG212S-15I6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14769247 [ RunTime:0.000416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64331804 LIMIT 5 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331804 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64331804 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64331804 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64331804 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='MG212S-15I4' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.000532s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MG212S-15I4' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.000451s ]
SELECT `id` FROM `stock` WHERE `id` <> 64331804 AND `partno` = 'MG212S-15I4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.000493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14769242 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64328929 LIMIT 5 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64328929 ORDER BY `minOrder` ASC [ RunTime:0.001629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64328929 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64328929 LIMIT 2 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64328929 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='MG212S-15' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.002182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MG212S-15' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.000508s ]
SELECT `id` FROM `stock` WHERE `id` <> 64328929 AND `partno` = 'MG212S-15' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.000497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14768016 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64328900 LIMIT 5 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64328900 ORDER BY `minOrder` ASC [ RunTime:0.000810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64328900 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64328900 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64328900 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='MG212S-15I' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.000821s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MG212S-15I' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.000516s ]
SELECT `id` FROM `stock` WHERE `id` <> 64328900 AND `partno` = 'MG212S-15I' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.000523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13875309 [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64327007 LIMIT 5 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64327007 ORDER BY `minOrder` ASC [ RunTime:0.001757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64327007 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64327007 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64327007 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='MG212S-15BI' and brandshort='MicroPower Direct' limit 1 [ RunTime:0.000536s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MG212S-15BI' OR `brand` LIKE 'MicroPower Direct%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT `id` FROM `stock` WHERE `id` <> 64327007 AND `partno` = 'MG212S-15BI' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%micropower direct%' ) [ RunTime:0.000465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14767484 [ RunTime:0.000363s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000745s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000576s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000638s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000760s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000677s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000681s ]
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 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000692s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MG212S-15%' OR `brand` LIKE 'MG212S-15%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000661s ]