逻辑修改
This commit is contained in:
@@ -12,6 +12,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="updatedAt" column="updated_at" />
|
<result property="updatedAt" column="updated_at" />
|
||||||
<result property="englishName" column="english_name"/>
|
<result property="englishName" column="english_name"/>
|
||||||
<result property="xmlContent" column="xml_content" />
|
<result property="xmlContent" column="xml_content" />
|
||||||
|
<result property="platformId" column="platform_id" />
|
||||||
|
<result property="scenarioId" column="scenario_id" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<select id="findOneByPlatformId" resultMap="BehaviortreeResult">
|
<select id="findOneByPlatformId" resultMap="BehaviortreeResult">
|
||||||
@@ -37,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectBehaviortreeById" parameterType="Long" resultMap="BehaviortreeResult">
|
<select id="selectBehaviortreeById" parameterType="Long" resultMap="BehaviortreeResult">
|
||||||
<include refid="selectBehaviortreeVo"/>
|
select id, name, description, created_at, updated_at, english_name,graph, xml_content ,platform_id, scenario_id from behaviortree
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user