一个用户同时只能存在一个仿真
This commit is contained in:
parent
fdb53063b7
commit
f963c811f7
@ -212,10 +212,10 @@ public class SimulationServiceImpl implements SimulationService {
|
|||||||
@Override
|
@Override
|
||||||
public String createSimulation(Long mapFunctionId, LoginUserInfoVO loginInfo) {
|
public String createSimulation(Long mapFunctionId, LoginUserInfoVO loginInfo) {
|
||||||
MapFunctionVO mapFunctionVO = rtsMapFunctionService.get(mapFunctionId);
|
MapFunctionVO mapFunctionVO = rtsMapFunctionService.get(mapFunctionId);
|
||||||
String group = this.checkUserExistSimulation(mapFunctionVO,loginInfo.getAccountVO());
|
/* String group = this.checkUserExistSimulation(mapFunctionVO,loginInfo.getAccountVO());
|
||||||
if(StringUtils.isNotEmpty(group)){
|
if(StringUtils.isNotEmpty(group)){
|
||||||
return group;
|
return group;
|
||||||
}
|
}*/
|
||||||
Long mapId = mapFunctionVO.getMapId();
|
Long mapId = mapFunctionVO.getMapId();
|
||||||
Map<String,Boolean> createUserType = this.checkUserPermission(mapFunctionVO,loginInfo);
|
Map<String,Boolean> createUserType = this.checkUserPermission(mapFunctionVO,loginInfo);
|
||||||
SimulationWorkParamVO workParamVO = mapFunctionVO.getParamVO();
|
SimulationWorkParamVO workParamVO = mapFunctionVO.getParamVO();
|
||||||
|
Loading…
Reference in New Issue
Block a user