⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 genarrearageblacklistdbbean.java

📁 华磊物业管理系统源码 (仅供参考)
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
// 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:   GenArrearageBlacklistDBBean.java

package finance.statistic;

import com.ibm.db.*;
import common.ParentDBBean;
import common.QueryDBBean;
import java.sql.Date;
import java.util.Vector;

public class GenArrearageBlacklistDBBean extends QueryDBBean
{

    protected String tableName1;
    protected String tableName2;
    protected String subarea;
    protected String building;
    protected String stair;
    protected String floor;
    protected String cell;
    protected String nowdate;
    protected String feenum;
    protected String otherfee;
    protected String basefee;
    Vector feenumber;
    Vector feename;
    Vector liveSubarea;
    Vector liveBuilding;
    Vector liveFloor;
    Vector liveStair;
    Vector liveCell;
    Vector vbasenumber;
    Vector vbasefee;
    Vector votherbasenum;
    Vector votheritemfee;
    Vector vthreeaddress;
    Vector vitemaddress;
    Vector vitemallfee;
    Vector livetenement;
    protected String selectSQL01;
    protected String selectSQL02;
    protected String selectLive;
    protected String selectSQL03;
    protected SelectStatement selectStatement01;
    protected SelectStatement selectStatement02;
    protected SelectStatement selectStatementLive;
    protected SelectStatement selectStatement03;
    static Class class$java$lang$Integer; /* synthetic field */
    static Class class$java$lang$String; /* synthetic field */
    static Class class$java$sql$Date; /* synthetic field */
    static Class class$java$lang$Double; /* synthetic field */

    public GenArrearageBlacklistDBBean()
    {
        tableName1 = "";
        tableName2 = "";
        subarea = "";
        building = "";
        stair = "";
        floor = "";
        cell = "";
        nowdate = "";
        feenum = "";
        otherfee = "";
        basefee = "";
        feenumber = new Vector();
        feename = new Vector();
        liveSubarea = new Vector();
        liveBuilding = new Vector();
        liveFloor = new Vector();
        liveStair = new Vector();
        liveCell = new Vector();
        vbasenumber = new Vector();
        vbasefee = new Vector();
        votherbasenum = new Vector();
        votheritemfee = new Vector();
        vthreeaddress = new Vector();
        vitemaddress = new Vector();
        vitemallfee = new Vector();
        livetenement = new Vector();
    }

    public void SelectLive()
        throws Exception
    {
        try
        {
            initSelectLive();
            selectStatementLive.execute();
            result = selectStatementLive.getResult();
            result.firstRow();
            setStatusMessage("检索收费项目成功");
            setStatusCode(7681);
        }
        catch(DataException dataexception)
        {
            setStatusMessage("检索收费项目时出错");
            setStatusCode(7683);
            switch(dataexception.getErrorCode())
            {
            case 214: 
                setStatusMessage("没有收费项目信息");
                setStatusCode(7684);
                break;

            default:
                throw new Exception(getStatusMessage() + dataexception);
            }
        }
    }

    static Class class$(String s)
    {
        try
        {
            return Class.forName(s);
        }
        catch(ClassNotFoundException classnotfoundexception)
        {
            throw new NoClassDefFoundError(classnotfoundexception.getMessage());
        }
    }

    public String getBasefee()
    {
        return basefee;
    }

    public String getBuilding()
    {
        return building;
    }

    public String getCell()
    {
        return cell;
    }

    public void getDataFromResult01()
        throws Exception
    {
        try
        {
            for(int i = 0; i < result.getNumRowsInCache(); i++)
            {
                result.setCurrentRow(i + 1);
                feenumber.addElement(result.getColumnValueToString("number").trim());
                feename.addElement(result.getColumnValueToString("feename").trim());
            }

        }
        catch(DataException dataexception)
        {
            setStatusCode(7685);
            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);
                vbasenumber.addElement(result.getColumnValueToString("basenumber").trim());
                vbasefee.addElement(result.getColumnValueToString("allfee").trim());
                vthreeaddress.addElement(result.getColumnValueToString("basesubarea").trim() + result.getColumnValueToString("basebuilding").trim() + "-" + result.getColumnValueToString("basedoor").trim() + "-" + result.getColumnValueToString("basefloor").trim() + result.getColumnValueToString("basecell").trim());
            }

        }
        catch(DataException dataexception)
        {
            setStatusCode(7690);
            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);
                try
                {
                    vbasefee.addElement(result.getColumnValueToString("basefee").trim());
                }
                catch(NullPointerException _ex)
                {
                    vbasefee.addElement("0");
                }
                vthreeaddress.addElement(result.getColumnValueToString("basesubarea").trim() + result.getColumnValueToString("basebuilding").trim() + "-" + result.getColumnValueToString("basedoor").trim() + "-" + result.getColumnValueToString("basefloor").trim() + result.getColumnValueToString("basecell").trim());
            }

        }
        catch(DataException dataexception)
        {
            setStatusCode(7690);
            setStatusMessage("保存黑名单时出错");
            throw new Exception(getStatusMessage() + dataexception);
        }
        finally
        {
            closeResultSet();
        }
    }

    public void getDataLive()
        throws Exception
    {
        try
        {
            for(int i = 0; i < result.getNumRowsInCache(); i++)
            {
                result.setCurrentRow(i + 1);
                liveSubarea.addElement(result.getColumnValueToString("livesubarea").trim());
                liveBuilding.addElement(result.getColumnValueToString("livebuilding").trim());
                liveStair.addElement(result.getColumnValueToString("livestair").trim());
                liveFloor.addElement(result.getColumnValueToString("livefloor").trim());
                liveCell.addElement(result.getColumnValueToString("livecell").trim());
                livetenement.addElement(result.getColumnValueToString("livetenement").trim());
            }

        }
        catch(DataException dataexception)
        {
            setStatusCode(7685);
            setStatusMessage("保存收费项目时出错");
            throw new Exception(getStatusMessage() + dataexception);
        }
        finally
        {
            closeResultSet();
        }
    }

    public String getFeeNum()
    {
        return feenum;
    }

    public String getFloor()
    {
        return floor;
    }

    public String getNowdate()
    {
        return nowdate;
    }

    public String getOtherfee()
    {
        return otherfee;
    }

    public String getSelectLive()
    {
        return selectLive;
    }

    public String getSelectSQL01()
    {
        return selectSQL01;
    }

    public String getSelectSQL02()
    {
        return selectSQL02;
    }

    public String getSelectSQL03()
    {
        return selectSQL03;
    }

    public String getStair()
    {
        return stair;
    }

    public String getSubarea()
    {
        return subarea;
    }

    public String getTableName1()
    {
        return tableName1;
    }

    public String getTableName2()
    {
        return tableName2;
    }

    public void initSelect01()
        throws DataException
    {
        StatementMetaData statementmetadata = null;
        selectStatement01 = new SelectStatement();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -