逻辑修改
This commit is contained in:
@@ -121,7 +121,7 @@ public class BehaviortreeServiceImpl implements IBehaviortreeService
|
||||
throw new RuntimeException(ExceptionConstants.PARAMETER_EXCEPTION);
|
||||
}
|
||||
Behaviortree behaviortree = behaviortreeMapper.selectBehaviortreeById(Long.valueOf(treeId));
|
||||
if(ObjectUtil.isEmpty(behaviortree) && null == behaviortree.getId()){
|
||||
if(ObjectUtil.isEmpty(behaviortree) || null == behaviortree.getId()){
|
||||
throw new RuntimeException(ExceptionConstants.PARAMETER_EXCEPTION);
|
||||
}
|
||||
//根据行为树id获取行为树所属平台
|
||||
|
||||
Reference in New Issue
Block a user