From 95f65190334bd1baaebe0e6a7312a06b660cd4d1 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 15 五月 2024 10:46:04 +0800
Subject: [PATCH] 优化
---
DBUtility/业务单据/ClsXt_BaseBill.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git "a/DBUtility/\344\270\232\345\212\241\345\215\225\346\215\256/ClsXt_BaseBill.cs" "b/DBUtility/\344\270\232\345\212\241\345\215\225\346\215\256/ClsXt_BaseBill.cs"
index 87008a2..39bffd9 100644
--- "a/DBUtility/\344\270\232\345\212\241\345\215\225\346\215\256/ClsXt_BaseBill.cs"
+++ "b/DBUtility/\344\270\232\345\212\241\345\215\225\346\215\256/ClsXt_BaseBill.cs"
@@ -183,7 +183,7 @@
{
try
{
- oCn.BeginTran();
+ //oCn.BeginTran();
string sql = "select * from " + MvarItemKeySub + " where HInterID=" + lngBillKey.ToString() + " and HEntryID = " + HEntryID;
DataSet ds = oCn.RunProcReturn(sql, MvarItemKeySub);
if(ds==null || ds.Tables[0].Rows.Count == 0)
@@ -205,7 +205,7 @@
);
sReturn = "琛屽弽鍏抽棴鎴愬姛锛�";
- oCn.Commit();
+ //oCn.Commit();
return true;
}
catch (Exception e)
--
Gitblit v1.9.1