KwmAddressMapper.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.sckw.manage.dao.KwmAddressMapper">
  6. <resultMap id="BaseResultMap" type="com.sckw.manage.model.entity.KwmAddress">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="entId" column="ent_id" jdbcType="BIGINT"/>
  9. <result property="name" column="name" jdbcType="VARCHAR"/>
  10. <result property="type" column="type" jdbcType="BIGINT"/>
  11. <result property="defaultType" column="default_type" jdbcType="INTEGER"/>
  12. <result property="contacts" column="contacts" jdbcType="VARCHAR"/>
  13. <result property="phone" column="phone" jdbcType="VARCHAR"/>
  14. <result property="cityCode" column="city_code" jdbcType="INTEGER"/>
  15. <result property="cityName" column="city_name" jdbcType="VARCHAR"/>
  16. <result property="detailAddress" column="detail_address" jdbcType="VARCHAR"/>
  17. <result property="lat" column="lat" jdbcType="VARCHAR"/>
  18. <result property="lng" column="lng" jdbcType="VARCHAR"/>
  19. <result property="fence" column="fence" jdbcType="VARCHAR"/>
  20. <result property="remark" column="remark" jdbcType="VARCHAR"/>
  21. <result property="status" column="status" jdbcType="INTEGER"/>
  22. <result property="createBy" column="create_by" jdbcType="BIGINT"/>
  23. <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
  24. <result property="updateBy" column="update_by" jdbcType="BIGINT"/>
  25. <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
  26. <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
  27. </resultMap>
  28. <sql id="Base_Column_List">
  29. id,ent_id,name,
  30. type,default_type,contacts,
  31. phone,city_code,city_name,
  32. detail_address,lat,lng,
  33. fence,remark,status,
  34. create_by,create_time,update_by,
  35. update_time,del_flag
  36. </sql>
  37. </mapper>