故障录波文件名称修改

This commit is contained in:
huguanghan 2024-11-14 09:12:56 +08:00
parent 8c7e57d3b8
commit 0418feb20a

View File

@ -160,7 +160,7 @@ public class MinioViewsServcie {
lastModifyTime = zonedDateTime.format(dateFormat);
}
if (parts.length > 0) {
String nodeName = parts[0];
String nodeName = parts[1];
int type = isDir ? 0 : 1;
itemName= isDir ? itemName.substring(0,itemName.lastIndexOf("/")) : itemName;
FileNode node = new FileNode(nodeName, type,size,lastModifyTime,"/"+itemName);