Commit 19497f1f authored by 赵啸非's avatar 赵啸非

添加资源部署站点字段

parent cfef2383
...@@ -83,7 +83,7 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDServiceImpl<D ...@@ -83,7 +83,7 @@ public class DeviceModuleDistributeServiceImpl extends AbstractCRUDServiceImpl<D
String siteCode = distributeEntity.getSiteCode(); String siteCode = distributeEntity.getSiteCode();
String code = distributeEntity.getProductCode(); String code = distributeEntity.getProductCode();
String imageRe = distributeEntity.getImageResolutionValue(); String imageRe = distributeEntity.getImageResolutionValue();
String disPath = "/" + siteCode + "/" + path + "/" + code + "/" + imageRe; String disPath = "/" + path + "/" + siteCode + "/" + code + "/" + imageRe;
//判断目标目录是否存在 如果存在 这删除 //判断目标目录是否存在 如果存在 这删除
if (FileUtil.isDirectory(disPath)) { if (FileUtil.isDirectory(disPath)) {
FileUtil.del(disPath); FileUtil.del(disPath);
......
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