Files
clue/ServerCommands/项目/新增或修改项目.json

1106 lines
55 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": {}
},
{
"Name": "封面",
"DataValidationInfo": {}
},
{
"Name": "项目名称",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "项目代号",
"DataValidationInfo": {}
},
{
"Name": "项目简介",
"DataValidationInfo": {}
},
{
"Name": "项目方案",
"DataValidationInfo": {}
},
{
"Name": "预算方案",
"DataValidationInfo": {}
},
{
"Name": "所属客户",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "所属客户部门",
"DataValidationInfo": {}
},
{
"Name": "管理员",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "权限",
"DataValidationInfo": {}
},
{
"Name": "分组",
"DataValidationInfo": {}
},
{
"Name": "预算工时",
"DataValidationInfo": {}
},
{
"Name": "预算金额",
"DataValidationInfo": {}
},
{
"Name": "严格模式",
"DataValidationInfo": {}
},
{
"Name": "工时分配方式",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "开启反馈收集",
"DataValidationInfo": {}
},
{
"Name": "开始日期",
"DataValidationInfo": {}
},
{
"Name": "结束日期",
"DataValidationInfo": {}
},
{
"Name": "网络资源",
"DataValidationInfo": {}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"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": "项目经理信息",
"TableValue": {
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "fa4e0570-8b5e-4f33-892f-8effa6fb2f22"
},
"ColumnName": "用户名"
},
{
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "默认时薪",
"GUID": "57ec6988-4dba-4b24-b256-d5318ca97211"
},
"ColumnName": "默认时薪"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "9c0710bd-e312-4f0e-be64-a9e9498d21b9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=管理员"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "dfc2eb923fc64d1aa5aed2802a236088"
},
{
"$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.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目名称",
"GUID": "3e96648f-0e7c-45bf-93e6-6f500c55f334"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目名称"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目代号",
"GUID": "5bd04bd5-968a-4b5c-8d68-8b436fc5899e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目代号"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目简介",
"GUID": "ea87ea44-4258-4d89-9991-90e93231d84b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目简介"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目封面",
"GUID": "83689259-a91f-4e9d-a64c-d8c1201dd823"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=封面"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "60184710-2be4-4e6d-bf5a-3127fe9d2ca2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=管理员"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目分组",
"GUID": "b6373067-225c-41df-b843-20c7a297830f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分组"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户",
"GUID": "bec5ba56-41d1-4883-bffd-827753963b99"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=所属客户"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户部门",
"GUID": "c8965baa-5e55-41ea-8974-f3bf2bea7560"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=所属客户部门"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目预算工时",
"GUID": "854752be-2f4f-476f-a8a3-c2ec29901530"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算工时"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目预算费用",
"GUID": "c69062a2-5c1c-4f75-abc6-36d3d6a270f2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算金额"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "公开",
"GUID": "1a673e3d-715d-454e-b99f-526f536c7536"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=权限"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "严格模式",
"GUID": "2ee6d9f6-6268-42be-8ed6-98dc4733f433"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=严格模式"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "工时分配方式",
"GUID": "10131c97-9740-4b75-bc56-ab4d3cf66e33"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时分配方式"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "开启反馈收集",
"GUID": "003b7e73-0897-40d7-879c-baa6c4241157"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开启反馈收集"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目方案",
"GUID": "7af3baa1-fac9-4485-b694-7229e9156854"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目方案"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "预算方案",
"GUID": "f6175e4e-8ec3-478e-afb1-12007d0fc078"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算方案"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划开始日期",
"GUID": "c3d8e642-7419-497c-a8f1-11cb25fd1a04"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划完成日期",
"GUID": "10f81871-dc90-4560-a12a-884cbcf7e3b3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=结束日期"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "网络资源",
"GUID": "4df5c6f5-b31f-4b10-9e10-56e1edee52f7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=网络资源"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目状态",
"GUID": "d16f45d2-8a95-4a6b-a2b1-198e7e861104"
},
"Value": "0"
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "删除",
"GUID": "4622cb74-678c-4ba5-820a-3129c7f56e38"
},
"Value": "0"
}
],
"ParamNameToSaveNewRowValue": "新项目"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目岗位",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "项目ID",
"GUID": "e7c333a4-4ae2-4336-89ef-13b74a81afdc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新项目.ID"
}
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "bc6cc0de-adf0-4d7e-b906-8d50ea713b06"
},
"Value": "项目经理"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位描述",
"GUID": "743ea686-ec3b-45ec-812c-9ba68e8f9e06"
},
"Value": "项目开发主要负责人"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "默认时薪",
"GUID": "843f9905-80ab-4a1a-8c8b-5eb86fbdb79b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.默认时薪"
}
}
],
"ParamNameToSaveNewRowValue": "新岗位"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目成员表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目ID",
"GUID": "e0ff396d-0572-43f5-97ea-f26da738a354"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新项目.ID"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "981b2389-c28b-4a7b-83bb-edce041511df"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "岗位ID",
"GUID": "bc79feb2-7989-4046-bf94-1884697bc848"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新岗位.ID"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "默认时薪",
"GUID": "9cca855a-b469-4475-a100-461fe1567996"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.默认时薪"
}
}
]
}
]
},
{
"$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon",
"ProcessDefinitionResourceName": "立项流程",
"ProcessInstanceName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目名称&\"立项审批\""
},
"SelectedTable": "项目表",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "2aeae676-f1b4-4bfd-bfa9-12ec0f173380"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新项目.ID"
}
},
"Initiator": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=管理员"
},
"ReturnResultName": "发起流程结果"
},
{
"$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": "=发起流程结果.ID"
}
},
"value": "%Null%",
"compareType": 1
}
]
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "项目创建成功,正在审批,别忘了在菜单里设置项目岗位和薪资哦!"
}
],
"ID": "8256d3e3-3ddf-40ab-9557-fbfafd8bb15c"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "项目已创建,但未能发起审批,请手动发起审批流程!"
}
],
"ID": "1fdf4173-7a60-45ae-8b02-a015028a8f3d"
}
]
}
],
"ID": "e830892a-f7c4-466e-95aa-1da7c93999f4"
}
]
}
],
"ID": "6d4a526e-a7de-481a-b8e6-97ca6c408553"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目信息",
"TableValue": {
"TableName": "项目表",
"TableValueType": 1,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "严格模式",
"GUID": "b8486155-4f64-4dd8-b85c-16543680907f"
},
"ColumnName": "严格模式"
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "f5e1a885-651e-497c-90ef-1e5c341bca1a"
},
"ColumnName": "项目经理"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "2c0631c8-c61b-431a-bdf4-13f968834089"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "768912ca847b455a9aca3255eb8cd259"
},
{
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目统计信息",
"TableValue": {
"TableName": "View_项目统计信息",
"TableValueType": 1,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目预算工时",
"GUID": "020613fe-5e4a-47bc-82ee-e2ede6fb5737"
},
"ColumnName": "项目预算工时"
},
{
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "总实际工时",
"GUID": "5a3c8588-de2e-4e88-8116-09021dc36bd8"
},
"ColumnName": "总实际工时"
},
{
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目预算费用",
"GUID": "b5e66ce2-c04f-45e2-9ef8-cb6f1be2534d"
},
"ColumnName": "项目预算费用"
},
{
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "总成本",
"GUID": "82679dce-9071-486f-9eb5-9a36171e90a2"
},
"ColumnName": "总核定成本"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目ID",
"GUID": "ecc83868-39ca-446f-afde-d95c38fe55d5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"TopCount": "1"
},
"ID": "438b9541159f4e059c41ac6218483385"
},
{
"$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": 2
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"项目实际工时已超标,无法为您切换为严格模式!\""
}
}
],
"ID": "66499e8b-2351-4c5b-b1f1-cd5b8dc717a2"
},
{
"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": 2
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"项目费用已超标,此时无法为您切换为严格模式\""
}
}
],
"ID": "fcbb7529-21e7-4e3e-ba92-c0b99bb3e76d"
}
]
}
],
"Comments": "如果是更新项目,且改变了严格模式,那么就要校验。超标就不允许切换",
"ID": "506d025b-1b61-4a91-a122-3b00b6245071"
}
]
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目经理"
},
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目成员表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目ID",
"GUID": "db0befa6-0885-460f-b25a-6e9f19a8037f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "7b89d50e-7e26-4adc-8edf-1df1056507ec"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目经理"
}
}
]
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "f1858360-ae53-4066-9519-b532e9626890"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
}
}
]
}
],
"ID": "48eb43d4-acb8-48eb-b7c3-67366f34a787"
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "a8a27903-2609-49d7-8f9c-318870a24d2a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目名称",
"GUID": "7ddc40d8-7955-4e89-8690-1b46e11ece27"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目名称"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目代号",
"GUID": "1e4059c5-b185-494e-aa18-195aa0c5f204"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目代号"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目简介",
"GUID": "b1338e5a-9521-415f-94b9-6c1a9abcbc1f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目简介"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目封面",
"GUID": "184d4581-59a7-4d22-abca-5268afd76020"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=封面"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "7563f455-296b-40e2-a822-c96d0139d20a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=管理员"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目分组",
"GUID": "0f0b8862-a1d4-48ff-a166-122dd7e802f4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分组"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户",
"GUID": "05f27db9-9934-4353-91bb-333205cbc63d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=所属客户"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户部门",
"GUID": "7ff393d2-d6bb-49f9-9ff1-2363796f8cb3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=所属客户部门"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "公开",
"GUID": "610eb519-4062-4d06-948f-c2d9bc2f18b4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=权限"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "严格模式",
"GUID": "b87efa95-efd1-4a6d-81dc-b7933d759b86"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=严格模式"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划开始日期",
"GUID": "2c510e3d-e6f7-460f-9ae5-bd1ce61ea0c9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划完成日期",
"GUID": "70671e09-1c83-4574-909f-97145bc9463c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=结束日期"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目方案",
"GUID": "cefa0f72-e7fd-4a47-9209-cef16d1c42fc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目方案"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "预算方案",
"GUID": "83e17ee8-346d-49a4-98d7-bbe61738e4a1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算方案"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "网络资源",
"GUID": "9337a4fb-1f99-418f-b744-1fa49ebb0f43"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=网络资源"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "开启反馈收集",
"GUID": "5c21d73b-7c99-498c-97d5-8daa01016645"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开启反馈收集"
}
}
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "更新项目成功"
}
],
"ID": "fd929698-43e1-4bd8-bc91-423a9fc7d807"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
}
]
}
}
]
}