Commit 070b88f0 authored by yanzg's avatar yanzg

参数处理

parent 85739edf
...@@ -164,6 +164,10 @@ public class YzgFileServiceImpl implements YzgFileService { ...@@ -164,6 +164,10 @@ public class YzgFileServiceImpl implements YzgFileService {
private void move(YzgFileMoveItemReqVo item) { private void move(YzgFileMoveItemReqVo item) {
String fullFrom = fileConfig.getServerFullPath(item.getFrom()); String fullFrom = fileConfig.getServerFullPath(item.getFrom());
String fullTo = fileConfig.getServerFullPath(item.getTo()); String fullTo = fileConfig.getServerFullPath(item.getTo());
// 路径相等,不移动
if (StringHelper.compare(fullFrom, fullTo)) {
return;
}
File fileFrom = new File(fullFrom); File fileFrom = new File(fullFrom);
File fileTo = new File(fullTo); File fileTo = new File(fullTo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment