SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004472s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003363s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14416454 LIMIT 5 [ RunTime:0.001166s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14416454 ORDER BY `minOrder` ASC [ RunTime:0.001160s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14416454 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14416454 LIMIT 2 [ RunTime:0.000604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14416454 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13514387 LIMIT 5 [ RunTime:0.002718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13514387 ORDER BY `minOrder` ASC [ RunTime:0.001409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13514387 ORDER BY `unit` DESC [ RunTime:0.000431s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13514387 LIMIT 2 [ RunTime:0.002083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13514387 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='M3243 SL001' and brandshort='Alpha Wire' limit 1 [ RunTime:0.003037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13514435 LIMIT 5 [ RunTime:0.002195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13514435 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13514435 ORDER BY `unit` DESC [ RunTime:0.000548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13514435 LIMIT 2 [ RunTime:0.000677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13514435 ORDER BY `minOrder` ASC [ RunTime:0.000474s ]
select * from pdf where partno='M3243 SL005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13516849 LIMIT 5 [ RunTime:0.003122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13516849 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13516849 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13516849 LIMIT 2 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13516849 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='M3243 SL002' and brandshort='Alpha Wire' limit 1 [ RunTime:0.001339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13497150 LIMIT 5 [ RunTime:0.004463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13497150 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13497150 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13497150 LIMIT 2 [ RunTime:0.001804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13497150 ORDER BY `minOrder` ASC [ RunTime:0.000489s ]
select * from pdf where partno='M3243 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.008851s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002090s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63136825 LIMIT 5 [ RunTime:0.001477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63136825 ORDER BY `minOrder` ASC [ RunTime:0.002057s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63136825 ORDER BY `unit` DESC [ RunTime:0.002271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63136825 LIMIT 2 [ RunTime:0.002071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63136825 ORDER BY `minOrder` ASC [ RunTime:0.003296s ]
select * from pdf where partno='M3243' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.000729s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3243' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.002548s ]
SELECT `id` FROM `stock` WHERE `id` <> 63136825 AND `partno` = 'M3243' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.001454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14416454 [ RunTime:0.004107s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63006944 LIMIT 5 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63006944 ORDER BY `minOrder` ASC [ RunTime:0.000977s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63006944 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63006944 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63006944 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='M3243 SL001' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3243 SL001' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT `id` FROM `stock` WHERE `id` <> 63006944 AND `partno` = 'M3243 SL001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13514387 [ RunTime:0.000317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63007034 LIMIT 5 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63007034 ORDER BY `minOrder` ASC [ RunTime:0.000828s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63007034 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63007034 LIMIT 2 [ RunTime:0.002675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63007034 ORDER BY `minOrder` ASC [ RunTime:0.000748s ]
select * from pdf where partno='M3243 SL005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3243 SL005' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000471s ]
SELECT `id` FROM `stock` WHERE `id` <> 63007034 AND `partno` = 'M3243 SL005' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.001008s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13514435 [ RunTime:0.000402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62999653 LIMIT 5 [ RunTime:0.000737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62999653 ORDER BY `minOrder` ASC [ RunTime:0.001410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62999653 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62999653 LIMIT 2 [ RunTime:0.003100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62999653 ORDER BY `minOrder` ASC [ RunTime:0.000664s ]
select * from pdf where partno='M3243 SL002' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000307s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3243 SL002' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000388s ]
SELECT `id` FROM `stock` WHERE `id` <> 62999653 AND `partno` = 'M3243 SL002' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13516849 [ RunTime:0.000441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63142037 LIMIT 5 [ RunTime:0.000868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63142037 ORDER BY `minOrder` ASC [ RunTime:0.002581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63142037 ORDER BY `unit` DESC [ RunTime:0.000961s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63142037 LIMIT 2 [ RunTime:0.001732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63142037 ORDER BY `minOrder` ASC [ RunTime:0.004265s ]
select * from pdf where partno='M3243CB' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.000650s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3243CB' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.001752s ]
SELECT `id` FROM `stock` WHERE `id` <> 63142037 AND `partno` = 'M3243CB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.001321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63012571 LIMIT 5 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63012571 ORDER BY `minOrder` ASC [ RunTime:0.001296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63012571 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63012571 LIMIT 2 [ RunTime:0.002413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63012571 ORDER BY `minOrder` ASC [ RunTime:0.000744s ]
select * from pdf where partno='M3243 SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3243 SL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000433s ]
SELECT `id` FROM `stock` WHERE `id` <> 63012571 AND `partno` = 'M3243 SL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13497150 [ RunTime:0.000380s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003734s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002016s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001268s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002556s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001154s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001235s ]
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 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002727s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'M3243%' OR `brand` LIKE 'M3243%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002311s ]