<?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="cn.qihangerp.mapper.ErpPurchaseOrderMapper">

    <resultMap id="BaseResultMap" type="cn.qihangerp.model.entity.ErpPurchaseOrder">
            <id property="id" column="id" />
            <result property="supplierId" column="supplier_id" />
            <result property="orderNum" column="order_num" />
            <result property="orderDate" column="order_date" />
            <result property="orderTime" column="order_time" />
            <result property="orderAmount" column="order_amount" />
            <result property="shipAmount" column="ship_amount" />
            <result property="remark" column="remark" />
            <result property="status" column="status" />
            <result property="auditUser" column="audit_user" />
            <result property="auditTime" column="audit_time" />
            <result property="supplierConfirmTime" column="supplier_confirm_time" />
            <result property="supplierDeliveryTime" column="supplier_delivery_time" />
            <result property="receivedTime" column="received_time" />
            <result property="stockInTime" column="stock_in_time" />
            <result property="createBy" column="create_by" />
            <result property="createTime" column="create_time" />
            <result property="updateBy" column="update_by" />
            <result property="updateTime" column="update_time" />
    </resultMap>

    <sql id="Base_Column_List">
        id,supplier_id,order_num,order_date,order_time,order_amount,
        ship_amount,remark,status,audit_user,audit_time,
        supplier_confirm_time,supplier_delivery_time,received_time,stock_in_time,create_by,
        create_time,update_by,update_time
    </sql>
</mapper>
