<?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.DeliveryPlanDao">
    <resultMap id="BaseResultMap" type="com.sy.coinage.workshop.model.DeliveryPlan">
        <id column="id" jdbcType="INTEGER" property="id"/>
        <result column="securities_id" jdbcType="INTEGER" property="securitiesId"/>
        <result column="securities" jdbcType="VARCHAR" property="securities"/>
        <result column="address_id" jdbcType="INTEGER" property="addressId"/>
        <result column="address_cn" jdbcType="VARCHAR" property="addressCn"/>
        <result column="plan_delivery_date" jdbcType="TIMESTAMP" property="planDeliveryDate"/>
        <result column="qty" jdbcType="INTEGER" property="qty"/>
        <result column="total_box_num" jdbcType="INTEGER" property="totalBoxNum"/>
        <result column="first_crown" jdbcType="VARCHAR" property="firstCrown"/>
        <result column="first_serial_number" jdbcType="VARCHAR" property="firstSerialNumber"/>
        <result column="first_box_num" jdbcType="INTEGER" property="firstBoxNum"/>
        <result column="crown_between" jdbcType="VARCHAR" property="crownBetween"/>
        <result column="plan_par" jdbcType="INTEGER" property="planPar"/>
        <result column="plan_box_num" jdbcType="INTEGER" property="planBoxNum"/>
        <result column="par_between" jdbcType="VARCHAR" property="parBetween"/>
        <result column="order_no" jdbcType="VARCHAR" property="orderNo"/>
        <result column="status" jdbcType="INTEGER" property="status"/>
        <result column="start_jump_ids" jdbcType="VARCHAR" property="startJumpIds"/>
        <result column="start_jump_str" jdbcType="VARCHAR" property="startJumpStr"/>
        <result column="end_jump_ids" jdbcType="VARCHAR" property="endJumpIds"/>
        <result column="end_jump_str" jdbcType="VARCHAR" property="endJumpStr"/>
        <result column="delivery_time" jdbcType="TIMESTAMP" property="deliveryTime"/>
        <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
    </resultMap>
    <sql id="Base_Column_List">
        id
        , securities_id, securities, address_id, address_cn, plan_delivery_date, qty, total_box_num, first_crown, first_serial_number, first_box_num, crown_between, plan_par, plan_box_num, par_between, order_no, status, start_jump_ids, start_jump_str, end_jump_ids, end_jump_str, delivery_time, create_time
    </sql>

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

</mapper>

