逻辑修改

This commit is contained in:
MHW
2026-04-13 17:58:01 +08:00
parent bb45ff557b
commit 5c83b561cc

View File

@@ -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>