SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002550s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000776s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002709s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.007038s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000393s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002638s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SFM-105-02-L-D' LIMIT 1 [ RunTime:0.001124s ]
UPDATE `stock_search` SET `count` = 976 , `updatetime` = '2026-03-07 13:40:47' WHERE `partno` = 'SFM-105-02-L-D' [ RunTime:0.007716s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002223s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000301s ]
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.000507s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002597s ]
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.003567s ]
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.002040s ]
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.004082s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664431 LIMIT 4 [ RunTime:0.001612s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001940s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664431 ORDER BY `unit` DESC [ RunTime:0.000345s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664431 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.003051s ]
select * from pdf where partno='SFM-105-02-L-DH-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.008854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11519959 LIMIT 4 [ RunTime:0.007003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.003166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11519959 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11519959 LIMIT 2 [ RunTime:0.001157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.000989s ]
select * from pdf where partno='SFM-105-02-L-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662430 LIMIT 4 [ RunTime:0.001838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.009638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662430 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662430 LIMIT 2 [ RunTime:0.003587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='SFM-105-02-L-D-LC' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11515871 LIMIT 4 [ RunTime:0.002216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.001051s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11515871 ORDER BY `unit` DESC [ RunTime:0.002598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11515871 LIMIT 2 [ RunTime:0.000713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.000696s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662435 LIMIT 4 [ RunTime:0.002294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.004724s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662435 ORDER BY `unit` DESC [ RunTime:0.006655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662435 LIMIT 2 [ RunTime:0.003222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.000824s ]
select * from pdf where partno='SFM-105-02-L-D-A-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000865s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12670738 LIMIT 4 [ RunTime:0.002284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.005486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12670738 ORDER BY `unit` DESC [ RunTime:0.002524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12670738 LIMIT 2 [ RunTime:0.005357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
select * from pdf where partno='SFM-105-02-L-D-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16478 LIMIT 4 [ RunTime:0.001442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.006559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16478 ORDER BY `unit` DESC [ RunTime:0.003787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16478 LIMIT 2 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.001122s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.001120s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.003850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15458 LIMIT 4 [ RunTime:0.001929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.000630s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15458 ORDER BY `unit` DESC [ RunTime:0.000766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15458 LIMIT 2 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.004185s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.000395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12671162 LIMIT 4 [ RunTime:0.002627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.001933s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12671162 ORDER BY `unit` DESC [ RunTime:0.002981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12671162 LIMIT 2 [ RunTime:0.002170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.001743s ]
select * from pdf where partno='SFM-105-02-L-D-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12189 LIMIT 4 [ RunTime:0.001518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.000674s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12189 ORDER BY `unit` DESC [ RunTime:0.002497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12189 LIMIT 2 [ RunTime:0.005678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D-A-K-TR' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.001950s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10322 LIMIT 4 [ RunTime:0.005862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.000744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10322 ORDER BY `unit` DESC [ RunTime:0.004450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10322 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.003454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.003646s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684632 LIMIT 4 [ RunTime:0.007575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.000457s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684632 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684632 LIMIT 2 [ RunTime:0.007564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.002474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684062 LIMIT 4 [ RunTime:0.002353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684062 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684062 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.001291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12683218 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.000757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12683218 ORDER BY `unit` DESC [ RunTime:0.002421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12683218 LIMIT 2 [ RunTime:0.003015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12678677 LIMIT 4 [ RunTime:0.003683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12678677 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12678677 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.001594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662618 LIMIT 4 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.003166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662618 ORDER BY `unit` DESC [ RunTime:0.002312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662618 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12661303 LIMIT 4 [ RunTime:0.000637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12661303 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12661303 LIMIT 2 [ RunTime:0.001267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12654869 LIMIT 4 [ RunTime:0.001843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12654869 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12654869 LIMIT 2 [ RunTime:0.001144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12651102 LIMIT 4 [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12651102 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12651102 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.001393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11537875 LIMIT 4 [ RunTime:0.002657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.001922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11537875 ORDER BY `unit` DESC [ RunTime:0.001567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11537875 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
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.001000s ]