SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001698s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000570s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001582s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.0' ) [ RunTime:0.000461s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002473s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000393s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002099s ]
SELECT * FROM `stock_search` WHERE `partno` = 'RC0805FR-0727KL' LIMIT 1 [ RunTime:0.001916s ]
UPDATE `stock_search` SET `count` = 1649 , `updatetime` = '2026-03-14 20:41:01' WHERE `partno` = 'RC0805FR-0727KL' [ RunTime:0.004748s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000331s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000266s ]
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.000457s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002428s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'RC0805FR-0727KL%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.002134s ]
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 'RC0805FR-0727KL%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003141s ]
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 ('16877651','14095','16792','15773') ORDER BY FIELD(s.id, 16877651,14095,16792,15773) [ RunTime:0.010839s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16877651 LIMIT 4 [ RunTime:0.001159s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16877651 ORDER BY `minOrder` ASC [ RunTime:0.003115s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16877651 ORDER BY `unit` DESC [ RunTime:0.000574s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001875s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16877651 LIMIT 2 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16877651 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='RC0805FR-0727KL' and brandshort='YAGEO' limit 1 [ RunTime:0.005664s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.001916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14095 LIMIT 4 [ RunTime:0.006993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14095 ORDER BY `minOrder` ASC [ RunTime:0.024087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14095 ORDER BY `unit` DESC [ RunTime:0.011895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14095 LIMIT 2 [ RunTime:0.003005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14095 ORDER BY `minOrder` ASC [ RunTime:0.013504s ]
select * from pdf where partno='RC0805FR-0727KL' and brandshort='YAGEO' limit 1 [ RunTime:0.000596s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.000381s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002544s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0805FR-0727KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.013149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16792 LIMIT 4 [ RunTime:0.002133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16792 ORDER BY `minOrder` ASC [ RunTime:0.011292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16792 ORDER BY `unit` DESC [ RunTime:0.031340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16792 LIMIT 2 [ RunTime:0.016840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16792 ORDER BY `minOrder` ASC [ RunTime:0.005965s ]
select * from pdf where partno='RC0805FR-0727KL' and brandshort='YAGEO' limit 1 [ RunTime:0.005774s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.005033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0805FR-0727KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.000439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15773 LIMIT 4 [ RunTime:0.002341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15773 ORDER BY `minOrder` ASC [ RunTime:0.013155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15773 ORDER BY `unit` DESC [ RunTime:0.022430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15773 LIMIT 2 [ RunTime:0.005083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15773 ORDER BY `minOrder` ASC [ RunTime:0.006934s ]
select * from pdf where partno='RC0805FR-0727KL' and brandshort='YAGEO' limit 1 [ RunTime:0.007803s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.003519s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0805FR-0727KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.005234s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'RC0805FR-0727KL%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.026663s ]