SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002123s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000541s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002114s ]
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.001800s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000283s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000321s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `typeid` = 1 [ RunTime:0.000220s ]
SELECT `id`,`name`,`typestr` FROM `product_type` WHERE `typeid` IN (16,17,18) [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001894s ]
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 20:07:44' ) ) 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.030457s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 4 [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.000239s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.000507s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.000509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9612 LIMIT 4 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9612 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9612 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9612 LIMIT 2 [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LQM18FN100M00D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5956 LIMIT 4 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5956 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5956 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5956 LIMIT 2 [ RunTime:0.000365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1210-153MED' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5962 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5962 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5962 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5962 LIMIT 2 [ RunTime:0.000356s ]
select * from pdf where partno='MSS1278T-333MLD' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000682s ]
select foldpath,foldpath2,filename from pdf_file where id=1051656 limit 1 [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSS1278T-333MLD' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.000213s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.000279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7069 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7069 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7069 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7069 LIMIT 2 [ RunTime:0.000227s ]
select * from pdf where partno='SRN2512-1R5M' and brandshort='BOURNS' limit 1 [ RunTime:0.000264s ]
select foldpath,foldpath2,filename from pdf_file where id=1921743 limit 1 [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN2512-1R5M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 274 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 274 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 274 ORDER BY `unit` DESC [ RunTime:0.000226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 274 LIMIT 2 [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22R104C' OR `brand` LIKE 'MURATA POWER SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175 LIMIT 4 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175 ORDER BY `unit` DESC [ RunTime:0.000216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175 LIMIT 2 [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRN6045-101M' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5950 LIMIT 4 [ RunTime:0.000209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5950 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5950 ORDER BY `unit` DESC [ RunTime:0.000210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5950 LIMIT 2 [ RunTime:0.000209s ]
select * from pdf where partno='EPL3015-682MLC' and brandshort='COILCRAFT' limit 1 [ RunTime:0.000274s ]
select foldpath,foldpath2,filename from pdf_file where id=1156524 limit 1 [ RunTime:0.000220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EPL3015-682MLC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5982 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5982 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5982 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5982 LIMIT 2 [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XFL4020-222MEC' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.000219s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 20:07:44' ) ) 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.038769s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-24 20:07:44' ) ) 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.028076s ]