SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001250s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000469s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002524s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.130' ) [ RunTime:0.000431s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001173s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001462s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001707s ]
SELECT * FROM `stock_search` WHERE `partno` = '210' LIMIT 1 [ RunTime:0.001660s ]
UPDATE `stock_search` SET `count` = 98 , `updatetime` = '2026-06-04 19:20:13' WHERE `partno` = '210' [ RunTime:0.007628s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000905s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.001446s ]
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.001867s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001422s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '210%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.147003s ]
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 '210%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 60,20 [ RunTime:0.036206s ]
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 ('12041153','32277635','32163133','11985208','13315812','32277491','32162989','12040276','13190912','13258720','32257562','32277502','32163000','11497282','15489046','11927036','12632760','19668106','12615563','11986083') ORDER BY FIELD(s.id, 12041153,32277635,32163133,11985208,13315812,32277491,32162989,12040276,13190912,13258720,32257562,32277502,32163000,11497282,15489046,11927036,12632760,19668106,12615563,11986083) [ RunTime:0.017897s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12041153 LIMIT 4 [ RunTime:0.007534s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12041153 ORDER BY `minOrder` ASC [ RunTime:0.008654s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12041153 ORDER BY `unit` DESC [ RunTime:0.003264s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12041153 LIMIT 2 [ RunTime:0.002969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12041153 ORDER BY `minOrder` ASC [ RunTime:0.001350s ]
select * from pdf where partno='2100-632-AL' and brandshort='RAF Electronic Hardware' limit 1 [ RunTime:0.007555s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32277635 LIMIT 4 [ RunTime:0.012772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277635 ORDER BY `minOrder` ASC [ RunTime:0.010563s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32277635 ORDER BY `unit` DESC [ RunTime:0.001717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32277635 LIMIT 2 [ RunTime:0.007837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277635 ORDER BY `minOrder` ASC [ RunTime:0.001062s ]
select * from pdf where partno='2106431-1' and brandshort='te connectivity' limit 1 [ RunTime:0.005818s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106431-1' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.032122s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32163133 LIMIT 4 [ RunTime:0.012928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32163133 ORDER BY `minOrder` ASC [ RunTime:0.009595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32163133 ORDER BY `unit` DESC [ RunTime:0.007333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32163133 LIMIT 2 [ RunTime:0.004966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32163133 ORDER BY `minOrder` ASC [ RunTime:0.004388s ]
select * from pdf where partno='2106431-1' and brandshort='te connectivity' limit 1 [ RunTime:0.002615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106431-1' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.003089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11985208 LIMIT 4 [ RunTime:0.006556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11985208 ORDER BY `minOrder` ASC [ RunTime:0.013925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11985208 ORDER BY `unit` DESC [ RunTime:0.012293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11985208 LIMIT 2 [ RunTime:0.006389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11985208 ORDER BY `minOrder` ASC [ RunTime:0.001546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13315812 LIMIT 4 [ RunTime:0.003060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13315812 ORDER BY `minOrder` ASC [ RunTime:0.002140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13315812 ORDER BY `unit` DESC [ RunTime:0.001925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13315812 LIMIT 2 [ RunTime:0.009754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13315812 ORDER BY `minOrder` ASC [ RunTime:0.003796s ]
select * from pdf where partno='2104-440-AL' and brandshort='RAF Electronic Hardware' limit 1 [ RunTime:0.009398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32277491 LIMIT 4 [ RunTime:0.005002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277491 ORDER BY `minOrder` ASC [ RunTime:0.008201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32277491 ORDER BY `unit` DESC [ RunTime:0.000969s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32277491 LIMIT 2 [ RunTime:0.002942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277491 ORDER BY `minOrder` ASC [ RunTime:0.001957s ]
select * from pdf where partno='2106489-1' and brandshort='te connectivity / amp' limit 1 [ RunTime:0.001082s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106489-1' OR `brand` LIKE 'te connectivity / amp%' ) ) LIMIT 1 [ RunTime:0.004163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32162989 LIMIT 4 [ RunTime:0.004091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32162989 ORDER BY `minOrder` ASC [ RunTime:0.001986s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32162989 ORDER BY `unit` DESC [ RunTime:0.002342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32162989 LIMIT 2 [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32162989 ORDER BY `minOrder` ASC [ RunTime:0.001818s ]
select * from pdf where partno='2106489-1' and brandshort='te connectivity / amp' limit 1 [ RunTime:0.001138s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106489-1' OR `brand` LIKE 'te connectivity / amp%' ) ) LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12040276 LIMIT 4 [ RunTime:0.004149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12040276 ORDER BY `minOrder` ASC [ RunTime:0.004398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12040276 ORDER BY `unit` DESC [ RunTime:0.000806s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12040276 LIMIT 2 [ RunTime:0.003547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12040276 ORDER BY `minOrder` ASC [ RunTime:0.001094s ]
select * from pdf where partno='2101-440-SS' and brandshort='RAF Electronic Hardware' limit 1 [ RunTime:0.003226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13190912 LIMIT 4 [ RunTime:0.004666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13190912 ORDER BY `minOrder` ASC [ RunTime:0.001798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13190912 ORDER BY `unit` DESC [ RunTime:0.004614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13190912 LIMIT 2 [ RunTime:0.001957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13190912 ORDER BY `minOrder` ASC [ RunTime:0.001370s ]
select * from pdf where partno='210-1-06-003' and brandshort='CNC Tech' limit 1 [ RunTime:0.000911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13258720 LIMIT 4 [ RunTime:0.002382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13258720 ORDER BY `minOrder` ASC [ RunTime:0.006111s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13258720 ORDER BY `unit` DESC [ RunTime:0.003695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13258720 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13258720 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32257562 LIMIT 4 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32257562 ORDER BY `minOrder` ASC [ RunTime:0.000960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32257562 ORDER BY `unit` DESC [ RunTime:0.000767s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32257562 LIMIT 2 [ RunTime:0.000604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32257562 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
select * from pdf where partno='2108877-1' and brandshort='te connectivity' limit 1 [ RunTime:0.004771s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2108877-1' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.015343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32277502 LIMIT 4 [ RunTime:0.004218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277502 ORDER BY `minOrder` ASC [ RunTime:0.005778s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32277502 ORDER BY `unit` DESC [ RunTime:0.000728s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32277502 LIMIT 2 [ RunTime:0.002063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32277502 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
select * from pdf where partno='2106431-3' and brandshort='te connectivity / p&b' limit 1 [ RunTime:0.003482s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106431-3' OR `brand` LIKE 'te connectivity / p&b%' ) ) LIMIT 1 [ RunTime:0.002166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32163000 LIMIT 4 [ RunTime:0.002152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32163000 ORDER BY `minOrder` ASC [ RunTime:0.001032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32163000 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32163000 LIMIT 2 [ RunTime:0.005155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32163000 ORDER BY `minOrder` ASC [ RunTime:0.001185s ]
select * from pdf where partno='2106431-3' and brandshort='te connectivity / p&b' limit 1 [ RunTime:0.001682s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106431-3' OR `brand` LIKE 'te connectivity / p&b%' ) ) LIMIT 1 [ RunTime:0.000535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11497282 LIMIT 4 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11497282 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11497282 ORDER BY `unit` DESC [ RunTime:0.001737s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11497282 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11497282 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
select * from pdf where partno='2106431-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.001234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15489046 LIMIT 4 [ RunTime:0.003550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15489046 ORDER BY `minOrder` ASC [ RunTime:0.001791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15489046 ORDER BY `unit` DESC [ RunTime:0.001741s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15489046 LIMIT 2 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15489046 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11927036 LIMIT 4 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11927036 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11927036 ORDER BY `unit` DESC [ RunTime:0.002912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11927036 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11927036 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='210-1-18-003' and brandshort='CNC Tech' limit 1 [ RunTime:0.000887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12632760 LIMIT 4 [ RunTime:0.003192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12632760 ORDER BY `minOrder` ASC [ RunTime:0.000438s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12632760 ORDER BY `unit` DESC [ RunTime:0.001541s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12632760 LIMIT 2 [ RunTime:0.001993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12632760 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='2106003-4' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.002973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19668106 LIMIT 4 [ RunTime:0.001767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19668106 ORDER BY `minOrder` ASC [ RunTime:0.000837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19668106 ORDER BY `unit` DESC [ RunTime:0.004854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19668106 LIMIT 2 [ RunTime:0.002611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19668106 ORDER BY `minOrder` ASC [ RunTime:0.004493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12615563 LIMIT 4 [ RunTime:0.001995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12615563 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12615563 ORDER BY `unit` DESC [ RunTime:0.002750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12615563 LIMIT 2 [ RunTime:0.003975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12615563 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11986083 LIMIT 4 [ RunTime:0.003232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11986083 ORDER BY `minOrder` ASC [ RunTime:0.002917s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11986083 ORDER BY `unit` DESC [ RunTime:0.003857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11986083 LIMIT 2 [ RunTime:0.001125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11986083 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '210%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.038583s ]