939 lines
49 KiB
JSON
939 lines
49 KiB
JSON
{
|
|
"Name": "填充项目初始化数据",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
|
|
"Parameters": [
|
|
{
|
|
"Name": "ID",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "项目",
|
|
"TableValue": {
|
|
"TableName": "项目表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "bf4aa969-2e0d-41a3-b21f-d161c669181d",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目状态",
|
|
"GUID": "fb1fbb32-fdc6-4a4c-a8e6-b5559285d676"
|
|
},
|
|
"ColumnName": "项目状态"
|
|
},
|
|
{
|
|
"GUID": "469804af-8359-445e-be3c-29b4c9318b39",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "e81f2340-af4c-4f6b-8dcd-afd8e74768ba"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"GUID": "4a6da440-f343-4b8b-b04a-25e05a3722e8",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "所属客户",
|
|
"GUID": "8a11dd2a-e505-4f58-9d1b-0448b3486b4d"
|
|
},
|
|
"ColumnName": "所属客户"
|
|
},
|
|
{
|
|
"GUID": "b89ffe2a-1e59-49ab-9ebd-d5efabb5da8b",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "所属客户部门",
|
|
"GUID": "ab46b96f-d75d-4a48-baf9-f0e78f183a56",
|
|
"RelationBinding": {
|
|
"RelatedTable": "客户部门表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "对接人"
|
|
}
|
|
},
|
|
"ColumnName": "对接人"
|
|
},
|
|
{
|
|
"GUID": "663d7b9e-0ca1-4a74-ba45-cd90994ae50b",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "54d22a8d-6673-49b7-941d-7b14e7186924",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 5,
|
|
"AttachTypeTag": "默认时薪"
|
|
}
|
|
},
|
|
"ColumnName": "项目经理_默认时薪"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "ID",
|
|
"GUID": "d095e1bc-1f0e-4e96-b4f0-35a83b880432"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "992eab76f1954c7ea32d98b07048191a"
|
|
},
|
|
{
|
|
"$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": "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": "%Null%",
|
|
"compareType": 1
|
|
},
|
|
{
|
|
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "是否存在商务经理岗位",
|
|
"TableValue": {
|
|
"TableName": "项目岗位",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "f311d555-f062-4265-8d82-2d36ce7f0355"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "bb98eede-97af-4f4a-b1ad-646505d6006d"
|
|
},
|
|
"Value": "商务经理"
|
|
}
|
|
]
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "73d108bea1b64c90ae990d7abe350b9f"
|
|
},
|
|
{
|
|
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目岗位",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "3824b666-e3d7-4ca4-9597-0ed711c5a483"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "f9ffa399-7c8c-458b-8bf7-0b5e569d66ee"
|
|
},
|
|
"Value": "商务经理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "9cbe2f8f-a778-4892-b0aa-af88a21c087b"
|
|
},
|
|
"Value": "负责完成项目经理指派的各个开发任务"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "5d3ad81e-3657-4f41-85a5-8ca2fc45245d"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "商务经理岗位"
|
|
}
|
|
],
|
|
"ID": "41c1f236-8ed7-471d-a3da-9d3ef2eadc8a"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "是否存在项目经理岗位",
|
|
"TableValue": {
|
|
"TableName": "项目岗位",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "c7a155f1-bd31-4eec-a437-e67117157037"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "b4d8dc7b-62b7-414b-900a-616158ccf7d2"
|
|
},
|
|
"Value": "项目经理"
|
|
}
|
|
]
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "8c16ae5660ec46649956f17794ce676b"
|
|
},
|
|
{
|
|
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目岗位",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "c4572b29-28f2-4ed9-ad9a-a068c7b51915"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "38e961f4-1d10-4c9d-ab64-076b23198645"
|
|
},
|
|
"Value": "项目经理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "894ab6f7-805b-4676-a2c8-433da5aec782"
|
|
},
|
|
"Value": "负责项目整体管理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "bcd8f16b-640c-496c-979c-bdd4d8be3bbb"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理_默认时薪"
|
|
}
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "项目经理岗位"
|
|
}
|
|
],
|
|
"ID": "0ed39ce8-07fd-4c60-b5a4-c4bb450b84c1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "是否存在客服经理岗位",
|
|
"TableValue": {
|
|
"TableName": "项目岗位",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "c1132c66-00b5-4709-9be8-d5a7225154d0"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "66048b13-a1b9-4b45-b1f0-2fdb11fc8f69"
|
|
},
|
|
"Value": "客服经理"
|
|
}
|
|
]
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "fa46bad714df4c128cd0d159f0db8c67"
|
|
},
|
|
{
|
|
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目岗位",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "33d71472-5f8d-4a9f-97b3-d11933e87586"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "cdf80327-2cd0-4968-b619-2d1dd26be313"
|
|
},
|
|
"Value": "客服经理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "e1b75950-2747-464f-a170-74261a1d41a8"
|
|
},
|
|
"Value": "客户与开发团队的桥梁,负责商务、沟通事宜"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "7a7c1923-87e8-4d0b-acab-2ca1e6b06145"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "客服经理岗位"
|
|
}
|
|
],
|
|
"ID": "67f08f1e-c7fe-4f1d-97a1-558d35e89a3c"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "是否存在开发工程师岗位",
|
|
"TableValue": {
|
|
"TableName": "项目岗位",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "59a20680-7318-4b6d-a462-08237ba509d4"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "7bc3ab98-5ee9-49ed-9a46-4d00e27245c6"
|
|
},
|
|
"Value": "开发工程师"
|
|
}
|
|
]
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "e2c70170d6e6481abc43581dcc1dc6ce"
|
|
},
|
|
{
|
|
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目岗位",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "dcecb766-7652-4ef6-ace3-5119b1216f11"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "53b3627d-2d69-43d9-9faa-2c508e6d55b1"
|
|
},
|
|
"Value": "开发工程师"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "0603f1ab-fadb-41e5-a01b-728c6ed92a5a"
|
|
},
|
|
"Value": "负责完成项目经理指派的各个开发任务"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "9b1db72b-9e27-49ba-ba4b-d8883a460ea7"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "开发工程师岗位"
|
|
}
|
|
],
|
|
"ID": "abbafe65-98c6-44d7-a8ee-55c719b989da"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "dc02d41d-2071-44c9-aa3f-b4f947cb1e06"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "请先配置项目客户及客户对接人"
|
|
}
|
|
],
|
|
"ID": "a221cc22-5a81-48f8-8385-e5c7ae9ac242"
|
|
}
|
|
],
|
|
"Comments": "这里对岗位进行逐一判断,没有就加上"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "项目成员是否已有项目经理",
|
|
"TableValue": {
|
|
"TableName": "项目成员表",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "3581a0e6-a389-4da0-ae5e-9b229b6fc6a9"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目成员",
|
|
"GUID": "ea1a0e9e-ded9-4216-b318-d3795fadd527"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "f075fd15e3ef4fb09ad8befd53ba47db"
|
|
},
|
|
{
|
|
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目成员表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "df7c0e4e-edd4-4dce-a1b9-d187f0b841d1"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目成员",
|
|
"GUID": "260ccf6f-5d30-4e56-8bf2-60e805a4eba4"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "岗位ID",
|
|
"GUID": "4708de91-1dbc-42d4-9707-7a8ddbbfcd04"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目经理岗位.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "8a4d64d0-40ec-4a14-9d57-d194e60f8420"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "cd32e974-50fd-4ee2-9489-c6b3e53f359a"
|
|
}
|
|
],
|
|
"Comments": "这里将项目经理加入到项目成员中"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "是否存在项目分组",
|
|
"TableValue": {
|
|
"TableName": "项目任务分组",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "925ec3d8-90b3-4ec5-9f81-7242a900695a"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "b7b3372a3f6f4a18af8e0384f85457cc"
|
|
},
|
|
{
|
|
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目任务分组",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "caf212f7-a856-4ace-88c4-65bd3cafd2dd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "7b981159-ebf6-4220-9494-8e3c15344bff"
|
|
},
|
|
"Value": "调研阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "544b2aa7-1989-4b0c-b170-c22975a74033"
|
|
},
|
|
"Value": "📋"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "d686bd1c-96ef-4872-947b-5dd26fad3fd4"
|
|
},
|
|
"Value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目任务分组",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "2f6d5b57-64c8-4140-8f12-a0c8247e0665"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "ab57b528-925e-4449-8006-3540efa12635"
|
|
},
|
|
"Value": "开发阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "f3e32e59-0fd4-4661-98cf-eafdd339e558"
|
|
},
|
|
"Value": "👨💻"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "52ca4fb7-66c8-4960-9ac2-8b044949dc08"
|
|
},
|
|
"Value": "2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目任务分组",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "161ed551-48bb-4630-a0e4-8cadff510b86"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "aab27274-3c1e-4f87-b114-c60d9a8d0b18"
|
|
},
|
|
"Value": "上线阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "cd38cd04-108c-4be3-bc2f-2a0366210159"
|
|
},
|
|
"Value": "🖥️"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "afe491a9-bb57-42b9-b553-1352862e9a1a"
|
|
},
|
|
"Value": "3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目任务分组",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "c74d730e-a5b0-47c0-83a2-5d7c8c8ac463"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "f4523d3a-7980-4f4b-8d9f-a29e1eaa8cad"
|
|
},
|
|
"Value": "维护阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "dee24f08-0703-430e-8c8d-6345d7a30634"
|
|
},
|
|
"Value": "🛠️"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "b0ce501d-55d4-49c8-a00f-5f8fbfeb2ac8"
|
|
},
|
|
"Value": "4"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "0c6bfa19-ed69-410c-8774-a996a6291510"
|
|
}
|
|
],
|
|
"Comments": "这里填充默认的四种任务分组"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "已完成"
|
|
}
|
|
],
|
|
"ID": "fbc97d07-2cfe-449c-b2af-8d23d0df910c"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "请先设置项目经理"
|
|
}
|
|
],
|
|
"ID": "23ae011a-f715-4120-b77a-fd827e06a39e"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "0ab5e411-bf4f-4f3f-acb2-d0707c682bff"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |