SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001455s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006333s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14232385 LIMIT 5 [ RunTime:0.020812s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14232385 ORDER BY `minOrder` ASC [ RunTime:0.011019s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14232385 ORDER BY `unit` DESC [ RunTime:0.011108s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14232385 LIMIT 2 [ RunTime:0.024623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14232385 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19167840 LIMIT 5 [ RunTime:0.016578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19167840 ORDER BY `minOrder` ASC [ RunTime:0.019632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19167840 ORDER BY `unit` DESC [ RunTime:0.029319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19167840 LIMIT 2 [ RunTime:0.015917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19167840 ORDER BY `minOrder` ASC [ RunTime:0.014754s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19163635 LIMIT 5 [ RunTime:0.023769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19163635 ORDER BY `minOrder` ASC [ RunTime:0.015622s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19163635 ORDER BY `unit` DESC [ RunTime:0.026879s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19163635 LIMIT 2 [ RunTime:0.007634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19163635 ORDER BY `minOrder` ASC [ RunTime:0.021334s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038094s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63812154 LIMIT 5 [ RunTime:0.019683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63812154 ORDER BY `minOrder` ASC [ RunTime:0.020054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63812154 ORDER BY `unit` DESC [ RunTime:0.033924s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63812154 LIMIT 2 [ RunTime:0.018527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63812154 ORDER BY `minOrder` ASC [ RunTime:0.007612s ]
select * from pdf where partno='MAX221ECAE+T' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.035485s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX221ECAE+T' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.031726s ]
SELECT `id` FROM `stock` WHERE `id` <> 63812154 AND `partno` = 'MAX221ECAE+T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.041728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14232385 [ RunTime:0.032455s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63811453 LIMIT 5 [ RunTime:0.048611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63811453 ORDER BY `minOrder` ASC [ RunTime:0.031955s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63811453 ORDER BY `unit` DESC [ RunTime:0.056509s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63811453 LIMIT 2 [ RunTime:0.031952s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63811453 ORDER BY `minOrder` ASC [ RunTime:0.001835s ]
select * from pdf where partno='MAX221ECAE+' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.020490s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX221ECAE+' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.006569s ]
SELECT `id` FROM `stock` WHERE `id` <> 63811453 AND `partno` = 'MAX221ECAE+' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.013766s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19167840 [ RunTime:0.003481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63817662 LIMIT 5 [ RunTime:0.016504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63817662 ORDER BY `minOrder` ASC [ RunTime:0.006127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63817662 ORDER BY `unit` DESC [ RunTime:0.012682s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63817662 LIMIT 2 [ RunTime:0.016695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63817662 ORDER BY `minOrder` ASC [ RunTime:0.012695s ]
select * from pdf where partno='MAX221ECAE' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.013751s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX221ECAE' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.004440s ]
SELECT `id` FROM `stock` WHERE `id` <> 63817662 AND `partno` = 'MAX221ECAE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.010146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19163635 [ RunTime:0.003607s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006663s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003367s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019401s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008303s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005317s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011210s ]
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 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001408s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MAX221ECAE%' OR `brand` LIKE 'MAX221ECAE%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006601s ]