From 5ff9801918709a57f3ccb3bba672e1e519319f0a Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 28 八月 2023 13:57:47 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
index 5237a34..9e8244e 100644
--- a/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
+++ b/WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
@@ -40,6 +40,7 @@
             string msg3 = sArray[1].ToString();
             string msg4 = sArray[2].ToString();
             string msg5 = sArray[3].ToString();
+            string OperationType = sArray[4].ToString();
             string HComputerName = SystemInformation.ComputerName; //璁惧鍚嶇О    
 
             string UserName = "";
@@ -65,7 +66,7 @@
                 {
                     UserName = oItem.HMaker;  //鍒跺崟浜�
                     oItem.HBillType = "3772";
-                    oItem.HBillSubType = "3772";
+                    oItem.HBillSubType = OperationType=="5"?"SUB":"3772";
                     oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year);
                     oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month);
                     if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "")

--
Gitblit v1.9.1