1055 lines
57 KiB
JSON
1055 lines
57 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": "e16e618b-d900-4dc8-b3ce-06b26ea359e5",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目状态",
|
|
"GUID": "fb1fbb32-fdc6-4a4c-a8e6-b5559285d676"
|
|
},
|
|
"ColumnName": "项目状态"
|
|
},
|
|
{
|
|
"GUID": "a659001c-54c2-4d16-b84c-c8b208e45e93",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "e81f2340-af4c-4f6b-8dcd-afd8e74768ba"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"GUID": "beb3f817-ff70-4858-9832-8672b7f651e4",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "商务经理",
|
|
"GUID": "02859306-196f-475f-b592-5f1fd3a3a491"
|
|
},
|
|
"ColumnName": "商务经理"
|
|
},
|
|
{
|
|
"GUID": "001277bb-7462-4aee-8d8c-f250d69f5a35",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "客服经理",
|
|
"GUID": "6b6177e6-223c-41e1-8abc-1f84b1af3152"
|
|
},
|
|
"ColumnName": "客服经理"
|
|
},
|
|
{
|
|
"GUID": "18130300-e33e-4fc8-8bea-885404ddf1a4",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "所属客户",
|
|
"GUID": "8a11dd2a-e505-4f58-9d1b-0448b3486b4d"
|
|
},
|
|
"ColumnName": "所属客户"
|
|
},
|
|
{
|
|
"GUID": "8750890b-8b2c-4ac6-8b06-5ed440459b26",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "所属客户部门",
|
|
"GUID": "ab46b96f-d75d-4a48-baf9-f0e78f183a56",
|
|
"RelationBinding": {
|
|
"RelatedTable": "客户部门表",
|
|
"RelatedColumn": "ID",
|
|
"DisplayColumn": "对接人"
|
|
}
|
|
},
|
|
"ColumnName": "对接人"
|
|
},
|
|
{
|
|
"GUID": "e625d7df-2702-4a73-a5c4-fe04a65ebb78",
|
|
"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": "90dcc7be6eb84c7eabb0d04691bbfa71"
|
|
},
|
|
{
|
|
"$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": "4b98299255f9465d88a8994f28e0147d",
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$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": "7261f196-20bb-4620-aff3-0ca5122d6f73"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "a904ceb4-18aa-4c28-84a6-1886fa9ea84e"
|
|
},
|
|
"Value": "商务经理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "72669d92-e7da-4e6a-ad77-db20bb3c087c"
|
|
},
|
|
"Value": "负责完成项目经理指派的各个开发任务"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "9b4b64bf-9b66-47a1-a18b-bde8c3348a43"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "商务经理岗位"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目成员表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "972cb31a-2dfd-4cac-8fd4-481a14ad8e24"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目成员",
|
|
"GUID": "088a5f1e-0332-4fca-a748-bf0b251490cf"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.商务经理"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "岗位ID",
|
|
"GUID": "c2f6dd30-acfa-48ca-8be3-d4e119201872"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=商务经理岗位.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "43cb9e9d-ac36-4e24-af9b-842459fa229b"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "商务经理岗位"
|
|
}
|
|
],
|
|
"ID": "1c544125-fa9d-4f1f-9cef-29f5f84eec6b"
|
|
}
|
|
],
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$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": "7272dcdc2ad44c2bbcb64c4761041a31",
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$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": "0e95a9cc-ba06-4e40-88ec-8f5d8dbbfd21"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "da813ab4-02c7-4cbe-923e-a8f103dcd5f6"
|
|
},
|
|
"Value": "项目经理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "fca452a0-0b0b-44d2-b26a-aa3213ba3c9d"
|
|
},
|
|
"Value": "负责项目整体管理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "660bd699-0a64-4adf-a4b3-4617edf80452"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理_默认时薪"
|
|
}
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "项目经理岗位"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目成员表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "4b9361ab-4a3c-400a-9865-78209ff734cd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目成员",
|
|
"GUID": "be0b5fc8-661d-47b4-a53d-a101019c9f7e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "岗位ID",
|
|
"GUID": "acaf81a9-42a6-437d-845a-27f9e9f97121"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目经理岗位.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "25aba344-2e15-4e3a-8f10-41e1694776d1"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "商务经理岗位"
|
|
}
|
|
],
|
|
"ID": "baebb602-4a77-4f0d-84cd-fdac647c19c1"
|
|
}
|
|
],
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$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": "a90161503e7140a0a931eb007edecb89",
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$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": "04d9d919-c992-485a-a3df-faac45ff4b70"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "7e0725c7-4de4-4b7e-99ab-172532af0132"
|
|
},
|
|
"Value": "客服经理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "384f131b-a930-4547-9dbe-958828ca5254"
|
|
},
|
|
"Value": "客户与开发团队的桥梁,负责商务、沟通事宜"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "fb3990d0-bef3-40f0-b669-0a87aaa2ffab"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "客服经理岗位"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目成员表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "df1a9a96-8e33-4a12-89d6-7ea360f64ebe"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目成员",
|
|
"GUID": "ea6b2244-7881-4928-aff9-2799b895c15e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.客服经理"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "岗位ID",
|
|
"GUID": "94405263-845d-4a02-9539-ab641999538c"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=客服经理岗位.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "f11fd4a7-06bb-46f1-9061-cfaed818bd0c"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "商务经理岗位"
|
|
}
|
|
],
|
|
"ID": "070eec14-8ca8-45d5-a727-19d890ba17c9"
|
|
}
|
|
],
|
|
"Disabled": true
|
|
},
|
|
{
|
|
"$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": "40d9ef457fa64c5ba39c8683cf9ab2a4"
|
|
},
|
|
{
|
|
"$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": "e2105d0e-4eff-40bf-8772-83a77dc5109d"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位名称",
|
|
"GUID": "7c67adb9-2e23-4016-b078-a3165b0be5a8"
|
|
},
|
|
"Value": "开发工程师"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "岗位描述",
|
|
"GUID": "e9ae5818-05e5-4717-b0e7-564dac22c861"
|
|
},
|
|
"Value": "负责完成项目经理指派的各个开发任务"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目岗位",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "14da5603-944c-45c2-a492-3d329c68acc3"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "开发工程师岗位"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目成员表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "dd3490f2-db11-4098-8030-ca752a9e31a2"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "项目成员",
|
|
"GUID": "aae437cd-79da-42a6-b052-df063e0abc31"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "岗位ID",
|
|
"GUID": "3796d0e9-33bf-4a66-ad85-46641c978695"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=开发工程师岗位.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目成员表",
|
|
"ColumnName": "默认时薪",
|
|
"GUID": "579298f7-1543-497e-800d-58597c82bb07"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "商务经理岗位",
|
|
"Disabled": true
|
|
}
|
|
],
|
|
"ID": "19f3178b-c214-4f60-821b-dbf1c667997c"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "7d520a04-65b1-41fe-b8af-3b253e44b8e5"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "请先配置项目客户及客户对接人"
|
|
}
|
|
],
|
|
"ID": "27172122-a8d4-463c-8694-45a8619be24a"
|
|
}
|
|
],
|
|
"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": "fe33808fca154a3c915170ecabf82510"
|
|
},
|
|
{
|
|
"$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": "c6c5e3e1-46ab-4e2b-a1b7-f77561adf80f"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "65326a8f-88a2-4efc-8b6e-8e1df0292901"
|
|
},
|
|
"Value": "调研阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "2a556768-ac98-4d81-a626-dd11a5dd965f"
|
|
},
|
|
"Value": "📋"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "fdc45969-5017-47ce-a0bb-d71d35fb2121"
|
|
},
|
|
"Value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目任务分组",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "9c0927a6-92af-4ff8-b3f0-efbd3f16aa9c"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "80d9a249-7d89-4b9a-a883-b860aa37feab"
|
|
},
|
|
"Value": "开发阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "903f39d7-a8d2-48ea-a8bd-f2d7fc254ab2"
|
|
},
|
|
"Value": "👨💻"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "97e15541-84e8-45b3-9111-787b17e5f3d0"
|
|
},
|
|
"Value": "2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目任务分组",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "a4ac5255-09ec-4d64-be2c-8d378fc05e69"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "5732db89-4c78-46ca-a93b-402d34c2c2a1"
|
|
},
|
|
"Value": "上线阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "791a0525-9934-4911-b8ad-6829a6189017"
|
|
},
|
|
"Value": "🖥️"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "d99068dc-2b9d-47de-9515-f3e9f1f26746"
|
|
},
|
|
"Value": "3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "项目任务分组",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "c4b4ab11-60c8-4dfe-ade3-46be9fbcfd0e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "分组名称",
|
|
"GUID": "b871146b-86b7-4f38-ab87-0e287d3711ff"
|
|
},
|
|
"Value": "维护阶段"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "图标",
|
|
"GUID": "b207ed22-1b77-4f29-b353-96bce2a8e569"
|
|
},
|
|
"Value": "🛠️"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目任务分组",
|
|
"ColumnName": "排序",
|
|
"GUID": "b307e49d-200d-42b9-95ca-ba7e850c7244"
|
|
},
|
|
"Value": "4"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "3995a844-c7e7-4ed9-b767-0937b9a973e9"
|
|
}
|
|
],
|
|
"Comments": "这里填充默认的四种任务分组"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "已完成"
|
|
}
|
|
],
|
|
"ID": "18d08939-6833-4410-8c1f-f0d54251b9df"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "请先设置项目经理"
|
|
}
|
|
],
|
|
"ID": "25c68d3c-00c5-472b-a8a8-0018862b61e4"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "366808b2-5424-45f5-bfd9-8955a1e56a8d"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |