SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002751s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033100s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009974s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14835600 LIMIT 5 [ RunTime:0.017285s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.024929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835600 ORDER BY `minOrder` ASC [ RunTime:0.026505s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002750s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14835600 ORDER BY `unit` DESC [ RunTime:0.028780s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001797s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14835600 LIMIT 2 [ RunTime:0.025900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835600 ORDER BY `minOrder` ASC [ RunTime:0.022309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14835139 LIMIT 5 [ RunTime:0.033582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835139 ORDER BY `minOrder` ASC [ RunTime:0.016676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14835139 ORDER BY `unit` DESC [ RunTime:0.043716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14835139 LIMIT 2 [ RunTime:0.048838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835139 ORDER BY `minOrder` ASC [ RunTime:0.016551s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14835134 LIMIT 5 [ RunTime:0.063822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835134 ORDER BY `minOrder` ASC [ RunTime:0.058050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14835134 ORDER BY `unit` DESC [ RunTime:0.073087s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14835134 LIMIT 2 [ RunTime:0.006018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14835134 ORDER BY `minOrder` ASC [ RunTime:0.021892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14834860 LIMIT 5 [ RunTime:0.025645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834860 ORDER BY `minOrder` ASC [ RunTime:0.028070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14834860 ORDER BY `unit` DESC [ RunTime:0.027294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14834860 LIMIT 2 [ RunTime:0.075560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834860 ORDER BY `minOrder` ASC [ RunTime:0.013175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14834856 LIMIT 5 [ RunTime:0.025214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834856 ORDER BY `minOrder` ASC [ RunTime:0.057160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14834856 ORDER BY `unit` DESC [ RunTime:0.039740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14834856 LIMIT 2 [ RunTime:0.025907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14834856 ORDER BY `minOrder` ASC [ RunTime:0.034169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13934677 LIMIT 5 [ RunTime:0.040912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13934677 ORDER BY `minOrder` ASC [ RunTime:0.040966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13934677 ORDER BY `unit` DESC [ RunTime:0.092085s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13934677 LIMIT 2 [ RunTime:0.041535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13934677 ORDER BY `minOrder` ASC [ RunTime:0.027260s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038759s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.109204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41824712 LIMIT 5 [ RunTime:0.015751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824712 ORDER BY `minOrder` ASC [ RunTime:0.060637s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41824712 ORDER BY `unit` DESC [ RunTime:0.058619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41824712 LIMIT 2 [ RunTime:0.025732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824712 ORDER BY `minOrder` ASC [ RunTime:0.027382s ]
select * from pdf where partno='561KD14-OTB' and brandshort='YAGEO' limit 1 [ RunTime:0.032357s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '561KD14-OTB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.022980s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41824706 LIMIT 5 [ RunTime:0.025166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824706 ORDER BY `minOrder` ASC [ RunTime:0.017455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41824706 ORDER BY `unit` DESC [ RunTime:0.059094s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41824706 LIMIT 2 [ RunTime:0.044846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824706 ORDER BY `minOrder` ASC [ RunTime:0.015543s ]
select * from pdf where partno='561KD14-OP10TB' and brandshort='YAGEO' limit 1 [ RunTime:0.018707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '561KD14-OP10TB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.022523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41824651 LIMIT 5 [ RunTime:0.027035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824651 ORDER BY `minOrder` ASC [ RunTime:0.022623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41824651 ORDER BY `unit` DESC [ RunTime:0.022399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41824651 LIMIT 2 [ RunTime:0.043645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824651 ORDER BY `minOrder` ASC [ RunTime:0.009381s ]
select * from pdf where partno='561KD14-OTR' and brandshort='YAGEO' limit 1 [ RunTime:0.013040s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '561KD14-OTR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.053816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41824538 LIMIT 5 [ RunTime:0.008730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824538 ORDER BY `minOrder` ASC [ RunTime:0.016223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41824538 ORDER BY `unit` DESC [ RunTime:0.021475s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41824538 LIMIT 2 [ RunTime:0.009871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41824538 ORDER BY `minOrder` ASC [ RunTime:0.005242s ]
select * from pdf where partno='561KD14-OP10TR' and brandshort='YAGEO' limit 1 [ RunTime:0.002276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '561KD14-OP10TR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.016423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41821430 LIMIT 5 [ RunTime:0.021153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41821430 ORDER BY `minOrder` ASC [ RunTime:0.034344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41821430 ORDER BY `unit` DESC [ RunTime:0.005542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41821430 LIMIT 2 [ RunTime:0.003373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41821430 ORDER BY `minOrder` ASC [ RunTime:0.005611s ]
select * from pdf where partno='561KD14-O' and brandshort='YAGEO' limit 1 [ RunTime:0.014027s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '561KD14-O' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.010653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41821410 LIMIT 5 [ RunTime:0.003758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41821410 ORDER BY `minOrder` ASC [ RunTime:0.037034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41821410 ORDER BY `unit` DESC [ RunTime:0.045446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41821410 LIMIT 2 [ RunTime:0.014838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41821410 ORDER BY `minOrder` ASC [ RunTime:0.016062s ]
select * from pdf where partno='561KD14-OP10' and brandshort='YAGEO' limit 1 [ RunTime:0.007019s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '561KD14-OP10' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.002696s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038676s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043124s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038039s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036037s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014248s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033742s ]
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 '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087774s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '561KD14-O%' OR `brand` LIKE '561KD14-O%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.102900s ]