<?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.WorkshopOutboundDao">
    <resultMap id="BaseResultMap" type="com.sy.coinage.workshop.model.WorkshopOutbound">
        <id column="id" jdbcType="INTEGER" property="id"/>
        <result column="dept" jdbcType="VARCHAR" property="dept"/>
        <result column="dept_id" jdbcType="INTEGER" property="deptId"/>
        <result column="order_type" jdbcType="INTEGER" property="orderType"/>
        <result column="order_no" jdbcType="VARCHAR" property="orderNo"/>
        <result column="securities_id" jdbcType="INTEGER" property="securitiesId"/>
        <result column="securities" jdbcType="VARCHAR" property="securities"/>
        <result column="real_num" jdbcType="INTEGER" property="realNum"/>
        <result column="plan_num" jdbcType="INTEGER" property="planNum"/>
        <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
        <result column="total_box_amount" jdbcType="INTEGER" property="totalBoxAmount"/>
        <result column="total_amount" jdbcType="INTEGER" property="totalAmount"/>
        <result column="max_net_weight" jdbcType="DOUBLE" property="maxNetWeight"/>
        <result column="min_net_weight" jdbcType="DOUBLE" property="minNetWeight"/>
        <result column="create_id" jdbcType="INTEGER" property="createId"/>
        <result column="create_by" jdbcType="VARCHAR" property="createBy"/>
        <result column="check_id" jdbcType="INTEGER" property="checkId"/>
        <result column="checker" jdbcType="VARCHAR" property="checker"/>
        <result column="receiver_id" jdbcType="INTEGER" property="receiverId"/>
        <result column="receiver" jdbcType="VARCHAR" property="receiver"/>
        <result column="receiver_check_id" jdbcType="INTEGER" property="receiverCheckId"/>
        <result column="receiver_check" jdbcType="VARCHAR" property="receiverCheck"/>
        <result column="shop_real_num" jdbcType="INTEGER" property="shopRealNum"/>
        <result column="status" jdbcType="INTEGER" property="status"/>
    </resultMap>
    <sql id="Base_Column_List">
        id
        , dept_id, dept, order_type, order_no, securities_id, securities, real_num, plan_num, create_time, total_box_amount, total_amount, max_net_weight, min_net_weight, create_id, create_by, check_id, checker, receiver_id, receiver, receiver_check_id, receiver_check, shop_real_num, status
    </sql>

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

</mapper>

