<?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.DeliveryPlanDetailDao">
  <resultMap id="BaseResultMap" type="com.sy.coinage.workshop.model.DeliveryPlanDetail">
    <id column="id" jdbcType="INTEGER" property="id"/>
    <result column="plan_id" jdbcType="INTEGER" property="planId"/>
    <result column="rfid" jdbcType="VARCHAR" property="rfid"/>
    <result column="serial_number" jdbcType="VARCHAR" property="serialNumber"/>
    <result column="crown_between_str" jdbcType="VARCHAR" property="crownBetweenStr"/>
    <result column="type" jdbcType="INTEGER" property="type"/>
    <result column="qty" jdbcType="INTEGER" property="qty"/>
    <result column="tare_weight" jdbcType="DOUBLE" property="tareWeight"/>
    <result column="gross_weight" jdbcType="DOUBLE" property="grossWeight"/>
    <result column="weightor_id" jdbcType="INTEGER" property="weightorId"/>
    <result column="weightor" jdbcType="VARCHAR" property="weightor"/>
    <result column="print_time" jdbcType="TIMESTAMP" property="printTime"/>
    <result column="crown_from" jdbcType="VARCHAR" property="crownFrom"/>
    <result column="crown_to" jdbcType="VARCHAR" property="crownTo"/>
  </resultMap>
  <sql id="Base_Column_List">
    id
    , plan_id, rfid, serial_number, crown_between_str, type, qty, tare_weight, gross_weight, weightor_id, weightor, print_time, crown_from, crown_to
  </sql>

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

</mapper>

