SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001424s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004083s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13512832 LIMIT 5 [ RunTime:0.004929s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13512832 ORDER BY `minOrder` ASC [ RunTime:0.008443s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13512832 ORDER BY `unit` DESC [ RunTime:0.007127s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13512832 LIMIT 2 [ RunTime:0.005791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13512832 ORDER BY `minOrder` ASC [ RunTime:0.001557s ]
select * from pdf where partno='45058 BK005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.005350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14389902 LIMIT 5 [ RunTime:0.005520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14389902 ORDER BY `minOrder` ASC [ RunTime:0.003168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14389902 ORDER BY `unit` DESC [ RunTime:0.003765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14389902 LIMIT 2 [ RunTime:0.005603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14389902 ORDER BY `minOrder` ASC [ RunTime:0.008109s ]
select * from pdf where partno='45058 BK199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.003348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13504978 LIMIT 5 [ RunTime:0.002056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13504978 ORDER BY `minOrder` ASC [ RunTime:0.002997s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13504978 ORDER BY `unit` DESC [ RunTime:0.002262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13504978 LIMIT 2 [ RunTime:0.006297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13504978 ORDER BY `minOrder` ASC [ RunTime:0.009941s ]
select * from pdf where partno='45058 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.002789s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11183817 LIMIT 5 [ RunTime:0.001722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11183817 ORDER BY `minOrder` ASC [ RunTime:0.002344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11183817 ORDER BY `unit` DESC [ RunTime:0.000461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11183817 LIMIT 2 [ RunTime:0.003977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11183817 ORDER BY `minOrder` ASC [ RunTime:0.001988s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51137778 LIMIT 5 [ RunTime:0.000784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51137778 ORDER BY `minOrder` ASC [ RunTime:0.002426s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51137778 ORDER BY `unit` DESC [ RunTime:0.000548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51137778 LIMIT 2 [ RunTime:0.001524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51137778 ORDER BY `minOrder` ASC [ RunTime:0.000892s ]
select * from pdf where partno='45058 bk005' and brandshort='alpha wire' limit 1 [ RunTime:0.003760s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45058 bk005' OR `brand` LIKE 'alpha wire%' ) ) LIMIT 1 [ RunTime:0.000889s ]
SELECT `id` FROM `stock` WHERE `id` <> 51137778 AND `partno` = '45058 bk005' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.002841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13512832 [ RunTime:0.002886s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56181238 LIMIT 5 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56181238 ORDER BY `minOrder` ASC [ RunTime:0.002589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56181238 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56181238 LIMIT 2 [ RunTime:0.002788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56181238 ORDER BY `minOrder` ASC [ RunTime:0.000820s ]
select * from pdf where partno='45058 BK005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45058 BK005' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000658s ]
SELECT `id` FROM `stock` WHERE `id` <> 56181238 AND `partno` = '45058 BK005' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.001176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13512832 [ RunTime:0.001383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56206041 LIMIT 5 [ RunTime:0.000604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56206041 ORDER BY `minOrder` ASC [ RunTime:0.001816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56206041 ORDER BY `unit` DESC [ RunTime:0.003097s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56206041 LIMIT 2 [ RunTime:0.006234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56206041 ORDER BY `minOrder` ASC [ RunTime:0.002078s ]
select * from pdf where partno='45058 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000568s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45058 SL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000834s ]
SELECT `id` FROM `stock` WHERE `id` <> 56206041 AND `partno` = '45058 SL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.001296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13504978 [ RunTime:0.000689s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56193429 LIMIT 5 [ RunTime:0.001905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56193429 ORDER BY `minOrder` ASC [ RunTime:0.001966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56193429 ORDER BY `unit` DESC [ RunTime:0.000661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56193429 LIMIT 2 [ RunTime:0.001039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56193429 ORDER BY `minOrder` ASC [ RunTime:0.003166s ]
select * from pdf where partno='45058 BK199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.002575s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '45058 BK199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.001792s ]
SELECT `id` FROM `stock` WHERE `id` <> 56193429 AND `partno` = '45058 BK199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.001164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14389902 [ RunTime:0.000705s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001467s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001526s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001438s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003542s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001490s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001522s ]
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 '45058%' OR `brand` LIKE '45058%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001539s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '45058%' OR `brand` LIKE '45058%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001571s ]