@UrlMapping(value = "/incomeList", type = ReturnType.FREEMARKER, url = "finance/incomeList.ftl") public Map<String, Object> list(@Args Map<String, Object> paramMap) { paramMap.put( "incomeCategoryList", resourceProxy.getCompanyBean("incomeCategory").getAppResourceList()); Date today = DateUtils.getToday(); paramMap.put("timeStart", today); paramMap.put("timeEnd", today); return paramMap; }
@UrlMapping(value = "/incomeEdit", type = ReturnType.FREEMARKER, url = "finance/incomeEdit.ftl") public Map<String, Object> edit(@Args Map<String, Object> paramMap) throws Exception { paramMap.put( "incomeCategoryList", resourceProxy.getCompanyBean("incomeCategory").getAppResourceList()); return queryById(paramMap); }
@UrlMapping(value = "/incomeAdd", type = ReturnType.FREEMARKER, url = "finance/incomeEdit.ftl") public Map<String, Object> add(@Args Map<String, Object> paramMap) { paramMap.put( "incomeCategoryList", resourceProxy.getCompanyBean("incomeCategory").getAppResourceList()); return paramMap; }