人狼911 2011-02-16 17:12
浏览 366
已采纳

java文件编译问题

我在做一个java项目的二次开发,项目是公司买的;
现在我做了一个java类,但编译的时候不能通过,报软件包和符号不能找到,

类如下:
import java.io.*;
import java.util.Calendar;
import java.util.HashMap;
import java.sql.*;
import weaver.conn.ConnStatement;
//import weaver.conn.RecordSet;
import weaver.conn.RecordSetTrans;
import weaver.docs.DocDetailLog;
import weaver.docs.docs.*;

import weaver.general.Util;
import weaver.hrm.resource.ResourceComInfo;
import weaver.soa.workflow.request.RequestInfo;
import weaver.system.SystemComInfo;

import weaver.soa.workflow.request.Cell;
import weaver.soa.workflow.request.DetailTable;
import weaver.soa.workflow.request.Property;
import weaver.soa.workflow.request.Row;
import java.text.DecimalFormat;

public class FeesApplyOk implements Action
{
public String execute(RequestInfo requestinfo)
{
String strCompany=""; //公司
String strPaymentdate=""; //付款日期
String strShortname=""; //账户名称 Shortname 主表字段
String strOpeningbalance=""; //金额 由明细金额累加
String strTextContent=""; //文本 主表文本"12" 明细文本 "科目名称+ +用户名"
String strBalanceMethod=""; //余额方法 查询所得
String strCurrency=""; //货币 查询所得
String strStatementno=""; //最新报表好 查询所得
String strTransno=""; //一次付清事务编号 根据明细数据从1递增
String strTransid=""; //一次付清事务ID
String strDetailBalance=""; //明细行金额
String strDomAmount="";
String strERPNo=""; //ERP科目编码 查询所得
String strPeopleNo=""; //人员编码 查询所得
String strPlantNo=""; //板块编码 查询所得
String strDepartmentNo=""; //部门编码 查询所得
String strMaxPaymentId=""; //凭证主表数据ID
String strPeopleName=""; //人员名称 查询所得
String strErrorSql="";
String strError="";
String strOpenBalAccCurr="";
//String strLastErrorSql="";

    String strRequestId = requestinfo.getRequestid();
    //String s1 = requestinfo.getLastoperator();
    //String s2 = requestinfo.getDescription();
    String strWorkflowId = requestinfo.getWorkflowid();

    char separator = Util.getSeparator();
    String para = "";

    DBManager db13=new DBManager("oa");
    try{
        //取主表数据
        String requestid=requestinfo.getRequestid()+"";
        Property[] properties = requestinfo.getMainTableInfo().getProperty();// 获取表单主字段信息
        HashMap<String, String> mainmap=new HashMap<String, String>(); //主表数据字段键值对应
        for (int i = 0; i < properties.length; i++) {
            //para = "";
            String name = Util.null2String(properties[i].getName());// 主字段名称
            String value = Util.null2String(properties[i].getValue());// 主字段对应的值
            mainmap.put(name,value);
        }
        //取明细数据
        DetailTable[] detailtable = requestinfo.getDetailTableInfo()
                .getDetailTable();// 获取所有明细表

        HashMap<String, HashMap<String, String>> detailmap=new HashMap<String, HashMap<String, String>>(); //明细数据行键值对应
        if (detailtable.length > 0) {
            for (int i = 0; i < detailtable.length; i++) {
                DetailTable dt = detailtable[i];// 指定明细表
                Row[] s = dt.getRow();// 当前明细表的所有数据,按行存储

                for (int j = 0; j < s.length; j++) {
                    Row r = s[j];// 指定行
                    Cell c[] = r.getCell();// 每行数据再按列存储

                    HashMap<String, String> detail=new HashMap<String, String>(); //明细数据行字段值键值对应
                    for (int k = 0; k < c.length; k++) {
                        Cell c1 = c[k];// 指定列
                        String name = Util.null2String(c1.getName());// 明细字段名称
                        String value = Util.null2String(c1.getValue());// 明细字段的值
                        detail.put(name,value);
                    }
                    detailmap.put(j+1+"detail",detail);
                }
            }
        }

        DecimalFormat df=new DecimalFormat("#.00"); 



        //取公司号 和部门编码  20110215徐应怀
        DBManager db2=new DBManager("oa");
        String department = mainmap.get("appdept");
        boolean flag = true;
        ResultSet rs2 = db2.getResultSet("select t.supdepid,substr(t.departmentcode,1,2)company,t.departmentcode  from hrmdepartment t where id ="+department+"");
        if (rs2.next())
        {
            department = rs2.getInt("supdepid")+"";
            strCompany = rs2.getString("company");
            strDepartmentNo = rs2.getString("departmentcode");
            while(flag)
            {
                if (strDepartmentNo.equals(""))//如果该部门编号为组,则取上级部门
                {
                    ResultSet rs3 = db2.getResultSet("select t.supdepid,substr(t.departmentcode,1,2)company,t.departmentcode  from hrmdepartment t where id ="+department+"");
                    if (rs3.next())
                    {
                        department = rs3.getInt("supdepid")+"";
                        strCompany = rs3.getString("company");
                        strDepartmentNo = rs3.getString("departmentcode");
                    }
                }else
                {
                    flag = false;
                }
            }
        }


        System.out.println("公司编号:"+strCompany);

        DBManager db3=new DBManager("oa");
        //取付款日期
        String dateSql="Select t5.* From Workflow_Currentoperator t5";
        dateSql=dateSql+" Where t5.Requestid = '"+strRequestId+"' And t5.Workflowid = '"+strWorkflowId+"'";
        dateSql=dateSql+" And t5.Operatedate Is Not Null And t5.Isreject Is Null And t5.Userid In";
        dateSql=dateSql+" (Select T4.Resourceid From (Select t.Resourceid, T3.Lastname,T1.Rolesname";
        dateSql=dateSql+" From Hrmrolemembers t, Hrmroles T1, Hrmresource T3 Where t.Roleid In";
        dateSql=dateSql+" (Select T2.Id From Hrmroles T2 Where T2.Rolesname Like '%会计%') And t.Roleid = T1.Id And t.Resourceid = T3.Id) T4)";
        ResultSet rs3=db3.getResultSet(dateSql);
        if(rs3.next()){
            strPaymentdate=rs3.getString("operatedate");
        }
        //--------------------------------------------------------------------------------------------
        System.out.println("取付款日期:"+strPaymentdate);

        DBManager db4=new DBManager("oa");
        //取账户名称
        String strShortname1=mainmap.get("selectcus").toString();
        ResultSet rs4=db4.getResultSet("select t.customerid from bl_customer_info t Where t.customerno='"+strShortname1+"'");
        if(rs4.next()){
            strShortname1=rs4.getString("customerid");
        }
        String[] ids=strShortname1.split("\\u007C");
        strShortname=ids[0].trim(); //账户名称

        //--------------------------------------------------------------------------------------------
        System.out.println("取账户名称:"+strShortname);

        //主表文本
        strTextContent="12";

        DBManager db5=new DBManager();
        //取余额方法  货币
        String currSql="Select t.Currency, Nvl(t.Balance_Method,'Nothing') As Balance_Method From Cash_Account t Where t.Short_Name = '"+strShortname+"' And t.Company = '"+strCompany+"'";
        ResultSet rs5=db5.getResultSet(currSql);
        if(rs5.next()){
            strBalanceMethod=rs5.getString("Balance_Method");   //余额方法
            if(strBalanceMethod.equals("Nothing")){
                strBalanceMethod="Group";
            }
            strCurrency=rs5.getString("Currency");              //货币
        }
        //--------------------------------------------------------------------------------------------
        System.out.println("货币:"+strCurrency);
        System.out.println("余额方法:"+strBalanceMethod);

        String currencyType="";
        double currencyRate=0;
        DBManager dbm1=new DBManager();
        String curRate="Select t.Currency_Type, t.Currency_Rate From Ifsapp.Latest_Currency_Rates t";
                curRate=curRate+" Where t.Company = '"+strCompany+"' And t.Currency_Code = '"+strCurrency+"'";
        ResultSet rsdbm1=dbm1.getResultSet(curRate);
        if(rsdbm1.next()){
            currencyType=rsdbm1.getString("Currency_Type");
            currencyRate=rsdbm1.getDouble("Currency_Rate");
        }
        System.out.println("Currency Type:"+currencyType);
        System.out.println("汇率:"+currencyRate);

        DBManager db8=new DBManager();
            //取得凭证主表数据ID
            // String MaxPaymentIdSql="Select Max(t.Mixed_Payment_Id) As Mixed_Payment_Id From Mixed_Payment t Where";
                    // MaxPaymentIdSql=MaxPaymentIdSql+" t.Short_Name = '"+strShortname+"' And t.Company = '"+strCompany+"'";
            String MaxPaymentIdSql="Select Max(t.Mixed_Payment_Id) As Mixed_Payment_Id From Mixed_Payment t Where";
                    MaxPaymentIdSql=MaxPaymentIdSql+" t.Company = '"+strCompany+"'";
            //strLastErrorSql="取凭证主表数据ID :"+MaxPaymentIdSql;
            ResultSet rs8=db8.getResultSet(MaxPaymentIdSql);
            if(rs8.next()){
                strMaxPaymentId=(Integer.parseInt(rs8.getString("Mixed_Payment_Id"))+1)+""; //凭证主表数据ID
            }
            //--------------------------------------------------------------------------------------------
            System.out.println("取凭证主表数据ID:"+strMaxPaymentId);

        DBManager db6=new DBManager();
        //取最新报表号
        String statementNoSql="Select (Max(To_Number(t.Statement_No)) + 1) as stateNo From Mixed_Payment t";
        statementNoSql=statementNoSql+" Where t.Company = '"+strCompany+"'";
        System.out.println("--"+statementNoSql);
        ResultSet rs6=db6.getResultSet(statementNoSql);
        if(rs6.next()){
            strStatementno=rs6.getString("stateNo");
        }
        //--------------------------------------------------------------------------------------------
        System.out.println("最新报表号:"+strStatementno);

        //计算主表金额
        double moneyCount=0;
        for (int l = 1; l <= detailmap.size(); l++) {
            HashMap<String, String> hmtemp=detailmap.get(l+"detail");
            moneyCount=moneyCount+Double.parseDouble((String)hmtemp.get("money"));
        }
        strOpenBalAccCurr=df.format(currencyRate*moneyCount)+"";
        strOpeningbalance=moneyCount+"";
        //--------------------------------------------------------------------------------------------
        System.out.println("主表金额:"+strOpeningbalance);


        DBManager db7=new DBManager("oa");
        //取人员信息
        String strPeopleSql="Select t1.lastname,t1.Loginid From Hrmresource t1 Where t1.id='"+mainmap.get("applicant")+"'";
        ResultSet rs7=db7.getResultSet(strPeopleSql);
        if(rs7.next()){
            strPeopleName=rs7.getString("lastname");
            strPeopleNo=rs7.getString("Loginid");
        }
        //--------------------------------------------------------------------------------------------
        System.out.println("取人员信息:"+strPeopleName+" "+strPeopleNo);
        /* 报销时在报销人所在的公司和部门,现在无需判断 20110215 徐应怀
        //判断人员是否存在于目标报销公司
        DBManager dbt=new DBManager();
        String isInsertUserSql="Select Count(t.CODE_B) as con From IFSAPP.CODE_B t Where t.company='"+strCompany+"' And t.CODE_B='"+strPeopleNo+"'";
        ResultSet rst=dbt.getResultSet(isInsertUserSql);
        int isCon=0; 
        if(rst.next()){
            isCon=rst.getInt("con");
        }


        if(isCon==0){
            DBManager dbt1=new DBManager();
            dbt1.setAutoCommit(false);
            String insertUserParam = strCompany.trim() + sp;
            insertUserParam = insertUserParam + strPeopleNo.trim() + sp;
            insertUserParam = insertUserParam + strPeopleName.trim() + sp;
            insertUserParam = insertUserParam + "2008-01-01-00.00.00" + sp;
            insertUserParam = insertUserParam + "2058-12-31-00.00.00" + sp;
            insertUserParam = insertUserParam + "B";

            System.out.println("添加人员:"+insertUserParam);
            dbt1.executeUpdate("InsertUserToCompany", insertUserParam);         //添加人员
            dbt1.commitConnection();
            dbt1.setAutoCommit(true);
        }*/
        String sp = ",";
        DBManager db=new DBManager();

        try {
            String strparam = strCompany.trim() + sp;               //公司
            strparam = strparam + strPaymentdate.trim() + sp;       //付款日期
            strparam = strparam + strShortname.trim() + sp;         //账户名称
            strparam = strparam + strOpeningbalance.trim() + sp;    //主表金额
            strparam = strparam + strOpenBalAccCurr.trim() + sp;    //乘以汇率后的金额
            strparam = strparam + strTextContent.trim() + sp;       //主表文本
            strparam = strparam + strBalanceMethod.trim() + sp;     //余额方法
            strparam = strparam + strCurrency.trim() + sp;          //货币
            strparam = strparam + (currencyRate+"").trim() + sp;    //汇率
            strparam = strparam + currencyType.trim() + sp;         //货币类型
            strparam = strparam + strStatementno.trim();            //最新报表号
            db.setAutoCommit(false);
            db.executeUpdate("Procpricemain", strparam);    //执行主表存储过程
            //--------------------------------------------------------------------------------------------
            System.out.println("主表存储过程参数:"+strparam);


            for (int l = 1; l <= detailmap.size(); l++) {
                strTransno=l+"";    //一次付清事务编号
                strTransid=(l-1)+"";    //一次付清事务ID
                HashMap<String, String> hmtemp=detailmap.get(l+"detail");
                strDetailBalance=(String)hmtemp.get("money");   //明细单行金额
                strDomAmount=df.format(Double.parseDouble(strDetailBalance) * currencyRate)+"";

/* String erptemp=(String)hmtemp.get("costtype");
String erppojid=(String)hmtemp.get("project");
String erppojdid=(String)hmtemp.get("object"); */

                String midStr=(String)hmtemp.get("costtype");
                DBManager db10=new DBManager("oa");
                //ERP科目编码
                String erppojdid="";
                String erpNoSql="Select t.typeid,t.pojid,t.pojdid,t.erpno From Bl_Costbudget_Erpno t";
                erpNoSql=erpNoSql+" Where t.Erpno = (Select t.Erpno From Bl_Browser_Message_Tab t Where t.Mid = '"+midStr+"')";
                ResultSet rs10=db10.getResultSet(erpNoSql);
                if(rs10.next()){
                    strERPNo=rs10.getString("erpno");   //ERP科目编码
                    erppojdid=rs10.getString("pojdid");
                }
                //--------------------------------------------------------------------------------------------
                System.out.println("ERP科目编码"+strERPNo);

                String projectName="";  //科目名称
                DBManager db9=new DBManager("oa");
                String projectSql="select t.pojdname from bl_costbudget_pojdetail t Where t.pojdid='"+erppojdid+"'";
                ResultSet rs9=db9.getResultSet(projectSql);
                if(rs9.next()){
                    projectName=rs9.getString("pojdname");
                }
                System.out.println("科目名称"+projectName);

                strTextContent=projectName+" "+strPeopleName;   //明细数据文本
                //--------------------------------------------------------------------------------------------
                System.out.println("明细数据文本"+strTextContent);

                /*String depNo=(String)hmtemp.get("depart");
                DBManager dbDep=new DBManager("oa");
                String depNoStr="Select t2.departid From bl_department_info t2 Where t2.departno='"+depNo+"'";
                ResultSet rsDep=dbDep.getResultSet(depNoStr);
                if(rsDep.next()){
                    strDepartmentNo=rsDep.getString("departid");    //部门编码
                }*/
                //部门编号
                System.out.println("部门编号:"+strDepartmentNo);

                strPlantNo=hmtemp.get("plate").toString();
                DBManager db12=new DBManager("oa");
                ResultSet rs12=db12.getResultSet("Select t.platedesc From bl_plate_info t Where t.plateid='"+strPlantNo+"'");
                String strTemp="";
                if(rs12.next()){
                    strTemp=rs12.getString("platedesc");
                }
                String[] st=strTemp.split("\\u007C");
                strPlantNo=st[1].trim();
                //--------------------------------------------------------------------------------------------
                System.out.println("板块代码"+strPlantNo);

                strparam = strTransid.trim() + sp;
                strparam = strparam + strTransno.trim() + sp;
                strparam = strparam + strCurrency.trim() + sp;                  //货币
                strparam = strparam + (currencyRate+"").trim() + sp;            //汇率
                strparam = strparam + strCompany.trim() + sp;                   //公司
                strparam = strparam + strPaymentdate.trim() + sp;               //付款日期
                strparam = strparam + "-"+strDetailBalance.trim() + sp;         //明细单行金额
                strparam = strparam + "-"+strDomAmount.trim() + sp;             //明细单行金额*汇率
                strparam = strparam + strTextContent.trim() + sp;               //明细数据文本
                strparam = strparam + strERPNo.trim()+ sp;                      //ERP科目编码
                strparam = strparam + strPeopleNo.trim()+ sp;                   //人员编码
                strparam = strparam + strPlantNo.trim()+ sp;                    //板块代码
                strparam = strparam + strDepartmentNo.trim();                   //部门编码

                db.executeUpdate("Procpricedetail", strparam);          //执行明细表存储过程
                //--------------------------------------------------------------------------------------------
                System.out.println("执行明细表存储过程参数:"+strparam);

                strparam = strTransno.trim() + sp;                                  
                strparam = strparam + strMaxPaymentId.trim() + sp;                  //凭证主表ID
                strparam = strparam + strCompany.trim() + sp;                       //公司
                strparam = strparam + strPaymentdate.trim()+"-0.00.00" + sp;        //付款日期
                strparam = strparam + strDetailBalance.trim() + sp;                 //明细单行金额
                strparam = strparam + strDomAmount.trim() + sp;
                strparam = strparam + strERPNo.trim()+ sp;                          //ERP科目编码
                strparam = strparam + strPeopleNo.trim()+ sp;                       //人员编码
                strparam = strparam + strPlantNo.trim()+ sp;                        //板块代码
                strparam = strparam + strDepartmentNo.trim();                       //部门编码

                db.executeUpdate("Procpricedetail2", strparam);         //执行明细表存储过程2
                //--------------------------------------------------------------------------------------------
                System.out.println("执行明细表存储过程2:"+strparam);
            }

            String sqls="Insert Into Ecologyfeelog (Workflowid,Requestid,Feeuserid,Feeusername,Company,Mixed_Payment_Id,";
                sqls=sqls+"Statement_No,Mixed_Payment_Date,Opening_Balance,Short_Name,Currency,Rowstate,Proof,Intodate,DOMAMOUNT) ";
                sqls=sqls+"Values ('"+strWorkflowId+"','"+strRequestId+"','"+strPeopleNo+"','"+strPeopleName+"',";
                sqls=sqls+"'"+strCompany.trim()+"','"+strMaxPaymentId.trim()+"','"+strStatementno.trim()+"',";
                sqls=sqls+"'"+strPaymentdate.trim()+"','"+strOpeningbalance.trim()+"','"+strShortname.trim()+"',";
                sqls=sqls+"'"+strCurrency.trim()+"','','',Sysdate,'"+strOpenBalAccCurr.trim()+"')";
            db.executeSql(sqls);

            db.commitConnection();

            strTextContent="12";    //凭证文本
            strparam = strPaymentdate.trim() + sp;                  //付款日期
            strparam = strparam + strMaxPaymentId.trim() + sp;      //凭证主表ID  
            strparam = strparam + strCompany.trim()+ sp;            //公司
            strparam = strparam + strTextContent.trim();            //凭证文本
            //--------------------------------------------------------------------------------------------
            db.executeUpdate("Procpriceaudit", strparam);       
            System.out.println("执行审核生成凭证:"+strparam);

            db.commitConnection();

            db.setAutoCommit(true);
            db.closeConenction();

        } catch (SQLException e) {
            try {
                db.rollBackConnection();
                String errorSql="Insert Into EcologyDebugFeeLog (intoDate,intoWorkFlowId,intoRequestId,intoMess)";
                errorSql=errorSql+" Values (Sysdate,'"+strWorkflowId+"','"+strRequestId+"','异常:凭证未生成;')";
                db13.executeSql(errorSql);
            } catch (SQLException e1) {
            }
        }
    }
    catch(Exception e) {
        try {
            String errorSql1="Insert Into EcologyDebugFeeLog (intoDate,intoWorkFlowId,intoRequestId,intoMess)";
            errorSql1=errorSql1+" Values (Sysdate,'"+strWorkflowId+"','"+strRequestId+"','异常:凭证未生成;')";
            db13.executeSql(errorSql1);
        } catch (SQLException e1) {
        }
    }
    return "1";
}

private static String strCode="";

public void getDepartment(String departId) throws SQLException {
    DBManager dbd = new DBManager("oa");
    String sql = "Select tt.supdepid,Nvl(tt.departmentcode,'Nothing') as departmentcode From Hrmdepartment tt Where tt.Id ='"
            + departId + "'";
    ResultSet rs = dbd.getResultSet(sql);
    if (rs.next()) {
        strCode = rs.getString("departmentcode");
        departId = rs.getString("supdepid");
        if (strCode.equals("Nothing")) {
            this.getDepartment(departId);
        } else {
            dbd.closeConenction();
        }
    }
}

}

所报的错误如下:
F:\myeclipse\workspace\test\src\weaver\interfaces\workflow\action>javac FeesAppl
yOk.java
FeesApplyOk.java:13: 软件包 weaver.conn 不存在
import weaver.conn.ConnStatement;
^
FeesApplyOk.java:15: 软件包 weaver.conn 不存在
import weaver.conn.RecordSetTrans;
^
FeesApplyOk.java:16: 软件包 weaver.docs 不存在
import weaver.docs.DocDetailLog;
^
FeesApplyOk.java:17: 软件包 weaver.docs.docs 不存在
import weaver.docs.docs.*;
^
FeesApplyOk.java:19: 软件包 weaver.general 不存在
import weaver.general.Util;
^
FeesApplyOk.java:20: 软件包 weaver.hrm.resource 不存在
import weaver.hrm.resource.ResourceComInfo;
^
FeesApplyOk.java:21: 软件包 weaver.soa.workflow.request 不存在
import weaver.soa.workflow.request.RequestInfo;
^
FeesApplyOk.java:22: 软件包 weaver.system 不存在
import weaver.system.SystemComInfo;
^
FeesApplyOk.java:24: 软件包 weaver.soa.workflow.request 不存在
import weaver.soa.workflow.request.Cell;
^
FeesApplyOk.java:25: 软件包 weaver.soa.workflow.request 不存在
import weaver.soa.workflow.request.DetailTable;
^
FeesApplyOk.java:26: 软件包 weaver.soa.workflow.request 不存在
import weaver.soa.workflow.request.Property;
^
FeesApplyOk.java:27: 软件包 weaver.soa.workflow.request 不存在
import weaver.soa.workflow.request.Row;
^
FeesApplyOk.java:30: 找不到符号
符号: 类 Action
public class FeesApplyOk implements Action
^
FeesApplyOk.java:32: 找不到符号
符号: 类 RequestInfo
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
public String execute(RequestInfo requestinfo)
^
FeesApplyOk.java:62: 找不到符号
符号: 变量 Util
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
char separator = Util.getSeparator();
^
FeesApplyOk.java:65: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db13=new DBManager("oa");
^
FeesApplyOk.java:65: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db13=new DBManager("oa");
^
FeesApplyOk.java:69: 找不到符号
符号: 类 Property
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
Property[] properties = requestinfo.getMainTableInfo().g
etProperty();// 获取表单主字段信息
^
FeesApplyOk.java:73: 找不到符号
符号: 变量 Util
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
String name = Util.null2String(properties[i].get
Name());// 主字段名称
^
FeesApplyOk.java:74: 找不到符号
符号: 变量 Util
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
String value = Util.null2String(properties[i].ge
tValue());// 主字段对应的值
^
FeesApplyOk.java:78: 找不到符号
符号: 类 DetailTable
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DetailTable[] detailtable = requestinfo.getDetailTableIn
fo()
^
FeesApplyOk.java:84: 找不到符号
符号: 类 DetailTable
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DetailTable dt = detailtable[i];// 指定
明细表
^
FeesApplyOk.java:85: 找不到符号
符号: 类 Row
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
Row[] s = dt.getRow();// 当前明细表的所
有数据,按行存储
^
FeesApplyOk.java:88: 找不到符号
符号: 类 Row
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
Row r = s[j];// 指定行
^
FeesApplyOk.java:89: 找不到符号
符号: 类 Cell
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
Cell c[] = r.getCell();// 每行数
据再按列存储
^
FeesApplyOk.java:93: 找不到符号
符号: 类 Cell
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
Cell c1 = c[k];// 指定列

                                                    ^

FeesApplyOk.java:94: 找不到符号
符号: 变量 Util
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
String name = Util.null2
String(c1.getName());// 明细字段名称
^
FeesApplyOk.java:95: 找不到符号
符号: 变量 Util
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
String value = Util.null
2String(c1.getValue());// 明细字段的值
^
FeesApplyOk.java:108: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db2=new DBManager("oa");
^
FeesApplyOk.java:108: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db2=new DBManager("oa");
^
FeesApplyOk.java:138: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db3=new DBManager("oa");
^
FeesApplyOk.java:138: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db3=new DBManager("oa");
^
FeesApplyOk.java:153: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db4=new DBManager("oa");
^
FeesApplyOk.java:153: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db4=new DBManager("oa");
^
FeesApplyOk.java:169: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db5=new DBManager();
^
FeesApplyOk.java:169: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db5=new DBManager();
^
FeesApplyOk.java:186: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager dbm1=new DBManager();
^
FeesApplyOk.java:186: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager dbm1=new DBManager();
^
FeesApplyOk.java:197: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db8=new DBManager();
^
FeesApplyOk.java:197: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db8=new DBManager();
^
FeesApplyOk.java:211: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db6=new DBManager();
^
FeesApplyOk.java:211: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db6=new DBManager();
^
FeesApplyOk.java:235: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db7=new DBManager("oa");
^
FeesApplyOk.java:235: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db7=new DBManager("oa");
^
FeesApplyOk.java:272: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db=new DBManager();
^
FeesApplyOk.java:272: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db=new DBManager();
^
FeesApplyOk.java:304: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db10=new DBManager("oa");
^
FeesApplyOk.java:304: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db10=new DBManager("oa");
^
FeesApplyOk.java:318: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db9=new DBManager("oa");
^
FeesApplyOk.java:318: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db9=new DBManager("oa");
^
FeesApplyOk.java:341: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db12=new DBManager("oa");
^
FeesApplyOk.java:341: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager db12=new DBManager("oa");
^
FeesApplyOk.java:434: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager dbd = new DBManager("oa");
^
FeesApplyOk.java:434: 找不到符号
符号: 类 DBManager
位置: 类 weaver.interfaces.workflow.action.FeesApplyOk
DBManager dbd = new DBManager("oa");
^
54 错误
谁能帮帮我

  • 写回答

6条回答 默认 最新

  • william_ai 2011-02-18 02:26
    关注

    [code="java"]F:\myeclipse\workspace\test\src\weaver\interfaces\workflow\action>javac -cp a.jar;b.jar;*.jar FeesAppl
    yOk.java [/code]
    用dos命令行玩的话,要把依赖的jar都引进来。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥60 不懂得怎么运行下载来的代码
  • ¥15 CST导出3D模型图为什么和软件显示不一样?
  • ¥15 加热反应炉PLC控制系统设计(相关搜索:梯形图)
  • ¥15 python 用Dorc包报错,我的写法和网上教的是一样的但是它显示无效参数,是什么问题
  • ¥15 经过滑动平均后的一维信号还原用什么结构好呢?
  • ¥15 指定IP电脑的访问设置
  • ¥30 matlab ode45 未发现警告,但是运行出错
  • ¥15 为什么devc++编译项目会失败啊
  • ¥15 vscode platformio
  • ¥15 代写uni代码,app唤醒