public HashMap getMTMoney(int year, int month)
{
Connection con;
PreparedStatement pstmt;
SimpleDateFormat bartDateFormat;
Date date;
int count;
int month2;
String sql;
HashMap m;
con = null;
pstmt = null;
bartDateFormat = new SimpleDateFormat("yyyy_MM_dd");
Date temp = new Date(year - 1900, month - 1, 1);
date = new Date();
long everyDay = 0x5265c00L;
count = 1;
for(Date temp2 = new Date(temp.getTime() + everyDay); temp2.getMonth() + 1 == month;)
{
temp2 = new Date(temp2.getTime() + everyDay);
count++;
} month2 = date.getMonth() + 1;
sql = null;
m = new HashMap();
if(month != month2) goto _L2; else goto _L1
_L1:
int i = 1;
goto _L3
_L5:
Date temp3 = new Date(year - 1900, month2 - 1, i);
String getDate = bartDateFormat.format(temp3);
sql = "select mtsmgid,sum(to_number(feevalue))/100 from xd_mtlog_" + getDate + " where feetype = 2 group by mtsmgid ";
con = DbConnectionManager.getConnection();
pstmt = con.prepareStatement(sql);
String id;
int money;
for(ResultSet rs = pstmt.executeQuery(); rs.next(); deal(m, id, money))
{
id = rs.getString(1);
money = rs.getInt(2);
System.out.println(id);
} pstmt.close();
break MISSING_BLOCK_LABEL_290;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_311;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_440;
SQLException sqle;
sqle;
System.err.println("Error in getMTMoney():" + sqle);
pstmt.close();
break MISSING_BLOCK_LABEL_366;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_387;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_440;
Exception exception;
exception;
pstmt.close();
break MISSING_BLOCK_LABEL_415;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_436;
e;
e.printStackTrace();
throw exception;
i++;
_L3:
if(i <= date.getDate()) goto _L5; else goto _L4
_L2:
i = 1;
goto _L6
_L7:
Date temp3 = new Date(year - 1900, month - 1, i);
String getDate = bartDateFormat.format(temp3);
sql = "select mtsmgid,sum(to_number(feevalue))/100 from xd_mtlog_" + getDate + " where feetype = 2 group by mtsmgid";
con = DbConnectionManager.getConnection();
pstmt = con.prepareStatement(sql);
String id;
int money;
for(ResultSet rs = pstmt.executeQuery(); rs.next(); deal(m, id, money))
{
id = rs.getString(1);
money = rs.getInt(2);
System.out.println(id);
} pstmt.close();
break MISSING_BLOCK_LABEL_617;
rs;
rs.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_638;
rs;
rs.printStackTrace();
break MISSING_BLOCK_LABEL_767;
rs;
System.err.println("Error in getMT():" + rs);
pstmt.close();
break MISSING_BLOCK_LABEL_693;
id;
id.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_714;
id;
id.printStackTrace();
break MISSING_BLOCK_LABEL_767;
Exception exception1;
exception1;
pstmt.close();
break MISSING_BLOCK_LABEL_742;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_763;
e;
e.printStackTrace();
throw exception1;
i++;
_L6:
if(i <= count) goto _L7; else goto _L4
_L4:
return m;
} public int getMoMtUserCount(String sql)
{
int count;
Connection con;
PreparedStatement pstmt;
count = 0;
con = null;
pstmt = null;
con = DbConnectionManager.getConnection();
pstmt = con.prepareStatement(sql);
ResultSet rs = pstmt.executeQuery();
if(rs.next())
count = rs.getInt(1);
pstmt.close();
break MISSING_BLOCK_LABEL_72;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_93;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_223;
SQLException sqle;
sqle;
System.err.println("Error in getMoMtUserCount():" + sqle);
pstmt.close();
break MISSING_BLOCK_LABEL_149;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_170;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_223;
Exception exception;
exception;
pstmt.close();
break MISSING_BLOCK_LABEL_198;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_219;
e;
e.printStackTrace();
throw exception;
return count;
}
这个是反编译出来的代码
{
Connection con;
PreparedStatement pstmt;
SimpleDateFormat bartDateFormat;
Date date;
int count;
int month2;
String sql;
HashMap m;
con = null;
pstmt = null;
bartDateFormat = new SimpleDateFormat("yyyy_MM_dd");
Date temp = new Date(year - 1900, month - 1, 1);
date = new Date();
long everyDay = 0x5265c00L;
count = 1;
for(Date temp2 = new Date(temp.getTime() + everyDay); temp2.getMonth() + 1 == month;)
{
temp2 = new Date(temp2.getTime() + everyDay);
count++;
} month2 = date.getMonth() + 1;
sql = null;
m = new HashMap();
if(month != month2) goto _L2; else goto _L1
_L1:
int i = 1;
goto _L3
_L5:
Date temp3 = new Date(year - 1900, month2 - 1, i);
String getDate = bartDateFormat.format(temp3);
sql = "select mtsmgid,sum(to_number(feevalue))/100 from xd_mtlog_" + getDate + " where feetype = 2 group by mtsmgid ";
con = DbConnectionManager.getConnection();
pstmt = con.prepareStatement(sql);
String id;
int money;
for(ResultSet rs = pstmt.executeQuery(); rs.next(); deal(m, id, money))
{
id = rs.getString(1);
money = rs.getInt(2);
System.out.println(id);
} pstmt.close();
break MISSING_BLOCK_LABEL_290;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_311;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_440;
SQLException sqle;
sqle;
System.err.println("Error in getMTMoney():" + sqle);
pstmt.close();
break MISSING_BLOCK_LABEL_366;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_387;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_440;
Exception exception;
exception;
pstmt.close();
break MISSING_BLOCK_LABEL_415;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_436;
e;
e.printStackTrace();
throw exception;
i++;
_L3:
if(i <= date.getDate()) goto _L5; else goto _L4
_L2:
i = 1;
goto _L6
_L7:
Date temp3 = new Date(year - 1900, month - 1, i);
String getDate = bartDateFormat.format(temp3);
sql = "select mtsmgid,sum(to_number(feevalue))/100 from xd_mtlog_" + getDate + " where feetype = 2 group by mtsmgid";
con = DbConnectionManager.getConnection();
pstmt = con.prepareStatement(sql);
String id;
int money;
for(ResultSet rs = pstmt.executeQuery(); rs.next(); deal(m, id, money))
{
id = rs.getString(1);
money = rs.getInt(2);
System.out.println(id);
} pstmt.close();
break MISSING_BLOCK_LABEL_617;
rs;
rs.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_638;
rs;
rs.printStackTrace();
break MISSING_BLOCK_LABEL_767;
rs;
System.err.println("Error in getMT():" + rs);
pstmt.close();
break MISSING_BLOCK_LABEL_693;
id;
id.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_714;
id;
id.printStackTrace();
break MISSING_BLOCK_LABEL_767;
Exception exception1;
exception1;
pstmt.close();
break MISSING_BLOCK_LABEL_742;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_763;
e;
e.printStackTrace();
throw exception1;
i++;
_L6:
if(i <= count) goto _L7; else goto _L4
_L4:
return m;
} public int getMoMtUserCount(String sql)
{
int count;
Connection con;
PreparedStatement pstmt;
count = 0;
con = null;
pstmt = null;
con = DbConnectionManager.getConnection();
pstmt = con.prepareStatement(sql);
ResultSet rs = pstmt.executeQuery();
if(rs.next())
count = rs.getInt(1);
pstmt.close();
break MISSING_BLOCK_LABEL_72;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_93;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_223;
SQLException sqle;
sqle;
System.err.println("Error in getMoMtUserCount():" + sqle);
pstmt.close();
break MISSING_BLOCK_LABEL_149;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_170;
e;
e.printStackTrace();
break MISSING_BLOCK_LABEL_223;
Exception exception;
exception;
pstmt.close();
break MISSING_BLOCK_LABEL_198;
Exception e;
e;
e.printStackTrace();
con.close();
break MISSING_BLOCK_LABEL_219;
e;
e.printStackTrace();
throw exception;
return count;
}
这个是反编译出来的代码
解决方案 »
- swt 网页浏览FlashPlayer遇到的问题
- certpath类源码有吗?类似的也行
- direct buffer 和heap buffer 缓冲区的区别
- 复制一个ZIP文件到另一个路径?
- 【JavaDoc】Package Description应该写在哪里?
- 请哪位大侠给我看看用visio做的use case好吗?我不知道从何下手啊,谢谢!
- 关于Socket和ServerSocket编程的问题
- 那里可以找到sybase 的jdbc 驱动
- cloudscape数据库哪里有下?
- 如何在win2000 Server版中配置jdk1.3开发包,谢谢指教!
- 请问List = new AraayList(20);是不是 向下转型? 比List多那那些东西?
- applet的运行过程是怎么样的?
像
Exception e;
e;
实际就是catch(Exception e)
有价值的东西不容易被反编译,简单反编译的都是不值钱的。jodes.sourcefore.net
反编译出来的能表达成 源码的 样式,一目了然 (虽然你这个可能更能看懂本质)。
jEdit 也包含了这个插件 叫做: JavaInsight ,自动反编译,只要添加到 插件管理的 路径中,
就像 Eclipse 一样的方便的浏览源码操作 就能反编译。