<?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.ErpStockOutMapper">

    <resultMap id="BaseResultMap" type="cn.qihangerp.model.entity.ErpStockOut">
            <id property="id" column="id" jdbcType="BIGINT"/>
            <result property="stockOutNum" column="stock_out_num" jdbcType="VARCHAR"/>
            <result property="sourceNum" column="source_num" jdbcType="VARCHAR"/>
            <result property="sourceId" column="source_id" jdbcType="BIGINT"/>
            <result property="stockOutType" column="stock_out_type" jdbcType="INTEGER"/>
            <result property="goodsUnit" column="goods_unit" jdbcType="INTEGER"/>
            <result property="specUnit" column="spec_unit" jdbcType="INTEGER"/>
            <result property="specUnitTotal" column="spec_unit_total" jdbcType="INTEGER"/>
            <result property="outTotal" column="out_total" jdbcType="INTEGER"/>
            <result property="remark" column="remark" jdbcType="VARCHAR"/>
            <result property="status" column="status" jdbcType="INTEGER"/>
            <result property="printStatus" column="print_status" jdbcType="INTEGER"/>
            <result property="printTime" column="print_time" jdbcType="TIMESTAMP"/>
            <result property="outTime" column="out_time" jdbcType="TIMESTAMP"/>
            <result property="completeTime" column="complete_time" jdbcType="TIMESTAMP"/>
            <result property="operatorId" column="operator_id" jdbcType="INTEGER"/>
            <result property="operatorName" column="operator_name" jdbcType="VARCHAR"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
            <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,stock_out_num,source_num,
        source_id,stock_out_type,goods_unit,
        spec_unit,spec_unit_total,out_total,
        remark,status,print_status,
        print_time,out_time,complete_time,
        operator_id,operator_name,create_time,
        create_by,update_time,update_by
    </sql>
</mapper>
