根据场景id获取总指挥的行为树的原数据

This commit is contained in:
MHW
2026-04-15 09:38:15 +08:00
parent 3ae6a693e1
commit f9eb10c783
6 changed files with 93 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import java.util.List;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjectUtil;
import com.solution.common.constant.ExceptionConstants;
import com.solution.system.domain.PlatformChiefCommander;
import com.solution.system.domain.PlatformTree;
import com.solution.system.mapper.PlatformCommunicationMapper;
import com.solution.system.mapper.PlatformMapper;
@@ -135,4 +136,14 @@ public class BehaviortreeServiceImpl implements IBehaviortreeService
}
return underlingChineseName;
}
/**
* 根据场景id获取总指挥的行为树的原数据
* @param scenarioId
* @return
*/
@Override
public List<PlatformChiefCommander> getCommander(Integer scenarioId) {
return behaviortreeMapper.getCommander(scenarioId);
}
}