MerchantInfoMapper.xml 3.17 KB
<?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="cn.com.glsx.dj.oss.mapper.MerchantInfoMapper" >
  <resultMap id="BaseResultMap" type="cn.com.glsx.dj.oss.model.MerchantInfo" >
    <!--
      WARNING - @mbg.generated
    -->
    <id column="id" property="id" jdbcType="INTEGER" />
    <result column="merchant_id" property="merchantId" jdbcType="INTEGER" />
    <result column="account_name" property="accountName" jdbcType="VARCHAR" />
    <result column="merchant_name" property="merchantName" jdbcType="VARCHAR" />
    <result column="short_name" property="shortName" jdbcType="VARCHAR" />
    <result column="user_type" property="userType" jdbcType="TINYINT" />
    <result column="merchant_type" property="merchantType" jdbcType="TINYINT" />
    <result column="contact_name" property="contactName" jdbcType="VARCHAR" />
    <result column="phone" property="phone" jdbcType="VARCHAR" />
    <result column="channel_id" property="channelId" jdbcType="INTEGER" />
    <result column="address" property="address" jdbcType="VARCHAR" />
    <result column="province_id" property="provinceId" jdbcType="INTEGER" />
    <result column="province_name" property="provinceName" jdbcType="VARCHAR" />
    <result column="city_id" property="cityId" jdbcType="INTEGER" />
    <result column="city_name" property="cityName" jdbcType="VARCHAR" />
    <result column="area_id" property="areaId" jdbcType="INTEGER" />
    <result column="area_name" property="areaName" jdbcType="VARCHAR" />
    <result column="lng" property="lng" jdbcType="DOUBLE" />
    <result column="lat" property="lat" jdbcType="DOUBLE" />
    <result column="shop_photo" property="shopPhoto" jdbcType="VARCHAR" />
    <result column="business_hours" property="businessHours" jdbcType="VARCHAR" />
    <result column="parent_merchant_id" property="parentMerchantId" jdbcType="INTEGER" />
    <result column="parent_merchant_name" property="parentMerchantName" jdbcType="VARCHAR" />
    <result column="svr_merchant_id" property="svrMerchantId" jdbcType="INTEGER" />
    <result column="settle_merchant_name" property="settleMerchantName" jdbcType="VARCHAR" />
    <result column="svr_merchant_name" property="svrMerchantName" jdbcType="VARCHAR" />
    <result column="created_by" property="createdBy" jdbcType="VARCHAR" />
    <result column="created_date" property="createdDate" jdbcType="TIMESTAMP" />
    <result column="updated_by" property="updatedBy" jdbcType="VARCHAR" />
    <result column="updated_date" property="updatedDate" jdbcType="TIMESTAMP" />
    <result column="deleted_flag" property="deletedFlag" jdbcType="CHAR" />
  </resultMap>
  <sql id="Base_Column_List" >
    <!--
      WARNING - @mbg.generated
    -->
    id, merchant_id, account_name, merchant_name, short_name, user_type, merchant_type, 
    contact_name, phone, channel_id, address, province_id, province_name, city_id, city_name, 
    area_id, area_name, lng, lat, shop_photo, business_hours, parent_merchant_id, parent_merchant_name, 
    svr_merchant_id, settle_merchant_name, svr_merchant_name, created_by, created_date, 
    updated_by, updated_date, deleted_flag
  </sql>
</mapper>