<?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.hzya.frame.u9c.warehouse.dao.impl.VU9cWarehouseDaoImpl">

    <resultMap id="get-VU9cWarehouseEntity-result" type="com.hzya.frame.u9c.warehouse.entity.VU9cWarehouseEntity" >
        <result property="id" column="id" jdbcType="VARCHAR"/>
        <result property="code" column="code" jdbcType="VARCHAR"/>
        <result property="name" column="name" jdbcType="VARCHAR"/>
        <result property="orgId" column="org_id" jdbcType="VARCHAR"/>
        <result property="spec" column="spec" jdbcType="VARCHAR"/>
        <result property="invAvailability" column="inv_availability" jdbcType="VARCHAR"/>
        <result property="reserveQuantity" column="reserve_quantity" jdbcType="VARCHAR"/>
        <result property="invStock" column="inv_stock" jdbcType="VARCHAR"/>
        <result property="batch" column="batch" jdbcType="VARCHAR"/>
        <result property="unit" column="unit" jdbcType="VARCHAR"/>
        <result property="invId" column="inv_id" jdbcType="VARCHAR"/>
        <result property="updateTime" column="update_time" jdbcType="VARCHAR"/>
        <result property="operatorsId" column="operators_id" jdbcType="VARCHAR"/>
        <result property="warehouseName" column="warehouse_name" jdbcType="VARCHAR"/>
        <result property="allocation" column="allocation" jdbcType="VARCHAR"/>
        <result property="orgCode" column="org_code" jdbcType="VARCHAR"/>
        <result property="orgName" column="org_name" jdbcType="VARCHAR"/>
    </resultMap>
    <!-- 查询的字段-->
    <sql id = "VU9cWarehouseEntity_Base_Column_List">
        id
       ,code 
        ,name 
     </sql>
    <!-- 查询 采用==查询 -->
    <select id="entity_list_base_warehouse" resultMap="get-VU9cWarehouseEntity-result" parameterType = "com.hzya.frame.u9c.warehouse.entity.VU9cWarehouseEntity">
      select  * from v_u9c_warehouse
        where update_time > #{updateTime}
    </select>



</mapper>

