?? gzdaurlblh.java
字號:
package gov.gdlt.ssgly.taxcore.taxblh.gzda;
/**
* <p>Title: </p>
*
* <p>Description: 廣東地稅稅收管理員工作平臺</p>
*
* <p>Copyright: Copyright (c) 2005 廣東省地方稅務局,廣州市地方稅務局</p>
*
* <p>Company: 廣州地稅</p>
*
* @author not attributable
* @version 1.0
*/
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 java.util.ArrayList;
import gov.gdlt.ssgly.taxcore.taxdao.gzda.GZDAurlDAO;
import gov.gdlt.ssgly.taxcore.taxdao.gzda.GZDAtreeDAO;
/**mbean調 用示例
* GZDAurlResEvent resE ;
GZDAurlReqEvent reqS = new GZDAurlReqEvent();
reqS.setWdurl("145068837200511301636");
try{
ISsglyService service = new SsglyDelegate();
reqS.setDealMethod("getgzdaurl");
resp=service.invokeTask(reqS);
resE=(GZDAurlResEvent)resp;
ArrayList au=resE.getGzdaurlList();
GZDAurlVO uv;
System.out.println(au);
for(int k=0;k<au.size();k++){
uv=(GZDAurlVO)au.get(k);
System.out.println("llllllllllllllllllllllll="+uv.getName());
System.out.println("lllllllllllllllllllllllll="+uv.getUrl());
}
}catch(Exception e){
}
* */
public class GZDAurlBLH extends BaseBizLogicHandler{
public GZDAurlBLH() {
}
protected ResponseEvent performTask(RequestEvent req) throws
TaxBaseBizException, TaxBaseSystemException {
GZDAurlReqEvent reqEvent = (GZDAurlReqEvent) req;
String dealMethod = req.getDealMethod();
GZDAurlResEvent resEvent = new GZDAurlResEvent();
if("getgzdaurl".equals(dealMethod)){
resEvent.setGzdaurlList(this.getGzdaUrl(reqEvent.getWdurl()));
} else{
resEvent.setRepCode("取URL數據出錯");
}
return resEvent;
}
protected ResponseEvent validateData(RequestEvent req) throws Exception {
return null;
}
public ArrayList getGzdaUrl(String url) {
GZDAurlDAO urlDAO = new GZDAurlDAO();
return (ArrayList) urlDAO.getUrlList(url);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -