问:有没有关于Jbuilder 2007 的书籍

dwsky00707 2007-05-28 07:37:10
感觉适应不了2007
所以想买本2007的辅助书籍
希望大家推荐一下 谢谢
...全文
255 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
mayabuluo 2007-11-17
  • 打赏
  • 举报
回复
public class WebProjectChartAction
extends LookupDispatchAction {
static Logger logger = Logger.getLogger(WebProjectChartAction.class);

public ActionForward doQuery(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws Exception {
DynaActionForm dyForm = (DynaActionForm) form;
ActionErrors errors = new ActionErrors();
Locale locale = getLocale(request);
MessageResources messages = getResources(request);

try {

//初始化图表数据
ProjectChartBean.initChart(request);
//////////////////

WebProjectGeneralizeVo webProjectGeneralizeVo =new WebProjectGeneralizeVo();
UserVo user = (UserVo) request.getSession().getAttribute("UserVo");
ManageQueryVo manageQueryVo = (ManageQueryVo)request.getSession().getAttribute(Constant.MANAGEQUERYVO);
String taxbureaucode = manageQueryVo.getTaxbureaucode();
String taxregisterno = manageQueryVo.getTaxregisterno();
String payername = manageQueryVo.getPayername();
String projectmanager = StringUtil.trim(EncodingUtil.toString(user.getUsername()));
projectmanager="";//在项目登记时未初始化,项目专管员查询条件初始化为空
String projecttype = manageQueryVo.getProjecttype();
if(StringUtils.isEmpty(projecttype)) projecttype = Constant.PROJECTTYPE_JAXM;
if(!StringUtils.isEmpty(projecttype) && projecttype.equals(Constant.PROJECTTYPE_JAXM)){
QueryStatManageCommand queryStatManageCommand = new
QueryStatManageCommand();
queryStatManageCommand.setTaxbureau(taxbureaucode);
queryStatManageCommand.setTaxregisterno(taxregisterno);
queryStatManageCommand.setPayername(payername);
queryStatManageCommand.setProjectManager(projectmanager);
queryStatManageCommand.setAction(QueryStatManageCommand.ACTION_VIEW_BUILDPROJECTSTAT);
queryStatManageCommand = (QueryStatManageCommand) CommandExecutor.execute(
queryStatManageCommand);
HashMap projectGeneralizeBuildStat = queryStatManageCommand.getBuildProjectStat();
if(!projectGeneralizeBuildStat.isEmpty()){
webProjectGeneralizeVo.setLocalcount(EncodingUtil.toString(projectGeneralizeBuildStat.get("localcount")));
webProjectGeneralizeVo.setLocalinvoiceamount(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("localinvoiceamount")));
webProjectGeneralizeVo.setLocaltaxbaseamount(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("localtaxbaseamount")));
webProjectGeneralizeVo.setLocalaccruedtax(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("localaccruedtax")));
webProjectGeneralizeVo.setLocalpaidtax(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("localpaidtax")));
webProjectGeneralizeVo.setLocalarrearagetax(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("localarrearagetax")));
webProjectGeneralizeVo.setStepoutcount(EncodingUtil.toString(projectGeneralizeBuildStat.get("stepoutcount")));
webProjectGeneralizeVo.setStepoutinvoiceamount(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("stepoutinvoiceamount")));
webProjectGeneralizeVo.setStepouttaxbaseamount(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("stepouttaxbaseamount")));
webProjectGeneralizeVo.setStepoutaccruedtax(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("stepoutaccruedtax")));
webProjectGeneralizeVo.setStepoutpaidtax(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("stepoutpaidtax")));
webProjectGeneralizeVo.setStepoutarrearagetax(EncodingUtil.toGeneralizeRMB(projectGeneralizeBuildStat.get("stepoutarrearagetax")));
}
}
if(!StringUtils.isEmpty(projecttype) && projecttype.equals(Constant.PROJECTTYPE_FCXM)){
QueryStatManageCommand queryStatManageCommand2 = new
QueryStatManageCommand();
queryStatManageCommand2.setTaxbureau(taxbureaucode);
queryStatManageCommand2.setTaxregisterno(taxregisterno);
queryStatManageCommand2.setPayername(payername);
queryStatManageCommand2.setProjectManager(projectmanager);
queryStatManageCommand2.setAction(QueryStatManageCommand.ACTION_VIEW_REALTYPROJECTSTAT);
queryStatManageCommand2 = (QueryStatManageCommand) CommandExecutor.execute(
queryStatManageCommand2);
HashMap projectGeneralizeRealtyStat = queryStatManageCommand2.getRealtyProjectStat();
if(!projectGeneralizeRealtyStat.isEmpty()){
webProjectGeneralizeVo.setRealtylocalcount(EncodingUtil.toString(projectGeneralizeRealtyStat.get("localcount")));
webProjectGeneralizeVo.setRealtylocalinvoiceamount(EncodingUtil.toGeneralizeRMB(projectGeneralizeRealtyStat.get("localinvoiceamount")));
webProjectGeneralizeVo.setRealtylocaltaxbaseamount(EncodingUtil.toGeneralizeRMB(projectGeneralizeRealtyStat.get("localtaxbaseamount")));
webProjectGeneralizeVo.setRealtylocalaccruedtax(EncodingUtil.toGeneralizeRMB(projectGeneralizeRealtyStat.get("localaccruedtax")));
webProjectGeneralizeVo.setRealtylocalpaidtax(EncodingUtil.toGeneralizeRMB(projectGeneralizeRealtyStat.get("localpaidtax")));
webProjectGeneralizeVo.setRealtylocalarrearagetax(EncodingUtil.toGeneralizeRMB(projectGeneralizeRealtyStat.get("localarrearagetax")));
}
}
dyForm.set("WebProjectGeneralizeVo",webProjectGeneralizeVo);

}
catch (CommandException ex) {
Throwable cause = ex.getCause();
if (ex.getMessage() != null) {
errors.add(ActionErrors.GLOBAL_ERROR,
new ActionError(ex.getMessage(), ex.getValue0(),
ex.getValue1(), ex.getValue2(),
ex.getValue3()));
}
else {
request.setAttribute(PageContext.EXCEPTION, cause);
return mapping.findForward("SystemError");
}

}
if (!errors.isEmpty()) {
saveErrors(request, errors);
}
return mapping.findForward("list");
}


protected Map getKeyMethodMap() {
Map map = new HashMap();

map.put("menuBar.query", "doQuery");

return map;
}
mayabuluo 2007-11-17
  • 打赏
  • 举报
回复
<table width="857" height="420"  border="0" cellpadding="0" cellspacing="0" bgcolor="CFECFC">
<tr>
<td width="182"> </td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="187"> </td>
<td width="96"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','<%=request.getContextPath()%>/images/navigation/piaojulingyong02.gif',1)" onClick="doInvoiceFocus('invoice_take')"><img src="<%=request.getContextPath()%>/images/navigation/piaojulingyong01.gif" name="Image1" width="96" height="99" border="0"></a></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="<%=request.getContextPath()%>/images/navigation/jiantou01_piaojuguanli.gif" width="474" height="53"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="103"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','<%=request.getContextPath()%>/images/navigation/piaojuzonghe02.gif',1)" onClick="doInvoiceFocus('invoice_agent')"><img src="<%=request.getContextPath()%>/images/navigation/piaojuzonghe01.gif" name="Image3" width="103" height="93" border="0"></a></td>
<td width="84"><img src="<%=request.getContextPath()%>/images/navigation/jiantou02_piaojuguanli.gif" width="84" height="93"></td>
<td width="96"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','<%=request.getContextPath()%>/images/navigation/piaojugailan02.gif',1)" onClick="doInvoiceFocus('statanalysis_invoice')"><img src="<%=request.getContextPath()%>/images/navigation/piaojugailan01.gif" name="Image5" width="96" height="93" border="0"></a></td>
<td width="92"><img src="<%=request.getContextPath()%>/images/navigation/jiantou03_piaojuguanli.gif" width="92" height="93"></td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','<%=request.getContextPath()%>/images/navigation/budapiaoju02.gif',1)" onClick="doInvoiceFocus('invoice_reprint')"><img src="<%=request.getContextPath()%>/images/navigation/budapiaoju01.gif" name="Image7" width="99" height="93" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="187"> </td>
<td><img src="<%=request.getContextPath()%>/images/navigation/jiantou04._piaojuguanli.gif" width="96" height="70"></td>
<td width="191"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="187"> </td>
<td><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','<%=request.getContextPath()%>/images/navigation/zuofeipiaoju02.gif',1)" onClick="doInvoiceFocus('invoice_blankout')"><img src="<%=request.getContextPath()%>/images/navigation/zuofeipiaoju01.gif" name="Image9" width="96" height="105" border="0"></a></td>
<td width="191"> </td>
</tr>
</table></td>
</tr>
</table></td>
<td width="201"> </td>
</tr>
</table>

23,407

社区成员

发帖
与我相关
我的任务
社区描述
Java 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧