From f1c258211a7bcc79cb7b86e6007a27afebb24e21 Mon Sep 17 00:00:00 2001 From: 沈泽 <211959439@qq.com> Date: 星期一, 18 十月 2021 16:23:31 +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