SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003104s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000624s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003108s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.163' ) [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002334s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000373s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000666s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000277s ]
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.000698s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003768s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'MCP1700T-3302E/MB%' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 21:28:43' ) ) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.001506s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4626407 LIMIT 4 [ RunTime:0.000664s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626407 ORDER BY `minOrder` ASC [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4626407 ORDER BY `unit` DESC [ RunTime:0.000570s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002090s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4626407 LIMIT 2 [ RunTime:0.000597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626407 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17142 LIMIT 4 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17142 ORDER BY `minOrder` ASC [ RunTime:0.000513s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17142 ORDER BY `unit` DESC [ RunTime:0.000485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17142 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17142 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
select * from pdf where partno='MCP1700T-3302E/MB' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000704s ]
select foldpath,foldpath2,filename from pdf_file where id=1993739 limit 1 [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002812s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1700T-3302E/MB' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.021492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16124 LIMIT 4 [ RunTime:0.000874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16124 ORDER BY `minOrder` ASC [ RunTime:0.000587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16124 ORDER BY `unit` DESC [ RunTime:0.000525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16124 LIMIT 2 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16124 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
select * from pdf where partno='MCP1700T-3302E/MB' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000591s ]
select foldpath,foldpath2,filename from pdf_file where id=1993739 limit 1 [ RunTime:0.000273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1700T-3302E/MB' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1979 LIMIT 4 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1979 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1979 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1979 LIMIT 2 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1979 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1700T-3302E/MB' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000335s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( `partno` LIKE 'MCP1700T-3302E/MB%' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 21:28:43' ) ) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.000844s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( `partno` LIKE 'MCP1700T-3302E/MB%' AND ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-03 21:28:43' ) ) ) [ RunTime:0.000706s ]