|
|
@@ -5418,15 +5418,15 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
|
}else if (result.contains("起止日期")) {
|
|
|
String time=result.replace("起止日期","").replace(":","").replace(":","").replaceAll("_","");
|
|
|
if(result.contains("~")){
|
|
|
- String[] localDateTimes = result.split("~");
|
|
|
+ String[] localDateTimes = time.split("~");
|
|
|
auto.setStartDate(localDateTimes[0]);
|
|
|
auto.setEndDate(localDateTimes[1]);
|
|
|
} else if (result.contains("-")) {
|
|
|
- String[] localDateTimes = result.split("-");
|
|
|
+ String[] localDateTimes = time.split("-");
|
|
|
auto.setStartDate(localDateTimes[0]);
|
|
|
auto.setEndDate(localDateTimes[1]);
|
|
|
} else if (result.contains("~")) {
|
|
|
- String[] localDateTimes = result.split("~");
|
|
|
+ String[] localDateTimes = time.split("~");
|
|
|
auto.setStartDate(localDateTimes[0]);
|
|
|
auto.setEndDate(localDateTimes[1]);
|
|
|
}
|