From 96ee42c35ce2d115a0aca31e56f57b674c8e68e1 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期一, 24 三月 2025 19:44:08 +0800
Subject: [PATCH] 单据模块优化:器具领用出库单、器具领用退库单、器具直接调拨单、器具寿命调整单、器具寿命耗用单、器具保养计划单

---
 WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs
index 3f53aa9..ee29387 100644
--- a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs
+++ b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBillController.cs
@@ -777,7 +777,7 @@
                 else if (com.Type == 3772)
                 {
                     //鐢熶骇璁㈠崟 涓嬫煡 宸ュ簭娴佽浆鍗� 
-                    ds = oCN.RunProcReturn($"select * from h_v_Sc_ProcessExchangeBillQuery where HICMOInterID='{com.HSouceInterID}' and HICMOEntryID={com.HSourceEntryID}", "h_v_Sc_ProcessExchangeBillQuery");
+                    ds = oCN.RunProcReturn($"select * from h_v_Sc_ProcessExchangeBillQuery where HICMOInterID='{com.HSouceInterID}' and HICMOEntryID={com.HSourceEntryID} and HBillSubType<>'SUB'", "h_v_Sc_ProcessExchangeBillQuery");
                 }
 
                 //娣诲姞鍒楀悕

--
Gitblit v1.9.1