zrg
2024-06-17 2e0421bc2278345b45d5b041fff4cce3d6146a46
Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
1个文件已修改
8 ■■■■ 已修改文件
WebAPI/Controllers/SBGL/Sb_EquipDotCheckRuleBillController.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/SBGL/Sb_EquipDotCheckRuleBillController.cs
@@ -105,13 +105,13 @@
                if (sWhere == null || sWhere.Equals(""))
                {
                    ds = oCN.RunProcReturn("select * from h_v_Sb_EquipDotCheckRuleList " + sWhere + " order by hmainid desc", "h_v_Sb_EquipDotCheckRuleList");
                    ds = oCN.RunProcReturn("select * from h_v_Sb_GetDotCheckRuleListByEquip " + sWhere , "h_v_Sb_GetDotCheckRuleListByEquip");
                }
                else
                {
                    string sql1 = "select * from h_v_Sb_EquipDotCheckRuleList where 1 = 1";
                    string sql = sql1 + sWhere + " order by hmainid desc";
                    ds = oCN.RunProcReturn(sql, "h_v_Sb_EquipDotCheckRuleList");
                    string sql1 = "select * from h_v_Sb_GetDotCheckRuleListByEquip where 1 = 1";
                    string sql = sql1 + sWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sb_GetDotCheckRuleListByEquip");
                }
                //添加列名