{"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:
@@ -76,7 +76,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "d70fbe4e-6b17-426f-814a-ca333b61e544",
|
||||
"GUID": "136684ee-5394-4682-b812-1b29d38b3420",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "项目ID",
|
||||
@@ -85,7 +85,7 @@
|
||||
"ColumnName": "项目ID"
|
||||
},
|
||||
{
|
||||
"GUID": "3af3de5a-0e95-4e4e-8b88-5acd176de61f",
|
||||
"GUID": "be9d4292-cb11-40d5-b3e1-c303ad79c30f",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "任务名称",
|
||||
@@ -94,7 +94,7 @@
|
||||
"ColumnName": "任务名称"
|
||||
},
|
||||
{
|
||||
"GUID": "215fef37-f138-47fc-89a8-df8782920810",
|
||||
"GUID": "43c2eef2-5eb0-4255-96df-17ae07a9c3fd",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "任务状态",
|
||||
@@ -103,7 +103,7 @@
|
||||
"ColumnName": "任务状态"
|
||||
},
|
||||
{
|
||||
"GUID": "83d114d4-8d25-4d00-8d8f-7aa1d22fba08",
|
||||
"GUID": "dddbffb0-3233-4b2d-96be-cb774747ecc9",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "任务状态",
|
||||
@@ -117,7 +117,7 @@
|
||||
"ColumnName": "任务状态文本"
|
||||
},
|
||||
{
|
||||
"GUID": "4a5b48e7-bb1f-4726-8e21-ceaaa11f2022",
|
||||
"GUID": "a1843f4c-9646-472e-9576-89ddbcf172ab",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "项目ID",
|
||||
@@ -131,7 +131,7 @@
|
||||
"ColumnName": "严格模式"
|
||||
},
|
||||
{
|
||||
"GUID": "2a8af634-7280-46a3-8f3a-f1837b6401e5",
|
||||
"GUID": "c0244cf1-8b1e-454f-800b-4bb38eadee25",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "任务类型",
|
||||
@@ -145,7 +145,7 @@
|
||||
"ColumnName": "提成系数"
|
||||
},
|
||||
{
|
||||
"GUID": "3c6b7687-5711-448e-b490-9aabb156e498",
|
||||
"GUID": "9d72b79e-ff35-4351-98e2-12ced45e989a",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "项目ID",
|
||||
@@ -159,7 +159,7 @@
|
||||
"ColumnName": "工时分配方式"
|
||||
},
|
||||
{
|
||||
"GUID": "f7fbe8b6-9f82-43b5-8ec8-52205a2152f9",
|
||||
"GUID": "b5130014-cef4-4b45-b66c-95b040c23157",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "开始时间",
|
||||
@@ -168,7 +168,7 @@
|
||||
"ColumnName": "开始时间"
|
||||
},
|
||||
{
|
||||
"GUID": "3bb8328a-b934-488d-a1bd-805072bf2328",
|
||||
"GUID": "d85138a4-04d9-425e-9492-5fa12b6c7312",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "任务负责人",
|
||||
@@ -177,7 +177,7 @@
|
||||
"ColumnName": "执行者"
|
||||
},
|
||||
{
|
||||
"GUID": "5adaea42-50c9-4b24-94cf-daa981707cf0",
|
||||
"GUID": "209b24c9-daff-4dad-a9e1-4fb89f674d09",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务平行视图",
|
||||
"ColumnName": "可分配工时",
|
||||
@@ -201,7 +201,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "04187475662c442396affecd4e52794f"
|
||||
"ID": "0a5e439272554e37a96d7a61d8f69050"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -475,7 +475,7 @@
|
||||
"ParamNameToSaveNewRowValue": ""
|
||||
}
|
||||
],
|
||||
"ID": "7b5c9507-6fcf-4351-96a0-00134cfc0acd"
|
||||
"ID": "57248cd4-2838-4f18-a187-2040ad1ce0b6"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -530,7 +530,7 @@
|
||||
"ID": "f1babee3af9a4401b69d66a5728facf3"
|
||||
}
|
||||
],
|
||||
"ID": "d084fbee-4af1-4e4d-8eaa-6af89e55b775"
|
||||
"ID": "d243eecb-bdef-4cb6-8560-9a34f370378e"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
@@ -561,10 +561,10 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=结束日期"
|
||||
},
|
||||
"ID": "d184eff4cba7445a955fa8144ebd3951"
|
||||
"ID": "aaefe8a951624a449e45823a45627c18"
|
||||
}
|
||||
],
|
||||
"ID": "0b37c3cb-e565-4743-bb74-87d80ddbd9f5"
|
||||
"ID": "ce8b08de-2dc8-4063-a813-84cff33d9a44"
|
||||
}
|
||||
],
|
||||
"Comments": "如果是按人分配,则把计划工时分到一天中"
|
||||
@@ -700,7 +700,7 @@
|
||||
"ID": "954da7d900d44d068c49c0775cbb66ad"
|
||||
}
|
||||
],
|
||||
"ID": "9136d195-6c6d-421a-a38c-82180d48e4eb"
|
||||
"ID": "6c34f9eb-9039-4cdd-8bcd-caeafe3003d5"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -714,7 +714,7 @@
|
||||
"ID": "bd03cd955f4449cf9d84c422471b58ac"
|
||||
}
|
||||
],
|
||||
"ID": "1f4284c0-335b-4330-9c39-0620a677e8fe"
|
||||
"ID": "fa2e70eb-89ff-442e-b63d-7acc531ba781"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -795,7 +795,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "ca5a3d90-f76a-4612-a67a-7c2bf36c3aa6"
|
||||
"GUID": "62276f79-9b5c-4d2c-9ee7-1b22def93d88"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -806,7 +806,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "019b582a-4594-409d-b829-edf35f98b6e4"
|
||||
"GUID": "78890980-32ba-437b-b818-5dacd60eaeb6"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -817,7 +817,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时日期",
|
||||
"GUID": "f22bd597-15b2-4d6d-97d9-e170e3aa5b0b"
|
||||
"GUID": "77dbe469-acdf-4403-92cc-8f4df2d07741"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -828,7 +828,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "91caa3f1-8ae3-4f93-88ae-9fca29adafc1"
|
||||
"GUID": "156b1aa9-00d0-4014-88dc-1de5bcdfa094"
|
||||
},
|
||||
"Value": "计划"
|
||||
},
|
||||
@@ -836,7 +836,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "c578c59d-5fa9-4424-8c61-f1230195ea85"
|
||||
"GUID": "531143cf-d38d-4c86-8c93-9f9a97aa2d4e"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -847,7 +847,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "98b6d94b-9796-4c91-8ca4-4245ff59587b"
|
||||
"GUID": "8a60f2dd-d8c3-4de6-b836-f24daa94d0f7"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -858,7 +858,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时",
|
||||
"GUID": "a6b55b11-0242-4631-8bcf-7922ab6bce46"
|
||||
"GUID": "c14458b5-3e48-4525-bb12-fa7a103746cf"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -869,7 +869,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "时薪单价",
|
||||
"GUID": "9635331d-aeae-43e3-a89b-c34570f6058c"
|
||||
"GUID": "dfa43bea-2db8-4347-81b3-682ffe372a30"
|
||||
},
|
||||
"Value": "0"
|
||||
},
|
||||
@@ -877,7 +877,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "提成系数",
|
||||
"GUID": "f2cee9cd-2d00-40d0-970b-c94c90ea9415"
|
||||
"GUID": "bc4394e7-3142-4cb6-8b31-422223365a39"
|
||||
},
|
||||
"Value": "0"
|
||||
},
|
||||
@@ -885,7 +885,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "时薪来源",
|
||||
"GUID": "e53d2e82-3206-4faa-8aec-b464aa95a62b"
|
||||
"GUID": "cd8474fe-29cd-4885-9ab9-06b3c1954441"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -900,7 +900,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "db36359f-e763-408e-a6ea-83c3e530edb1"
|
||||
"GUID": "a584d5c3-214e-446e-b71f-e9ddaa1e076a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -911,7 +911,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目动态",
|
||||
"GUID": "ee984db3-7339-4498-aa0a-e0f891fe3888"
|
||||
"GUID": "99164e45-4b55-4277-ac9d-d27926533639"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -922,7 +922,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "34733e1c-c4d9-4f27-8669-097ae7ef3e15"
|
||||
"GUID": "8dd8cb7f-ae3f-4c44-a488-6001d3c1df29"
|
||||
},
|
||||
"Value": "%CurrentUser%"
|
||||
}
|
||||
@@ -932,7 +932,7 @@
|
||||
}
|
||||
],
|
||||
"Comments": "如果不是按人分配,且分配后的工时超过负荷,则报错",
|
||||
"ID": "5ee7326c-c558-4870-8c9b-3b901b21182c"
|
||||
"ID": "5bcefe86-54b7-42c9-a36d-9937ae264dd7"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -945,7 +945,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "bd16d028-b73c-491a-b4a8-6d00a6923fec"
|
||||
"ID": "5bafb462-cbc7-4fbd-a9f8-e934a1118945"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -959,7 +959,7 @@
|
||||
"Message": "分配计划工时成功"
|
||||
}
|
||||
],
|
||||
"ID": "5fac0eb5-f731-44cc-a018-995976e67698"
|
||||
"ID": "52c76946-b751-42dc-b52d-517bd444faa4"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -972,12 +972,12 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "892579fc-1bf9-43bc-80d7-6c3b50ea11c3"
|
||||
"ID": "bf83c604-28e7-4994-9167-33ff6931935c"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "215c9939-b849-4e09-b1c6-dc0d0b7d3c77"
|
||||
"ID": "1f129fa8-f603-46ef-bde1-8ca87368c489"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -987,13 +987,13 @@
|
||||
"Message": "该用户不是项目成员"
|
||||
}
|
||||
],
|
||||
"ID": "f1bfbc10-35b8-44c1-b4c9-a8d6965a7f01"
|
||||
"ID": "79e2ea95-deb1-4260-9805-43f190ef789d"
|
||||
}
|
||||
],
|
||||
"Comments": "如果任务成员中没有,则自动加一个"
|
||||
}
|
||||
],
|
||||
"ID": "bbfe9b03-66df-4e36-9b90-0d6758c44408"
|
||||
"ID": "8f799997-03ea-43ed-8434-a36d3e109de6"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -1003,12 +1003,12 @@
|
||||
"Message": "您提交的工时超过任务预算工时,请修改后重新提交"
|
||||
}
|
||||
],
|
||||
"ID": "36775ed1-cd32-4f99-acdf-6b85362b827c"
|
||||
"ID": "e5d63a8d-12d3-4288-842a-238ae431f6c0"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "dc63381f-0182-438c-bba5-f8470ca29226"
|
||||
"ID": "ec92978b-9d8f-49c2-83ce-6b57b0e83a14"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -1018,7 +1018,7 @@
|
||||
"Message": "任务不存在"
|
||||
}
|
||||
],
|
||||
"ID": "76705ade-2b7a-4303-bb61-e297fdf90439"
|
||||
"ID": "0439b829-1a9b-4b3b-b8c7-caa2a070e7d7"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
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