瀏覽代碼

fixup! refactor: 修改字典值表字段名,消除名称歧义,方便统一管理

喵你个旺呀 1 年之前
父節點
當前提交
cf5a3e0e5c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Admin.NET/Admin.NET.Core/Job/EnumToDictJob.cs

+ 1 - 1
Admin.NET/Admin.NET.Core/Job/EnumToDictJob.cs

@@ -58,7 +58,7 @@ public class EnumToDictJob : IJob
             Console.WriteLine($"【{DateTime.Now}】系统枚举类转字典类型数据: 插入{storageable1.InsertList.Count}条, 更新{storageable1.UpdateList.Count}条, 共{storageable1.TotalList.Count}条。");
 
             var storageable2 = await db.Storageable(sysDictTypeList.SelectMany(x => x.Children).ToList())
-                .WhereColumns(it => new { it.DictTypeId, Code = it.Value })
+                .WhereColumns(it => new { it.DictTypeId, it.Value })
                 .SplitUpdate(it => it.Any())
                 .SplitInsert(_ => true)
                 .ToStorageAsync();