<?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.sy.coinage.sys.dao.TenantDao">
  <sql id="Base_Column_List">
    id
    , status, name, create_time, remark
  </sql>
  <select id="queryOptList" resultType="com.sy.coinage.core.vo.OptVO">
    select id, name
    from sys_tenant
    <if test="ew.emptyOfWhere == false">
      ${ew.customSqlSegment}
    </if>
  </select>

  <!--  <select id="queryPageList" resultType="com.sy.coinage.sys.vo.TenantVO">-->
  <!--    SELECT-->
  <!--    sys_tenant.*-->
  <!--    FROM-->
  <!--    sys_tenant-->
  <!--    LEFT JOIN-->
  <!--    sys_tenant-->
  <!--    ON-->
  <!--    sys_tenant.id = sys_tenant.id-->
  <!--    <if test="ew.emptyOfWhere == false">-->
  <!--      ${ew.customSqlSegment}-->
  <!--    </if>-->
  <!--  </select>-->

</mapper>

