-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditConfigSeedData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
20
api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditSeedData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); | ||
} | ||
|
||
} | ||
} |