添加项目文件。

This commit is contained in:
zel
2025-03-05 19:42:01 +08:00
parent 659f1a2ad9
commit 47dcdeb55d
582 changed files with 242004 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using WaterCloud.Code;
using WaterCloud.DataBase;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2024-07-19 19:42
/// 描 述:条码生成记录种子
/// </summary>
public class CodegeneratelogSeedData : ISqlSugarEntitySeedData<CodegeneratelogEntity>
{
[IgnoreSeedDataUpdate]
public IEnumerable<CodegeneratelogEntity> SeedData()
{
var data = "[\r\n {\r\n \"F_Id\": \"08daa90a-d690-4c92-8f7d-a7c394d295a8\",\r\n \"F_Code\": \"0009\",\r\n \"F_RuleId\": \"08daa908-a7c1-4cc0-84ea-6fab3fa2bea6\",\r\n \"F_RuleName\": \"测试\",\r\n \"F_PrintJson\": \"{\\\"barid\\\":\\\"Company\\\",\\\"code\\\":\\\"Company\\\",\\\"name\\\":\\\"上海东鞋贸易有限公司\\\",\\\"rulecode\\\":\\\"0009\\\"}\",\r\n \"F_PrintCount\": \"0\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": \"2022-10-08 16:55:24\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_CreatorUserName\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n }\r\n]";
return data.ToObject<List<CodegeneratelogEntity>>();
}
}
}

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using WaterCloud.Code;
using WaterCloud.DataBase;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2024-07-19 19:42
/// 描 述:条码种子
/// </summary>
public class CoderuleSeedData : ISqlSugarEntitySeedData<CoderuleEntity>
{
[IgnoreSeedDataUpdate]
public IEnumerable<CoderuleEntity> SeedData()
{
var data = "[\r\n {\r\n \"F_Id\": \"08daa908-a7c1-4cc0-84ea-6fab3fa2bea6\",\r\n \"F_RuleName\": \"测试\",\r\n \"F_RuleJson\": \"[{\\\"Id\\\":\\\"1668a472-e5d2-412e-8879-393b1cbc59a4\\\",\\\"FormatType\\\":11,\\\"FormatString\\\":\\\"0000\\\",\\\"ToBase\\\":10,\\\"InitValue\\\":1,\\\"MaxValue\\\":-1,\\\"Increment\\\":1,\\\"DiyDate\\\":null,\\\"LAY_TABLE_INDEX\\\":0}]\",\r\n \"F_Reset\": \"yyyy-MM-dd\",\r\n \"F_TemplateId\": \"08daa778-f508-4fd6-8f60-e60cb414b464\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": \"2022-10-08 16:39:47\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_CreatorUserName\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n }\r\n]";
return data.ToObject<List<CoderuleEntity>>();
}
}
}

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using WaterCloud.Code;
using WaterCloud.DataBase;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2024-07-19 19:42
/// 描 述条码计数实体log
/// </summary>
public class CoderulelogSeedData : ISqlSugarEntitySeedData<CoderulelogEntity>
{
[IgnoreSeedDataUpdate]
public IEnumerable<CoderulelogEntity> SeedData()
{
var data = "";
return data.ToObject<List<CoderulelogEntity>>();
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using WaterCloud.Code;
using WaterCloud.DataBase;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2024-07-19 19:42
/// 描 述:表单种子
/// </summary>
public class FormSeedData : ISqlSugarEntitySeedData<FormEntity>
{
[IgnoreSeedDataUpdate]
public IEnumerable<FormEntity> SeedData()
{
var data = "[\r\n {\r\n \"F_Id\": \"08d92a58-531c-43ec-8546-d359e0f81347\",\r\n \"F_Name\": \"333\",\r\n \"F_FrmType\": \"0\",\r\n \"F_WebId\": \"\",\r\n \"F_Fields\": \"2\",\r\n \"F_ContentData\": \"F_UserName,F_RequestType\",\r\n \"F_ContentParse\": null,\r\n \"F_Content\": \"[{\\\"id\\\":\\\"F_UserName\\\",\\\"index\\\":0,\\\"label\\\":\\\"用户\\\",\\\"tag\\\":\\\"input\\\",\\\"tagIcon\\\":\\\"input\\\",\\\"placeholder\\\":\\\"请输入\\\",\\\"defaultValue\\\":null,\\\"labelWidth\\\":110,\\\"width\\\":\\\"100%\\\",\\\"clearable\\\":true,\\\"maxlength\\\":null,\\\"showWordLimit\\\":false,\\\"readonly\\\":false,\\\"disabled\\\":false,\\\"required\\\":true,\\\"expression\\\":\\\"\\\",\\\"document\\\":\\\"\\\"},{\\\"id\\\":\\\"F_RequestType\\\",\\\"index\\\":1,\\\"label\\\":\\\"请假类型\\\",\\\"tag\\\":\\\"radio\\\",\\\"tagIcon\\\":\\\"radio\\\",\\\"labelWidth\\\":110,\\\"disabled\\\":false,\\\"document\\\":\\\"\\\",\\\"datasourceType\\\":\\\"local\\\",\\\"remoteUrl\\\":\\\"http://\\\",\\\"remoteMethod\\\":\\\"post\\\",\\\"remoteOptionText\\\":\\\"options.data.dictName\\\",\\\"remoteOptionValue\\\":\\\"options.data.dictId\\\",\\\"options\\\":[{\\\"text\\\":\\\"事假\\\",\\\"value\\\":\\\"0\\\",\\\"checked\\\":true},{\\\"text\\\":\\\"病假\\\",\\\"value\\\":\\\"1\\\",\\\"checked\\\":false}]}]\",\r\n \"F_SortCode\": \"33\",\r\n \"F_EnabledMark\": 1,\r\n \"F_DeleteMark\": 0,\r\n \"F_CreatorTime\": \"2021-06-08 16:35:09\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_LastModifyTime\": \"2023-01-13 10:33:07.2480064\",\r\n \"F_LastModifyUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null,\r\n \"F_Description\": \"\",\r\n \"F_OrganizeId\": \"\",\r\n \"F_DbName\": \"oms_formtest\"\r\n },\r\n {\r\n \"F_Id\": \"8faff4e5-b729-44d2-ac26-e899a228f63d\",\r\n \"F_Name\": \"系统内置的复杂请假条表单\",\r\n \"F_FrmType\": \"1\",\r\n \"F_WebId\": \"FormTest\",\r\n \"F_Fields\": \"11\",\r\n \"F_ContentData\": \"F_Id,F_UserName,F_RequestType,F_StartTime,F_EndTime,F_RequestComment,F_Attachment,F_FlowInstanceId,F_CreatorTime,F_CreatorUserId,F_CreatorUserName\",\r\n \"F_ContentParse\": \"\",\r\n \"F_Content\": \"\",\r\n \"F_SortCode\": \"0\",\r\n \"F_EnabledMark\": 1,\r\n \"F_DeleteMark\": 0,\r\n \"F_CreatorTime\": \"2019-07-29 01:03:36\",\r\n \"F_CreatorUserId\": \"6ba79766-faa0-4259-8139-a4a6d35784e0\",\r\n \"F_LastModifyTime\": \"2022-07-19 03:08:11.9246435\",\r\n \"F_LastModifyUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_DeleteTime\": \"2019-07-29 01:03:36\",\r\n \"F_DeleteUserId\": \"6ba79766-faa0-4259-8139-a4a6d35784e0\",\r\n \"F_Description\": \"企业版内置的复杂请假条表单\",\r\n \"F_OrganizeId\": \"\",\r\n \"F_DbName\": null\r\n }\r\n]";
return data.ToObject<List<FormEntity>>();
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using WaterCloud.Code;
using WaterCloud.DataBase;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2024-07-19 19:42
/// 描 述:快捷菜单种子
/// </summary>
public class QuickModuleSeedData : ISqlSugarEntitySeedData<QuickModuleEntity>
{
[IgnoreSeedDataUpdate]
public IEnumerable<QuickModuleEntity> SeedData()
{
var data = "";
return data.ToObject<List<QuickModuleEntity>>();
}
}
}

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using WaterCloud.Code;
using WaterCloud.DataBase;
namespace WaterCloud.Domain.SystemManage
{
/// <summary>
/// 创 建:超级管理员
/// 日 期2024-07-19 19:42
/// 描 述:快捷菜单种子
/// </summary>
public class TemplateSeedData : ISqlSugarEntitySeedData<TemplateEntity>
{
[IgnoreSeedDataUpdate]
public IEnumerable<TemplateEntity> SeedData()
{
var data = "[\r\n {\r\n \"F_Id\": \"08daa778-f508-4fd6-8f60-e60cb414b464\",\r\n \"F_TemplateName\": \"测试模板\",\r\n \"F_TemplateFile\": \"/file/local/20221006/202210061658345649.frx\",\r\n \"F_TemplateDBProvider\": \"0\",\r\n \"F_TemplateSql\": \"SELECT F_EnCode barId,F_EnCode code,F_FullName name FROM `sys_organize` where F_Id='5AB270C0-5D33-4203-A54F-4552699FDA3C'\",\r\n \"F_TemplateSqlParm\": \"\",\r\n \"F_PrintType\": \"1\",\r\n \"F_Batch\": 0,\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": \"2022-10-06 16:58:38\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_CreatorUserName\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n }\r\n]";
return data.ToObject<List<TemplateEntity>>();
}
}
}