WorkStationMaterialMapper.xml
1.19 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.WorkStationMaterialMapper">
<resultMap type="com.huaheng.pc.agv.domain.WorkStationMaterial" id="workStationMaterialResult">
<result property="id" column="id" />
<result property="workStationId" column="workStationId" />
<result property="materialCode" column="materialCode" />
<result property="materialName" column="materialName" />
<result property="defaultQty" column="defaultQty" />
<result property="created" column="created" />
<result property="createdBy" column="createdBy" />
<result property="lastUpdated" column="lastUpdated" />
<result property="lastUpdatedBy" column="lastUpdatedBy" />
<result property="spec" column="spec" />
</resultMap>
<sql id="selectworkStationMaterialVo">
select id, workStationId, materialCode, materialName, defaultQty, created, createdBy, lastUpdated, lastUpdatedBy, spec from work_station_material
</sql>
</mapper>