BalanceMapperAuto.xml 1.85 KB
<?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.lecuntao.ordering.customization.dal.BalanceMapper">

    <resultMap  id="balancePO" type="com.lecuntao.ordering.customization.po.BalancePO">
        <id column="ID" jdbcType="NUMERIC" property="id" />
        <result column="TENANT_ID"  jdbcType="NUMERIC" property="tenantId"></result>
        <result column="ITEM_ID"  jdbcType="NUMERIC" property="itemId"></result>
        <result column="INVENTORY_ORG_ID"  jdbcType="NUMERIC" property="inventoryOrgId"></result>
        <result column="STOREROOM_ID"  jdbcType="NUMERIC" property="storeroomId"></result>
        <result column="QUANTITY"  jdbcType="NUMERIC" property="quantity"></result>
        <result column="CREATE_TRANSACTION_ID"  jdbcType="NUMERIC" property="createTransactionId"></result>
        <result column="UPDATE_TRANSACTION_ID"  jdbcType="NUMERIC" property="updateTransactionId"></result>
        <result column="ROW_VERSION"  jdbcType="NUMERIC" property="rowVersion"></result>
        <result column="IS_DELETED"  jdbcType="TINYINT" property="isDeleted"></result>
        <result column="CREATED_BY"  jdbcType="NUMERIC" property="createdBy"></result>
        <result column="CREATION_TIME"  jdbcType="TIMESTAMP" property="creationTime"></result>
        <result column="LAST_UPDATED_BY"  jdbcType="NUMERIC" property="lastUpdatedBy"></result>
        <result column="LAST_UPDATE_TIME"  jdbcType="TIMESTAMP" property="lastUpdateTime"></result>
    </resultMap>

    <sql id="entityColumnList">
        `ID`,`TENANT_ID`,`ITEM_ID`,`INVENTORY_ORG_ID`,`STOREROOM_ID`,`QUANTITY`,`CREATE_TRANSACTION_ID`,`UPDATE_TRANSACTION_ID`,`ROW_VERSION`,`IS_DELETED`,`CREATED_BY`,`CREATION_TIME`,`LAST_UPDATED_BY`,`LAST_UPDATE_TIME`
    </sql>


</mapper>