|
@@ -686,8 +686,8 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
if(!"dxf".equals(extName)){
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_7007.code(), ErrorCode.FAILURE_CODE_7007.formatMessage("dxf"));
|
|
|
}
|
|
|
- String dfxPath = ConstantFilePath.SCENE_USER_PATH_V4 + UUID.randomUUID() + "." + extName;
|
|
|
- String floorplanUserPath = ConstantFilePath.SCENE_USER_PATH_V4 + UUID.randomUUID() + ".json";
|
|
|
+ String dfxPath = String.format(ConstantFilePath.SCENE_USER_PATH_V4, num) + UUID.randomUUID() + "." + extName;
|
|
|
+ String floorplanUserPath = String.format(ConstantFilePath.SCENE_USER_PATH_V4, num) + UUID.randomUUID() + ".json";
|
|
|
file.transferTo(new File(dfxPath));
|
|
|
try {
|
|
|
String editUserPath = String.format(UploadFilePath.USER_EDIT_PATH, num);
|