273 lines
10 KiB
JSON
273 lines
10 KiB
JSON
{
|
|
"Name": "收益变动记录表",
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionResource, Forguncy.RbacPermission.Core",
|
|
"enabledTypes": 2,
|
|
"isExternal": true,
|
|
"detailTables": []
|
|
},
|
|
"permissionBindings": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowBindingConfig, Forguncy.RbacPermission.Core",
|
|
"operationTypes": 13,
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 2,
|
|
"roleNames": [
|
|
"Administrator",
|
|
"财务",
|
|
"商务总监",
|
|
"项目总监"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowBindingConfig, Forguncy.RbacPermission.Core",
|
|
"operationTypes": 13,
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.RowFilter, Forguncy.RbacPermission.Core",
|
|
"userFieldName": "成员",
|
|
"filterType": 4,
|
|
"condition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "成员",
|
|
"GUID": "ec067a35-34f1-493e-8f9f-e2745d0074d3"
|
|
},
|
|
"Value": "%CurrentUser.UserName%"
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "操作人",
|
|
"GUID": "c56b20e2-3b20-4a1e-868f-2a983a4d78ff"
|
|
},
|
|
"Value": "%CurrentUser.UserName%"
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 6,
|
|
"ColumnBindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "成员",
|
|
"GUID": "ade64b34-f897-4311-b0ed-30a9d6dc909a",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 8
|
|
}
|
|
},
|
|
"Value": "%CurrentUser.UserName%"
|
|
}
|
|
],
|
|
"RelationType": 1
|
|
}
|
|
}
|
|
},
|
|
"dataPermissionType": 2,
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.CreateRecordBindingConfig, Forguncy.RbacPermission.Core",
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.CreateRecordFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 1,
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldBindingConfig, Forguncy.RbacPermission.Core",
|
|
"fieldOperations": {
|
|
"ID": 1,
|
|
"备注": 5,
|
|
"成员": 5,
|
|
"操作人": 5,
|
|
"日期": 5,
|
|
"来源": 5,
|
|
"来源ID": 5,
|
|
"金额": 5
|
|
},
|
|
"subTableOperations": {},
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 4,
|
|
"roleNames": [
|
|
"Administrator"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldBindingConfig, Forguncy.RbacPermission.Core",
|
|
"fieldOperations": {
|
|
"ID": 1,
|
|
"备注": 5,
|
|
"成员": 5,
|
|
"操作人": 5,
|
|
"日期": 5,
|
|
"来源": 5,
|
|
"来源ID": 5,
|
|
"金额": 5
|
|
},
|
|
"subTableOperations": {},
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 4,
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.DataPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"config": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldBindingConfig, Forguncy.RbacPermission.Core",
|
|
"fieldOperations": {
|
|
"ID": 1,
|
|
"备注": 5,
|
|
"成员": 5,
|
|
"操作人": 5,
|
|
"日期": 5,
|
|
"来源": 5,
|
|
"来源ID": 5,
|
|
"金额": 5
|
|
},
|
|
"subTableOperations": {},
|
|
"dataFilter": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.Data.FieldFilter, Forguncy.RbacPermission.Core"
|
|
}
|
|
},
|
|
"dataPermissionType": 4,
|
|
"roleNames": [
|
|
"FGC_Anonymous"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Columns": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"Required": true,
|
|
"Unique": true,
|
|
"AutoIncrement": true,
|
|
"DatabaseColumnType": "bigint",
|
|
"MaxLength": -1,
|
|
"Name": "ID",
|
|
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"Required": true,
|
|
"DatabaseColumnType": "datetime",
|
|
"MaxLength": -1,
|
|
"Name": "日期",
|
|
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.UserBindingColumnSaveData, ServerDesignerCommon",
|
|
"Required": true,
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "成员",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.UserBindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "操作人",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "来源",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "bigint",
|
|
"MaxLength": -1,
|
|
"Name": "来源ID",
|
|
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "float",
|
|
"MaxLength": -1,
|
|
"Name": "金额",
|
|
"ColumnType": "System.Double, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
|
|
"DatabaseColumnType": "nvarchar",
|
|
"MaxLength": -1,
|
|
"Name": "备注",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_Creator"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.DateExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_CreateDate"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_LastModifier"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.DateExtraBingingColumnSaveData, ServerDesignerCommon",
|
|
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
|
|
"Name": "FGC_LastModifyDate"
|
|
}
|
|
],
|
|
"ExternalDatabaseInfo": {
|
|
"DataBaseType": "6db454c0-531c-4395-9122-921a18942902",
|
|
"AllowModifySchema": true,
|
|
"ConnectionId": "业务表",
|
|
"SourceTableName": "收益变动记录表",
|
|
"SourceTableSchema": "dbo"
|
|
},
|
|
"PrimaryKey": [
|
|
"ID"
|
|
],
|
|
"Relations": [
|
|
{
|
|
"PrimaryTable": "收益请款单表",
|
|
"PrimaryColumn": "ID",
|
|
"ForeignTable": "收益变动记录表",
|
|
"ForeignColumn": "来源ID",
|
|
"IsDetailTableRelation": true
|
|
}
|
|
],
|
|
"Indexes": []
|
|
} |