EnergyEnvDeviceMapper.xml 1.1 KB

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.huimv.admin.mapper.EnergyEnvDeviceMapper">
  4. <!-- 通用查询映射结果 -->
  5. <resultMap id="BaseResultMap" type="com.huimv.admin.entity.EnergyEnvDevice">
  6. <id column="id" property="id" />
  7. <result column="device_code" property="deviceCode" />
  8. <result column="device_name" property="deviceName" />
  9. <result column="build_location" property="buildLocation" />
  10. <result column="unit_name" property="unitName" />
  11. <result column="unit_id" property="unitId" />
  12. <result column="device_brand" property="deviceBrand" />
  13. <result column="device_status" property="deviceStatus" />
  14. <result column="farm_id" property="farmId" />
  15. <result column="ohter1" property="ohter1" />
  16. <result column="ohter2" property="ohter2" />
  17. <result column="ohter3" property="ohter3" />
  18. <result column="remark" property="remark" />
  19. </resultMap>
  20. </mapper>