SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002429s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000687s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003393s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000617s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003316s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000488s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002895s ]
SELECT * FROM `stock_search` WHERE `partno` = '5015' LIMIT 1 [ RunTime:0.006901s ]
UPDATE `stock_search` SET `count` = 4894 , `updatetime` = '2026-03-07 11:46:34' WHERE `partno` = '5015' [ RunTime:0.012235s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.010700s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000304s ]
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.000940s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002016s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '5015%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.005324s ]
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 '5015%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 80,20 [ RunTime:0.002389s ]
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 ('11611560','11611238','11611220','11608516','11608315','11603644','11603405','11603157','11603133','11603009','11602802','11602723','11602499','11602015','11601605') ORDER BY FIELD(s.id, 11611560,11611238,11611220,11608516,11608315,11603644,11603405,11603157,11603133,11603009,11602802,11602723,11602499,11602015,11601605) [ RunTime:0.007093s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11611560 LIMIT 4 [ RunTime:0.002938s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11611560 ORDER BY `minOrder` ASC [ RunTime:0.002539s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11611560 ORDER BY `unit` DESC [ RunTime:0.000603s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001120s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11611560 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11611560 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='5015912611' and brandshort='Molex' limit 1 [ RunTime:0.006581s ]
select foldpath,foldpath2,filename from pdf_file where id=852979 limit 1 [ RunTime:0.003202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11611238 LIMIT 4 [ RunTime:0.000910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11611238 ORDER BY `minOrder` ASC [ RunTime:0.004577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11611238 ORDER BY `unit` DESC [ RunTime:0.002486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11611238 LIMIT 2 [ RunTime:0.006705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11611238 ORDER BY `minOrder` ASC [ RunTime:0.001288s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11611220 LIMIT 4 [ RunTime:0.001863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11611220 ORDER BY `minOrder` ASC [ RunTime:0.001953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11611220 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11611220 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11611220 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11608516 LIMIT 4 [ RunTime:0.001890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11608516 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11608516 ORDER BY `unit` DESC [ RunTime:0.002830s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11608516 LIMIT 2 [ RunTime:0.000726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11608516 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11608315 LIMIT 4 [ RunTime:0.000626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11608315 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11608315 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11608315 LIMIT 2 [ RunTime:0.004533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11608315 ORDER BY `minOrder` ASC [ RunTime:0.001301s ]
select * from pdf where partno='5015913011' and brandshort='Molex' limit 1 [ RunTime:0.000889s ]
select foldpath,foldpath2,filename from pdf_file where id=852982 limit 1 [ RunTime:0.006223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11603644 LIMIT 4 [ RunTime:0.003950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603644 ORDER BY `minOrder` ASC [ RunTime:0.008468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11603644 ORDER BY `unit` DESC [ RunTime:0.000667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11603644 LIMIT 2 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603644 ORDER BY `minOrder` ASC [ RunTime:0.002847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11603405 LIMIT 4 [ RunTime:0.000925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603405 ORDER BY `minOrder` ASC [ RunTime:0.005254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11603405 ORDER BY `unit` DESC [ RunTime:0.002301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11603405 LIMIT 2 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603405 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11603157 LIMIT 4 [ RunTime:0.001028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603157 ORDER BY `minOrder` ASC [ RunTime:0.000897s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11603157 ORDER BY `unit` DESC [ RunTime:0.003059s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11603157 LIMIT 2 [ RunTime:0.005972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603157 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11603133 LIMIT 4 [ RunTime:0.002613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603133 ORDER BY `minOrder` ASC [ RunTime:0.001443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11603133 ORDER BY `unit` DESC [ RunTime:0.000606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11603133 LIMIT 2 [ RunTime:0.001850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603133 ORDER BY `minOrder` ASC [ RunTime:0.005998s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11603009 LIMIT 4 [ RunTime:0.000959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603009 ORDER BY `minOrder` ASC [ RunTime:0.003572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11603009 ORDER BY `unit` DESC [ RunTime:0.010457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11603009 LIMIT 2 [ RunTime:0.017687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11603009 ORDER BY `minOrder` ASC [ RunTime:0.008362s ]
select * from pdf where partno='5015917011' and brandshort='Molex' limit 1 [ RunTime:0.007008s ]
select foldpath,foldpath2,filename from pdf_file where id=852984 limit 1 [ RunTime:0.008562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11602802 LIMIT 4 [ RunTime:0.008756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602802 ORDER BY `minOrder` ASC [ RunTime:0.001980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11602802 ORDER BY `unit` DESC [ RunTime:0.000495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11602802 LIMIT 2 [ RunTime:0.003114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602802 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11602723 LIMIT 4 [ RunTime:0.006100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602723 ORDER BY `minOrder` ASC [ RunTime:0.002322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11602723 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11602723 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602723 ORDER BY `minOrder` ASC [ RunTime:0.002550s ]
select * from pdf where partno='5015912011' and brandshort='Molex' limit 1 [ RunTime:0.002467s ]
select foldpath,foldpath2,filename from pdf_file where id=852982 limit 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11602499 LIMIT 4 [ RunTime:0.007141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602499 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11602499 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11602499 LIMIT 2 [ RunTime:0.002758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602499 ORDER BY `minOrder` ASC [ RunTime:0.004970s ]
select * from pdf where partno='5015914011' and brandshort='Molex' limit 1 [ RunTime:0.003816s ]
select foldpath,foldpath2,filename from pdf_file where id=852982 limit 1 [ RunTime:0.000208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11602015 LIMIT 4 [ RunTime:0.001878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602015 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11602015 ORDER BY `unit` DESC [ RunTime:0.000451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11602015 LIMIT 2 [ RunTime:0.002172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11602015 ORDER BY `minOrder` ASC [ RunTime:0.004822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11601605 LIMIT 4 [ RunTime:0.009026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11601605 ORDER BY `minOrder` ASC [ RunTime:0.003632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11601605 ORDER BY `unit` DESC [ RunTime:0.000492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11601605 LIMIT 2 [ RunTime:0.001132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11601605 ORDER BY `minOrder` ASC [ RunTime:0.002364s ]
select * from pdf where partno='5015915011' and brandshort='Molex' limit 1 [ RunTime:0.001587s ]
select foldpath,foldpath2,filename from pdf_file where id=852982 limit 1 [ RunTime:0.000191s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '5015%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004204s ]