{"Message":"完成请款流程","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/任务工时表"},{"State":1,"Type":7,"Name":"Table/收益变动记录表"},{"State":1,"Type":7,"Name":"Table/收款账户信息表"},{"State":1,"Type":7,"Name":"Table/收益请款单表"},{"State":1,"Type":7,"Name":"Table/付款凭证表"},{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/项目首页"},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/项目信息"},{"State":1,"Type":1,"Name":"PCPage/任务-子任务列表"},{"State":1,"Type":1,"Name":"PCPage/工时详情"},{"State":1,"Type":1,"Name":"PCPage/修改报工"},{"State":1,"Type":1,"Name":"PCPage/个人中心-收款账户"},{"State":1,"Type":1,"Name":"PCPage/收益中心"},{"State":1,"Type":1,"Name":"PCPage/收益中心-收益请款记录"},{"State":1,"Type":1,"Name":"PCPage/收益中心-变动记录"},{"State":1,"Type":1,"Name":"PCPage/收益中心-收益明细"},{"State":2,"Type":1,"Name":"PCPage/提交结算申请单"},{"State":1,"Type":1,"Name":"PCPage/审批结算申请单"},{"State":1,"Type":1,"Name":"PCPage/办理结算审批单"},{"State":1,"Type":15,"Name":"ServerCommand/分配任务工时"},{"State":2,"Type":15,"Name":"ServerCommand/绑定工时与请款单"},{"State":2,"Type":15,"Name":"ServerCommand/绑定结算请款单凭证ID"},{"State":2,"Type":15,"Name":"ServerCommand/记录收益变动"},{"State":1,"Type":28,"Name":"ProcessItem/结算申请"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":23,"Name":"TableView/项目平行视图"},{"State":3,"Type":38,"Name":"Image/返回.svg"},{"State":3,"Type":15,"Name":"ServerCommand/删除请款单"},{"State":3,"Type":1,"Name":"PCPage/生成结算申请单"},{"State":3,"Type":15,"Name":"ServerCommand/完成请款单"},{"State":3,"Type":15,"Name":"ServerCommand/生成请款单"}],"Version":"v1"}
This commit is contained in:
233
ServerCommands/收益/删除请款单.json
Normal file
233
ServerCommands/收益/删除请款单.json
Normal file
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"Name": "删除请款单",
|
||||
"Description": "删除请款单、并重置对应工时记录",
|
||||
"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": "e9969098-818e-4750-9f5b-ebdd22d6d6bf",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "流程实例ID",
|
||||
"GUID": "6d1084b0-f563-41c1-961f-0648e641ede7"
|
||||
},
|
||||
"ColumnName": "流程实例ID"
|
||||
},
|
||||
{
|
||||
"GUID": "92196a03-fb15-4f55-b732-cfb0378dbb48",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "8917213e-ecad-4055-bf5c-75b1b1745dee"
|
||||
},
|
||||
"ColumnName": "状态"
|
||||
},
|
||||
{
|
||||
"GUID": "e62b17f8-8bc4-4908-81dd-2bca97df0c05",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "付款凭证ID",
|
||||
"GUID": "a46a758b-1719-4353-847b-60e45db768d5"
|
||||
},
|
||||
"ColumnName": "付款凭证ID"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "9260f94d-f521-47a6-9a33-cfb4782dfcd8"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "d91326c4deea4be8817128ba26487d73"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.状态"
|
||||
}
|
||||
},
|
||||
"value": "4",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.付款凭证ID"
|
||||
}
|
||||
},
|
||||
"value": "%Null%"
|
||||
}
|
||||
]
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$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": "7e4fd062-7a6b-4458-ad29-591d64c14167"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "请款单ID",
|
||||
"GUID": "7293b64a-dfba-4f28-9797-1d95b9bfe45f"
|
||||
},
|
||||
"Value": "%Null%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "收益请款单表",
|
||||
"UpdateType": "delete",
|
||||
"ShowConfirm": true,
|
||||
"ConfirmText": "您确定要删除吗?",
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "d81b95f7-f049-4617-9f43-edea4d2bf48e"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单ID"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ProcessInstanceCommand, ServerDesignerCommon",
|
||||
"ProcessInstanceId": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.流程实例ID"
|
||||
},
|
||||
"OperateType": 301
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "请款单已删除"
|
||||
}
|
||||
],
|
||||
"ID": "11e8fb08-4b26-45f5-8623-b43c4802896f"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "请款单未终止或已结款,无法撤销!"
|
||||
}
|
||||
],
|
||||
"ID": "5c7c5ef7-cffd-4818-8a6f-71bbdfdce2b1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "8c653230-3bf5-47c9-b5aa-cbd237c820c8"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "请款单不存在"
|
||||
}
|
||||
],
|
||||
"ID": "7bae4efe-28e9-4486-843a-641e63f74419"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
413
ServerCommands/收益/完成请款单.json
Normal file
413
ServerCommands/收益/完成请款单.json
Normal file
@@ -0,0 +1,413 @@
|
||||
{
|
||||
"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": "错误"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
314
ServerCommands/收益/生成请款单.json
Normal file
314
ServerCommands/收益/生成请款单.json
Normal file
@@ -0,0 +1,314 @@
|
||||
{
|
||||
"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": "请款人",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "工时任务ID数组",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "非法工时行数",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"TableValueType": 3,
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 8,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "0d6f51fb-9eb2-4b1d-ac2c-dc3f2edc0f0b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时任务ID数组"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "是否请款",
|
||||
"GUID": "74138321-dcbc-4d9a-b4a1-3ada8c41d214"
|
||||
},
|
||||
"Value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "4b82b14025984224abd390c269d3f762"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=非法工时行数"
|
||||
}
|
||||
},
|
||||
"value": "0"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "明细统计",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "a2491042-2ce1-48ff-992c-c00115a515b9",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "行数",
|
||||
"GUID": "ca5a08ac-a4ed-4180-9448-05fda1d81c74"
|
||||
},
|
||||
"ColumnName": "行数"
|
||||
},
|
||||
{
|
||||
"GUID": "a98ae5d4-9431-45d2-b81f-539a58c792f2",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "收益求和",
|
||||
"GUID": "76131ef4-0310-47ef-b95b-8cae1845c009"
|
||||
},
|
||||
"ColumnName": "收益求和"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 8,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "1183f68f-e95a-4ecd-b874-2dcce7f59d38"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时任务ID数组"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "是否请款",
|
||||
"GUID": "eead7ffa-1ca4-4700-a84e-32710d76ebae"
|
||||
},
|
||||
"Value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "6157ee87b3124e34b569b2553994bd1e"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=明细统计.行数"
|
||||
}
|
||||
},
|
||||
"value": "0",
|
||||
"compareType": 2
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "收益请款单表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "请款日期",
|
||||
"GUID": "62435986-c8bf-4491-aaf8-ec30e282b42b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TODAY()"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "请款人",
|
||||
"GUID": "eafbf4d3-4c74-44eb-83ee-cec98785a0c9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "请款金额",
|
||||
"GUID": "8e6c8fe9-3f92-4e3d-a524-1384df5f04a0"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=明细统计.收益求和"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "01351c77-d2bb-4497-ba13-cf2210e5c0b0"
|
||||
},
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ParamNameToSaveNewRowValue": "请款单"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务工时表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 8,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "85f7e8e6-4603-4fc5-83c0-013d6776f3b9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时任务ID数组"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "请款单ID",
|
||||
"GUID": "07397efc-e2da-4a06-a997-087d59191b2d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "生成完毕",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "请款单ID",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "f0308d1b-eb04-41e1-b249-c21df4cd8c11"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "请至少选择一条有效工时收益进行提交",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "请款单ID"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "5031410c-0004-4e5a-8aef-f07f4a0648b8"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "e3bbc74f-c709-4562-a69d-664ff78bb0d8"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "所选工时中存在已请款记录,请重新选择!",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "请款单ID"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "009cec1f-3b29-4dee-8f67-5ab17413ddd0"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ReturnProperties": [
|
||||
{
|
||||
"Name": "请款单ID"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
{
|
||||
"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": "863f38ac-72ee-4032-8cde-fc836f298307",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "工时ID数组",
|
||||
"GUID": "244ec80e-5831-44d1-8366-df1406ead9ff"
|
||||
},
|
||||
"ColumnName": "工时ID数组"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "aed2d551-3fe7-4d07-88a6-4d935d9792f7"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "ec9c21ad2fe34592ae97cbf4d94e7e58"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务工时表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 8,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "ec5b4589-e045-4cba-8519-4fd44ff5c266"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=单据.工时ID数组"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "请款单ID",
|
||||
"GUID": "81fdadc9-bb3e-4d66-abaa-d85414a4f5d7"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "同步成功"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,207 +0,0 @@
|
||||
{
|
||||
"Name": "绑定结算请款单凭证ID",
|
||||
"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.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "请款单",
|
||||
"TableValue": {
|
||||
"TableName": "收益请款单表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "9cdd3c29-a8b5-4b76-aca6-5039f91d79c3",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "请款人",
|
||||
"GUID": "c963a44b-4716-4526-86a6-664edcaf1d89"
|
||||
},
|
||||
"ColumnName": "请款人"
|
||||
},
|
||||
{
|
||||
"GUID": "5060cdaf-0b7b-4ad4-bd63-bb54bb6b997d",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "户名",
|
||||
"GUID": "991ef5e9-65de-4f2d-9ed6-9f36b3114c78"
|
||||
},
|
||||
"ColumnName": "户名"
|
||||
},
|
||||
{
|
||||
"GUID": "568302f5-dcbb-4796-983f-9c483452265e",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "帐号",
|
||||
"GUID": "55ee3d92-fe3e-421b-ae51-d7d9293ca85f"
|
||||
},
|
||||
"ColumnName": "帐号"
|
||||
},
|
||||
{
|
||||
"GUID": "d86f6185-d106-4f94-b158-e350f12e99ec",
|
||||
"BindingInfo": {
|
||||
"TableName": "收益请款单表",
|
||||
"ColumnName": "开户行",
|
||||
"GUID": "7550ff72-06c5-481f-b9fb-5964e9c368e1"
|
||||
},
|
||||
"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": "7838c90dad534d6cb7ae55f0aa63369b"
|
||||
},
|
||||
{
|
||||
"$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": "02f3b375-c90d-472d-a961-65e6219c0329"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=凭证ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$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": "5b52c634-0ea3-49aa-9b30-e9f54f35173a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.请款人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "付款凭证表",
|
||||
"ColumnName": "户名",
|
||||
"GUID": "9b0f90e5-73e6-4197-9809-322082127662"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "付款凭证表",
|
||||
"ColumnName": "卡号",
|
||||
"GUID": "e0aa8a6d-68b5-4a20-9f43-f36f4b65ecf8"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.帐号"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "付款凭证表",
|
||||
"ColumnName": "开户行",
|
||||
"GUID": "d8ab546d-1aba-478b-b830-f030b09c5bad"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=请款单.开户行"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "绑定成功"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,221 +0,0 @@
|
||||
{
|
||||
"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": "绑定成功"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user