操作类型完善修改
This commit is contained in:
Binary file not shown.
@@ -8,9 +8,14 @@ namespace Yi.Framework.Common.Enum
|
|||||||
{
|
{
|
||||||
public enum OperationEnum
|
public enum OperationEnum
|
||||||
{
|
{
|
||||||
Query,
|
Insert=1,
|
||||||
Insert,
|
Update=2,
|
||||||
Update,
|
Delete=3,
|
||||||
Delete
|
Auth=4,
|
||||||
|
Export=5,
|
||||||
|
Import=6,
|
||||||
|
ForcedOut = 7,
|
||||||
|
GenerateCode=8,
|
||||||
|
ClearData=9
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -230,27 +230,104 @@ namespace Yi.Framework.Model.SeedData
|
|||||||
DictionaryInfoEntity dictInfo18 = new DictionaryInfoEntity()
|
DictionaryInfoEntity dictInfo18 = new DictionaryInfoEntity()
|
||||||
{
|
{
|
||||||
Id = SnowFlakeSingle.Instance.NextId(),
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
DictLabel = "正常",
|
DictLabel = "新增",
|
||||||
DictValue = "0",
|
DictValue = "1",
|
||||||
DictType = "sys_oper_type",
|
DictType = "sys_oper_type",
|
||||||
OrderNum = 100,
|
OrderNum = 100,
|
||||||
Remark = "正常状态",
|
Remark = "新增操作",
|
||||||
IsDeleted = false,
|
IsDeleted = false,
|
||||||
};
|
};
|
||||||
Entitys.Add(dictInfo18);
|
Entitys.Add(dictInfo18);
|
||||||
DictionaryInfoEntity dictInfo19 = new DictionaryInfoEntity()
|
DictionaryInfoEntity dictInfo19 = new DictionaryInfoEntity()
|
||||||
{
|
{
|
||||||
Id = SnowFlakeSingle.Instance.NextId(),
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
DictLabel = "关闭",
|
DictLabel = "修改",
|
||||||
DictValue = "1",
|
DictValue = "2",
|
||||||
DictType = "sys_oper_type",
|
DictType = "sys_oper_type",
|
||||||
OrderNum = 99,
|
OrderNum = 99,
|
||||||
Remark = "关闭状态",
|
Remark = "修改操作",
|
||||||
|
IsDeleted = false,
|
||||||
|
};
|
||||||
|
Entitys.Add(dictInfo19);
|
||||||
|
DictionaryInfoEntity dictInfo22 = new DictionaryInfoEntity()
|
||||||
|
{
|
||||||
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
|
DictLabel = "删除",
|
||||||
|
DictValue = "3",
|
||||||
|
DictType = "sys_oper_type",
|
||||||
|
OrderNum = 98,
|
||||||
|
Remark = "删除操作",
|
||||||
IsDeleted = false,
|
IsDeleted = false,
|
||||||
ListClass = "danger"
|
ListClass = "danger"
|
||||||
};
|
};
|
||||||
Entitys.Add(dictInfo19);
|
Entitys.Add(dictInfo22);
|
||||||
|
DictionaryInfoEntity dictInfo23 = new DictionaryInfoEntity()
|
||||||
|
{
|
||||||
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
|
DictLabel = "授权",
|
||||||
|
DictValue = "4",
|
||||||
|
DictType = "sys_oper_type",
|
||||||
|
OrderNum = 97,
|
||||||
|
Remark = "授权操作",
|
||||||
|
IsDeleted = false,
|
||||||
|
};
|
||||||
|
Entitys.Add(dictInfo23);
|
||||||
|
DictionaryInfoEntity dictInfo24 = new DictionaryInfoEntity()
|
||||||
|
{
|
||||||
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
|
DictLabel = "导出",
|
||||||
|
DictValue = "5",
|
||||||
|
DictType = "sys_oper_type",
|
||||||
|
OrderNum = 96,
|
||||||
|
Remark = "导出操作",
|
||||||
|
IsDeleted = false,
|
||||||
|
};
|
||||||
|
Entitys.Add(dictInfo24);
|
||||||
|
DictionaryInfoEntity dictInfo25 = new DictionaryInfoEntity()
|
||||||
|
{
|
||||||
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
|
DictLabel = "导入",
|
||||||
|
DictValue = "6",
|
||||||
|
DictType = "sys_oper_type",
|
||||||
|
OrderNum = 95,
|
||||||
|
Remark = "导入操作",
|
||||||
|
IsDeleted = false,
|
||||||
|
};
|
||||||
|
Entitys.Add(dictInfo25);
|
||||||
|
DictionaryInfoEntity dictInfo26 = new DictionaryInfoEntity()
|
||||||
|
{
|
||||||
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
|
DictLabel = "强退",
|
||||||
|
DictValue = "7",
|
||||||
|
DictType = "sys_oper_type",
|
||||||
|
OrderNum = 94,
|
||||||
|
Remark = "强退操作",
|
||||||
|
IsDeleted = false,
|
||||||
|
};
|
||||||
|
Entitys.Add(dictInfo26);
|
||||||
|
DictionaryInfoEntity dictInfo27 = new DictionaryInfoEntity()
|
||||||
|
{
|
||||||
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
|
DictLabel = "生成代码",
|
||||||
|
DictValue = "8",
|
||||||
|
DictType = "sys_oper_type",
|
||||||
|
OrderNum = 93,
|
||||||
|
Remark = "生成代码操作",
|
||||||
|
IsDeleted = false,
|
||||||
|
};
|
||||||
|
Entitys.Add(dictInfo27);
|
||||||
|
DictionaryInfoEntity dictInfo28 = new DictionaryInfoEntity()
|
||||||
|
{
|
||||||
|
Id = SnowFlakeSingle.Instance.NextId(),
|
||||||
|
DictLabel = "清空数据",
|
||||||
|
DictValue = "9",
|
||||||
|
DictType = "sys_oper_type",
|
||||||
|
OrderNum = 92,
|
||||||
|
Remark = "清空数据操作",
|
||||||
|
IsDeleted = false,
|
||||||
|
ListClass = "danger"
|
||||||
|
};
|
||||||
|
Entitys.Add(dictInfo28);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user