SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002016s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000593s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002078s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.41' ) [ RunTime:0.002577s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001904s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001377s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002137s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SFM-105-02-L-D' LIMIT 1 [ RunTime:0.004561s ]
UPDATE `stock_search` SET `count` = 375 , `updatetime` = '2026-01-31 06:15:45' WHERE `partno` = 'SFM-105-02-L-D' [ RunTime:0.003521s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000570s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000270s ]
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.001551s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002261s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'SFM-105-02-L-D%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.000351s ]
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 'SFM-105-02-L-D%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006658s ]
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 ('12664431','11519959','12662430','11515871','12662435','12670738','16478','15458','12671162','12189','10322','12684632','12684062','12683218','12678677','12662618','12661303','12654869','12651102','11537875') ORDER BY FIELD(s.id, 12664431,11519959,12662430,11515871,12662435,12670738,16478,15458,12671162,12189,10322,12684632,12684062,12683218,12678677,12662618,12661303,12654869,12651102,11537875) [ RunTime:0.007148s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664431 LIMIT 4 [ RunTime:0.001081s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664431 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664431 LIMIT 2 [ RunTime:0.002291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
select * from pdf where partno='SFM-105-02-L-DH-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.004774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11519959 LIMIT 4 [ RunTime:0.003110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.001769s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11519959 ORDER BY `unit` DESC [ RunTime:0.001702s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11519959 LIMIT 2 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
select * from pdf where partno='SFM-105-02-L-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662430 LIMIT 4 [ RunTime:0.001750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.005032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662430 ORDER BY `unit` DESC [ RunTime:0.002162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662430 LIMIT 2 [ RunTime:0.003075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.000695s ]
select * from pdf where partno='SFM-105-02-L-D-LC' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11515871 LIMIT 4 [ RunTime:0.001201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11515871 ORDER BY `unit` DESC [ RunTime:0.000773s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11515871 LIMIT 2 [ RunTime:0.000943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.001335s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662435 LIMIT 4 [ RunTime:0.004161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.004326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662435 ORDER BY `unit` DESC [ RunTime:0.001673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662435 LIMIT 2 [ RunTime:0.008562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.001419s ]
select * from pdf where partno='SFM-105-02-L-D-A-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12670738 LIMIT 4 [ RunTime:0.001267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.000822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12670738 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12670738 LIMIT 2 [ RunTime:0.007421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
select * from pdf where partno='SFM-105-02-L-D-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16478 LIMIT 4 [ RunTime:0.000798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.007381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16478 ORDER BY `unit` DESC [ RunTime:0.012270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16478 LIMIT 2 [ RunTime:0.002052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.003087s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.000981s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.003508s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.005070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15458 LIMIT 4 [ RunTime:0.001471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.001071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15458 ORDER BY `unit` DESC [ RunTime:0.004800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15458 LIMIT 2 [ RunTime:0.003197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.001951s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.000924s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.000811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12671162 LIMIT 4 [ RunTime:0.000936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.001368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12671162 ORDER BY `unit` DESC [ RunTime:0.001022s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12671162 LIMIT 2 [ RunTime:0.001846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.000466s ]
select * from pdf where partno='SFM-105-02-L-D-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12189 LIMIT 4 [ RunTime:0.001953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.000972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12189 ORDER BY `unit` DESC [ RunTime:0.000506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12189 LIMIT 2 [ RunTime:0.000753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D-A-K-TR' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.003373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10322 LIMIT 4 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.001012s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10322 ORDER BY `unit` DESC [ RunTime:0.003591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10322 LIMIT 2 [ RunTime:0.004225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.002317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684632 LIMIT 4 [ RunTime:0.001304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.000742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684632 ORDER BY `unit` DESC [ RunTime:0.001554s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684632 LIMIT 2 [ RunTime:0.004215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.001335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684062 LIMIT 4 [ RunTime:0.006749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.002784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684062 ORDER BY `unit` DESC [ RunTime:0.004045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684062 LIMIT 2 [ RunTime:0.005081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12683218 LIMIT 4 [ RunTime:0.002938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.000695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12683218 ORDER BY `unit` DESC [ RunTime:0.000905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12683218 LIMIT 2 [ RunTime:0.000953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12678677 LIMIT 4 [ RunTime:0.000988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.006536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12678677 ORDER BY `unit` DESC [ RunTime:0.000956s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12678677 LIMIT 2 [ RunTime:0.003519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662618 LIMIT 4 [ RunTime:0.001791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.001532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662618 ORDER BY `unit` DESC [ RunTime:0.001599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662618 LIMIT 2 [ RunTime:0.002441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12661303 LIMIT 4 [ RunTime:0.002286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.001006s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12661303 ORDER BY `unit` DESC [ RunTime:0.001628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12661303 LIMIT 2 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12654869 LIMIT 4 [ RunTime:0.001449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12654869 ORDER BY `unit` DESC [ RunTime:0.000961s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12654869 LIMIT 2 [ RunTime:0.001157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12651102 LIMIT 4 [ RunTime:0.001639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.001254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12651102 ORDER BY `unit` DESC [ RunTime:0.001127s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12651102 LIMIT 2 [ RunTime:0.000620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.000969s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11537875 LIMIT 4 [ RunTime:0.001213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.003957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11537875 ORDER BY `unit` DESC [ RunTime:0.000914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11537875 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SFM-105-02-L-D%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000392s ]