SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001341s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000650s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001342s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.158' ) [ RunTime:0.000230s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001032s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000234s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.000846s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SFM-105-02-L-D' LIMIT 1 [ RunTime:0.002768s ]
UPDATE `stock_search` SET `count` = 7483 , `updatetime` = '2026-05-16 23:48:24' WHERE `partno` = 'SFM-105-02-L-D' [ RunTime:0.001972s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000295s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000224s ]
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.000480s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001812s ]
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.006848s ]
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.001591s ]
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.007352s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664431 LIMIT 4 [ RunTime:0.010402s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.000715s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664431 ORDER BY `unit` DESC [ RunTime:0.000711s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664431 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664431 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='SFM-105-02-L-DH-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000606s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11519959 LIMIT 4 [ RunTime:0.003977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11519959 ORDER BY `unit` DESC [ RunTime:0.001246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11519959 LIMIT 2 [ RunTime:0.003742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11519959 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='SFM-105-02-L-D-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001120s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662430 LIMIT 4 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.001229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662430 ORDER BY `unit` DESC [ RunTime:0.002865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662430 LIMIT 2 [ RunTime:0.002973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662430 ORDER BY `minOrder` ASC [ RunTime:0.002721s ]
select * from pdf where partno='SFM-105-02-L-D-LC' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11515871 LIMIT 4 [ RunTime:0.002815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.005548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11515871 ORDER BY `unit` DESC [ RunTime:0.002476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11515871 LIMIT 2 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11515871 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000794s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662435 LIMIT 4 [ RunTime:0.010064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.015548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662435 ORDER BY `unit` DESC [ RunTime:0.002581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662435 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662435 ORDER BY `minOrder` ASC [ RunTime:0.004069s ]
select * from pdf where partno='SFM-105-02-L-D-A-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12670738 LIMIT 4 [ RunTime:0.003616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.003119s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12670738 ORDER BY `unit` DESC [ RunTime:0.003438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12670738 LIMIT 2 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12670738 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='SFM-105-02-L-D-K-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16478 LIMIT 4 [ RunTime:0.003823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16478 ORDER BY `unit` DESC [ RunTime:0.000449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16478 LIMIT 2 [ RunTime:0.000909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16478 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.000440s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15458 LIMIT 4 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.001059s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15458 ORDER BY `unit` DESC [ RunTime:0.000584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15458 LIMIT 2 [ RunTime:0.002019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15458 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
select * from pdf where partno='SFM-105-02-L-D' and brandshort='SAMTEC' limit 1 [ RunTime:0.000402s ]
select foldpath,foldpath2,filename from pdf_file where id=1506124 limit 1 [ RunTime:0.000294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.001649s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12671162 LIMIT 4 [ RunTime:0.001709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.004889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12671162 ORDER BY `unit` DESC [ RunTime:0.001634s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12671162 LIMIT 2 [ RunTime:0.005416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12671162 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
select * from pdf where partno='SFM-105-02-L-D-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.013973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12189 LIMIT 4 [ RunTime:0.009073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.010854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12189 ORDER BY `unit` DESC [ RunTime:0.001233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12189 LIMIT 2 [ RunTime:0.000786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12189 ORDER BY `minOrder` ASC [ RunTime:0.002142s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D-A-K-TR' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.004374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10322 LIMIT 4 [ RunTime:0.004705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.004257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10322 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10322 LIMIT 2 [ RunTime:0.000643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10322 ORDER BY `minOrder` ASC [ RunTime:0.000500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SFM-105-02-L-D' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.000423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684632 LIMIT 4 [ RunTime:0.002629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.006088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684632 ORDER BY `unit` DESC [ RunTime:0.008615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684632 LIMIT 2 [ RunTime:0.001798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684632 ORDER BY `minOrder` ASC [ RunTime:0.003869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12684062 LIMIT 4 [ RunTime:0.001070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.009592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12684062 ORDER BY `unit` DESC [ RunTime:0.000540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12684062 LIMIT 2 [ RunTime:0.011426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12684062 ORDER BY `minOrder` ASC [ RunTime:0.006169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12683218 LIMIT 4 [ RunTime:0.001637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.001911s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12683218 ORDER BY `unit` DESC [ RunTime:0.005323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12683218 LIMIT 2 [ RunTime:0.006144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12683218 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12678677 LIMIT 4 [ RunTime:0.000979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.001009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12678677 ORDER BY `unit` DESC [ RunTime:0.000588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12678677 LIMIT 2 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12678677 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12662618 LIMIT 4 [ RunTime:0.002859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.000891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12662618 ORDER BY `unit` DESC [ RunTime:0.005019s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12662618 LIMIT 2 [ RunTime:0.001917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12662618 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12661303 LIMIT 4 [ RunTime:0.001199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.001624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12661303 ORDER BY `unit` DESC [ RunTime:0.002901s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12661303 LIMIT 2 [ RunTime:0.003749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12661303 ORDER BY `minOrder` ASC [ RunTime:0.001864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12654869 LIMIT 4 [ RunTime:0.006479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12654869 ORDER BY `unit` DESC [ RunTime:0.002203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12654869 LIMIT 2 [ RunTime:0.005439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12654869 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12651102 LIMIT 4 [ RunTime:0.001410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.000499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12651102 ORDER BY `unit` DESC [ RunTime:0.001102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12651102 LIMIT 2 [ RunTime:0.001631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12651102 ORDER BY `minOrder` ASC [ RunTime:0.001893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11537875 LIMIT 4 [ RunTime:0.003808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.001902s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11537875 ORDER BY `unit` DESC [ RunTime:0.005668s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11537875 LIMIT 2 [ RunTime:0.002936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11537875 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
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.001028s ]