699 lines
30 KiB
JSON
699 lines
30 KiB
JSON
{
|
|
"Name": "新增任务",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"Parameters": [
|
|
{
|
|
"Name": "项目ID",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "父任务ID",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "任务标题",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "执行人",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "成员ID数组",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "开始日期",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "结束日期",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "任务分组",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "任务类型",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "任务版本",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "预算工时",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "任务说明",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "收集反馈",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "备注",
|
|
"DataValidationInfo": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
|
"TryCommandPart": {
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "项目统计",
|
|
"TableValue": {
|
|
"TableName": "View_项目统计信息",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "f43a9e19-320d-4ebd-89e3-9231131e7700",
|
|
"BindingInfo": {
|
|
"TableName": "View_项目统计信息",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "8be465f9-1173-4551-ba9c-8077e9e1068a",
|
|
"RelationBinding": {
|
|
"RelatedTable": "项目表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "严格模式"
|
|
}
|
|
},
|
|
"ColumnName": "严格模式"
|
|
},
|
|
{
|
|
"GUID": "e2f84293-00ac-423e-9c7f-03304470ce55",
|
|
"BindingInfo": {
|
|
"TableName": "View_项目统计信息",
|
|
"ColumnName": "项目预算工时",
|
|
"GUID": "c3f88088-ff8f-4ba4-b4b8-0b9b680f51b1"
|
|
},
|
|
"ColumnName": "项目预算工时"
|
|
},
|
|
{
|
|
"GUID": "b4da55a6-585d-45df-8d0a-27bde3af38b5",
|
|
"BindingInfo": {
|
|
"TableName": "View_项目统计信息",
|
|
"ColumnName": "已分配任务工时",
|
|
"GUID": "ec163591-391a-496f-b95b-2b30be766815"
|
|
},
|
|
"ColumnName": "已分配任务工时"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "View_项目统计信息",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "f6308398-2aec-4b4a-9e2a-ec524facb605"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "b20694e9a4684d6bb38f4af5104fe73a"
|
|
},
|
|
{
|
|
"$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": "1"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$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": "=父任务ID"
|
|
}
|
|
},
|
|
"value": "%Null%"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "预算工时上限",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目统计.项目预算工时-项目统计.已分配任务工时"
|
|
},
|
|
"ID": "9dce806ffef440e7b85e5861422b0269"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "层级",
|
|
"ParameterValue": "1",
|
|
"ID": "289bf7d065ed4d829192ec2cfcd1aff9"
|
|
}
|
|
],
|
|
"ID": "4cc16767-fb70-405e-a6fd-ee2eea4b3db9"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "父任务",
|
|
"TableValue": {
|
|
"TableName": "任务表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "4220f490-afe2-402e-bd98-a653a2aea5f0",
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "层级",
|
|
"GUID": "71447dd9-ed15-40d3-8c95-35af02be1228"
|
|
},
|
|
"ColumnName": "层级"
|
|
},
|
|
{
|
|
"GUID": "8dadbb8e-0c03-4e6e-8851-50c04726233c",
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务预算工时",
|
|
"GUID": "f2ea1508-f30e-412f-a345-3ede9d6c420d"
|
|
},
|
|
"ColumnName": "任务预算工时"
|
|
},
|
|
{
|
|
"GUID": "1c8bc67f-a6be-4284-b183-031402f0c0ac",
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "总计划工时",
|
|
"GUID": "1d7f0d26-c3c4-4fd5-9d35-d8c6775d2e75"
|
|
},
|
|
"ColumnName": "总计划工时"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "ID",
|
|
"GUID": "a11173ee-ce04-46d5-a2fe-57bac8f3d19f"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=父任务ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "0cb2c214b7bd4342b32ca610904d9cd0"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "预算工时上限",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=父任务.任务预算工时-父任务.总计划工时"
|
|
},
|
|
"ID": "fb21eb10cb6c45faa4f7f1f93def7cf5"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "层级",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=父任务.层级+1"
|
|
},
|
|
"ID": "cbfea9db3fa545839e30188fb7c9dfba"
|
|
}
|
|
],
|
|
"ID": "f1990772-f047-4921-9e3e-b300e31ce994"
|
|
}
|
|
],
|
|
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
|
|
},
|
|
{
|
|
"$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": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=预算工时"
|
|
},
|
|
"compareType": 4
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=IF(父任务ID>0,\"预算工时超标:父任务可只配计划工时不足,请修改后提交!\",\"预算工时超标:项目可只配计划工时不足,请修改后提交!\")"
|
|
}
|
|
}
|
|
],
|
|
"ID": "433aa4b4-a08b-4710-958e-6d2bff405bd3"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "9d8d5799-28b5-4f92-94ea-d044e67ff531"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "任务表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "30641837-40a6-42a5-b9b3-b43f1fc8ec4b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "父任务ID",
|
|
"GUID": "2c139526-58c9-4b85-9569-647520bbde31"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=父任务ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务名称",
|
|
"GUID": "d59700e8-8849-47f5-9f12-9036a40f6bdd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务标题"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "执行者",
|
|
"GUID": "d67c81b0-72dd-4788-8336-42cfc425b7e0"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=执行人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "开始时间",
|
|
"GUID": "3b9df62d-fffa-47aa-a05c-3fabc793eb6e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=开始日期"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "结束时间",
|
|
"GUID": "110a1ee6-ce15-4381-b39f-e575fc72adbd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=结束日期"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务类型",
|
|
"GUID": "97e14e17-9cc8-453d-822e-a5a7670b976c"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务类型"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "分组ID",
|
|
"GUID": "a0ea37e9-0551-4a42-b27a-5c3b2ff06510"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务分组"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "版本",
|
|
"GUID": "07f5855d-60a8-4823-9984-e85846dc0549"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务版本"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务说明",
|
|
"GUID": "791e0094-8e6f-4354-a451-4e670238207f"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务说明"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "备注",
|
|
"GUID": "b65f60e9-5a8b-444a-a891-c690899066f2"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=备注"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "层级",
|
|
"GUID": "74d4b409-2b42-4767-ad0c-2bea0d7fcd67"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=层级"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务预算工时",
|
|
"GUID": "b6f5ef9b-eadc-4696-b276-7b0ee8f7846e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=预算工时"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务状态",
|
|
"GUID": "f483bdd5-8001-46c9-b24e-522dc200015d"
|
|
},
|
|
"Value": "0"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "进度",
|
|
"GUID": "37b44ca9-bbed-4381-b193-95949b976789"
|
|
},
|
|
"Value": "0"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "收集反馈",
|
|
"GUID": "02048c40-a52b-4e84-bb37-9d6e69b7b5e0"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=收集反馈"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "功能名称",
|
|
"GUID": "74cdda31-8328-4eef-8097-8e04d73d0b47"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务标题"
|
|
}
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "新任务"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目动态",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目动态",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "4e1a7eef-c35f-479e-958c-e34b85538dcc"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目动态",
|
|
"ColumnName": "项目动态",
|
|
"GUID": "1e311d03-f3a1-4fb7-971e-b605d3e76792"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=\"新增任务[\"&任务标题&\"]\""
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目动态",
|
|
"ColumnName": "执行人",
|
|
"GUID": "65b3ab45-38d5-4b31-907d-37832258bf27"
|
|
},
|
|
"Value": "%CurrentUser%"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "=成员ID数组"
|
|
}
|
|
},
|
|
"value": "%Null%",
|
|
"compareType": 1
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "项目成员数组",
|
|
"TableValue": {
|
|
"TableName": "项目成员表",
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "c7322bf5-37a9-434a-a9e8-de5205ace797",
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "ID",
|
|
"GUID": "b72cf0b4-c471-44fa-b47b-a534a09cde3e"
|
|
},
|
|
"ColumnName": "ID"
|
|
},
|
|
{
|
|
"GUID": "2b1ef8c1-9188-452d-b572-d385f7f1a4d4",
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目成员",
|
|
"GUID": "f0d91e3d-8562-4bca-bb0f-4e9d7afd4d55"
|
|
},
|
|
"ColumnName": "项目成员"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 8,
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "ID",
|
|
"GUID": "9ac991d2-282b-43bb-bef9-a0b00a6be7e3"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=成员ID数组"
|
|
}
|
|
}
|
|
},
|
|
"ID": "f6e9f35a3cd540248c1d0f35ededb0a1"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
|
"LoopInfo": {
|
|
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
|
"LoopCount": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目成员数组"
|
|
},
|
|
"LoopItemParamName": "Item"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "任务成员表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务成员表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "573a2b42-c3e1-4bfb-85cf-1546a9036ad9"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务成员表",
|
|
"ColumnName": "任务ID",
|
|
"GUID": "a4c9ac26-cbb1-4201-b122-4b0a7191fadf"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=新任务.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务成员表",
|
|
"ColumnName": "项目成员ID",
|
|
"GUID": "4e695e8e-c89d-4a59-ada7-7e8b4d827b92"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务成员表",
|
|
"ColumnName": "参与人",
|
|
"GUID": "a24651df-83f8-4d76-954d-3b06728c4dcd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.项目成员"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "040cd56a-e4f8-408f-8702-1fe8cff7a829"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "新增任务成功,请添加参与人和设置人员岗位、薪资等信息!"
|
|
}
|
|
]
|
|
},
|
|
"CatchCommandPart": {
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ExceptionCode"
|
|
},
|
|
"Message": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ExceptionMessage"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |