Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
huguodong committed Mar 14, 2023
2 parents d963f03 + 16c9f3e commit 5e4aac1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleAdmin.System.SeedData
{
/// <summary>
/// 批量修改字段种子数据
/// </summary>
public class BatchEditConfigSeedData : ISqlSugarEntitySeedData<BatchEditConfig>
{
public IEnumerable<BatchEditConfig> SeedData()
{
return SeedDataUtil.GetSeedData<BatchEditConfig>("batch_edit_config.json");
}

}
}
20 changes: 20 additions & 0 deletions api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditSeedData.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleAdmin.System.SeedData
{
/// <summary>
/// 批量修改配置种子数据
/// </summary>
public class BatchEditSeedData : ISqlSugarEntitySeedData<BatchEdit>
{
public IEnumerable<BatchEdit> SeedData()
{
return SeedDataUtil.GetSeedData<BatchEdit>("batch_edit.json");
}

}
}

0 comments on commit 5e4aac1

Please sign in to comment.