{"Message":"增加项目立项审批\r\n增加项目工时增补审批","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":8,"Name":"ApplicationSetting"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":23,"Name":"TableView/用户信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色分类关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户角色关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色拥有权限视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织级别视图","ExclusiveType":0},{"State":1,"Type":1,"Name":"PCPage/右键菜单1"},{"State":1,"Type":1,"Name":"PCPage/项目菜单"},{"State":1,"Type":7,"Name":"Table/项目分组","ExclusiveType":0},{"State":1,"Type":1,"Name":"PCPage/项目信息"},{"State":3,"Type":38,"Name":"Image/更多.png"},{"State":3,"Type":36,"Name":"ShareCommandContainer/跳转当前项目"},{"State":3,"Type":7,"Name":"Table/项目状态"},{"State":3,"Type":28,"Name":"ProcessItem/立项流程"},{"State":3,"Type":22,"Name":"Tables/流程表文件夹"},{"State":3,"Type":30,"Name":"TableProcessView/ACT_RE_PROCDEF_View"},{"State":3,"Type":30,"Name":"TableProcessView/ACT_HI_PROCINST_View"},{"State":3,"Type":30,"Name":"TableProcessView/ACT_HI_TASKINST_View"},{"State":3,"Type":30,"Name":"TableProcessView/ACT_RU_TASK_View"},{"State":3,"Type":30,"Name":"TableProcessView/ACT_HI_COMMENT_View"},{"State":3,"Type":6,"Name":"Pages/流程页面文件夹"},{"State":3,"Type":6,"Name":"Pages/流程页面文件夹_手机版"},{"State":3,"Type":24,"Name":"MasterPages/流程母版页面文件夹"},{"State":3,"Type":1,"Name":"PCPage/FGC_流程列表"},{"State":3,"Type":1,"Name":"PCPage/FGC_流程追踪"},{"State":3,"Type":1,"Name":"PCPage/FGC_审批记录"},{"State":3,"Type":1,"Name":"PCPage/FGC_任务详情"},{"State":3,"Type":1,"Name":"PCPage/FGC_我发起的"},{"State":3,"Type":1,"Name":"PCPage/FGC_我的待办"},{"State":3,"Type":1,"Name":"PCPage/FGC_我的已办"},{"State":3,"Type":1,"Name":"PCPage/FGC_我的待阅"},{"State":3,"Type":1,"Name":"PCPage/FGC_我的已阅"},{"State":3,"Type":1,"Name":"PCPage/FGC_我委托的"},{"State":3,"Type":3,"Name":"MasterPCPage/FGC_流程中心"},{"State":3,"Type":2,"Name":"MobilePage/FGC_流程列表_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_流程追踪_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_审批记录_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_任务详情_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_我发起的_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_我的待办_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_我的已办_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_我的待阅_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_我的已阅_手机版"},{"State":3,"Type":2,"Name":"MobilePage/FGC_我委托的_手机版"},{"State":3,"Type":4,"Name":"MasterMobilePage/FGC_流程中心_手机版"},{"State":3,"Type":20,"Name":"ServerCommands/项目"},{"State":3,"Type":15,"Name":"ServerCommand/修改项目状态"},{"State":3,"Type":15,"Name":"ServerCommand/新增项目"},{"State":3,"Type":1,"Name":"PCPage/项目审批"},{"State":3,"Type":7,"Name":"Table/项目预算变动表"},{"State":3,"Type":1,"Name":"PCPage/工时增补申请"},{"State":3,"Type":38,"Name":"Image/时间.svg"},{"State":3,"Type":1,"Name":"PCPage/工时增补审批"},{"State":3,"Type":28,"Name":"ProcessItem/工时增补申请"},{"State":3,"Type":15,"Name":"ServerCommand/修改增补工时状态"},{"State":3,"Type":15,"Name":"ServerCommand/新增项目工时增补"},{"State":3,"Type":15,"Name":"ServerCommand/应用项目增补工时"}],"Version":"v1"}
This commit is contained in:
77
ServerCommands/项目/修改增补工时状态.json
Normal file
77
ServerCommands/项目/修改增补工时状态.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"Name": "修改增补工时状态",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.ServerCommands.Models.PostRequestTrigger, 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": "状态",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目预算变动表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "b787d6d0-b8a5-4a47-b618-298693dbed58"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "ecdfd593-1bb5-48dc-b07a-36eea22946f6"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=状态"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "更新成功"
|
||||
}
|
||||
]
|
||||
}
|
||||
77
ServerCommands/项目/修改项目状态.json
Normal file
77
ServerCommands/项目/修改项目状态.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"Name": "修改项目状态",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.ServerCommands.Models.PostRequestTrigger, 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": "状态码",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "1bf365c3-0adc-43ec-a131-92d92c1f9049"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目状态",
|
||||
"GUID": "2fbf9333-eea7-4128-bfbe-7c00e793d543"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=状态码"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "更新成功"
|
||||
}
|
||||
]
|
||||
}
|
||||
256
ServerCommands/项目/应用项目增补工时.json
Normal file
256
ServerCommands/项目/应用项目增补工时.json
Normal file
@@ -0,0 +1,256 @@
|
||||
{
|
||||
"Name": "应用项目增补工时",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.ServerCommands.Models.PostRequestTrigger, 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "申请表",
|
||||
"TableValue": {
|
||||
"TableName": "项目预算变动表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "c358a68d-b262-4537-af8a-9fa7fa80c334"
|
||||
},
|
||||
"ColumnName": "项目ID"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "30cf2bdb-e5ac-4291-a6a7-d82359931ab9",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "项目名称"
|
||||
}
|
||||
},
|
||||
"ColumnName": "项目名称"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "申请人",
|
||||
"GUID": "3df8d4d9-a9f9-439b-9380-2ccc41558510",
|
||||
"AttachType": {
|
||||
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
||||
"UserColumnAttachType": 1
|
||||
}
|
||||
},
|
||||
"ColumnName": "申请人"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "原预算工时",
|
||||
"GUID": "bd7157ab-e5e4-48d9-8553-c09cb2f07977"
|
||||
},
|
||||
"ColumnName": "原预算工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "增加预算工时",
|
||||
"GUID": "bc7899f3-0dda-452b-9454-3b02caae30b4"
|
||||
},
|
||||
"ColumnName": "增加预算工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "11ba6ee3-3c4f-40ba-a74e-de502508b653"
|
||||
},
|
||||
"ColumnName": "状态"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "423e1509-3433-462a-9925-c74ef20fb74a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "0f3c40a2b6704fd58b6364fbaa26c72f"
|
||||
},
|
||||
{
|
||||
"$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",
|
||||
"IsolationLevel": 4096,
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目预算变动表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "56549cfe-5d2c-40be-9b4e-b37189a7cc09"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "70c1e56f-b20a-4404-a138-2026373fc13f"
|
||||
},
|
||||
"Value": "已通过"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "6ea0fe03-a28c-4587-8261-e3e3f225f6ba"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请表.项目ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "e2998a34-b8dc-487e-828a-f88d10845e9c"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请表.原预算工时+申请表.增加预算工时"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目动态",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "0ee6e5e6-124f-43ca-b155-c57301a1bcc1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请表.项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目动态",
|
||||
"GUID": "a7ce2d71-85a3-45d0-8c81-b291857f059d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请表.申请人&\"申请增补了\"&申请表.增加预算工时&\"个工时预算\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "eb609cce-274a-437a-956a-611f8e5f4c65"
|
||||
},
|
||||
"Value": "%CurrentUser%"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "应用成功"
|
||||
}
|
||||
],
|
||||
"ID": "c538d873-4a71-456b-b7ef-fe41997fa7dc"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "找不到该申请记录"
|
||||
}
|
||||
],
|
||||
"ID": "72d41603-3d13-4aac-a6d7-a6b28c79a3dc"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
435
ServerCommands/项目/新增项目.json
Normal file
435
ServerCommands/项目/新增项目.json
Normal file
@@ -0,0 +1,435 @@
|
||||
{
|
||||
"Name": "新增项目",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.ServerCommands.Models.PostRequestTrigger, 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": "封面"
|
||||
},
|
||||
{
|
||||
"Name": "项目名称",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "项目简介"
|
||||
},
|
||||
{
|
||||
"Name": "项目方案"
|
||||
},
|
||||
{
|
||||
"Name": "预算方案"
|
||||
},
|
||||
{
|
||||
"Name": "所属客户",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "所属客户部门"
|
||||
},
|
||||
{
|
||||
"Name": "管理员",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "工时核定方式",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "权限"
|
||||
},
|
||||
{
|
||||
"Name": "分组"
|
||||
},
|
||||
{
|
||||
"Name": "预算工时"
|
||||
},
|
||||
{
|
||||
"Name": "预算金额"
|
||||
},
|
||||
{
|
||||
"Name": "严格模式"
|
||||
},
|
||||
{
|
||||
"Name": "开始日期"
|
||||
},
|
||||
{
|
||||
"Name": "结束日期"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目名称",
|
||||
"GUID": "7d44e7fb-2f57-4398-9913-47c13ba3ede5"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目名称"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目简介",
|
||||
"GUID": "c0dbc623-caa8-48a9-853e-293b121d02ba"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目简介"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目封面",
|
||||
"GUID": "c4986896-874c-4390-b1d9-1fd3c4d5aa4f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=封面"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目经理",
|
||||
"GUID": "a27309e7-9b4f-4a4e-b40f-e486f13cd648"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=管理员"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目分组",
|
||||
"GUID": "c6663b7e-52d8-4ef1-94de-eeb8b4b01a62"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=分组"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户",
|
||||
"GUID": "d411c883-4d33-4c77-84ad-1166308cdd2a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户部门",
|
||||
"GUID": "35d5b962-ac5e-4436-bf26-c1f7b3be283b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户部门"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "工时核定方式",
|
||||
"GUID": "c103543f-0857-4ce1-847e-e430e5c30a26"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时核定方式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "27fe208a-5383-4b1a-bb93-975731a1439b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算工时"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算费用",
|
||||
"GUID": "eba047f9-6322-4098-a2bf-4ea0241b40f9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算金额"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "公开",
|
||||
"GUID": "e47f39ff-3c43-4eab-86c8-06e7357398b7"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=权限"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "严格模式",
|
||||
"GUID": "a7ec3bb1-3012-42b3-a783-7cbb6126189d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=严格模式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目方案",
|
||||
"GUID": "008ecc95-dd41-4f4b-8467-a2bf4d528c1d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "预算方案",
|
||||
"GUID": "ac909c75-9860-4acb-a13d-f51ff4a1c194"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划开始日期",
|
||||
"GUID": "6b917f28-f2ad-4cd0-9279-559d645a68a1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划完成日期",
|
||||
"GUID": "536387b2-3798-4f9a-b908-81be340772cc"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=结束日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划工期",
|
||||
"GUID": "bab97b96-79f6-4933-8512-f1e81f7871eb"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目状态",
|
||||
"GUID": "883a98a1-c130-45fe-ba21-41e4b89720b6"
|
||||
},
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "删除",
|
||||
"GUID": "08d83ec3-6999-4c9e-bb0f-b4d27faa6567"
|
||||
},
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ParamNameToSaveNewRowValue": "新项目"
|
||||
},
|
||||
{
|
||||
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "d7f9fab2-4b0f-482a-ac2e-73d7385293bc"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=新项目.ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "立项流程示例ID",
|
||||
"GUID": "8d753fcc-7af7-4cf2-9e4b-d33e6a7acb60"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=发起流程结果.ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "项目创建成功,请等待审批"
|
||||
}
|
||||
],
|
||||
"ID": "6a69b6f8-09c7-44ca-b49e-771a44a28e33"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目已创建,但未能发起审批,请手动发起审批流程!"
|
||||
}
|
||||
],
|
||||
"ID": "fe5451ef-d9e8-4e5a-8f0c-467c2fa73b12"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
393
ServerCommands/项目/新增项目工时增补.json
Normal file
393
ServerCommands/项目/新增项目工时增补.json
Normal file
@@ -0,0 +1,393 @@
|
||||
{
|
||||
"Name": "新增项目工时增补",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.ServerCommands.Models.PostRequestTrigger, 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": "增补时长",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "申请人"
|
||||
},
|
||||
{
|
||||
"Name": "理由"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目信息",
|
||||
"TableValue": {
|
||||
"TableName": "项目表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目名称",
|
||||
"GUID": "233443c9-5006-4869-a441-6cad4abb1286"
|
||||
},
|
||||
"ColumnName": "项目名称"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "f96e6699-9f01-4ba5-89ef-98dafb1120f5"
|
||||
},
|
||||
"ColumnName": "项目预算工时"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "e5d0c43c-2c1b-472f-afb7-53cd07dd64d4"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "e9d3c27e7cac4cc4820ff8d67c25bb77"
|
||||
},
|
||||
{
|
||||
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "是否存在申请",
|
||||
"TableValue": {
|
||||
"TableName": "项目预算变动表",
|
||||
"TableValueType": 3,
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "69d303fd-3a6a-474a-b5dc-7eb09f44874f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "312f378b-c1be-47fa-a0f8-b1c77d4399d7"
|
||||
},
|
||||
"Value": "审批中"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "01d8aa2100314f4e90279d010dc8219f"
|
||||
},
|
||||
{
|
||||
"$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": "申请人",
|
||||
"GUID": "776ec5ab-05d9-4e4b-ac74-eec576f32b80"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=申请人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "a890a01a-72d5-425e-923b-5db9c6b88dfa"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "原预算工时",
|
||||
"GUID": "841f20bd-e9d5-406d-9400-7750f8c9b3a1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目信息.项目预算工时"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "增加预算工时",
|
||||
"GUID": "15ae580a-4a57-4173-b2c3-20e3df710e73"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=增补时长"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "申请理由",
|
||||
"GUID": "fc9add42-cacc-4efc-a55c-0ffd8655b6cf"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=理由"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "f96e1b72-a646-476b-b640-c71ae1ef214f"
|
||||
},
|
||||
"Value": "待提交"
|
||||
}
|
||||
],
|
||||
"ParamNameToSaveNewRowValue": "新表"
|
||||
},
|
||||
{
|
||||
"$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": "251e7754-3c92-47eb-861e-dd202a911250"
|
||||
},
|
||||
"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.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目预算变动表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "6f90ac57-8b74-4c54-aa9a-218ac5c5af72"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=新表.ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目预算变动表",
|
||||
"ColumnName": "流程实例ID",
|
||||
"GUID": "7bba36ed-d6d6-49d1-aa41-9de807a7efcd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=发起流程结果.ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "申请成功,请等待审批"
|
||||
}
|
||||
],
|
||||
"ID": "e5832496-2b9f-438f-b253-807ffdc98bb4"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目已创建,但未能发起审批,请手动发起审批流程!"
|
||||
}
|
||||
],
|
||||
"ID": "9b364c89-1a17-4e95-bc89-0c5eedbd5d12"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "de088139-3ef2-475b-8b6a-d5709e8f01db"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "请等待上一条申请结束后,再提交新的申请!"
|
||||
}
|
||||
],
|
||||
"ID": "0ae58906-b856-4a9c-8cf4-ad8ee1e71f32"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "45a51cd8-3a1a-424a-8c79-51da306846f1"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目不存在"
|
||||
}
|
||||
],
|
||||
"ID": "8fa9acdf-1508-453b-8a43-0ea2d3934021"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user