WorkStationMapper.xml 1.22 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.WorkStationMapper">

    <resultMap type="com.huaheng.pc.agv.domain.WorkStation" id="workStationResult">
        <result property="id" jdbcType="INTEGER" column="id"/>
        <result property="code" jdbcType="VARCHAR" column="code"/>
        <result property="name" jdbcType="VARCHAR" column="name"/>
        <result property="description" jdbcType="VARCHAR" column="description"/>
        <result property="type" jdbcType="VARCHAR" column="type"/>
        <result property="agvPorts" jdbcType="VARCHAR" column="agvPorts"/>
        <result property="created" jdbcType="TIMESTAMP" column="created"/>
        <result property="createdBy" jdbcType="VARCHAR" column="createdBy"/>
        <result property="lastUpdated" jdbcType="TIMESTAMP" column="lastUpdated"/>
        <result property="lastUpdatedBy" jdbcType="VARCHAR" column="lastUpdatedBy"/>
    </resultMap>
    <sql id="selectworkStationVo">
        select id, code, name, description, agvPorts, created, createdBy, lastUpdated, lastUpdatedBy from work_station
    </sql>

</mapper>