一个用户同时只能存在一个仿真

This commit is contained in:
tiger_zhou 2023-05-08 17:26:32 +08:00
parent fdb53063b7
commit f963c811f7

View File

@ -212,10 +212,10 @@ public class SimulationServiceImpl implements SimulationService {
@Override
public String createSimulation(Long mapFunctionId, LoginUserInfoVO loginInfo) {
MapFunctionVO mapFunctionVO = rtsMapFunctionService.get(mapFunctionId);
String group = this.checkUserExistSimulation(mapFunctionVO,loginInfo.getAccountVO());
/* String group = this.checkUserExistSimulation(mapFunctionVO,loginInfo.getAccountVO());
if(StringUtils.isNotEmpty(group)){
return group;
}
}*/
Long mapId = mapFunctionVO.getMapId();
Map<String,Boolean> createUserType = this.checkUserPermission(mapFunctionVO,loginInfo);
SimulationWorkParamVO workParamVO = mapFunctionVO.getParamVO();