|
@@ -201,6 +201,16 @@ public class SimulationMapServiceImpl implements SimulationMapService {
|
|
|
if (StringUtils.isBlank(currentUserId)){
|
|
|
return new ResponseBodyVO<>(ResponseBodyVO.Response.CLIENT_FAILURE, "当前角色为空");
|
|
|
}
|
|
|
+ if (fileJson == null){
|
|
|
+ return new ResponseBodyVO<>(ResponseBodyVO.Response.CLIENT_FAILURE, "json文件为空");
|
|
|
+ }
|
|
|
+ if (fileOsgb == null){
|
|
|
+ return new ResponseBodyVO<>(ResponseBodyVO.Response.CLIENT_FAILURE, "osgb文件为空");
|
|
|
+ }
|
|
|
+ if (fileDriver == null){
|
|
|
+ return new ResponseBodyVO<>(ResponseBodyVO.Response.CLIENT_FAILURE, "driver文件为空");
|
|
|
+ }
|
|
|
+
|
|
|
param.setProjectUserId(currentUserId);
|
|
|
|
|
|
String mapName = param.getMapName();
|