主题:急死了,反编译问题
public String getFoDate(String date, int days)
{
DBConnection dbconn;
PreparedStatement pStat;
Connection conn;
ResultSet res;
String sqlstr;
dbconn = null;
pStat = null;
conn = null;
res = null;
sqlstr = (new StringBuilder("DECLARE @dt datetime SET @dt='")).append(date).append("' SELECT @dt-").append(days).toString();
String s;
dbconn = new DBConnection();
conn = dbconn.getConnectionFromProxool();
pStat = conn.prepareStatement(sqlstr);
res = pStat.executeQuery();
if(!res.next())
break MISSING_BLOCK_LABEL_119;
s = res.getString(1).substring(0, 10);
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
return s;
s = date;
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
return s;
Exception e;
e;
s = date;
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
return s;
Exception exception;
exception;
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
throw exception;
}
}
上面代码是反编译出来的,调试时
Exception exception;
exception;
有错.都是一样的错误,请高手指点..送一个八位数QQ15214737(无保护资料)作为答谢[em19]
{
DBConnection dbconn;
PreparedStatement pStat;
Connection conn;
ResultSet res;
String sqlstr;
dbconn = null;
pStat = null;
conn = null;
res = null;
sqlstr = (new StringBuilder("DECLARE @dt datetime SET @dt='")).append(date).append("' SELECT @dt-").append(days).toString();
String s;
dbconn = new DBConnection();
conn = dbconn.getConnectionFromProxool();
pStat = conn.prepareStatement(sqlstr);
res = pStat.executeQuery();
if(!res.next())
break MISSING_BLOCK_LABEL_119;
s = res.getString(1).substring(0, 10);
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
return s;
s = date;
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
return s;
Exception e;
e;
s = date;
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
return s;
Exception exception;
exception;
dbconn.closeResultSet(res);
dbconn.closePreparedStatement(pStat);
dbconn.closeConnection(conn);
throw exception;
}
}
上面代码是反编译出来的,调试时
Exception exception;
exception;
有错.都是一样的错误,请高手指点..送一个八位数QQ15214737(无保护资料)作为答谢[em19]