📄 xxtstipblh.java
字号:
package gov.gdlt.ssgly.taxcore.taxblh.xxts;
import gov.gdlt.ssgly.taxcore.comm.blh.BaseBizLogicHandler;
import gov.gdlt.ssgly.taxcore.comm.event.ResponseEvent;
import gov.gdlt.ssgly.taxcore.comm.event.RequestEvent;
import gov.gdlt.ssgly.taxcore.comm.exception.TaxBaseBizException;
import gov.gdlt.ssgly.taxcore.comm.exception.TaxBaseSystemException;
import gov.gdlt.ssgly.taxcore.taxevent.xxts.XXTStipReqEvent;
import gov.gdlt.ssgly.taxcore.taxevent.xxts.XXTStipResEvent;
import java.util.List;
import gov.gdlt.ssgly.taxcore.taxdao.xxts.XXTStipDAO;
import gov.gdlt.ssgly.taxcore.taxevent.xxts.XXTStipVO;
/**
* <p>Title: </p>
*
* <p>Description: 广东地税税收管理员工作平台</p>
*
* <p>Copyright: Copyright (c) 2005 广东省地方税务局,广州市地方税务局</p>
*
* <p>Company: 广州地税</p>
*
* @author Fzj
* @version 1.0
*/
public class XXTStipBLH extends BaseBizLogicHandler {
public XXTStipBLH() {
}
protected ResponseEvent validateData(RequestEvent req) throws
Exception {
return null;
}
protected ResponseEvent performTask(RequestEvent req) throws
TaxBaseSystemException, TaxBaseBizException {
String dealMethod = req.getDealMethod(); //业务处理标志
ResponseEvent resp = new ResponseEvent(); //创建响应事件对象
if ("getSelfTips".equals(dealMethod)) {
resp = this.getSelfTips(req);
}
return resp;
}
private ResponseEvent getSelfTips(RequestEvent req) throws
TaxBaseBizException {
List tipList = null;
XXTStipReqEvent reqevt = (XXTStipReqEvent) req;
XXTStipResEvent resevt = new XXTStipResEvent();
XXTStipDAO dao = new XXTStipDAO();
tipList = dao.getSelfTips(reqevt.getTipvo());
if (tipList != null) {
if (tipList.size() > 0) {
XXTStipVO tipVo = (XXTStipVO) tipList.get(0);
resevt.setTipvo(tipVo);
resevt.setFlag(1);
}
} else {
resevt.setFlag(0);
throw new TaxBaseBizException("通过机关代码查询提示信息失败!");
}
return resevt;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -