🔥移除仓储不常用方法

This commit is contained in:
不做码农
2023-08-15 09:37:31 +08:00
parent 31cf1a82f1
commit ff4e857128
6 changed files with 10 additions and 62 deletions

View File

@@ -82,7 +82,7 @@ namespace ZR.Service.System
LangName = item.LangName,
});
}
var storage = Storageable(langs)
var storage = Context.Storageable(langs)
.WhereColumns(it => new { it.LangKey, it.LangCode })
.ToStorage();
@@ -110,7 +110,7 @@ namespace ZR.Service.System
/// <returns></returns>
public (string, object, object) ImportCommonLang(List<CommonLang> list)
{
var x = Storageable(list)
var x = Context.Storageable(list)
.WhereColumns(it => new { it.LangKey, it.LangCode })
.ToStorage();
x.AsInsertable.ExecuteReturnSnowflakeIdList();//插入可插入部分;