SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002809s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060855s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.010143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392765 LIMIT 5 [ RunTime:0.059784s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.011449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392765 ORDER BY `minOrder` ASC [ RunTime:0.097897s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.023646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12392765 ORDER BY `unit` DESC [ RunTime:0.052222s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12392765 LIMIT 2 [ RunTime:0.092948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392765 ORDER BY `minOrder` ASC [ RunTime:0.085811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13427177 LIMIT 5 [ RunTime:0.088163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13427177 ORDER BY `minOrder` ASC [ RunTime:0.083478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13427177 ORDER BY `unit` DESC [ RunTime:0.071002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13427177 LIMIT 2 [ RunTime:0.055801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13427177 ORDER BY `minOrder` ASC [ RunTime:0.020158s ]
select * from pdf where partno='15334C' and brandshort='Murata Power Solutions Inc.' limit 1 [ RunTime:0.083157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19273343 LIMIT 5 [ RunTime:0.063712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19273343 ORDER BY `minOrder` ASC [ RunTime:0.089427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19273343 ORDER BY `unit` DESC [ RunTime:0.037879s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19273343 LIMIT 2 [ RunTime:0.038554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19273343 ORDER BY `minOrder` ASC [ RunTime:0.035561s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047401s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021775s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63127986 LIMIT 5 [ RunTime:0.026242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63127986 ORDER BY `minOrder` ASC [ RunTime:0.039322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63127986 ORDER BY `unit` DESC [ RunTime:0.024853s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63127986 LIMIT 2 [ RunTime:0.014654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63127986 ORDER BY `minOrder` ASC [ RunTime:0.005392s ]
select * from pdf where partno='15334B' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.021432s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002406s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15334B' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.038515s ]
SELECT `id` FROM `stock` WHERE `id` <> 63127986 AND `partno` = '15334B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.047814s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64049845 LIMIT 5 [ RunTime:0.074711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64049845 ORDER BY `minOrder` ASC [ RunTime:0.051875s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64049845 ORDER BY `unit` DESC [ RunTime:0.041243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64049845 LIMIT 2 [ RunTime:0.056371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64049845 ORDER BY `minOrder` ASC [ RunTime:0.052927s ]
select * from pdf where partno='15334' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.049345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15334' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.014214s ]
SELECT `id` FROM `stock` WHERE `id` <> 64049845 AND `partno` = '15334' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.006716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392765 [ RunTime:0.003894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 40566401 LIMIT 5 [ RunTime:0.019808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40566401 ORDER BY `minOrder` ASC [ RunTime:0.014846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 40566401 ORDER BY `unit` DESC [ RunTime:0.018956s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 40566401 LIMIT 2 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40566401 ORDER BY `minOrder` ASC [ RunTime:0.000664s ]
select * from pdf where partno='15334C' and brandshort='Murata Power Solutions Inc.' limit 1 [ RunTime:0.000792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15334C' OR `brand` LIKE 'Murata Power Solutions Inc.%' ) ) LIMIT 1 [ RunTime:0.000910s ]
SELECT `id` FROM `stock` WHERE `id` <> 40566401 AND `partno` = '15334C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murata power solutions inc.%' ) [ RunTime:0.001684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13427177 [ RunTime:0.001125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43771438 LIMIT 5 [ RunTime:0.000815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43771438 ORDER BY `minOrder` ASC [ RunTime:0.001469s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43771438 ORDER BY `unit` DESC [ RunTime:0.009556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43771438 LIMIT 2 [ RunTime:0.001597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43771438 ORDER BY `minOrder` ASC [ RunTime:0.000456s ]
select * from pdf where partno='15334.2' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.001975s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15334.2' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.008585s ]
SELECT `id` FROM `stock` WHERE `id` <> 43771438 AND `partno` = '15334.2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.005029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19273343 [ RunTime:0.002616s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006878s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006733s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010312s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003377s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010242s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013215s ]
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 '15334%' OR `brand` LIKE '15334%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003185s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '15334%' OR `brand` LIKE '15334%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.011177s ]