435 lines
24 KiB
JSON
435 lines
24 KiB
JSON
{
|
|
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
|
|
"Name": "生成请款单",
|
|
"Enabled": true,
|
|
"Triggers": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon",
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": {
|
|
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
|
"$values": [
|
|
"FGC_LoginUser"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"Parameters": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
|
"Name": "请款人",
|
|
"DataValidationInfo": {
|
|
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
|
"Name": "工时任务ID数组",
|
|
"DataValidationInfo": {
|
|
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
|
"IgnoreBlank": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"Commands": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "非法工时行数",
|
|
"TableValue": {
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
|
|
"TableName": "任务工时表",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": {
|
|
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 8,
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "ID",
|
|
"GUID": "0d6f51fb-9eb2-4b1d-ac2c-dc3f2edc0f0b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=工时任务ID数组"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "请款单ID",
|
|
"GUID": "41644b02-e8c5-4634-96f6-1616c9d0c862",
|
|
"RelationBinding": {
|
|
"$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess",
|
|
"RelatedTable": "收益请款单表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "状态"
|
|
}
|
|
},
|
|
"Value": "3"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "1b38663c741e4c80b35bb33e3ddab8bb",
|
|
"BreakpointIdentity": "b6343893-72b8-42f1-8f81-52a7a06d4197"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
|
"ConditionAndCommandPairList": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
|
"Condition": {
|
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
|
"param": {
|
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
|
"ParamObject": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=非法工时行数"
|
|
}
|
|
},
|
|
"value": "0"
|
|
},
|
|
"CommandList": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "明细统计",
|
|
"TableValue": {
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
|
|
"TableName": "任务工时表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "1109b241-d64f-4792-bfd1-c06789ba19cc",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "行数",
|
|
"GUID": "ca5a08ac-a4ed-4180-9448-05fda1d81c74"
|
|
},
|
|
"ColumnName": "行数"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "98348e66-1ee5-41b9-8d21-bc3868affc57",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "收益求和",
|
|
"GUID": "76131ef4-0310-47ef-b95b-8cae1845c009"
|
|
},
|
|
"ColumnName": "收益求和"
|
|
}
|
|
]
|
|
},
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": {
|
|
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 8,
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "ID",
|
|
"GUID": "1183f68f-e95a-4ecd-b874-2dcce7f59d38"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=工时任务ID数组"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 1,
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "请款单ID",
|
|
"GUID": "28af211f-ae74-4d36-afd4-e7da082d8641",
|
|
"RelationBinding": {
|
|
"$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess",
|
|
"RelatedTable": "收益请款单表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "状态"
|
|
}
|
|
},
|
|
"Value": "3"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "794f11011baf441783bb35a099e423b0",
|
|
"BreakpointIdentity": "34bbe0d9-71af-4a22-9658-f92c70d9d5b7"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
|
"ConditionAndCommandPairList": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
|
"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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
|
"CommandList": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "收益请款单表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款日期",
|
|
"GUID": "a5252ab5-9b38-49b9-933b-e7bd2d2c2592"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=TODAY()"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款人",
|
|
"GUID": "93ec8708-69e5-4232-93e9-73e4c1fd701b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款人"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款金额",
|
|
"GUID": "0983c1aa-ca3a-444c-8f2d-8801ee4e0464"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=明细统计.收益求和"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "状态",
|
|
"GUID": "3bb31ae2-9852-4f46-9c29-fcd9cf6418f4"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
]
|
|
},
|
|
"ParamNameToSaveNewRowValue": "请款单",
|
|
"BreakpointIdentity": "41951159-854a-4294-8125-184754a8e83d"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "任务工时表",
|
|
"ShowConfirm": false,
|
|
"RowsToUpdate": 1,
|
|
"RowsToUpdateCondition": {
|
|
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 8,
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "ID",
|
|
"GUID": "85f7e8e6-4603-4fc5-83c0-013d6776f3b9"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=工时任务ID数组"
|
|
}
|
|
},
|
|
"UpdateBindingValues": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "请款单ID",
|
|
"GUID": "518b6df6-f9a0-4c90-866e-dcb41a81a238"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.ID"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "9e6410f5-aedd-4766-991d-58c263bc7443"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "82dbf530-9aec-4652-ba6a-d1b0a685028c"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "生成完毕",
|
|
"CustomReturns": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
|
|
"ReturnPropertyName": "请款单ID",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.ID"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "da2a38bc-c8c8-4831-be75-acc221db640b"
|
|
}
|
|
]
|
|
},
|
|
"ID": "d58d8c29-f050-43ac-9219-4fc3003770a3"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
|
"CommandList": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "请至少选择一条有效工时收益进行提交",
|
|
"CustomReturns": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
|
|
"ReturnPropertyName": "请款单ID"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "402709cd-3d8d-4b1e-a192-079d947c2e9b"
|
|
}
|
|
]
|
|
},
|
|
"ID": "65b99a0a-42e7-49c3-9df0-b5931382012b"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "541b8530-ee77-4f39-9d7e-ff73f9d84419"
|
|
}
|
|
]
|
|
},
|
|
"ID": "8f8cd807-57e9-4060-a649-3601f16a6ad1"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
|
"CommandList": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "所选工时中存在已请款记录,请重新选择!",
|
|
"CustomReturns": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
|
|
"ReturnPropertyName": "请款单ID"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "c584ddd6-42e9-4263-b0a9-39390f319430"
|
|
}
|
|
]
|
|
},
|
|
"ID": "88ad7c70-64db-4129-99b5-d17cc6fd9765"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "6a8f36ce-ee8a-445e-8cf8-652d971a667e"
|
|
}
|
|
]
|
|
},
|
|
"ReturnProperties": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon",
|
|
"Name": "请款单ID"
|
|
}
|
|
]
|
|
}
|
|
} |