SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002079s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000553s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001484s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001212s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000210s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 45 LIMIT 1 [ RunTime:0.000239s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 45 [ RunTime:0.000190s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) [ RunTime:0.000268s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000987s ]
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-27 06:12:17' ) ) AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.030497s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9164 LIMIT 4 [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9164 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001673s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9164 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9164 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9164 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='RN4020-V/RM123' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000337s ]
select foldpath,foldpath2,filename from pdf_file where id=1458264 limit 1 [ RunTime:0.000236s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RN4020-V/RM123' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16733 LIMIT 4 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16733 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16733 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16733 LIMIT 2 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16733 ORDER BY `minOrder` ASC [ RunTime:0.000142s ]
select * from pdf where partno='LBWA1UZ1GC-901' and brandshort='MURATA' limit 1 [ RunTime:0.000573s ]
select foldpath,foldpath2,filename from pdf_file where id=2146538 limit 1 [ RunTime:0.000281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LBWA1UZ1GC-901' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15714 LIMIT 4 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15714 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15714 ORDER BY `unit` DESC [ RunTime:0.000144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15714 LIMIT 2 [ RunTime:0.000139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15714 ORDER BY `minOrder` ASC [ RunTime:0.000141s ]
select * from pdf where partno='LBWA1UZ1GC-901' and brandshort='MURATA' limit 1 [ RunTime:0.000574s ]
select foldpath,foldpath2,filename from pdf_file where id=2146538 limit 1 [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LBWA1UZ1GC-901' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10204 LIMIT 4 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10204 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10204 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10204 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10204 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGM13P22F512GA-V2' OR `brand` LIKE 'SILICON LABS%' ) ) LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12613 LIMIT 4 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12613 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12613 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='MT53E2G32D4DE-046 WT:A' and brandshort='MICRON' limit 1 [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT53E2G32D4DE-046 WT:A' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9377 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9377 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9377 ORDER BY `unit` DESC [ RunTime:0.000234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9377 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9377 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LBWA1UZ1GC-901' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12908 LIMIT 4 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12908 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12908 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12908 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12908 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='MT60B2G8HB-48B:A' and brandshort='MICRON' limit 1 [ RunTime:0.000419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT60B2G8HB-48B:A' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000414s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 06:12:17' ) ) AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.017918s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-27 06:12:17' ) ) AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) [ RunTime:0.011489s ]