查询行为树所属平台的下属
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.solution.system.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface PlatformCommunicationMapper {
|
||||
|
||||
/**
|
||||
* 根据平台name获取平台下属英文名
|
||||
* @param name
|
||||
* @return
|
||||
*/
|
||||
List<String> getUnderlingBytreeId(String name);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.solution.system.mapper;
|
||||
|
||||
import com.solution.system.domain.Platform;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface PlatformMapper {
|
||||
|
||||
/**
|
||||
* 根据行为树id获取行为树所属平台
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
Platform getPlatformByTreeId(Long id);
|
||||
|
||||
/**
|
||||
* 根据下属平台英文名获取中文名返回
|
||||
* @param underlingEnglishName
|
||||
* @return
|
||||
*/
|
||||
List<String> selectPlatformChineseName(List<String> underlingEnglishName);
|
||||
}
|
||||
Reference in New Issue
Block a user