diff --git a/src/main/java/com/zcloud/util/archivesUtil/SignAbsHandler.java b/src/main/java/com/zcloud/util/archivesUtil/SignAbsHandler.java index 07d5d5b..00a4c0e 100644 --- a/src/main/java/com/zcloud/util/archivesUtil/SignAbsHandler.java +++ b/src/main/java/com/zcloud/util/archivesUtil/SignAbsHandler.java @@ -145,7 +145,7 @@ public class SignAbsHandler extends AbsHandlerBatchExport { IContext context = report.createContext(); context.put("TEACHERS", rpd.getString("TEACHERS")); // 教师 context.put("START_TIME", start_time); // 培训教师 - context.put("TRAINING_ADDRESS", clazz.getString("enterpriseName")); // 培训地点 + context.put("TRAINING_ADDRESS", clazz.getString("CORP_NAME")); // 培训地点 context.put("var2", students.size()); // 人数 context.put("CLASS_NAME", clazz.getString("NAME")); // 培训内容 context.put("SUMCLASSHOUR", classhour); // 学时 diff --git a/src/main/java/com/zcloud/util/archivesUtil/TrainingPlanAbsHandler.java b/src/main/java/com/zcloud/util/archivesUtil/TrainingPlanAbsHandler.java index ecddc50..3bd2365 100644 --- a/src/main/java/com/zcloud/util/archivesUtil/TrainingPlanAbsHandler.java +++ b/src/main/java/com/zcloud/util/archivesUtil/TrainingPlanAbsHandler.java @@ -59,7 +59,7 @@ public class TrainingPlanAbsHandler extends AbsHandlerBatchExport { SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); if (data != null && data.size() > 0) { - context.put("value1", data.get(0).getString("ENTERPRISE_NAME")); + context.put("value1", data.get(0).getString("CORP_NAME")); context.put("value2", formatdate.format(formatter.parse(pd.getString("UPDATE_DATE") + " 00:00:00"))); //编制日期 List list1 = new ArrayList<>(); //一共多少航 for (int i = 0; i < data.size(); i++) {