<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.pavis.admin.aigc.mapper.AgentPlanStepMapper">
    <select id="selectByPlanId" resultType="com.pavis.admin.aigc.model.resp.AgentPlanStepResp">
        SELECT id,
               plan_id,
               description,
               step_index,
               agent_code,
               think_start_time,
               think_end_time,
               think_input,
               think_output,
               think_duration,
               execution_needed,
               execution_start_time,
               execution_end_time,
               execution_duration,
               tool_execution,
               result,
               status,
               completed,
               stucked,
               error_message,
               create_user,
               create_time,
               update_user,
               update_time
        FROM aigc_agent_plan_step
        WHERE plan_id = #{planId}
    </select>
</mapper>