SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002321s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000705s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002456s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.94' ) [ RunTime:0.000351s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002430s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002016s ]
SELECT * FROM `stock_search` WHERE `partno` = 'STP16CP05XTTR' LIMIT 1 [ RunTime:0.010446s ]
UPDATE `stock_search` SET `count` = 13809 , `updatetime` = '2026-05-30 08:49:12' WHERE `partno` = 'STP16CP05XTTR' [ RunTime:0.015334s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003935s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.007343s ]
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.003526s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001371s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'STP16CP05XTTR%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.021204s ]
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 'STP16CP05XTTR%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011825s ]
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 ('16075917','20262669','20260815','20173831','25294362','7471') ORDER BY FIELD(s.id, 16075917,20262669,20260815,20173831,25294362,7471) [ RunTime:0.022738s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.010529s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16075917 LIMIT 4 [ RunTime:0.011829s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16075917 ORDER BY `minOrder` ASC [ RunTime:0.006111s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009737s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16075917 ORDER BY `unit` DESC [ RunTime:0.018619s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.015150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16075917 LIMIT 2 [ RunTime:0.006893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16075917 ORDER BY `minOrder` ASC [ RunTime:0.023461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20262669 LIMIT 4 [ RunTime:0.022142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20262669 ORDER BY `minOrder` ASC [ RunTime:0.012616s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20262669 ORDER BY `unit` DESC [ RunTime:0.072249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20262669 LIMIT 2 [ RunTime:0.027331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20262669 ORDER BY `minOrder` ASC [ RunTime:0.016283s ]
select * from pdf where partno='stp16cp05xttr' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.025747s ]
select foldpath,foldpath2,filename from pdf_file where id=2095766 limit 1 [ RunTime:0.007031s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'stp16cp05xttr' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.009035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20260815 LIMIT 4 [ RunTime:0.025121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20260815 ORDER BY `minOrder` ASC [ RunTime:0.032524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20260815 ORDER BY `unit` DESC [ RunTime:0.021987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20260815 LIMIT 2 [ RunTime:0.024299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20260815 ORDER BY `minOrder` ASC [ RunTime:0.003930s ]
select * from pdf where partno='stp16cp05xttr' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.014313s ]
select foldpath,foldpath2,filename from pdf_file where id=2095766 limit 1 [ RunTime:0.013114s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'stp16cp05xttr' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.017837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20173831 LIMIT 4 [ RunTime:0.011657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20173831 ORDER BY `minOrder` ASC [ RunTime:0.013350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20173831 ORDER BY `unit` DESC [ RunTime:0.015729s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20173831 LIMIT 2 [ RunTime:0.018914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20173831 ORDER BY `minOrder` ASC [ RunTime:0.018029s ]
select * from pdf where partno='stp16cp05xttr' and brandshort='stmicroelectronics' limit 1 [ RunTime:0.007531s ]
select foldpath,foldpath2,filename from pdf_file where id=2095766 limit 1 [ RunTime:0.008330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'stp16cp05xttr' OR `brand` LIKE 'stmicroelectronics%' ) ) LIMIT 1 [ RunTime:0.004896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25294362 LIMIT 4 [ RunTime:0.015495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25294362 ORDER BY `minOrder` ASC [ RunTime:0.004199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25294362 ORDER BY `unit` DESC [ RunTime:0.006468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25294362 LIMIT 2 [ RunTime:0.007388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25294362 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
select * from pdf where partno='STP16CP05XTTR' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.033692s ]
select foldpath,foldpath2,filename from pdf_file where id=2095766 limit 1 [ RunTime:0.007024s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STP16CP05XTTR' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.018951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7471 LIMIT 4 [ RunTime:0.012441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7471 ORDER BY `minOrder` ASC [ RunTime:0.012133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7471 ORDER BY `unit` DESC [ RunTime:0.005713s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7471 LIMIT 2 [ RunTime:0.018113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7471 ORDER BY `minOrder` ASC [ RunTime:0.002382s ]
select * from pdf where partno='STP16CP05XTTR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.004201s ]
select foldpath,foldpath2,filename from pdf_file where id=2095766 limit 1 [ RunTime:0.005537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STP16CP05XTTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005485s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'STP16CP05XTTR%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.048743s ]