<?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.StockDao">
  <resultMap id="BaseResultMap" type="com.sy.coinage.workshop.model.Stock">
    <id column="id" jdbcType="INTEGER" property="id"/>
    <result column="ware_id" jdbcType="INTEGER" property="wareId"/>
    <result column="ware_cn" jdbcType="VARCHAR" property="wareCn"/>
    <result column="area_id" jdbcType="INTEGER" property="areaId"/>
    <result column="securities_id" jdbcType="INTEGER" property="securitiesId"/>
      <result column="securities" jdbcType="VARCHAR" property="securities"/>
      <result column="racket_num" jdbcType="INTEGER" property="racketNum"/>
      <result column="box_num" jdbcType="INTEGER" property="boxNum"/>
      <result column="pieces_total" jdbcType="INTEGER" property="piecesTotal"/>
      <result column="check_box_num" jdbcType="INTEGER" property="checkBoxNum"/>
  </resultMap>
    <sql id="Base_Column_List">
        id
        , ware_id, ware_cn, area_id, securities_id, securities, racket_num, box_num, pieces_total, check_box_num
    </sql>

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

</mapper>

