|
|
@ -1274,9 +1274,8 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private String removeDuplicates(String scheduleTimeList) { |
|
|
|
private String removeDuplicates(String scheduleTimeList) { |
|
|
|
if (StringUtils.isNotEmpty(scheduleTimeList)) { |
|
|
|
if (StringUtils.isNotEmpty(scheduleTimeList)) { |
|
|
|
Set<String> dateSet = |
|
|
|
return Arrays.stream(scheduleTimeList.split(COMMA)).map(String::trim).distinct() |
|
|
|
Arrays.stream(scheduleTimeList.split(COMMA)).map(String::trim).collect(Collectors.toSet()); |
|
|
|
.collect(Collectors.joining(COMMA)); |
|
|
|
return String.join(COMMA, dateSet); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|