|
@@ -2,7 +2,7 @@
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.dgtly.wxportal.mapper.EMetaHanaSalesOrderMapper">
|
|
<mapper namespace="com.dgtly.wxportal.mapper.EMetaHanaSalesOrderMapper">
|
|
|
|
|
|
- <resultMap type="MetaHanaSalesOrder" id="MetaHanaSalesResult">
|
|
|
|
|
|
+ <resultMap type="EMetaHanaSalesOrder" id="MetaHanaSalesResult">
|
|
<result property="docNumber" column="DOC_NUMBER" />
|
|
<result property="docNumber" column="DOC_NUMBER" />
|
|
<result property="docItem" column="DOC_ITEM" />
|
|
<result property="docItem" column="DOC_ITEM" />
|
|
<result property="salesOrg" column="SALES_ORG" />
|
|
<result property="salesOrg" column="SALES_ORG" />
|
|
@@ -36,7 +36,7 @@
|
|
DIVISION, SALES_GROUP, PLANT, DOC_TYPE, CREATE_DATE, CREATE_DATE_ITEM, DELIVER_STATUS, MATERIAL_CODE, MATERIAL_NAME, SIZE_DIM
|
|
DIVISION, SALES_GROUP, PLANT, DOC_TYPE, CREATE_DATE, CREATE_DATE_ITEM, DELIVER_STATUS, MATERIAL_CODE, MATERIAL_NAME, SIZE_DIM
|
|
, CREDIT_DATE, CREDIT_STATUS, REJECT_REASON, NO_DELIVER_QTY, NO_DELIVER_WT, NO_DELIVER_AMT, DELIVER_QTY, DELIVER_WT, DELIVER_AMT from meta_hana_sales_order
|
|
, CREDIT_DATE, CREDIT_STATUS, REJECT_REASON, NO_DELIVER_QTY, NO_DELIVER_WT, NO_DELIVER_AMT, DELIVER_QTY, DELIVER_WT, DELIVER_AMT from meta_hana_sales_order
|
|
</sql>
|
|
</sql>
|
|
- <select id="selectDistinctMetaHanaSalesOrder" parameterType="MetaHanaSalesOrder" resultMap="MetaHanaSalesResult">
|
|
|
|
|
|
+ <select id="selectDistinctMetaHanaSalesOrder" parameterType="EMetaHanaSalesOrder" resultMap="MetaHanaSalesResult">
|
|
select DOC_NUMBER, DOC_ITEM, SALES_ORG, SALES_ORG_NAME, DISTRIBUTION_CHANNEL, CUSTOMER_CODE, CUSTOMER_NAME, ROUTE,
|
|
select DOC_NUMBER, DOC_ITEM, SALES_ORG, SALES_ORG_NAME, DISTRIBUTION_CHANNEL, CUSTOMER_CODE, CUSTOMER_NAME, ROUTE,
|
|
DIVISION, SALES_GROUP, PLANT, DOC_TYPE, CREATE_DATE, CREATE_DATE_ITEM, DELIVER_STATUS, MATERIAL_CODE, MATERIAL_NAME, SIZE_DIM
|
|
DIVISION, SALES_GROUP, PLANT, DOC_TYPE, CREATE_DATE, CREATE_DATE_ITEM, DELIVER_STATUS, MATERIAL_CODE, MATERIAL_NAME, SIZE_DIM
|
|
, CREDIT_DATE, CREDIT_STATUS, REJECT_REASON, NO_DELIVER_QTY, NO_DELIVER_WT, NO_DELIVER_AMT, DELIVER_QTY, DELIVER_WT, DELIVER_AMT from meta_hana_sales_order
|
|
, CREDIT_DATE, CREDIT_STATUS, REJECT_REASON, NO_DELIVER_QTY, NO_DELIVER_WT, NO_DELIVER_AMT, DELIVER_QTY, DELIVER_WT, DELIVER_AMT from meta_hana_sales_order
|
|
@@ -54,7 +54,7 @@
|
|
</foreach>
|
|
</foreach>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <select id="selectDistinctMetaHanaSalesOrder1" parameterType="MetaHanaSalesOrder" resultMap="MetaHanaSalesResult">
|
|
|
|
|
|
+ <select id="selectDistinctMetaHanaSalesOrder1" parameterType="EMetaHanaSalesOrder" resultMap="MetaHanaSalesResult">
|
|
select distinct mhso.DOC_NUMBER, mhso.CUSTOMER_CODE, mhso.CUSTOMER_NAME,
|
|
select distinct mhso.DOC_NUMBER, mhso.CUSTOMER_CODE, mhso.CUSTOMER_NAME,
|
|
mhso.CREATE_DATE, mhso.CREDIT_DATE, mhso.CREDIT_STATUS, mhso.REJECT_REASON
|
|
mhso.CREATE_DATE, mhso.CREDIT_DATE, mhso.CREDIT_STATUS, mhso.REJECT_REASON
|
|
,sob.expected_time as expectedTime
|
|
,sob.expected_time as expectedTime
|