|
|
@@ -800,20 +800,12 @@ public class CoreEduTrainingTaskServiceImpl extends ServiceImpl<CoreEduTrainingT
|
|
|
data.put("signImage", new ArrayList<>());
|
|
|
} else {
|
|
|
List<String> collect = taskUserList.stream().filter(item -> item.getType() == 1 && ObjectUtil.isNotEmpty(item.getSignImage())).map(CoreEduTrainingTaskToUser::getSignImage).collect(Collectors.toList());
|
|
|
- final String str = collect.get(0);
|
|
|
- for (int i = 0; i < 11; i++) {
|
|
|
- collect.add(str);
|
|
|
- }
|
|
|
data.put("signImage", getFileRealPath(collect, prefixPath, staticsPath));
|
|
|
- }//
|
|
|
+ }
|
|
|
if (ObjectUtil.isEmpty(task.getImageList())) {
|
|
|
data.put("fileImage", new ArrayList<>());
|
|
|
} else {
|
|
|
final List<String> collect = Arrays.stream(task.getImageList().split(",")).collect(Collectors.toList());
|
|
|
- final String str = collect.get(0);
|
|
|
- for (int i = 0; i < 7; i++) {
|
|
|
- collect.add(str);
|
|
|
- }
|
|
|
data.put("fileImage", getFileRealPath(collect, prefixPath, staticsPath));
|
|
|
}
|
|
|
return data;
|