413 lines
16 KiB
JSON
413 lines
16 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
|
|
}
|
|
},
|
|
{
|
|
"Name": "凭证ID",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
|
"TryCommandPart": {
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "请款单",
|
|
"TableValue": {
|
|
"TableName": "收益请款单表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "d2272aaf-58e0-4d55-8963-45fece689fc9",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款日期",
|
|
"GUID": "d50b6487-dbac-4f7e-8106-510608c5eb4f"
|
|
},
|
|
"ColumnName": "请款日期"
|
|
},
|
|
{
|
|
"GUID": "c3656ddc-6c2b-43bb-ae12-f888135d18b6",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款人",
|
|
"GUID": "c963a44b-4716-4526-86a6-664edcaf1d89"
|
|
},
|
|
"ColumnName": "请款人"
|
|
},
|
|
{
|
|
"GUID": "ff153126-fe90-481c-9817-6c975d97a91b",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "户名",
|
|
"GUID": "991ef5e9-65de-4f2d-9ed6-9f36b3114c78"
|
|
},
|
|
"ColumnName": "户名"
|
|
},
|
|
{
|
|
"GUID": "6fb9779c-14c7-4116-8214-3a1e804e963c",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "帐号",
|
|
"GUID": "55ee3d92-fe3e-421b-ae51-d7d9293ca85f"
|
|
},
|
|
"ColumnName": "帐号"
|
|
},
|
|
{
|
|
"GUID": "d7ca14a3-7393-4402-86de-fc2b096a0a7a",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "开户行",
|
|
"GUID": "7550ff72-06c5-481f-b9fb-5964e9c368e1"
|
|
},
|
|
"ColumnName": "开户行"
|
|
},
|
|
{
|
|
"GUID": "dbdf9b8c-35ab-46cc-8847-6bfa3b3d9b59",
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "备注",
|
|
"GUID": "ff96cd55-76f8-4675-85ef-039c9069d015"
|
|
},
|
|
"ColumnName": "备注"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "ID",
|
|
"GUID": "0833eff5-5814-40fe-8cff-b73eabd4b1c5"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "80c61dd58b014c51b3c369c8174f911a"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "付款凭证",
|
|
"TableValue": {
|
|
"TableName": "付款凭证表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "5c65724e-e2da-497c-b767-c11f00061e8c",
|
|
"BindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "经手人",
|
|
"GUID": "9258aea3-3a38-40c9-ab7b-d2f3a96aa740"
|
|
},
|
|
"ColumnName": "经手人"
|
|
},
|
|
{
|
|
"GUID": "27dae5ce-c2b0-440f-b312-1e6ca476f610",
|
|
"BindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "付款金额",
|
|
"GUID": "03f811f5-c42e-45b4-a5cc-259e1bdcaf35"
|
|
},
|
|
"ColumnName": "付款金额"
|
|
},
|
|
{
|
|
"GUID": "be42b82a-b1bf-4d0d-a0eb-860b171dcd91",
|
|
"BindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "备注",
|
|
"GUID": "cd3e4264-4ed9-45f5-9243-2353dbfc3e64"
|
|
},
|
|
"ColumnName": "备注"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "ID",
|
|
"GUID": "913ed876-9d88-4547-9ce8-9c5e5850415e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=凭证ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "0fee1b01db9f4defb3b75d3edc5925ca"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "收益请款单表",
|
|
"ShowConfirm": false,
|
|
"RowsToUpdate": 1,
|
|
"RowsToUpdateCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "ID",
|
|
"GUID": "28f0ca89-a70a-40b9-96b6-f0b014b20a5f"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单ID"
|
|
}
|
|
},
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "付款凭证ID",
|
|
"GUID": "3a720a85-05da-441c-9183-1646592475be"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=凭证ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "状态",
|
|
"GUID": "3674d965-322a-4db7-86f9-4fa8a10f7a56"
|
|
},
|
|
"Value": "3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "付款凭证表",
|
|
"ShowConfirm": false,
|
|
"RowsToUpdate": 1,
|
|
"RowsToUpdateCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "ID",
|
|
"GUID": "20193d9f-de70-4675-8748-d8c2ab9c5b98"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=凭证ID"
|
|
}
|
|
},
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "收款人",
|
|
"GUID": "e2f776ee-a4b3-45f0-a4ec-da7cfdf3aa6b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.请款人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "户名",
|
|
"GUID": "60d9a76f-2eaa-4610-b27b-a40a00416407"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.户名"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "卡号",
|
|
"GUID": "c9ebcde4-c696-4eea-aae8-b9d94e9470f5"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.帐号"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "付款凭证表",
|
|
"ColumnName": "开户行",
|
|
"GUID": "7e13b62e-7665-4b06-bb86-b2190eeb999d"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.开户行"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "收益变动记录表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "日期",
|
|
"GUID": "73395473-1ee0-45f9-924f-5502699fb556"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.请款日期"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "成员",
|
|
"GUID": "c9246e1b-380b-46df-8bf9-264cb5535e9b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.请款人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "操作人",
|
|
"GUID": "ef70c58b-29df-4473-8f49-f000ec7bd11a"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=付款凭证.经手人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "来源",
|
|
"GUID": "d229b120-a181-4449-8991-3d8a7294a523"
|
|
},
|
|
"Value": "收益结算申请"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "来源ID",
|
|
"GUID": "796b9202-912f-4a71-bda3-50696b3afd1b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "金额",
|
|
"GUID": "186339c9-f3c5-437b-a06e-576cd146e5ac"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=付款凭证.付款金额"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "收益变动记录表",
|
|
"ColumnName": "备注",
|
|
"GUID": "36dc6300-e168-4c86-874e-c792b579fdb4"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.备注"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "结算成功"
|
|
}
|
|
]
|
|
},
|
|
"CatchCommandPart": {
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "日志表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "日志表",
|
|
"ColumnName": "标题",
|
|
"GUID": "01a36f36-7140-4301-a68c-5f0748c19309"
|
|
},
|
|
"Value": "完成请款单"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "日志表",
|
|
"ColumnName": "内容",
|
|
"GUID": "97ff6b18-02b6-428b-8f10-2ecd3f55e910"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ExceptionMessage"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "日志表",
|
|
"ColumnName": "类型",
|
|
"GUID": "83eae015-a03e-4327-ba0f-a3d15a4fe734"
|
|
},
|
|
"Value": "错误"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |