From bc0a4b9012ec32efa15842c6ed029ee022818d0f Mon Sep 17 00:00:00 2001
From: jingh <jingh@LAPTOP-I53VDLOO>
Date: 星期日, 23 一月 2022 11:01:47 +0800
Subject: [PATCH] 1
---
WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs b/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs
index 55ba567..aae18f6 100644
--- a/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs
+++ b/WebAPI/Controllers/SCGL/Sc_PPBomBillController.cs
@@ -80,7 +80,7 @@
try
{
//鍒ゆ柇鏄惁鏈夊鏍告潈闄�
- //if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, CurUserName))
+ //if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, false, CurUserName))
//{
// objJsonResult.code = "0";
// objJsonResult.count = 0;
@@ -164,7 +164,7 @@
//鍙嶅鏍�
if (IsAudit == 1)
{
- if (CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
+ if (AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
{
objJsonResult.code = "1";
objJsonResult.count = 1;
@@ -199,7 +199,7 @@
{
string HChecker = DBUtility.ClsPub.CurUserName;//鐢ㄦ埛鍚�
oCN.BeginTran();//鎵撳紑浜嬪姟
- oCN.RunProc("update Sc_PPBomBillMain set HBillStatus=2,hchecker='" + HChecker + "',hcheckdate='" + DateTime.Now + "' where HInterID='" + lngBillKey);
+ oCN.RunProc("update Sc_PPBomBillMain set HBillStatus=2,hchecker='" + HChecker + "',hcheckdate='" + DateTime.Now + "' where HInterID=" + lngBillKey);
oCN.Commit();//鍏抽棴浜嬪姟
sReturn = "瀹℃牳鎴愬姛";
return true;
@@ -217,7 +217,7 @@
{
string HChecker = DBUtility.ClsPub.CurUserName;//鐢ㄦ埛鍚�
oCN.BeginTran();//鎵撳紑浜嬪姟
- oCN.RunProc("update Sc_PPBomBillMain set HBillStatus=1,hchecker='',hcheckdate=null where HInterID='" + lngBillKey);
+ oCN.RunProc("update Sc_PPBomBillMain set HBillStatus=1,hchecker='',hcheckdate=null where HInterID=" + lngBillKey);
oCN.Commit();//鍏抽棴浜嬪姟
sReturn = "鍙嶅鏍告垚鍔�";
return true;
--
Gitblit v1.9.1