// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: CountElectricFeeDBBean.java
package finance;
import com.ibm.db.*;
import common.ParentDBBean;
import common.QueryDBBean;
import java.io.IOException;
import java.util.Vector;
public class CountElectricFeeDBBean extends QueryDBBean
{
int countby;
protected String feecycle;
protected String cashflag;
protected String flag1;
protected String basefee;
protected String meterdata;
protected String delflag;
protected String feename;
protected String subareanumb;
protected String buildingnumb;
protected String doornumb;
protected String floornumb;
protected String cellnumb;
protected String meternum;
protected String itemnum;
protected String basefeenum;
protected String itemfee;
protected String otherfee;
protected String allfee;
Vector vecCount;
Vector vecQ1;
Vector vecL1;
Vector vecL2;
Vector vecL3;
Vector vecL4;
Vector vecL5;
Vector vecC1;
Vector vecM1;
Vector vecZ1;
Vector vecN1;
Vector vecTemp1;
Vector vecTemp2;
Vector vecTemp3;
Vector vecTemp4;
Vector vecTemp5;
Vector vecS1;
Vector vecS2;
Vector vecS3;
Vector vecS4;
Vector vec1;
Vector vec2;
Vector vec3;
Vector vec4;
Vector vecA1;
Vector vecA2;
Vector vecP1;
Vector vecF;
Vector vecB;
Vector vecSBM;
Vector vecTDM;
Vector vecDTM;
Vector Level0;
protected String selectSQL01;
protected String selectSQL02;
protected String selectSQL03;
protected String selectSQL04;
protected String selectSQL05;
protected String selectSQL06;
protected String selectSQL07;
protected String selectSQL08;
protected String selectSQL09;
protected String selectSQL10;
protected String selectSQL11;
protected String selectSQL12;
protected String selectSQL13;
protected String selectSQL14;
protected String selectSQL15;
protected String insertSQL01;
protected String insertSQL02;
protected String insertSQL03;
protected String updateSQL01;
protected SelectStatement selectStatement01;
protected SelectStatement selectStatement02;
protected SelectStatement selectStatement03;
protected SelectStatement selectStatement04;
protected SelectStatement selectStatement05;
protected SelectStatement selectStatement06;
protected SelectStatement selectStatement07;
protected SelectStatement selectStatement08;
protected SelectStatement selectStatement09;
protected SelectStatement selectStatement10;
protected SelectStatement selectStatement11;
protected SelectStatement selectStatement12;
protected SelectStatement selectStatement13;
protected SelectStatement selectStatement14;
protected SelectStatement selectStatement15;
protected SQLStatement insertStatement01;
protected SQLStatement insertStatement02;
protected SQLStatement insertStatement03;
protected SQLStatement updateStatement01;
static Class class$java$lang$String; /* synthetic field */
static Class class$java$lang$Double; /* synthetic field */
static Class class$java$lang$Integer; /* synthetic field */
public CountElectricFeeDBBean()
{
vecCount = new Vector();
vecQ1 = new Vector();
vecL1 = new Vector();
vecL2 = new Vector();
vecL3 = new Vector();
vecL4 = new Vector();
vecL5 = new Vector();
vecC1 = new Vector();
vecM1 = new Vector();
vecZ1 = new Vector();
vecN1 = new Vector();
vecTemp1 = new Vector();
vecTemp2 = new Vector();
vecTemp3 = new Vector();
vecTemp4 = new Vector();
vecTemp5 = new Vector();
vecS1 = new Vector();
vecS2 = new Vector();
vecS3 = new Vector();
vecS4 = new Vector();
vec1 = new Vector();
vec2 = new Vector();
vec3 = new Vector();
vec4 = new Vector();
vecA1 = new Vector();
vecA2 = new Vector();
vecP1 = new Vector();
vecF = new Vector();
vecB = new Vector();
vecSBM = new Vector();
vecTDM = new Vector();
vecDTM = new Vector();
Level0 = new Vector();
}
static Class class$(String s)
{
try
{
return Class.forName(s);
}
catch(ClassNotFoundException classnotfoundexception)
{
throw new NoClassDefFoundError(classnotfoundexception.getMessage());
}
}
public String getAllfee()
{
return allfee;
}
public String getBasefee()
{
return basefee;
}
public String getBasefeenum()
{
return basefeenum;
}
public String getBuildingnumb()
{
return buildingnumb;
}
public String getCashflag()
{
return cashflag;
}
public String getCellnumb()
{
return cellnumb;
}
public int getCountby()
{
return countby;
}
public void getDataFromResult01()
throws Exception
{
try
{
for(int i = 0; i < result.getNumRowsInCache(); i++)
{
result.setCurrentRow(i + 1);
vecQ1.addElement(result.getColumnValueToString("feestandard").trim());
}
}
catch(DataException dataexception)
{
setStatusCode(8811);
setStatusMessage("从收费项目表获取每收费单位费用时出错");
throw new Exception(getStatusMessage() + dataexception);
}
finally
{
closeResultSet();
}
}
public void getDataFromResult02()
throws Exception
{
try
{
for(int i = 0; i < result.getNumRowsInCache(); i++)
{
result.setCurrentRow(i + 1);
vecL1.addElement(result.getColumnValueToString("subarea").trim());
vecL2.addElement(result.getColumnValueToString("building").trim());
vecL3.addElement(result.getColumnValueToString("stair").trim());
vecL4.addElement(result.getColumnValueToString("floor").trim());
vecL5.addElement(result.getColumnValueToString("cell").trim());
}
}
catch(DataException dataexception)
{
setStatusCode(8816);
setStatusMessage("从入住记录表获取结果时出错");
throw new Exception(getStatusMessage() + dataexception);
}
finally
{
closeResultSet();
}
}
public void getDataFromResult03()
throws Exception
{
try
{
for(int i = 0; i < result.getNumRowsInCache(); i++)
{
result.setCurrentRow(i + 1);
vecC1.addElement(result.getColumnValueToString("meterdata").trim());
}
}
catch(DataException dataexception)
{
setStatusCode(8822);
setStatusMessage("从电表抄表记录获取本单元抄表记录时出错");
throw new Exception(getStatusMessage() + dataexception);
}
finally
{
closeResultSet();
}
}
public void getDataFromResult04()
throws Exception
{
try
{
for(int i = 0; i < result.getNumRowsInCache(); i++)
{
result.setCurrentRow(i + 1);
vecM1.addElement(result.getColumnValueToString("meterdata