forked from integrated_whb/integrated_whb
修复bug:#16204 一期一档全部导出失败
parent
94392cdc11
commit
1e8374fa4f
|
@ -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); // 学时
|
||||
|
|
|
@ -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<TrainingPlanDao> list1 = new ArrayList<>(); //一共多少航
|
||||
for (int i = 0; i < data.size(); i++) {
|
||||
|
|
Loading…
Reference in New Issue