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

    <resultMap id="BaseResultMap" type="cn.qihangerp.model.entity.ErpStockOutItemPosition">
            <id property="id" column="id" jdbcType="BIGINT"/>
            <result property="entryId" column="entry_id" jdbcType="BIGINT"/>
            <result property="entryItemId" column="entry_item_id" jdbcType="BIGINT"/>
            <result property="goodsInventoryId" column="goods_inventory_id" jdbcType="BIGINT"/>
            <result property="goodsInventoryDetailId" column="goods_inventory_detail_id" jdbcType="BIGINT"/>
            <result property="quantity" column="quantity" jdbcType="INTEGER"/>
            <result property="warehouseId" column="warehouse_id" jdbcType="BIGINT"/>
            <result property="positionId" column="position_id" jdbcType="BIGINT"/>
            <result property="positionNum" column="position_num" jdbcType="VARCHAR"/>
            <result property="operatorId" column="operator_id" jdbcType="BIGINT"/>
            <result property="operatorName" column="operator_name" jdbcType="VARCHAR"/>
            <result property="outTime" column="out_time" jdbcType="TIMESTAMP"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,entry_id,entry_item_id,
        goods_inventory_id,goods_inventory_detail_id,quantity,
        location_id,operator_id,operator_name,
        out_time
    </sql>
</mapper>
