From 820fdb24e5bcdd0e50ffeb15a7dc1b7df85f503d Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期二, 05 三月 2024 12:03:50 +0800
Subject: [PATCH] 其他应收单

---
 WebAPI/Controllers/XSGL/Xs_ExceptiveCheckRequestBillController.cs |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/WebAPI/Controllers/XSGL/Xs_ExceptiveCheckRequestBillController.cs b/WebAPI/Controllers/XSGL/Xs_ExceptiveCheckRequestBillController.cs
index cdbfc7f..a7f810f 100644
--- a/WebAPI/Controllers/XSGL/Xs_ExceptiveCheckRequestBillController.cs
+++ b/WebAPI/Controllers/XSGL/Xs_ExceptiveCheckRequestBillController.cs
@@ -37,14 +37,14 @@
             {
                 List<object> columnNameList = new List<object>();
                 //鏌ョ湅鏉冮檺
-                //if (!DBUtility.ClsPub.Security_Log("Gy_ProjectStage_Query", 1, false, user))
-                //{
-                //    objJsonResult.code = "0";
-                //    objJsonResult.count = 0;
-                //    objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
-                //    objJsonResult.data = null;
-                //    return objJsonResult;
-                //}
+                if (!DBUtility.ClsPub.Security_Log("Xs_ExceptiveCheckRequestBill_Query", 1, false, user))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
 
                 if (sWhere == null || sWhere.Equals(""))
                 {
@@ -359,7 +359,7 @@
 
                 objJsonResult.code = "1";
                 objJsonResult.count = 1;
-                objJsonResult.Message = "Sucess锛�";
+                objJsonResult.Message = "鎮ㄥ凡鍒犻櫎鍗曟嵁鍙蜂负" + BillOld.omodel.HBillNo + "鐨勭壒鎵圭敵璇峰崟锛�";
                 objJsonResult.data = null;
                 return objJsonResult;
             }
@@ -486,7 +486,7 @@
                             objJsonResult.data = null;
                             return objJsonResult;
                         }
-                        else if (ds.Tables[0].Rows[0]["HBillStatus"].ToString() != "1")
+                        else if (int.Parse(ds.Tables[0].Rows[0]["HBillStatus"].ToString()) > 1)
                         {
                             objJsonResult.code = "0";
                             objJsonResult.count = 0;
@@ -509,7 +509,7 @@
                             objJsonResult.data = null;
                             return objJsonResult;
                         }
-                        else if (ds.Tables[0].Rows[0]["HBillStatus"].ToString() != "1")
+                        else if (int.Parse(ds.Tables[0].Rows[0]["HBillStatus"].ToString()) > 1)
                         {
                             objJsonResult.code = "0";
                             objJsonResult.count = 0;
@@ -622,7 +622,7 @@
                     }
 
 
-                    if (oBill.omodel.HBillStatus != 1)
+                    if (oBill.omodel.HBillStatus > 1)
                     {
                         objJsonResult.code = "0";
                         objJsonResult.count = 0;

--
Gitblit v1.9.1