SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002683s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017910s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838760 LIMIT 5 [ RunTime:0.023691s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838760 ORDER BY `minOrder` ASC [ RunTime:0.021510s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838760 ORDER BY `unit` DESC [ RunTime:0.016914s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838760 LIMIT 2 [ RunTime:0.004190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838760 ORDER BY `minOrder` ASC [ RunTime:0.006238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838756 LIMIT 5 [ RunTime:0.018212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838756 ORDER BY `minOrder` ASC [ RunTime:0.021929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838756 ORDER BY `unit` DESC [ RunTime:0.018368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838756 LIMIT 2 [ RunTime:0.023784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838756 ORDER BY `minOrder` ASC [ RunTime:0.017901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838747 LIMIT 5 [ RunTime:0.012155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838747 ORDER BY `minOrder` ASC [ RunTime:0.008734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838747 ORDER BY `unit` DESC [ RunTime:0.006519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838747 LIMIT 2 [ RunTime:0.002068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838747 ORDER BY `minOrder` ASC [ RunTime:0.020820s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838745 LIMIT 5 [ RunTime:0.031250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838745 ORDER BY `minOrder` ASC [ RunTime:0.011811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838745 ORDER BY `unit` DESC [ RunTime:0.026072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838745 LIMIT 2 [ RunTime:0.032594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838745 ORDER BY `minOrder` ASC [ RunTime:0.020139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14838741 LIMIT 5 [ RunTime:0.055160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838741 ORDER BY `minOrder` ASC [ RunTime:0.010998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14838741 ORDER BY `unit` DESC [ RunTime:0.030623s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14838741 LIMIT 2 [ RunTime:0.042061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14838741 ORDER BY `minOrder` ASC [ RunTime:0.034165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13937714 LIMIT 5 [ RunTime:0.013214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937714 ORDER BY `minOrder` ASC [ RunTime:0.040126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13937714 ORDER BY `unit` DESC [ RunTime:0.045447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13937714 LIMIT 2 [ RunTime:0.031949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13937714 ORDER BY `minOrder` ASC [ RunTime:0.004891s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039981s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41846778 LIMIT 5 [ RunTime:0.012867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41846778 ORDER BY `minOrder` ASC [ RunTime:0.002562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41846778 ORDER BY `unit` DESC [ RunTime:0.000697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41846778 LIMIT 2 [ RunTime:0.011172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41846778 ORDER BY `minOrder` ASC [ RunTime:0.003199s ]
select * from pdf where partno='101KH20-OTR' and brandshort='YAGEO' limit 1 [ RunTime:0.006763s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH20-OTR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.014767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41846776 LIMIT 5 [ RunTime:0.025236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41846776 ORDER BY `minOrder` ASC [ RunTime:0.001652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41846776 ORDER BY `unit` DESC [ RunTime:0.009363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41846776 LIMIT 2 [ RunTime:0.002892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41846776 ORDER BY `minOrder` ASC [ RunTime:0.006029s ]
select * from pdf where partno='101KH20-OTB' and brandshort='YAGEO' limit 1 [ RunTime:0.000840s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH20-OTB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.002237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41846773 LIMIT 5 [ RunTime:0.007534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41846773 ORDER BY `minOrder` ASC [ RunTime:0.015179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41846773 ORDER BY `unit` DESC [ RunTime:0.012779s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41846773 LIMIT 2 [ RunTime:0.004321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41846773 ORDER BY `minOrder` ASC [ RunTime:0.006182s ]
select * from pdf where partno='101KH20-OP7.5TR' and brandshort='YAGEO' limit 1 [ RunTime:0.010021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH20-OP7.5TR' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.023883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41843371 LIMIT 5 [ RunTime:0.013137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41843371 ORDER BY `minOrder` ASC [ RunTime:0.020920s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41843371 ORDER BY `unit` DESC [ RunTime:0.005684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41843371 LIMIT 2 [ RunTime:0.002924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41843371 ORDER BY `minOrder` ASC [ RunTime:0.021951s ]
select * from pdf where partno='101KH20-OP7.5' and brandshort='YAGEO' limit 1 [ RunTime:0.015088s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH20-OP7.5' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.005366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41843369 LIMIT 5 [ RunTime:0.006928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41843369 ORDER BY `minOrder` ASC [ RunTime:0.006007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41843369 ORDER BY `unit` DESC [ RunTime:0.007878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41843369 LIMIT 2 [ RunTime:0.015686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41843369 ORDER BY `minOrder` ASC [ RunTime:0.010507s ]
select * from pdf where partno='101KH20-O' and brandshort='YAGEO' limit 1 [ RunTime:0.014154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH20-O' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.020450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 41840988 LIMIT 5 [ RunTime:0.007824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41840988 ORDER BY `minOrder` ASC [ RunTime:0.003704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 41840988 ORDER BY `unit` DESC [ RunTime:0.002188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 41840988 LIMIT 2 [ RunTime:0.004837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 41840988 ORDER BY `minOrder` ASC [ RunTime:0.014108s ]
select * from pdf where partno='101KH20-OP7.5TB' and brandshort='YAGEO' limit 1 [ RunTime:0.002507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '101KH20-OP7.5TB' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.018266s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009324s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015619s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002108s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003831s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003832s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015162s ]
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 '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001657s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '101KH20-O%' OR `brand` LIKE '101KH20-O%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.011376s ]