SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001855s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000508s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002222s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.7' ) [ RunTime:0.000337s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001808s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000322s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000225s ]
SELECT `id`,`name`,`typestr` 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.000440s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001930s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 18:46:16' ) ) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 320,10 [ RunTime:0.038417s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3733 LIMIT 4 [ RunTime:0.000528s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3733 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3733 ORDER BY `unit` DESC [ RunTime:0.000427s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001710s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3733 LIMIT 2 [ RunTime:0.000429s ]
select * from pdf where partno='GRM21BR61E106KA73L' and brandshort='MURATA' limit 1 [ RunTime:0.000729s ]
select foldpath,foldpath2,filename from pdf_file where id=1986190 limit 1 [ RunTime:0.000398s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001813s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GRM21BR61E106KA73L' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.006467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 308 LIMIT 4 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 308 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 308 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 308 LIMIT 2 [ RunTime:0.000222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BC847BS,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10405 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10405 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10405 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10405 LIMIT 2 [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RS1MFP' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14108 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14108 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14108 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14108 LIMIT 2 [ RunTime:0.000388s ]
select * from pdf where partno='RC0603FR-0747RL' and brandshort='YAGEO' limit 1 [ RunTime:0.000740s ]
select foldpath,foldpath2,filename from pdf_file where id=1048560 limit 1 [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0603FR-0747RL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.003929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8280 LIMIT 4 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8280 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8280 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8280 LIMIT 2 [ RunTime:0.000402s ]
select * from pdf where partno='DMG1012T-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000797s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMG1012T-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3905 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3905 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3905 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3905 LIMIT 2 [ RunTime:0.000381s ]
select * from pdf where partno='MC0603N470J500CT' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC0603N470J500CT' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5072 LIMIT 4 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5072 ORDER BY `minOrder` ASC [ RunTime:0.000580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5072 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5072 LIMIT 2 [ RunTime:0.000555s ]
select * from pdf where partno='ERJ6GEY0R00V' and brandshort='PANASONIC' limit 1 [ RunTime:0.000864s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERJ6GEY0R00V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2162 LIMIT 4 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2162 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2162 ORDER BY `unit` DESC [ RunTime:0.000591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2162 LIMIT 2 [ RunTime:0.000552s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-2023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4790 LIMIT 4 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4790 ORDER BY `minOrder` ASC [ RunTime:0.000600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4790 ORDER BY `unit` DESC [ RunTime:0.000595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4790 LIMIT 2 [ RunTime:0.000546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '770678-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11403 LIMIT 4 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11403 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11403 ORDER BY `unit` DESC [ RunTime:0.000565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11403 LIMIT 2 [ RunTime:0.000553s ]
select * from pdf where partno='CC0201KRX5R6BB104' and brandshort='YAGEO' limit 1 [ RunTime:0.000906s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CC0201KRX5R6BB104' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.004343s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 18:46:16' ) ) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.017733s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 18:46:16' ) ) ) [ RunTime:0.021241s ]