SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002422s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000554s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002069s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.7' ) [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001811s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000271s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000331s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `typeid` = 1 [ RunTime:0.000217s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `typeid` IN (16,17,18) [ RunTime:0.000257s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001918s ]
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 15:49:10' ) ) AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.031156s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 4 [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000530s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001649s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.000479s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001776s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.000399s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.000839s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.010853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9612 LIMIT 4 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9612 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9612 LIMIT 2 [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LQM18FN100M00D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5956 LIMIT 4 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5956 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5956 LIMIT 2 [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-153MED' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5962 LIMIT 4 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5962 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5962 LIMIT 2 [ RunTime:0.000373s ]
select * from pdf where partno='MSS1278T-333MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000528s ]
select foldpath,foldpath2,filename from pdf_file where id=1051656 limit 1 [ RunTime:0.000299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278T-333MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.000575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.000474s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.000768s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.000763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7069 LIMIT 4 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.000494s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7069 ORDER BY `unit` DESC [ RunTime:0.000490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7069 LIMIT 2 [ RunTime:0.000569s ]
select * from pdf where partno='SRN2512-1R5M' and brandshort='BOURNS' limit 1 [ RunTime:0.000919s ]
select foldpath,foldpath2,filename from pdf_file where id=1921743 limit 1 [ RunTime:0.000430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN2512-1R5M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003447s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 274 LIMIT 4 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.001252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 274 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 274 LIMIT 2 [ RunTime:0.000478s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22R104C' OR `brand` LIKE 'MURATA POWER SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175 LIMIT 4 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175 ORDER BY `unit` DESC [ RunTime:0.000484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175 LIMIT 2 [ RunTime:0.000508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN6045-101M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5950 LIMIT 4 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5950 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5950 LIMIT 2 [ RunTime:0.000311s ]
select * from pdf where partno='EPL3015-682MLC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000468s ]
select foldpath,foldpath2,filename from pdf_file where id=1156524 limit 1 [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL3015-682MLC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5982 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5982 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5982 LIMIT 2 [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-222MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 15:49:10' ) ) AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.039491s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 15:49:10' ) ) AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97) ) [ RunTime:0.025683s ]