SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001451s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000576s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001582s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001138s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001024s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000232s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000196s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002186s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'STM32F407VGT6%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.002735s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'STM32F407VGT6%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001785s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('1645890','14999','5206','1645889','10092292','9191256') ORDER BY FIELD(s.id, 1645890,14999,5206,1645889,10092292,9191256) [ RunTime:0.001745s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003624s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1645890 LIMIT 4 [ RunTime:0.011659s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1645890 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1645890 ORDER BY `unit` DESC [ RunTime:0.000481s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1645890 LIMIT 2 [ RunTime:0.001804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1645890 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='STM32F407VGT6TR' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.003721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.000659s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001975s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5206 LIMIT 4 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5206 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5206 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5206 LIMIT 2 [ RunTime:0.004221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5206 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1645889 LIMIT 4 [ RunTime:0.000807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1645889 ORDER BY `minOrder` ASC [ RunTime:0.000457s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1645889 ORDER BY `unit` DESC [ RunTime:0.001241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1645889 LIMIT 2 [ RunTime:0.004805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1645889 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.000829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092292 LIMIT 4 [ RunTime:0.008022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092292 ORDER BY `minOrder` ASC [ RunTime:0.002017s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092292 ORDER BY `unit` DESC [ RunTime:0.003139s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092292 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092292 ORDER BY `minOrder` ASC [ RunTime:0.001376s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.000424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST(意法半导体%' ) ) LIMIT 1 [ RunTime:0.008944s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9191256 LIMIT 4 [ RunTime:0.006810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9191256 ORDER BY `minOrder` ASC [ RunTime:0.006933s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9191256 ORDER BY `unit` DESC [ RunTime:0.024621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9191256 LIMIT 2 [ RunTime:0.005952s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9191256 ORDER BY `minOrder` ASC [ RunTime:0.001767s ]
select * from pdf where partno='STM32F407VGT6J' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.000608s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'STM32F407VGT6%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.010250s ]