1
zhang
17 小时以前 675c3b5d83b928c2bfbb84cd99a7d3f222d4432c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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.zy.asrs.mapper.DevpMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.zy.asrs.entity.Devp">
        <id column="dev_no" property="devNo"/>
        <result column="dec_desc" property="decDesc"/>
        <result column="in_enable" property="inEnable"/>
        <result column="out_enable" property="outEnable"/>
        <result column="autoing" property="autoing"/>
        <result column="loading" property="loading"/>
        <result column="canining" property="canining"/>
        <result column="canouting" property="canouting"/>
        <result column="wrk_no" property="wrkNo"/>
        <result column="barcode" property="barcode"/>
    </resultMap>
 
    <select id="getDevpByDevNo" resultMap="BaseResultMap">
        select * from cv_devp where dev_no = #{devNo}
    </select>
 
 
 
</mapper>