HouseInfoMapper.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.ruoyi.web.mapper.HouseInfoMapper">
  6. <resultMap id="BaseResultMap" type="com.ruoyi.web.domain.entity.HouseInfo">
  7. <id property="id" column="id" jdbcType="INTEGER"/>
  8. <result property="houseCode" column="house_code" jdbcType="VARCHAR"/>
  9. <result property="villageId" column="village_id" jdbcType="INTEGER"/>
  10. <result property="villageName" column="village_name" jdbcType="VARCHAR"/>
  11. <result property="doorplateNumber" column="doorplate_number" jdbcType="VARCHAR"/>
  12. <result property="houseAddress" column="house_address" jdbcType="VARCHAR"/>
  13. <result property="houseOwnerId" column="house_owner_id" jdbcType="INTEGER"/>
  14. <result property="totalPoints" column="total_points" jdbcType="INTEGER"/>
  15. <result property="remainingPoints" column="remaining_points" jdbcType="INTEGER"/>
  16. <result property="houseType" column="house_type" jdbcType="TINYINT"/>
  17. <result property="houseCategory" column="house_category" jdbcType="TINYINT"/>
  18. <result property="buildingArea" column="building_area" jdbcType="DECIMAL"/>
  19. <result property="gridId" column="grid_id" jdbcType="INTEGER"/>
  20. <result property="photoUrl" column="photo_url" jdbcType="VARCHAR"/>
  21. <result property="houseTags" column="house_tags" jdbcType="VARCHAR"/>
  22. <result property="qrCodeUrl" column="qr_code_url" jdbcType="VARCHAR"/>
  23. <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
  24. <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
  25. <result property="delFlag" column="del_flag" jdbcType="CHAR"/>
  26. </resultMap>
  27. <sql id="Base_Column_List">
  28. id
  29. ,house_code,village_id,
  30. village_name,doorplate_number,house_address,
  31. house_owner_id,total_points,remaining_points,
  32. house_type,house_category,building_area,
  33. grid_id,photo_url,house_tags,
  34. qr_code_url,create_time,update_time,
  35. del_flag
  36. </sql>
  37. </mapper>