From 21fdb6d630bd74e262e0c5d40f9478cc844eb556 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 24 九月 2025 15:31:24 +0800
Subject: [PATCH] 对接
---
src/main/resources/mapper/third/ExdOutstockSourceMapper.xml | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
index 67ce4dd..2d44a34 100644
--- a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
+++ b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
@@ -5,6 +5,7 @@
<mapper namespace="com.zy.third.mapper.ExdOutstockSourceMapper">
<resultMap id="BaseResultMap" type="com.zy.third.entity.ExdOutstockSource">
+ <id property="id" column="ID" />
<result property="finterid" column="FInterID" />
<result property="fbillno" column="FBillNo" />
<result property="ftrantype" column="FTranType" />
@@ -41,27 +42,26 @@
</resultMap>
<sql id="Base_Column_List">
- FInterID,FBillNo,FTranType,FDate,FROB,FDeptID,
- FSupplyID,FBillerID,FEntryID,FItemID,FQty,
- Fprice,FBatchNo,FUnitID,FSourceBillNo,FSourceEntryID,
- FSourceInterId,FSourceTranType,FDCSPID,FDCStockID,FSCSPID,
- FSCStockID,FOrderBillNo,FOrderEntryID,FOrderInterID,FPlanMode,
- WriteTime,Writor,Status,ReadTime,Reador,
- WritorMsg,ReadorMsg
+ ID,FInterID,FBillNo,FTranType,FDate,FROB,
+ FDeptID,FSupplyID,FBillerID,FEntryID,FItemID,
+ FQty,Fprice,FBatchNo,FUnitID,FSourceBillNo,
+ FSourceEntryID,FSourceInterId,FSourceTranType,FDCSPID,FDCStockID,
+ FSCSPID,FSCStockID,FOrderBillNo,FOrderEntryID,FOrderInterID,
+ FPlanMode,WriteTime,Writor,Status,ReadTime,
+ Reador,WritorMsg,ReadorMsg
</sql>
- <select id="listOrderNo" resultMap="BaseResultMap">
- select top 100 distinct FBillNo
- <include refid="Base_Column_List" />
- from Exd_Instock_Source
- where status = 0
+
+ <select id="listOrderNo" resultType="java.lang.String">
+ select distinct fbillno
+ from Exd_Outstock_Source
+ where status = 0
</select>
- <select id="listAll" resultMap="BaseResultMap">
- select
- <include refid="Base_Column_List" />
- from Exd_Outstock_Source
- where FBillNo = #{fbillno}
+ <select id="listAll" resultType="com.zy.third.entity.ExdOutstockSource">
+ select * from Exd_Outstock_Source where fbillno = #{orderNo}
</select>
+
+
</mapper>
--
Gitblit v1.9.1