SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001348s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002139s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001396s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.001667s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001188s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000202s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.000987s ]
SELECT * FROM `stock_search` WHERE `partno` = '3013' LIMIT 1 [ RunTime:0.003543s ]
UPDATE `stock_search` SET `count` = 6002 , `updatetime` = '2026-03-16 14:52:46' WHERE `partno` = '3013' [ RunTime:0.004378s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001060s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000163s ]
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.000274s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001310s ]
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.007849s ]
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.003757s ]
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.013140s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11226445 LIMIT 4 [ RunTime:0.004799s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11226445 ORDER BY `minOrder` ASC [ RunTime:0.000811s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11226445 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000886s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11226445 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11226445 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13350403 LIMIT 4 [ RunTime:0.002722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13350403 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13350403 ORDER BY `unit` DESC [ RunTime:0.004727s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13350403 LIMIT 2 [ RunTime:0.005414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13350403 ORDER BY `minOrder` ASC [ RunTime:0.004416s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11337807 LIMIT 4 [ RunTime:0.004500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337807 ORDER BY `minOrder` ASC [ RunTime:0.002443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11337807 ORDER BY `unit` DESC [ RunTime:0.009045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11337807 LIMIT 2 [ RunTime:0.026312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337807 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
select * from pdf where partno='3013' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.003200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3094 LIMIT 4 [ RunTime:0.002357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.005614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3094 ORDER BY `unit` DESC [ RunTime:0.012605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3094 LIMIT 2 [ RunTime:0.008628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3094 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000549s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001947s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.002440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14308061 LIMIT 4 [ RunTime:0.000877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14308061 ORDER BY `minOrder` ASC [ RunTime:0.002207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14308061 ORDER BY `unit` DESC [ RunTime:0.007698s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14308061 LIMIT 2 [ RunTime:0.004026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14308061 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16284 LIMIT 4 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.002092s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16284 ORDER BY `unit` DESC [ RunTime:0.003649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16284 LIMIT 2 [ RunTime:0.005671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16284 ORDER BY `minOrder` ASC [ RunTime:0.006061s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.002796s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.005332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.000755s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.004973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.012826s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.005255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.004019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14198346 LIMIT 4 [ RunTime:0.010791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14198346 ORDER BY `minOrder` ASC [ RunTime:0.007295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14198346 ORDER BY `unit` DESC [ RunTime:0.002150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14198346 LIMIT 2 [ RunTime:0.001051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14198346 ORDER BY `minOrder` ASC [ RunTime:0.001475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14730832 LIMIT 4 [ RunTime:0.003700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730832 ORDER BY `minOrder` ASC [ RunTime:0.008679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14730832 ORDER BY `unit` DESC [ RunTime:0.002502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14730832 LIMIT 2 [ RunTime:0.007472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730832 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='30137-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.002165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14735262 LIMIT 4 [ RunTime:0.003553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14735262 ORDER BY `minOrder` ASC [ RunTime:0.016616s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14735262 ORDER BY `unit` DESC [ RunTime:0.007991s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14735262 LIMIT 2 [ RunTime:0.004896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14735262 ORDER BY `minOrder` ASC [ RunTime:0.006916s ]
select * from pdf where partno='30138-30' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.001305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14730833 LIMIT 4 [ RunTime:0.001684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730833 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14730833 ORDER BY `unit` DESC [ RunTime:0.000750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14730833 LIMIT 2 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14730833 ORDER BY `minOrder` ASC [ RunTime:0.002679s ]
select * from pdf where partno='30137-15' and brandshort='Littelfuse/Commercial Vehicle Products' limit 1 [ RunTime:0.002838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11909087 LIMIT 4 [ RunTime:0.002542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11909087 ORDER BY `minOrder` ASC [ RunTime:0.017239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11909087 ORDER BY `unit` DESC [ RunTime:0.001738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11909087 LIMIT 2 [ RunTime:0.004283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11909087 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11889554 LIMIT 4 [ RunTime:0.002965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11889554 ORDER BY `minOrder` ASC [ RunTime:0.005518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11889554 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11889554 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11889554 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='3013W3SCM99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.001931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11915021 LIMIT 4 [ RunTime:0.004543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11915021 ORDER BY `minOrder` ASC [ RunTime:0.018866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11915021 ORDER BY `unit` DESC [ RunTime:0.008529s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11915021 LIMIT 2 [ RunTime:0.001605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11915021 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='3013W6SXK99A10X' and brandshort='Amphenol CONEC' limit 1 [ RunTime:0.001315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13117971 LIMIT 4 [ RunTime:0.005734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13117971 ORDER BY `minOrder` ASC [ RunTime:0.008998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13117971 ORDER BY `unit` DESC [ RunTime:0.002600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13117971 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13117971 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13471816 LIMIT 4 [ RunTime:0.001003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471816 ORDER BY `minOrder` ASC [ RunTime:0.017950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13471816 ORDER BY `unit` DESC [ RunTime:0.003517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13471816 LIMIT 2 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471816 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
select * from pdf where partno='3013162002' and brandshort='Portescap' limit 1 [ RunTime:0.000833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11422028 LIMIT 4 [ RunTime:0.006422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11422028 ORDER BY `minOrder` ASC [ RunTime:0.008003s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11422028 ORDER BY `unit` DESC [ RunTime:0.002164s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11422028 LIMIT 2 [ RunTime:0.001751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11422028 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='3013094' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.002113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14349774 LIMIT 4 [ RunTime:0.003257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14349774 ORDER BY `minOrder` ASC [ RunTime:0.007160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14349774 ORDER BY `unit` DESC [ RunTime:0.009170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14349774 LIMIT 2 [ RunTime:0.000746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14349774 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='3013162005' and brandshort='Portescap' limit 1 [ RunTime:0.004080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13471817 LIMIT 4 [ RunTime:0.001311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471817 ORDER BY `minOrder` ASC [ RunTime:0.008109s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13471817 ORDER BY `unit` DESC [ RunTime:0.001578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13471817 LIMIT 2 [ RunTime:0.004628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13471817 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='3013162001' and brandshort='Portescap' limit 1 [ RunTime:0.002400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13266617 LIMIT 4 [ RunTime:0.002884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13266617 ORDER BY `minOrder` ASC [ RunTime:0.029392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13266617 ORDER BY `unit` DESC [ RunTime:0.011602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13266617 LIMIT 2 [ RunTime:0.010296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13266617 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
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.002297s ]