SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002082s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002396s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.62' ) [ RunTime:0.006192s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002163s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000368s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002606s ]
SELECT * FROM `stock_search` WHERE `partno` = 'BTS500101TAEATMA1' LIMIT 1 [ RunTime:0.000594s ]
UPDATE `stock_search` SET `count` = 7916 , `updatetime` = '2026-06-03 09:13:39' WHERE `partno` = 'BTS500101TAEATMA1' [ RunTime:0.012916s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.004131s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002142s ]
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.002662s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003346s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'BTS500101TAEATMA1%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.017825s ]
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 'BTS500101TAEATMA1%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026541s ]
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 ('15297220','25222897','11134','16637','15618') ORDER BY FIELD(s.id, 15297220,25222897,11134,16637,15618) [ RunTime:0.002850s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15297220 LIMIT 4 [ RunTime:0.007509s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15297220 ORDER BY `minOrder` ASC [ RunTime:0.004178s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15297220 ORDER BY `unit` DESC [ RunTime:0.000741s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004054s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15297220 LIMIT 2 [ RunTime:0.012277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15297220 ORDER BY `minOrder` ASC [ RunTime:0.010536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25222897 LIMIT 4 [ RunTime:0.003726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25222897 ORDER BY `minOrder` ASC [ RunTime:0.015297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25222897 ORDER BY `unit` DESC [ RunTime:0.013399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25222897 LIMIT 2 [ RunTime:0.049470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25222897 ORDER BY `minOrder` ASC [ RunTime:0.007995s ]
select * from pdf where partno='BTS500101TAEATMA1' and brandshort='Infineon Technologies' limit 1 [ RunTime:0.007419s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS500101TAEATMA1' OR `brand` LIKE 'Infineon Technologies%' ) ) LIMIT 1 [ RunTime:0.031045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11134 LIMIT 4 [ RunTime:0.002300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11134 ORDER BY `minOrder` ASC [ RunTime:0.002276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11134 ORDER BY `unit` DESC [ RunTime:0.000651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11134 LIMIT 2 [ RunTime:0.000649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11134 ORDER BY `minOrder` ASC [ RunTime:0.005698s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS500101TAEATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16637 LIMIT 4 [ RunTime:0.017454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16637 ORDER BY `minOrder` ASC [ RunTime:0.006386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16637 ORDER BY `unit` DESC [ RunTime:0.002305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16637 LIMIT 2 [ RunTime:0.010765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16637 ORDER BY `minOrder` ASC [ RunTime:0.007096s ]
select * from pdf where partno='BTS500101TAEATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.003247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS500101TAEATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15618 LIMIT 4 [ RunTime:0.009241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15618 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15618 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15618 LIMIT 2 [ RunTime:0.000677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15618 ORDER BY `minOrder` ASC [ RunTime:0.002916s ]
select * from pdf where partno='BTS500101TAEATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.004068s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS500101TAEATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000438s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'BTS500101TAEATMA1%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001538s ]