AgvTaskDetailMapper.xml 1.16 KB
<?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.huaheng.pc.agv.mapper.AgvTaskDetailMapper">

    <resultMap type="com.huaheng.pc.agv.domain.AgvTaskDetail" id="agvTaskResult">
        <result property="id" jdbcType="INTEGER" column="id"/>
        <result column="agvTaskId" jdbcType="INTEGER" property="agvTaskId"/>
        <result column="materialCode" jdbcType="VARCHAR" property="materialCode"/>
        <result column="materialName" jdbcType="VARCHAR" property="materialName"/>
        <result column="qty" jdbcType="INTEGER" property="qty"/>
        <result column="created" jdbcType="TIMESTAMP" property="created"/>
        <result column="createdBy" jdbcType="VARCHAR" property="createdBy"/>
        <result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated"/>
        <result column="lastUpdatedBy" jdbcType="VARCHAR" property="lastUpdatedBy"/>
    </resultMap>
    <sql id="selectagvTaskDetailVo">
        select id,agvTaskId, materialCode,materialName,qty,created,createdBy,lastUpdated,lastUpdatedBy
    </sql>

</mapper>