433 lines
24 KiB
JSON
433 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.TextCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 8,
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "结算状态",
|
|
"GUID": "59f8c5e2-b35a-406b-b715-9e804ab9adde"
|
|
},
|
|
"Value": "1,2"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "0986ee27f8c34ca38643602871d68cdc",
|
|
"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": "47f9b1ea-f8cb-4af3-9b61-7ed421656866",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "行数",
|
|
"GUID": "ca5a08ac-a4ed-4180-9448-05fda1d81c74"
|
|
},
|
|
"ColumnName": "行数"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "d2bb6011-29db-4a0a-a5b0-5ab0f70ae755",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "总核定收益",
|
|
"GUID": "8e29d4ee-5f7f-4497-8c52-12eeabecfa95"
|
|
},
|
|
"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",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "结算状态",
|
|
"GUID": "422fe7a2-c2e6-45b7-851f-79a748033da6"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "88a50a7fcc38406a8b72a8ff29294e14",
|
|
"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": "3e7b90cc-2981-4c4e-86de-4187668cb485"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=TODAY()"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款人",
|
|
"GUID": "358edee2-0355-449c-b008-285b5accdfd7"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款人"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "请款金额",
|
|
"GUID": "f247c834-bde0-4d8c-94e0-ce867a5113ff"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=明细统计.总核定收益"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "收益请款单表",
|
|
"ColumnName": "状态",
|
|
"GUID": "c0d5ad7d-6359-4fe6-b1c4-bdd374b8e366"
|
|
},
|
|
"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": "a0c5c390-8a28-481c-be64-c53c4822c522"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=请款单.ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "结算状态",
|
|
"GUID": "93c7c451-9c9c-43b7-a642-cfa025ea36da"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
]
|
|
},
|
|
"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": "7caa33b2-77ad-43d1-897c-017eaef33057"
|
|
},
|
|
{
|
|
"$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": "91a261a0-dd43-46a1-ab2a-41fc5f9285d6"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "541b8530-ee77-4f39-9d7e-ff73f9d84419"
|
|
}
|
|
]
|
|
},
|
|
"ID": "bfb6a56e-ed81-4165-8b35-d79ce4e6d796"
|
|
},
|
|
{
|
|
"$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": "4eb7e685-1f10-4c4f-a3ef-c261815940ba"
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
} |