|
|
@@ -158,8 +158,8 @@ public class ArchiveAutoPdfServiceImpl implements IArchiveAutoPdfService {
|
|
|
archivesAuto.setKeywords("主题词");
|
|
|
archivesAuto.setReviewer("审核人");
|
|
|
archivesAuto.setReviewDate(LocalDateTime.now());
|
|
|
- archivesAuto.setStartDate(LocalDateTime.now());
|
|
|
- archivesAuto.setEndDate(LocalDateTime.now());
|
|
|
+ //archivesAuto.setStartDate(LocalDateTime.now());
|
|
|
+ //archivesAuto.setEndDate(LocalDateTime.now());
|
|
|
archivesAuto.setStorageLocation("存放位置");
|
|
|
archivesAuto.setIsArchive(0);
|
|
|
archivesAuto.setRemark("备注");
|
|
|
@@ -883,14 +883,14 @@ public class ArchiveAutoPdfServiceImpl implements IArchiveAutoPdfService {
|
|
|
if (!minDate.isEmpty() && !minDate.equals("null") ) {
|
|
|
LocalDateTime localDateTime = FormulaUtil.parseStringToLocalDateTime(minDate, "yyyyMMdd");
|
|
|
if (localDateTime != null) {
|
|
|
- archive.setStartDate(localDateTime);
|
|
|
+ archive.setStartDate(localDateTime.toString());
|
|
|
}
|
|
|
|
|
|
}
|
|
|
if (!maxDate.isEmpty() && !maxDate.equals("null") ) {
|
|
|
LocalDateTime localDateTime = FormulaUtil.parseStringToLocalDateTime(maxDate, "yyyyMMdd");
|
|
|
if (localDateTime != null) {
|
|
|
- archive.setEndDate(localDateTime);
|
|
|
+ archive.setEndDate(localDateTime.toString());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -904,11 +904,11 @@ public class ArchiveAutoPdfServiceImpl implements IArchiveAutoPdfService {
|
|
|
}
|
|
|
|
|
|
if (archive.getStartDate() != null) {
|
|
|
- archivesAutoMap.put("startDate", FormulaUtil.formatLocalDateTime(archive.getStartDate(), "yyyyMMdd"));
|
|
|
+ archivesAutoMap.put("startDate", archive.getStartDate());
|
|
|
}
|
|
|
|
|
|
if (archive.getEndDate() != null) {
|
|
|
- archivesAutoMap.put("endDate", FormulaUtil.formatLocalDateTime(archive.getEndDate(), "yyyyMMdd"));
|
|
|
+ archivesAutoMap.put("endDate", archive.getEndDate());
|
|
|
}
|
|
|
|
|
|
Map<String, Object> variables = new HashMap<>();
|