SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002479s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.013206s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002938s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.113' ) [ RunTime:0.002637s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003253s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.006210s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002355s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SMCJ5.0A' LIMIT 1 [ RunTime:0.005801s ]
UPDATE `stock_search` SET `count` = 1260 , `updatetime` = '2026-01-24 15:02:04' WHERE `partno` = 'SMCJ5.0A' [ RunTime:0.008867s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002996s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002598s ]
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.001793s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002573s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'SMCJ5.0A%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.012353s ]
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 'SMCJ5.0A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004349s ]
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 ('4769491','6644987','4768405','6632435','6637192','6630467','6660556','6630262','4767432','6657235','4893','6632550','4770066','16782','15763','4825','10092130','6651398','6651188','6651187') ORDER BY FIELD(s.id, 4769491,6644987,4768405,6632435,6637192,6630467,6660556,6630262,4767432,6657235,4893,6632550,4770066,16782,15763,4825,10092130,6651398,6651188,6651187) [ RunTime:0.003909s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4769491 LIMIT 4 [ RunTime:0.014068s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4769491 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002031s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4769491 ORDER BY `unit` DESC [ RunTime:0.000688s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001659s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4769491 LIMIT 2 [ RunTime:0.001847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4769491 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6644987 LIMIT 4 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644987 ORDER BY `minOrder` ASC [ RunTime:0.001603s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6644987 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6644987 LIMIT 2 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644987 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4768405 LIMIT 4 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768405 ORDER BY `minOrder` ASC [ RunTime:0.001194s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4768405 ORDER BY `unit` DESC [ RunTime:0.002288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4768405 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4768405 ORDER BY `minOrder` ASC [ RunTime:0.002112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6632435 LIMIT 4 [ RunTime:0.000606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6632435 ORDER BY `minOrder` ASC [ RunTime:0.001886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6632435 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6632435 LIMIT 2 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6632435 ORDER BY `minOrder` ASC [ RunTime:0.003724s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.001350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6637192 LIMIT 4 [ RunTime:0.003253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6637192 ORDER BY `minOrder` ASC [ RunTime:0.005349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6637192 ORDER BY `unit` DESC [ RunTime:0.002667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6637192 LIMIT 2 [ RunTime:0.000830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6637192 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630467 LIMIT 4 [ RunTime:0.005985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630467 ORDER BY `minOrder` ASC [ RunTime:0.001409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630467 ORDER BY `unit` DESC [ RunTime:0.008854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630467 LIMIT 2 [ RunTime:0.004337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630467 ORDER BY `minOrder` ASC [ RunTime:0.002726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6660556 LIMIT 4 [ RunTime:0.008070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6660556 ORDER BY `minOrder` ASC [ RunTime:0.006138s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6660556 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6660556 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6660556 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6630262 LIMIT 4 [ RunTime:0.000640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630262 ORDER BY `minOrder` ASC [ RunTime:0.001814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6630262 ORDER BY `unit` DESC [ RunTime:0.000269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6630262 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6630262 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767432 LIMIT 4 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767432 ORDER BY `minOrder` ASC [ RunTime:0.001357s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767432 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767432 LIMIT 2 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767432 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6657235 LIMIT 4 [ RunTime:0.004920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6657235 ORDER BY `minOrder` ASC [ RunTime:0.003455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6657235 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6657235 LIMIT 2 [ RunTime:0.001697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6657235 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4893 LIMIT 4 [ RunTime:0.001696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4893 ORDER BY `minOrder` ASC [ RunTime:0.002179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4893 ORDER BY `unit` DESC [ RunTime:0.000507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4893 LIMIT 2 [ RunTime:0.001489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4893 ORDER BY `minOrder` ASC [ RunTime:0.002431s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001859s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6632550 LIMIT 4 [ RunTime:0.001564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6632550 ORDER BY `minOrder` ASC [ RunTime:0.002276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6632550 ORDER BY `unit` DESC [ RunTime:0.000281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6632550 LIMIT 2 [ RunTime:0.002827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6632550 ORDER BY `minOrder` ASC [ RunTime:0.002594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770066 LIMIT 4 [ RunTime:0.004871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770066 ORDER BY `minOrder` ASC [ RunTime:0.001418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770066 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770066 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770066 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16782 LIMIT 4 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782 ORDER BY `minOrder` ASC [ RunTime:0.002555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16782 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16782 LIMIT 2 [ RunTime:0.004331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782 ORDER BY `minOrder` ASC [ RunTime:0.001684s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='BOURNS' limit 1 [ RunTime:0.001253s ]
select foldpath,foldpath2,filename from pdf_file where id=951223 limit 1 [ RunTime:0.001442s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15763 LIMIT 4 [ RunTime:0.000718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15763 ORDER BY `minOrder` ASC [ RunTime:0.002313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15763 ORDER BY `unit` DESC [ RunTime:0.001445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15763 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15763 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='BOURNS' limit 1 [ RunTime:0.000464s ]
select foldpath,foldpath2,filename from pdf_file where id=951223 limit 1 [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4825 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4825 ORDER BY `minOrder` ASC [ RunTime:0.004455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4825 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4825 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4825 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000429s ]
select foldpath,foldpath2,filename from pdf_file where id=421808 limit 1 [ RunTime:0.000286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092130 LIMIT 4 [ RunTime:0.000743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092130 ORDER BY `minOrder` ASC [ RunTime:0.002530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092130 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092130 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092130 ORDER BY `minOrder` ASC [ RunTime:0.002479s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='Littelfuse' limit 1 [ RunTime:0.004263s ]
select foldpath,foldpath2,filename from pdf_file where id=421808 limit 1 [ RunTime:0.000354s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'Littelfuse(美国力特)%' ) ) LIMIT 1 [ RunTime:0.002848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651398 LIMIT 4 [ RunTime:0.006943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651398 ORDER BY `minOrder` ASC [ RunTime:0.001589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651398 ORDER BY `unit` DESC [ RunTime:0.001996s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651398 LIMIT 2 [ RunTime:0.000679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651398 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651188 LIMIT 4 [ RunTime:0.003155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651188 ORDER BY `minOrder` ASC [ RunTime:0.001528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651188 ORDER BY `unit` DESC [ RunTime:0.001812s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651188 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651188 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651187 LIMIT 4 [ RunTime:0.001472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651187 ORDER BY `minOrder` ASC [ RunTime:0.001204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651187 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651187 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651187 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SMCJ5.0A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001718s ]