<?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.younike.service.mapper.StoreMapper">


    <resultMap id="StoreResult" type="com.younike.service.pojo.Store">

    <result column="store_id" property="storeId"/>

    <result column="app_user_id" property="appUserId"/>

    <result column="store_type" property="storeType"/>

    <result column="store_name" property="storeName"/>

    <result column="store_phone_one" property="storePhoneOne"/>

    <result column="store_phone_two" property="storePhoneTwo"/>

    <result column="address" property="address"/>

    <result column="detail" property="detail"/>

    <result column="longitude" property="longitude"/>

    <result column="latitude" property="latitude"/>

    <result column="category_id" property="categoryId"/>

    <result column="remarks" property="remarks"/>

    <result column="legal_person_front_img" property="legalPersonFrontImg"/>

    <result column="legal_person_back_img" property="legalPersonBackImg"/>

    <result column="audit_status" property="auditStatus"/>

    <result column="shelve_status" property="shelveStatus"/>

    <result column="shelve_status_updated_by" property="shelveStatusUpdatedBy"/>

    <result column="shelve_status_updated_time" property="shelveStatusUpdatedTime"/>

    <result column="del_flag" property="delFlag"/>

    <result column="created_by" property="createdBy"/>

    <result column="created_time" property="createdTime"/>

    <result column="updated_by" property="updatedBy"/>

    <result column="updated_time" property="updatedTime"/>

    <result column="version" property="version"/>

    <result column="remark" property="remark"/>

</resultMap>

    <sql id="selectStoreVo">select store_id, app_user_id, store_type, store_name, store_phone_one, store_phone_two, address, detail, longitude, latitude, category_id, remarks, legal_person_front_img, legal_person_back_img, audit_status, shelve_status, shelve_status_updated_by, shelve_status_updated_time, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store </sql>

</mapper>
