SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001766s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008807s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13244857 LIMIT 5 [ RunTime:0.000687s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13244857 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13244857 ORDER BY `unit` DESC [ RunTime:0.007378s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001001s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13244857 LIMIT 2 [ RunTime:0.002503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13244857 ORDER BY `minOrder` ASC [ RunTime:0.005077s ]
select * from pdf where partno='OM-O2P' and brandshort='Onion Corporation' limit 1 [ RunTime:0.001596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12407664 LIMIT 5 [ RunTime:0.007828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12407664 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12407664 ORDER BY `unit` DESC [ RunTime:0.011592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12407664 LIMIT 2 [ RunTime:0.005669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12407664 ORDER BY `minOrder` ASC [ RunTime:0.004391s ]
select * from pdf where partno='OM-O2PRO' and brandshort='Onion Corporation' limit 1 [ RunTime:0.006777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11344646 LIMIT 5 [ RunTime:0.000872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11344646 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11344646 ORDER BY `unit` DESC [ RunTime:0.004739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11344646 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11344646 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
select * from pdf where partno='OM-O2P-EVAL' and brandshort='Onion Corporation' limit 1 [ RunTime:0.003164s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32306533 LIMIT 5 [ RunTime:0.009912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32306533 ORDER BY `minOrder` ASC [ RunTime:0.010744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32306533 ORDER BY `unit` DESC [ RunTime:0.002155s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32306533 LIMIT 2 [ RunTime:0.003140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32306533 ORDER BY `minOrder` ASC [ RunTime:0.003793s ]
select * from pdf where partno='om-o2pro' and brandshort='onion' limit 1 [ RunTime:0.000837s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'om-o2pro' OR `brand` LIKE 'onion%' ) ) LIMIT 1 [ RunTime:0.002101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51110362 LIMIT 5 [ RunTime:0.012028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51110362 ORDER BY `minOrder` ASC [ RunTime:0.001465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51110362 ORDER BY `unit` DESC [ RunTime:0.009357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51110362 LIMIT 2 [ RunTime:0.014728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51110362 ORDER BY `minOrder` ASC [ RunTime:0.008647s ]
select * from pdf where partno='om-o2p-eval' and brandshort='onion' limit 1 [ RunTime:0.013345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'om-o2p-eval' OR `brand` LIKE 'onion%' ) ) LIMIT 1 [ RunTime:0.011271s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64217038 LIMIT 5 [ RunTime:0.000897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64217038 ORDER BY `minOrder` ASC [ RunTime:0.003073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64217038 ORDER BY `unit` DESC [ RunTime:0.010657s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64217038 LIMIT 2 [ RunTime:0.003211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64217038 ORDER BY `minOrder` ASC [ RunTime:0.003745s ]
select * from pdf where partno='OM-O2P' and brandshort='Onion Corporation' limit 1 [ RunTime:0.001094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OM-O2P' OR `brand` LIKE 'Onion Corporation%' ) ) LIMIT 1 [ RunTime:0.006069s ]
SELECT `id` FROM `stock` WHERE `id` <> 64217038 AND `partno` = 'OM-O2P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onion corporation%' ) [ RunTime:0.015033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13244857 [ RunTime:0.010761s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64821238 LIMIT 5 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64821238 ORDER BY `minOrder` ASC [ RunTime:0.006832s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64821238 ORDER BY `unit` DESC [ RunTime:0.004188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64821238 LIMIT 2 [ RunTime:0.008415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64821238 ORDER BY `minOrder` ASC [ RunTime:0.008216s ]
select * from pdf where partno='OM-O2PRO' and brandshort='Onion Corporation' limit 1 [ RunTime:0.006011s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OM-O2PRO' OR `brand` LIKE 'Onion Corporation%' ) ) LIMIT 1 [ RunTime:0.023405s ]
SELECT `id` FROM `stock` WHERE `id` <> 64821238 AND `partno` = 'OM-O2PRO' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onion corporation%' ) [ RunTime:0.016403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12407664 [ RunTime:0.018690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64821074 LIMIT 5 [ RunTime:0.013627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64821074 ORDER BY `minOrder` ASC [ RunTime:0.009650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64821074 ORDER BY `unit` DESC [ RunTime:0.005164s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64821074 LIMIT 2 [ RunTime:0.002344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64821074 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
select * from pdf where partno='OM-O2P-EVAL' and brandshort='Onion Corporation' limit 1 [ RunTime:0.000577s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OM-O2P-EVAL' OR `brand` LIKE 'Onion Corporation%' ) ) LIMIT 1 [ RunTime:0.000971s ]
SELECT `id` FROM `stock` WHERE `id` <> 64821074 AND `partno` = 'OM-O2P-EVAL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onion corporation%' ) [ RunTime:0.019044s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11344646 [ RunTime:0.015826s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018972s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008545s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015194s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002152s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013682s ]
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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '9' 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 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002941s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'OM-O2P%' OR `brand` LIKE 'OM-O2P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004200s ]