From 51697950d3b6c82c6df6f80c91a2d6d4b1887f24 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期一, 27 九月 2021 17:40:01 +0800
Subject: [PATCH] 器具编辑改制出库列表+编辑

---
 WebAPI/Controllers/SBGL/Sb_EquipMaintainBillController.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Controllers/SBGL/Sb_EquipMaintainBillController.cs b/WebAPI/Controllers/SBGL/Sb_EquipMaintainBillController.cs
index f80dfaa..e735caf 100644
--- a/WebAPI/Controllers/SBGL/Sb_EquipMaintainBillController.cs
+++ b/WebAPI/Controllers/SBGL/Sb_EquipMaintainBillController.cs
@@ -31,13 +31,13 @@
             {
                 if (sWhere == null || sWhere.Equals(""))
                 {
-                    ds = oCN.RunProcReturn("select * from h_v_Sc_EquipMaintainPlan " + sWhere + " order by hmainid desc", "h_v_Sc_EquipMaintainPlan");
+                    ds = oCN.RunProcReturn("select * from h_v_Sc_EquipMaintain " + sWhere + " order by hmainid desc", "h_v_Sc_EquipMaintain");
                 }
                 else
                 {
-                    string sql1 = "select * from h_v_Sc_EquipMaintainPlan where 1 = 1";
+                    string sql1 = "select * from h_v_Sc_EquipMaintain where 1 = 1";
                     string sql = sql1 + sWhere + " order by hmainid desc";
-                    ds = oCN.RunProcReturn(sql, "h_v_Sc_EquipMaintainPlan");
+                    ds = oCN.RunProcReturn(sql, "h_v_Sc_EquipMaintain");
                 }
                 if (ds == null || ds.Tables[0].Rows.Count == 0)
                 {

--
Gitblit v1.9.1