SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002386s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000575s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002342s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.002641s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002410s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001868s ]
SELECT * FROM `stock_search` WHERE `partno` = '3013' LIMIT 1 [ RunTime:0.001008s ]
UPDATE `stock_search` SET `count` = 7028 , `updatetime` = '2026-03-17 11:03:51' WHERE `partno` = '3013' [ RunTime:0.002344s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.007449s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.004997s ]
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.006998s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002060s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '3013%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.020633s ]
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 '3013%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019433s ]
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 ('11226445','13350403','11337807','3094','14308061','16284','15264','14198346','14730832','14735262','14730833','11909087','11889554','11915021','13117971','13471816','11422028','14349774','13471817','13266617') ORDER BY FIELD(s.id, 11226445,13350403,11337807,3094,14308061,16284,15264,14198346,14730832,14735262,14730833,11909087,11889554,11915021,13117971,13471816,11422028,14349774,13471817,13266617) [ RunTime:0.045646s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11226445 LIMIT 4 [ RunTime:0.012526s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11226445 ORDER BY `minOrder` ASC [ RunTime:0.019752s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11226445 ORDER BY `unit` DESC [ RunTime:0.001279s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11226445 LIMIT 2 [ RunTime:0.003634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11226445 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13350403 LIMIT 4 [ RunTime:0.001114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13350403 ORDER BY `minOrder` ASC [ RunTime:0.014920s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13350403 ORDER BY `unit` DESC [ RunTime:0.005503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13350403 LIMIT 2 [ RunTime:0.006406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13350403 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11337807 LIMIT 4 [ RunTime:0.002914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337807 ORDER BY `minOrder` ASC [ RunTime:0.008413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11337807 ORDER BY `unit` DESC [ RunTime:0.004184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11337807 LIMIT 2 [ RunTime:0.006985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337807 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
select * from pdf where partno='3013' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.006353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.001874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.001652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.000974s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.000753s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.003180s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002631s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14308061 LIMIT 4 [ RunTime:0.000808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14308061 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14308061 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14308061 LIMIT 2 [ RunTime:0.002319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14308061 ORDER BY `minOrder` ASC [ RunTime:0.003563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16284 LIMIT 4 [ RunTime:0.001720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.005073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16284 ORDER BY `unit` DESC [ RunTime:0.002580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16284 LIMIT 2 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.000668s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.000561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.000893s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000463s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14198346 LIMIT 4 [ RunTime:0.000661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14198346 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14198346 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14198346 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14198346 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14730832 LIMIT 4 [ RunTime:0.000658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730832 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14730832 ORDER BY `unit` DESC [ RunTime:0.001350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14730832 LIMIT 2 [ RunTime:0.000530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730832 ORDER BY `minOrder` ASC [ RunTime:0.005776s ]
select * from pdf where partno='30137-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.002700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14735262 LIMIT 4 [ RunTime:0.000847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14735262 ORDER BY `minOrder` ASC [ RunTime:0.002313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14735262 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14735262 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14735262 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='30138-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14730833 LIMIT 4 [ RunTime:0.003339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730833 ORDER BY `minOrder` ASC [ RunTime:0.005667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14730833 ORDER BY `unit` DESC [ RunTime:0.001447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14730833 LIMIT 2 [ RunTime:0.002936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730833 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='30137-15' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.000961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11909087 LIMIT 4 [ RunTime:0.001734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11909087 ORDER BY `minOrder` ASC [ RunTime:0.000624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11909087 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11909087 LIMIT 2 [ RunTime:0.007841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11909087 ORDER BY `minOrder` ASC [ RunTime:0.001453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11889554 LIMIT 4 [ RunTime:0.006850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11889554 ORDER BY `minOrder` ASC [ RunTime:0.001585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11889554 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11889554 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11889554 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='3013W3SCM99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.001034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11915021 LIMIT 4 [ RunTime:0.003805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11915021 ORDER BY `minOrder` ASC [ RunTime:0.003861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11915021 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11915021 LIMIT 2 [ RunTime:0.002428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11915021 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='3013W6SXK99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.001073s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13117971 LIMIT 4 [ RunTime:0.003453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13117971 ORDER BY `minOrder` ASC [ RunTime:0.009261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13117971 ORDER BY `unit` DESC [ RunTime:0.006310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13117971 LIMIT 2 [ RunTime:0.007051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13117971 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13471816 LIMIT 4 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471816 ORDER BY `minOrder` ASC [ RunTime:0.001229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13471816 ORDER BY `unit` DESC [ RunTime:0.005640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13471816 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471816 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
select * from pdf where partno='3013162002' and brandshort='Portescap' limit 1 [ RunTime:0.001404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11422028 LIMIT 4 [ RunTime:0.002877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11422028 ORDER BY `minOrder` ASC [ RunTime:0.000682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11422028 ORDER BY `unit` DESC [ RunTime:0.002489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11422028 LIMIT 2 [ RunTime:0.000799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11422028 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='3013094' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14349774 LIMIT 4 [ RunTime:0.001601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14349774 ORDER BY `minOrder` ASC [ RunTime:0.002176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14349774 ORDER BY `unit` DESC [ RunTime:0.002547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14349774 LIMIT 2 [ RunTime:0.001606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14349774 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='3013162005' and brandshort='Portescap' limit 1 [ RunTime:0.001462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13471817 LIMIT 4 [ RunTime:0.001033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471817 ORDER BY `minOrder` ASC [ RunTime:0.001180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13471817 ORDER BY `unit` DESC [ RunTime:0.003171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13471817 LIMIT 2 [ RunTime:0.000861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471817 ORDER BY `minOrder` ASC [ RunTime:0.001132s ]
select * from pdf where partno='3013162001' and brandshort='Portescap' limit 1 [ RunTime:0.000999s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13266617 LIMIT 4 [ RunTime:0.001844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13266617 ORDER BY `minOrder` ASC [ RunTime:0.006487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13266617 ORDER BY `unit` DESC [ RunTime:0.005195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13266617 LIMIT 2 [ RunTime:0.002895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13266617 ORDER BY `minOrder` ASC [ RunTime:0.017177s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '3013%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002437s ]