<?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.workshop.dao.BaseInfoSubDao">
  <resultMap id="BaseResultMap" type="com.sy.coinage.workshop.model.BaseInfoSub">
    <id column="id" jdbcType="INTEGER" property="id"/>
      <result column="base_info_id" jdbcType="INTEGER" property="baseInfoId"/>
      <result column="serial_number" jdbcType="VARCHAR" property="serialNumber"/>
      <result column="crown_prefix" jdbcType="VARCHAR" property="crownPrefix"/>
      <result column="crown_from" jdbcType="VARCHAR" property="crownFrom"/>
      <result column="crown_to" jdbcType="VARCHAR" property="crownTo"/>
  </resultMap>
    <sql id="Base_Column_List">
        id
        , base_info_id, serial_number, crown_prefix, crown_from, crown_to
    </sql>

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

</mapper>

