完善Mapper
This commit is contained in:
parent
9ec7cf67d9
commit
8401995c8c
@ -0,0 +1,7 @@
|
||||
package com.ktg.mes.stl.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public class InventoryAdjustmentMapper {
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
<?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.ktg.mes.stl.mapper.InventoryAdjustmentMapper">
|
||||
<resultMap type="InventoryAdjustment" id="InventoryAdjustmentResult">
|
||||
<result property="singetsu" column="AD001"/>
|
||||
<result property="oddNumber" column="AD002"/>
|
||||
<result property="billDate" column="AD003"/>
|
||||
<result property="serialNumber" column="AD004"/>
|
||||
<result property="productNumber" column="AD005"/>
|
||||
<result property="productName" column="AD006"/>
|
||||
<result property="specification" column="AD007"/>
|
||||
<result property="quantity" column="AD008"/>
|
||||
<result property="unitPrice" column="AD009"/>
|
||||
<result property="money" column="AD010"/>
|
||||
<result property="outWarehouse" column="AD011"/>
|
||||
<result property="inWarehouse" column="AD012"/>
|
||||
<result property="approvalCode" column="AD013"/>
|
||||
<result property="brand" column="AD014"/>
|
||||
<result property="manufacturersProductNumber" column="AD015"/>
|
||||
<result property="remark1" column="AD016"/>
|
||||
<result property="remark2" column="AD017"/>
|
||||
<result property="customField1" column="UDF01"/>
|
||||
<result property="customField2" column="UDF02"/>
|
||||
<result property="customField3" column="UDF03"/>
|
||||
<result property="customField4" column="UDF04"/>
|
||||
<result property="customField5" column="UDF05"/>
|
||||
<result property="customField6" column="UDF51"/>
|
||||
<result property="customField7" column="UDF52"/>
|
||||
<result property="customField8" column="UDF53"/>
|
||||
<result property="customField9" column="UDF54"/>
|
||||
<result property="customField10" column="UDF55"/>
|
||||
<result property="dataEntryClerk" column="USER01"/>
|
||||
<result property="auditor" column="USER02"/>
|
||||
<result property="inTime" column="DATE01"/>
|
||||
<result property="auditTime" column="DATE02"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="InventoryAdjustmentSelectAllCol">
|
||||
select AD001,
|
||||
AD002,
|
||||
AD003,
|
||||
AD004,
|
||||
AD005,
|
||||
AD006,
|
||||
AD007,
|
||||
AD008,
|
||||
AD009,
|
||||
AD010,
|
||||
AD011,
|
||||
AD012,
|
||||
AD013,
|
||||
AD014,
|
||||
AD015,
|
||||
AD016,
|
||||
AD017,
|
||||
UDF01,
|
||||
UDF02,
|
||||
UDF03,
|
||||
UDF04,
|
||||
UDF05,
|
||||
UDF51,
|
||||
UDF52,
|
||||
UDF53,
|
||||
UDF54,
|
||||
UDF55,
|
||||
USER01,
|
||||
USER02,
|
||||
DATE01,
|
||||
DATE02,
|
||||
from AP0AA
|
||||
</sql>
|
||||
|
||||
<select id="selectList" resultMap="InventoryAdjustmentResult">
|
||||
<include refid="InventoryAdjustmentSelectAllCol"/>
|
||||
</select>
|
||||
</mapper>
|
Loading…
Reference in New Issue
Block a user