|
@@ -145,7 +145,7 @@ public class WorkClientService {
|
|
|
i.setId(UUID.randomUUID().toString().replace("-", ""));
|
|
|
|
|
|
//文件类型处理
|
|
|
- List<String> strings = Arrays.asList(dto.getName().split("\\."));
|
|
|
+ List<String> strings = Arrays.asList(i.getAttachmentName().split("\\."));
|
|
|
if (CollectionUtils.isNotEmpty(strings)) {
|
|
|
i.setType(strings.get(1));
|
|
|
}
|