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

📄 rwgltreeblh.java

📁 以前做的一个j2ee的项目
💻 JAVA
字号:
package gov.gdlt.ssgly.taxcore.taxblh.gzda;


import gov.gdlt.ssgly.taxcore.comm.blh.*;
import gov.gdlt.ssgly.taxcore.comm.event.*;
import gov.gdlt.ssgly.taxcore.comm.exception.*;
import gov.gdlt.ssgly.taxcore.taxevent.gzda.*;
import gov.gdlt.ssgly.taxcore.taxevent.gzda.*;
import java.util.ArrayList;
import gov.gdlt.ssgly.taxcore.taxdao.gzda.RWGLtreeDAO;

/**
 *
 * <p>Title: 权限管理的数据共享的BLH </p>
 *
 * <p>Description: 广东地税税收管理员工作平台</p>
 *
 * <p>Copyright: Copyright (c) 2005 广东省地方税务局,广州市地方税务局</p>
 *
 * <p>Company: 广州地税</p>
 *
 * @author 黄锦昌
 * @version 1.0
 */

public class RWGLtreeBLH extends BaseBizLogicHandler {
    public RWGLtreeBLH() {
    }

    /**
     * performTask
     *
     * @param req RequestEvent
     * @return ResponseEvent
     * @throws TaxBaseBizException
     * @throws TaxBaseSystemException
     * @todo Implement this
     *   gov.gdlt.ssgly.taxcore.comm.blh.BaseBizLogicHandler method
     * 贺启欧改于2005.10.20
     * 为了传入一个机构能产生此机构下面所有的机构和人员组成的树
     */
    protected ResponseEvent performTask(RequestEvent req) throws
            TaxBaseBizException, TaxBaseSystemException {
        RWGLtreeReqEvent reqEvent = (RWGLtreeReqEvent) req;
        String dealMethod = req.getDealMethod();
        RWGLtreeResEvent resEvent = new RWGLtreeResEvent();

       if("getSwjgAndSwryInQxhqo".equals(dealMethod)){
           resEvent.setSwjgAndSwryList(this.getSwjgAndSwryInQxhqo(reqEvent.getSwjgDm()));
        }else if("getSwjgTreeRootNodeInQxhqo".equals(dealMethod)){
            resEvent.setSwjgTreeRootNodeList(this.getSwjgTreeRootNodeInQxhqo(reqEvent.getSwjgDm()));
        }

        return resEvent;
    }

    /**
     * validateData
     *
     * @param req RequestEvent
     * @return ResponseEvent
     * @throws Exception
     * @todo Implement this
     *   gov.gdlt.ssgly.taxcore.comm.blh.BaseBizLogicHandler method
     */
    protected ResponseEvent validateData(RequestEvent req) throws Exception {
        return null;
    }


    //hqo-start
    public ArrayList getSwjgAndSwryInQxhqo(String swjgDm) {
        RWGLtreeDAO swjgDAO = new RWGLtreeDAO();
        return (ArrayList) swjgDAO.getSwjgAndSwryInQxhqo(swjgDm);
    }

    public ArrayList getSwjgTreeRootNodeInQxhqo(String swjgDm) {
        RWGLtreeDAO swjgDAO = new RWGLtreeDAO();
        return (ArrayList) swjgDAO.getSwjgTreeRootNodeInQxhqo(swjgDm);
    }

    //hqo-end
}

⌨️ 快捷键说明

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