SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001625s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041233s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.017929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12163645 LIMIT 5 [ RunTime:0.066310s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.039063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12163645 ORDER BY `minOrder` ASC [ RunTime:0.051062s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12163645 ORDER BY `unit` DESC [ RunTime:0.037131s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.053877s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12163645 LIMIT 2 [ RunTime:0.061860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12163645 ORDER BY `minOrder` ASC [ RunTime:0.007079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12163554 LIMIT 5 [ RunTime:0.042275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12163554 ORDER BY `minOrder` ASC [ RunTime:0.028903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12163554 ORDER BY `unit` DESC [ RunTime:0.028878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12163554 LIMIT 2 [ RunTime:0.021035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12163554 ORDER BY `minOrder` ASC [ RunTime:0.023316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181634 LIMIT 5 [ RunTime:0.022843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181634 ORDER BY `minOrder` ASC [ RunTime:0.048989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11181634 ORDER BY `unit` DESC [ RunTime:0.050929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11181634 LIMIT 2 [ RunTime:0.045109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181634 ORDER BY `minOrder` ASC [ RunTime:0.000490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181581 LIMIT 5 [ RunTime:0.031009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181581 ORDER BY `minOrder` ASC [ RunTime:0.051509s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11181581 ORDER BY `unit` DESC [ RunTime:0.044761s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11181581 LIMIT 2 [ RunTime:0.038447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181581 ORDER BY `minOrder` ASC [ RunTime:0.029774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181468 LIMIT 5 [ RunTime:0.034566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181468 ORDER BY `minOrder` ASC [ RunTime:0.024952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11181468 ORDER BY `unit` DESC [ RunTime:0.020904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11181468 LIMIT 2 [ RunTime:0.019928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181468 ORDER BY `minOrder` ASC [ RunTime:0.058742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181439 LIMIT 5 [ RunTime:0.060704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181439 ORDER BY `minOrder` ASC [ RunTime:0.062932s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11181439 ORDER BY `unit` DESC [ RunTime:0.025463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11181439 LIMIT 2 [ RunTime:0.029331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11181439 ORDER BY `minOrder` ASC [ RunTime:0.032921s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023311s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022515s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57570243 LIMIT 5 [ RunTime:0.046552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57570243 ORDER BY `minOrder` ASC [ RunTime:0.058536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57570243 ORDER BY `unit` DESC [ RunTime:0.031850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57570243 LIMIT 2 [ RunTime:0.033698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57570243 ORDER BY `minOrder` ASC [ RunTime:0.012564s ]
select * from pdf where partno='P34-12XA/MHIA' and brandshort='Polytron' limit 1 [ RunTime:0.063569s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P34-12XA/MHIA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.029108s ]
SELECT `id` FROM `stock` WHERE `id` <> 57570243 AND `partno` = 'P34-12XA/MHIA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.071694s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12163645 [ RunTime:0.056339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57570242 LIMIT 5 [ RunTime:0.016666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57570242 ORDER BY `minOrder` ASC [ RunTime:0.066558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57570242 ORDER BY `unit` DESC [ RunTime:0.067126s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57570242 LIMIT 2 [ RunTime:0.035331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57570242 ORDER BY `minOrder` ASC [ RunTime:0.019602s ]
select * from pdf where partno='P34-12X/MHIA' and brandshort='Polytron' limit 1 [ RunTime:0.091949s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P34-12X/MHIA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.069315s ]
SELECT `id` FROM `stock` WHERE `id` <> 57570242 AND `partno` = 'P34-12X/MHIA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.081336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181581 [ RunTime:0.035021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57569977 LIMIT 5 [ RunTime:0.080422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569977 ORDER BY `minOrder` ASC [ RunTime:0.073892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57569977 ORDER BY `unit` DESC [ RunTime:0.028448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57569977 LIMIT 2 [ RunTime:0.063578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569977 ORDER BY `minOrder` ASC [ RunTime:0.051588s ]
select * from pdf where partno='P34-12XE/MHIA' and brandshort='Polytron' limit 1 [ RunTime:0.043816s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P34-12XE/MHIA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.066548s ]
SELECT `id` FROM `stock` WHERE `id` <> 57569977 AND `partno` = 'P34-12XE/MHIA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.067907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181634 [ RunTime:0.011253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57569929 LIMIT 5 [ RunTime:0.120847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569929 ORDER BY `minOrder` ASC [ RunTime:0.081939s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57569929 ORDER BY `unit` DESC [ RunTime:0.051502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57569929 LIMIT 2 [ RunTime:0.083573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569929 ORDER BY `minOrder` ASC [ RunTime:0.052151s ]
select * from pdf where partno='P34-12XA' and brandshort='Polytron' limit 1 [ RunTime:0.036219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P34-12XA' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.068968s ]
SELECT `id` FROM `stock` WHERE `id` <> 57569929 AND `partno` = 'P34-12XA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.083843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181468 [ RunTime:0.104225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57569487 LIMIT 5 [ RunTime:0.066642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569487 ORDER BY `minOrder` ASC [ RunTime:0.021536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57569487 ORDER BY `unit` DESC [ RunTime:0.028009s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57569487 LIMIT 2 [ RunTime:0.050229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569487 ORDER BY `minOrder` ASC [ RunTime:0.032101s ]
select * from pdf where partno='P34-12XE' and brandshort='Polytron' limit 1 [ RunTime:0.066312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P34-12XE' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.038074s ]
SELECT `id` FROM `stock` WHERE `id` <> 57569487 AND `partno` = 'P34-12XE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.064439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12163554 [ RunTime:0.075912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57569253 LIMIT 5 [ RunTime:0.050773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569253 ORDER BY `minOrder` ASC [ RunTime:0.061776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57569253 ORDER BY `unit` DESC [ RunTime:0.055644s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57569253 LIMIT 2 [ RunTime:0.001970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57569253 ORDER BY `minOrder` ASC [ RunTime:0.022843s ]
select * from pdf where partno='P34-12X' and brandshort='Polytron' limit 1 [ RunTime:0.048464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P34-12X' OR `brand` LIKE 'Polytron%' ) ) LIMIT 1 [ RunTime:0.028482s ]
SELECT `id` FROM `stock` WHERE `id` <> 57569253 AND `partno` = 'P34-12X' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%polytron%' ) [ RunTime:0.032515s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11181439 [ RunTime:0.040269s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010006s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019198s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022853s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.093839s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011794s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032158s ]
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 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072247s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P34-12X%' OR `brand` LIKE 'P34-12X%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.024301s ]