Ejemplo n.º 1
0
 @UrlMapping(value = "/incomeUpdate", type = ReturnType.JSON)
 public DataInfoBean update() {
   DataInfoBean info = null;
   try {
     info = incomeValidation.simpleValidate();
     if (info.hasError()) return info;
     incomeProxy.update();
   } catch (Exception e) {
     log.error("update income error", e);
     info.setException(e);
   }
   return info;
 }