<?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.newfiber.api.pc.dao.scada.PlcSiteInfoDao"> <resultMap type="com.newfiber.api.pc.model.entity.PlcSiteInfoEntity" id="cameraInfoMap" > <result property="id" column="id"/> <result property="stCode" column="st_code"/> <result property="stName" column="st_name"/> <result property="deviceCode" column="device_code"/> <result property="channelId" column="channel_id"/> <result property="status" column="status"/> <result property="pumpWater" column="pump_water"/> </resultMap> <select id="queryList" resultType="com.newfiber.api.pc.model.entity.PlcSiteInfoEntity"> select id ,st_code,st_name,device_code,channel_id,status,pump_water from plc_site_info </select> </mapper>