<?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>
|