// 删除主档明细
 public void deleteLog(Context context) {
   Map outputMap = new HashMap();
   List errList = context.errList;
   if (errList.isEmpty()) {
     try {
       DataAccessor.execute(
           "activitiesLog.deteleLog", context.contextMap, DataAccessor.OPERATION_TYPE.UPDATE);
     } catch (Exception e) {
       e.printStackTrace();
       LogPrint.getLogStackTrace(e, logger);
       errList.add(e);
     }
   }
   if (errList.isEmpty()) {
     Output.jspSendRedirect(context, "defaultDispatcher?__action=activitiesLog.query");
   } else {
     outputMap.put("errList", errList);
     Output.jspOutput(outputMap, context, "/error.jsp");
   }
 }
 // 新建主档
 public void createFiles(Context context) {
   Map outputMap = new HashMap();
   List errList = context.errList;
   if (errList.isEmpty()) {
     try {
       DataAccessor.execute(
           "activitiesLog.createActivitiesLog",
           context.contextMap,
           DataAccessor.OPERATION_TYPE.INSERT);
     } catch (Exception e) {
       e.printStackTrace();
       LogPrint.getLogStackTrace(e, logger);
       // 添加详细错误信息
       errList.add("活动日志管理--新建文档错误!请联系管理员");
     }
   }
   if (errList.isEmpty()) {
     Output.jspSendRedirect(context, "defaultDispatcher?__action=activitiesLog.query");
   } else {
     outputMap.put("errList", errList);
     Output.jspOutput(outputMap, context, "/error.jsp");
   }
 }