|
|
|
|
@ -32,8 +32,8 @@ public class PathUtil {
|
|
|
|
|
|
|
|
|
|
public static String createFileNameByRowColumn(String fileType,Integer cameraId,Integer row,Integer column){
|
|
|
|
|
LocalDateTime now = LocalDateTime.now();
|
|
|
|
|
String date = now.format(DateTimeFormatter.ofPattern("yyyy/MM/dd")) + "/"+cameraId;
|
|
|
|
|
return row+"-"+column+"/"+date + "/" +date+ now.format(DateTimeFormatter.ofPattern("HHmmss-"))+row+"-"+column + "."+fileType;
|
|
|
|
|
String date = now.format(DateTimeFormatter.ofPattern("yyyyMMdd"));
|
|
|
|
|
return cameraId+"/"+row+"-"+column+"/"+date + "/" +now.format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss-"))+row+"-"+column + "."+fileType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|