实体重复修改

This commit is contained in:
MHW
2026-04-13 16:31:56 +08:00
parent 0e6b6d9f45
commit 766425bae5
4 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +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.Platform;
import com.solution.system.domain.PlatformTree;
import com.solution.system.mapper.PlatformCommunicationMapper;
import com.solution.system.mapper.PlatformMapper;
import org.springframework.beans.factory.annotation.Autowired;
@@ -125,7 +125,7 @@ public class BehaviortreeServiceImpl implements IBehaviortreeService
throw new RuntimeException(ExceptionConstants.PARAMETER_EXCEPTION);
}
//根据行为树id获取行为树所属平台
Platform platform = platformMapper.getPlatformByTreeId(behaviortree.getId());
PlatformTree platform = platformMapper.getPlatformByTreeId(behaviortree.getId());
//根据平台name获取平台下属英文名
List<String> underlingEnglishName = platformCommunicationMapper.getUnderlingBytreeId(platform.getName());
//根据下属平台英文名获取中文名返回