提交代码
This commit is contained in:
parent
37674ea0be
commit
532e296331
@ -2604,8 +2604,8 @@ public class TsFilesServiceImpl extends ServiceImpl<TsFilesMapper, TsFiles> impl
|
|||||||
// 对每个文件的路径进行规范化
|
// 对每个文件的路径进行规范化
|
||||||
files.forEach(file -> {
|
files.forEach(file -> {
|
||||||
String normalizedPath = ensurePathFormat(file.getPath());
|
String normalizedPath = ensurePathFormat(file.getPath());
|
||||||
// String ProcessingPath = processingPath(normalizedPath, nodeId);
|
String ProcessingPath = processingPath(normalizedPath, nodeId);
|
||||||
file.setPath(normalizedPath);
|
file.setPath(ProcessingPath);
|
||||||
if (file.getSize() == null) {
|
if (file.getSize() == null) {
|
||||||
file.setSize((long) 0);
|
file.setSize((long) 0);
|
||||||
} else {
|
} else {
|
||||||
@ -2669,8 +2669,8 @@ public class TsFilesServiceImpl extends ServiceImpl<TsFilesMapper, TsFiles> impl
|
|||||||
file.setId(tsFileFromWork.getId());
|
file.setId(tsFileFromWork.getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
// String ProcessingPath = processingPath(normalizedPath, nodeId);
|
String ProcessingPath = processingPath(normalizedPath, nodeId);
|
||||||
file.setPath(normalizedPath);
|
file.setPath(ProcessingPath);
|
||||||
if (file.getSize() == null) {
|
if (file.getSize() == null) {
|
||||||
file.setSize((long) 0);
|
file.setSize((long) 0);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user