From 16c9f3ee358cecfa36fecb1b0e1c6f4204869a13 Mon Sep 17 00:00:00 2001
From: huguodong <“531035580@qq.com”>
Date: Tue, 14 Mar 2023 15:58:16 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A7=8D=E5=AD=90=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E7=B1=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
(cherry picked from commit 6298eccbe7125992fa7b186a7f04957d2ff71113)
---
.../SeedData/BatchEditConfigSeedData.cs | 20 +++++++++++++++++++
.../SeedData/BatchEditSeedData.cs | 20 +++++++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditConfigSeedData.cs
create mode 100644 api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditSeedData.cs
diff --git a/api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditConfigSeedData.cs b/api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditConfigSeedData.cs
new file mode 100644
index 00000000..750c4181
--- /dev/null
+++ b/api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditConfigSeedData.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace SimpleAdmin.System.SeedData
+{
+ ///
+ /// 批量修改字段种子数据
+ ///
+ public class BatchEditConfigSeedData : ISqlSugarEntitySeedData
+ {
+ public IEnumerable SeedData()
+ {
+ return SeedDataUtil.GetSeedData("batch_edit_config.json");
+ }
+
+ }
+}
diff --git a/api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditSeedData.cs b/api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditSeedData.cs
new file mode 100644
index 00000000..4671c04e
--- /dev/null
+++ b/api/SimpleAdmin/SimpleAdmin.System/SeedData/BatchEditSeedData.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace SimpleAdmin.System.SeedData
+{
+ ///
+ /// 批量修改配置种子数据
+ ///
+ public class BatchEditSeedData : ISqlSugarEntitySeedData
+ {
+ public IEnumerable SeedData()
+ {
+ return SeedDataUtil.GetSeedData("batch_edit.json");
+ }
+
+ }
+}