SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001325s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000471s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001439s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001085s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001201s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SFM-105-02-L-D' LIMIT 1 [ RunTime:0.003860s ]
UPDATE `stock_search` SET `count` = 973 , `updatetime` = '2026-03-07 08:11:49' WHERE `partno` = 'SFM-105-02-L-D' [ RunTime:0.001686s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000210s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000188s ]
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.000335s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001483s ]
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.007902s ]
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.001061s ]
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.007029s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664431 LIMIT 4 [ RunTime:0.003404s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664431 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664431 LIMIT 2 [ RunTime:0.003049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
select * from pdf where partno='SFM-105-02-L-DH-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11519959 LIMIT 4 [ RunTime:0.001889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.002266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11519959 ORDER BY `unit` DESC [ RunTime:0.002448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11519959 LIMIT 2 [ RunTime:0.000670s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='SFM-105-02-L-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662430 LIMIT 4 [ RunTime:0.009397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.000536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662430 ORDER BY `unit` DESC [ RunTime:0.002249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662430 LIMIT 2 [ RunTime:0.002363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
select * from pdf where partno='SFM-105-02-L-D-LC' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11515871 LIMIT 4 [ RunTime:0.003040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.001218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11515871 ORDER BY `unit` DESC [ RunTime:0.001287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11515871 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662435 LIMIT 4 [ RunTime:0.001889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662435 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662435 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='SFM-105-02-L-D-A-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12670738 LIMIT 4 [ RunTime:0.007025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12670738 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12670738 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.002002s ]
select * from pdf where partno='SFM-105-02-L-D-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16478 LIMIT 4 [ RunTime:0.003361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.000701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16478 ORDER BY `unit` DESC [ RunTime:0.007258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16478 LIMIT 2 [ RunTime:0.008211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.000972s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.000522s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.005332s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001829s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.006728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15458 LIMIT 4 [ RunTime:0.001297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.010151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15458 ORDER BY `unit` DESC [ RunTime:0.003977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15458 LIMIT 2 [ RunTime:0.001912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.001403s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.000253s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12671162 LIMIT 4 [ RunTime:0.004065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.001099s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12671162 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12671162 LIMIT 2 [ RunTime:0.014220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='SFM-105-02-L-D-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12189 LIMIT 4 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.004776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12189 ORDER BY `unit` DESC [ RunTime:0.001650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12189 LIMIT 2 [ RunTime:0.005300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D-A-K-TR' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.003006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10322 LIMIT 4 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10322 ORDER BY `unit` DESC [ RunTime:0.000593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10322 LIMIT 2 [ RunTime:0.003224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684632 LIMIT 4 [ RunTime:0.000733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684632 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684632 LIMIT 2 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.001383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684062 LIMIT 4 [ RunTime:0.001560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684062 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684062 LIMIT 2 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.001163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12683218 LIMIT 4 [ RunTime:0.000626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.002525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12683218 ORDER BY `unit` DESC [ RunTime:0.000366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12683218 LIMIT 2 [ RunTime:0.005904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12678677 LIMIT 4 [ RunTime:0.000808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.007792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12678677 ORDER BY `unit` DESC [ RunTime:0.003997s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12678677 LIMIT 2 [ RunTime:0.002627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.002621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662618 LIMIT 4 [ RunTime:0.001083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662618 ORDER BY `unit` DESC [ RunTime:0.000999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662618 LIMIT 2 [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.001410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12661303 LIMIT 4 [ RunTime:0.002061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.000709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12661303 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12661303 LIMIT 2 [ RunTime:0.005197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12654869 LIMIT 4 [ RunTime:0.005918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.001978s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12654869 ORDER BY `unit` DESC [ RunTime:0.001598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12654869 LIMIT 2 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12651102 LIMIT 4 [ RunTime:0.000765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.007928s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12651102 ORDER BY `unit` DESC [ RunTime:0.000554s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12651102 LIMIT 2 [ RunTime:0.002463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.003661s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11537875 LIMIT 4 [ RunTime:0.002124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11537875 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11537875 LIMIT 2 [ RunTime:0.002592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.002812s ]
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.012963s ]