SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002877s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027408s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11985209 LIMIT 5 [ RunTime:0.018384s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11985209 ORDER BY `minOrder` ASC [ RunTime:0.006855s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11985209 ORDER BY `unit` DESC [ RunTime:0.007900s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009924s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11985209 LIMIT 2 [ RunTime:0.015673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11985209 ORDER BY `minOrder` ASC [ RunTime:0.010749s ]
select * from pdf where partno='W3108' and brandshort='Pulse Electronics' limit 1 [ RunTime:0.016322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11343968 LIMIT 5 [ RunTime:0.026224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343968 ORDER BY `minOrder` ASC [ RunTime:0.007225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11343968 ORDER BY `unit` DESC [ RunTime:0.011414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11343968 LIMIT 2 [ RunTime:0.035027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343968 ORDER BY `minOrder` ASC [ RunTime:0.013925s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32304322 LIMIT 5 [ RunTime:0.035854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32304322 ORDER BY `minOrder` ASC [ RunTime:0.058470s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32304322 ORDER BY `unit` DESC [ RunTime:0.004665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32304322 LIMIT 2 [ RunTime:0.047356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32304322 ORDER BY `minOrder` ASC [ RunTime:0.041922s ]
select * from pdf where partno='w3108' and brandshort='pulse electronics' limit 1 [ RunTime:0.028696s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003068s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'w3108' OR `brand` LIKE 'pulse electronics%' ) ) LIMIT 1 [ RunTime:0.024307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32296188 LIMIT 5 [ RunTime:0.029154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32296188 ORDER BY `minOrder` ASC [ RunTime:0.029474s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32296188 ORDER BY `unit` DESC [ RunTime:0.013836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32296188 LIMIT 2 [ RunTime:0.039242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32296188 ORDER BY `minOrder` ASC [ RunTime:0.016748s ]
select * from pdf where partno='w3108' and brandshort='pulse electronics' limit 1 [ RunTime:0.002977s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'w3108' OR `brand` LIKE 'pulse electronics%' ) ) LIMIT 1 [ RunTime:0.023702s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64224508 LIMIT 5 [ RunTime:0.025792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64224508 ORDER BY `minOrder` ASC [ RunTime:0.017689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64224508 ORDER BY `unit` DESC [ RunTime:0.030762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64224508 LIMIT 2 [ RunTime:0.005563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64224508 ORDER BY `minOrder` ASC [ RunTime:0.011482s ]
select * from pdf where partno='W3108' and brandshort='Pulse Electronics' limit 1 [ RunTime:0.026707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'W3108' OR `brand` LIKE 'Pulse Electronics%' ) ) LIMIT 1 [ RunTime:0.007721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64822216 LIMIT 5 [ RunTime:0.028090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64822216 ORDER BY `minOrder` ASC [ RunTime:0.022854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64822216 ORDER BY `unit` DESC [ RunTime:0.021012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64822216 LIMIT 2 [ RunTime:0.036879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64822216 ORDER BY `minOrder` ASC [ RunTime:0.007558s ]
select * from pdf where partno='W3108-K' and brandshort='Pulse Electronics' limit 1 [ RunTime:0.024836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'W3108-K' OR `brand` LIKE 'Pulse Electronics%' ) ) LIMIT 1 [ RunTime:0.006851s ]
SELECT `id` FROM `stock` WHERE `id` <> 64822216 AND `partno` = 'W3108-K' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%pulse electronics%' ) [ RunTime:0.012009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11343968 [ RunTime:0.004858s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013389s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011517s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014664s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014771s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009434s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001431s ]
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 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005268s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'W3108%' OR `brand` LIKE 'W3108%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009346s ]