Commit f4949532 authored by 黄奎's avatar 黄奎

排序修改

parent 197803c1
......@@ -44,6 +44,7 @@ WHERE 1=1
builder.AppendFormat(" AND {0}={1} ", nameof(RB_Class_Log_ViewModel.ClassId), query.ClassId);
}
}
builder.Append(" ORDER BY CLogId DESC ");
return GetPage<RB_Class_Log_ViewModel>(pageIndex, pageSize, out rowsCount, builder.ToString()).ToList();
}
......@@ -69,7 +70,7 @@ WHERE 1=1
CreateBy = model.CreateBy,
CreateTime=DateTime.Now,
};
return base.Insert(model) > 0;
return base.Insert(newmodel) > 0;
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment