From 1e8374fa4f196311a560ce872f16751183a60320 Mon Sep 17 00:00:00 2001 From: WL Date: Wed, 19 Jun 2024 14:43:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=EF=BC=9A#16204=20?= =?UTF-8?q?=E4=B8=80=E6=9C=9F=E4=B8=80=E6=A1=A3=E5=85=A8=E9=83=A8=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zcloud/util/archivesUtil/SignAbsHandler.java | 2 +- .../com/zcloud/util/archivesUtil/TrainingPlanAbsHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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++) {