:zap:侧边栏路由新增isNew属性

This commit is contained in:
不做码农
2023-08-17 18:08:15 +08:00
parent d1108700e0
commit 1ca05495d8
3 changed files with 15 additions and 6 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ namespace ZR.Repository
public int Insert(List<T> t)
{
return Context.Insertable(t).ExecuteCommand();
return InsertRange(t) ? 1 : 0;
}
public int Insert(T parm, Expression<Func<T, object>> iClumns = null, bool ignoreNull = true)
{
@@ -65,7 +65,7 @@ namespace ZR.Repository
//{
// return Context.Updateable(entity);
//}
/// <summary>
/// 实体根据主键更新
/// </summary>