wtt
2024-11-08 fa6a35a3f5299f1722db9f61b26e3d08e9d2eb0f
WebAPI/Controllers/BLL/Xt_SystemLogController.cs
@@ -33,11 +33,12 @@
                List<object> columnNameList = new List<object>();
                if (sWhere == null || sWhere.Equals(""))
                {
                    ds = oCN.RunProcReturn("select * from h_v_Xt_SystemLogList " + sWhere + " order by hid desc", "h_v_Xt_SystemLogList");
                    string sql = "select top(1000)* from h_v_Xt_SystemLogList " + sWhere + " order by hid desc";
                    ds = oCN.RunProcReturn(sql, "h_v_Xt_SystemLogList");
                }
                else
                {
                    string sql1 = "select * from h_v_Xt_SystemLogList where 1 = 1 ";
                    string sql1 = "select top(1000)* from h_v_Xt_SystemLogList where 1 = 1 ";
                    string sql = sql1 + sWhere + " order by hid desc";
                    ds = oCN.RunProcReturn(sql, "h_v_Xt_SystemLogList");
                }