221 lines
7.2 KiB
JSON
221 lines
7.2 KiB
JSON
{
|
|
"Name": "记录收益变动",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"Parameters": [
|
|
{
|
|
"Name": "请款单ID",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "请款单",
|
|
"TableValue": {
|
|
"TableName": "收益请款单表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "0bf88997-652d-4c15-be40-29c222307ec9",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "付款凭证ID",
|
|
"GUID": "97c9ef6c-ef91-4922-9d3f-8be0f5113b88"
|
|
},
|
|
"ColumnName": "付款凭证ID"
|
|
},
|
|
{
|
|
"GUID": "13c533a1-f4cd-484b-900e-d22f847fde73",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "付款凭证ID",
|
|
"GUID": "44892132-df99-4467-aed8-936bf84a67f6",
|
|
"RelationBinding": {
|
|
"RelatedTable": "付款凭证表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "付款金额"
|
|
}
|
|
},
|
|
"ColumnName": "付款金额"
|
|
},
|
|
{
|
|
"GUID": "28055312-b930-4bab-810c-78115ae92440",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "付款凭证ID",
|
|
"GUID": "fc7a9f5e-f5c9-468a-9cca-4fd51092a65c",
|
|
"RelationBinding": {
|
|
"RelatedTable": "付款凭证表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "备注"
|
|
}
|
|
},
|
|
"ColumnName": "备注"
|
|
},
|
|
{
|
|
"GUID": "93867d41-2ab6-48ae-b5cc-25239a5d0e36",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款日期",
|
|
"GUID": "a512c59c-4bd5-4553-9740-c859a20ae38c"
|
|
},
|
|
"ColumnName": "请款日期"
|
|
},
|
|
{
|
|
"GUID": "58c35d0e-b585-46c2-bafa-0c269bda9886",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "付款凭证ID",
|
|
"GUID": "35fd0f79-a95d-4920-ba1e-6ec049a2672f",
|
|
"RelationBinding": {
|
|
"RelatedTable": "付款凭证表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "经手人"
|
|
}
|
|
},
|
|
"ColumnName": "经手人"
|
|
},
|
|
{
|
|
"GUID": "f3b4cd18-158a-431e-b30e-d53b284ea8c4",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "付款凭证ID",
|
|
"GUID": "ec24ebd3-e0e7-4d84-8116-86e5fa9dddaf",
|
|
"RelationBinding": {
|
|
"RelatedTable": "付款凭证表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "收款人"
|
|
}
|
|
},
|
|
"ColumnName": "收款人"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "ID",
|
|
"GUID": "148cb134-07a7-4aa6-adaf-ef6455b003ab"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "6c29c26c85e4460199f8d567f529d043"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "收益变动记录表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "日期",
|
|
"GUID": "f7968c03-b160-4b0d-b3d4-f18d24d8607f"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.请款日期"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "成员",
|
|
"GUID": "f0630db0-89c5-4e28-8604-d08d2d5ab839"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.收款人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "操作人",
|
|
"GUID": "e9d11215-f07e-460f-b974-7a85d4f6c31b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.经手人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "来源",
|
|
"GUID": "e261f745-d04f-4049-bbbd-e36611add773"
|
|
},
|
|
"Value": "收益结算申请"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "来源ID",
|
|
"GUID": "78e092b2-67bc-4018-b7be-d34a8ee3bf12"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "金额",
|
|
"GUID": "d82a00f6-920f-42f9-b8e9-92ae696cafe9"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.付款金额"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "备注",
|
|
"GUID": "9a003cb7-67a0-45da-a3bc-2f73ceefcd01"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.备注"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "绑定成功"
|
|
}
|
|
]
|
|
} |