<?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.zg.project.wisdom.mapper.AgvWcsMapper">

    <resultMap id="AgyWcsResultMap" type="com.zg.project.wisdom.domain.AgyWcs">
        <id     property="id"        column="id"/>
        <result property="requestId" column="requestId"/>
        <result property="taskId"    column="TaskID"/>
    </resultMap>

    <!-- 插入 AGV-WCS 映射关系 -->
    <insert id="insertAgvWcs" parameterType="com.zg.project.wisdom.domain.AgyWcs">
        INSERT INTO agv_wcs (requestId, TaskID)
        VALUES (#{requestId}, #{taskId})
    </insert>

</mapper>
