From d68c24f5f8355ac8e1dabee1f7504eda40aa64e2 Mon Sep 17 00:00:00 2001
From: 仲国强 <519541279@qq.com>
Date: 星期五, 15 十月 2021 10:42:53 +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