Example #1
0
 @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;
 }
Example #2
0
 @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);
 }
Example #3
0
 @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;
 }