SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001489s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000697s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002065s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.158' ) [ RunTime:0.000737s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001140s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001393s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001355s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SFM-105-02-L-D' LIMIT 1 [ RunTime:0.004856s ]
UPDATE `stock_search` SET `count` = 7486 , `updatetime` = '2026-05-17 03:25:03' WHERE `partno` = 'SFM-105-02-L-D' [ RunTime:0.001598s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000197s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000177s ]
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.002372s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001505s ]
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.010815s ]
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.011027s ]
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.005220s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664431 LIMIT 4 [ RunTime:0.002022s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.002040s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002142s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664431 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664431 LIMIT 2 [ RunTime:0.001426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.003201s ]
select * from pdf where partno='SFM-105-02-L-DH-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.012617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11519959 LIMIT 4 [ RunTime:0.002187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.000908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11519959 ORDER BY `unit` DESC [ RunTime:0.003768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11519959 LIMIT 2 [ RunTime:0.001125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.001375s ]
select * from pdf where partno='SFM-105-02-L-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.005934s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662430 LIMIT 4 [ RunTime:0.008329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.004196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662430 ORDER BY `unit` DESC [ RunTime:0.006390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662430 LIMIT 2 [ RunTime:0.007433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='SFM-105-02-L-D-LC' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.004894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11515871 LIMIT 4 [ RunTime:0.003544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.005894s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11515871 ORDER BY `unit` DESC [ RunTime:0.002385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11515871 LIMIT 2 [ RunTime:0.004832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662435 LIMIT 4 [ RunTime:0.005633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.000688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662435 ORDER BY `unit` DESC [ RunTime:0.000598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662435 LIMIT 2 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.003957s ]
select * from pdf where partno='SFM-105-02-L-D-A-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.006361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12670738 LIMIT 4 [ RunTime:0.001427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12670738 ORDER BY `unit` DESC [ RunTime:0.001284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12670738 LIMIT 2 [ RunTime:0.000630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='SFM-105-02-L-D-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.005064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16478 LIMIT 4 [ RunTime:0.001247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.007227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16478 ORDER BY `unit` DESC [ RunTime:0.001226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16478 LIMIT 2 [ RunTime:0.001302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.004048s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.011805s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002106s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.016206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15458 LIMIT 4 [ RunTime:0.002940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.001619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15458 ORDER BY `unit` DESC [ RunTime:0.004673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15458 LIMIT 2 [ RunTime:0.001597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.000394s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12671162 LIMIT 4 [ RunTime:0.005692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12671162 ORDER BY `unit` DESC [ RunTime:0.001547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12671162 LIMIT 2 [ RunTime:0.003161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.004633s ]
select * from pdf where partno='SFM-105-02-L-D-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12189 LIMIT 4 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.001782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12189 ORDER BY `unit` DESC [ RunTime:0.006055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12189 LIMIT 2 [ RunTime:0.000744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.001159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D-A-K-TR' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.002790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10322 LIMIT 4 [ RunTime:0.002429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.003216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10322 ORDER BY `unit` DESC [ RunTime:0.001731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10322 LIMIT 2 [ RunTime:0.003869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.005576s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.002425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684632 LIMIT 4 [ RunTime:0.002472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.001339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684632 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684632 LIMIT 2 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.001225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684062 LIMIT 4 [ RunTime:0.000807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.007476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684062 ORDER BY `unit` DESC [ RunTime:0.007533s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684062 LIMIT 2 [ RunTime:0.001121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.004009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12683218 LIMIT 4 [ RunTime:0.000834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.001635s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12683218 ORDER BY `unit` DESC [ RunTime:0.002771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12683218 LIMIT 2 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.001047s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12678677 LIMIT 4 [ RunTime:0.008633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.003589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12678677 ORDER BY `unit` DESC [ RunTime:0.004856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12678677 LIMIT 2 [ RunTime:0.002182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.003029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662618 LIMIT 4 [ RunTime:0.000759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662618 ORDER BY `unit` DESC [ RunTime:0.002344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662618 LIMIT 2 [ RunTime:0.004751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12661303 LIMIT 4 [ RunTime:0.002369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.003382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12661303 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12661303 LIMIT 2 [ RunTime:0.000402s ]
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.001478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12654869 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12654869 LIMIT 2 [ RunTime:0.004962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12651102 LIMIT 4 [ RunTime:0.000795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12651102 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12651102 LIMIT 2 [ RunTime:0.001277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11537875 LIMIT 4 [ RunTime:0.005607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11537875 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11537875 LIMIT 2 [ RunTime:0.000919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.001643s ]
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.001837s ]