SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001915s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000495s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002504s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.0' ) [ RunTime:0.004867s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001977s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002157s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002434s ]
SELECT * FROM `stock_search` WHERE `partno` = 'ERJ3GEYJ102V' LIMIT 1 [ RunTime:0.001002s ]
UPDATE `stock_search` SET `count` = 3787 , `updatetime` = '2026-03-14 09:39:01' WHERE `partno` = 'ERJ3GEYJ102V' [ RunTime:0.009316s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000326s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000268s ]
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.000448s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003142s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'ERJ3GEYJ102V%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001512s ]
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 'ERJ3GEYJ102V%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004770s ]
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 ('5127','16738','15719') ORDER BY FIELD(s.id, 5127,16738,15719) [ RunTime:0.001139s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5127 LIMIT 4 [ RunTime:0.000587s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5127 ORDER BY `minOrder` ASC [ RunTime:0.000596s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5127 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5127 LIMIT 2 [ RunTime:0.000692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5127 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='ERJ3GEYJ102V' and brandshort='PANASONIC' limit 1 [ RunTime:0.000382s ]
select foldpath,foldpath2,filename from pdf_file where id=745464 limit 1 [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001650s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERJ3GEYJ102V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16738 LIMIT 4 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16738 ORDER BY `minOrder` ASC [ RunTime:0.001035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16738 ORDER BY `unit` DESC [ RunTime:0.000201s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16738 LIMIT 2 [ RunTime:0.000600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16738 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='ERJ3GEYJ102V' and brandshort='PANASONIC' limit 1 [ RunTime:0.000327s ]
select foldpath,foldpath2,filename from pdf_file where id=745464 limit 1 [ RunTime:0.000208s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERJ3GEYJ102V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15719 LIMIT 4 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15719 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15719 ORDER BY `unit` DESC [ RunTime:0.000202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15719 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15719 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
select * from pdf where partno='ERJ3GEYJ102V' and brandshort='PANASONIC' limit 1 [ RunTime:0.000246s ]
select foldpath,foldpath2,filename from pdf_file where id=745464 limit 1 [ RunTime:0.000170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERJ3GEYJ102V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'ERJ3GEYJ102V%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000860s ]