duhe
2025-07-29 2f2f377098bb01cc23d4cc9f829e2529241feac9
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");
                }