shiyunteng
6 天以前 fc8c86e7a365d5c6bdc37c2b05b9f83115ac2bc3
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
26
<?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.by4cloud.platformx.device.mapper.InspectionPlanDeviceSerialMapper">
 
    <resultMap id="inspectionPlanDeviceSerialMap" type="com.by4cloud.platformx.device.entity.InspectionPlanDeviceSerial">
        <id property="id" column="id"/>
        <result property="compId" column="comp_id"/>
        <result property="planDeviceId" column="plan_device_id"/>
        <result property="serialNo" column="serial_no"/>
        <result property="createBy" column="create_by"/>
        <result property="createTime" column="create_time"/>
        <result property="updateBy" column="update_by"/>
        <result property="updateTime" column="update_time"/>
        <result property="delFlag" column="del_flag"/>
    </resultMap>
    <select id="selectSerialList" resultType="java.lang.String">
        select
            serial_no
        from
            inspection_plan_device_serial
        where
            del_flag = '0'
        and plan_device_id = #{id}
    </select>
</mapper>