{"Message":"1. 简化成员时薪的来源,删除任务时薪概念,按项目定义。\r\n2. 优化任务参与人和项目成员的逻辑,任务成员必须来源于项目成员。","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":7,"Name":"Table/项目成员表"},{"State":1,"Type":7,"Name":"Table/任务成员表"},{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/项目信息"},{"State":1,"Type":1,"Name":"PCPage/任务首页"},{"State":1,"Type":1,"Name":"PCPage/任务-基本信息"},{"State":1,"Type":1,"Name":"PCPage/任务-任务信息"},{"State":1,"Type":1,"Name":"PCPage/任务-关联资源"},{"State":1,"Type":1,"Name":"PCPage/任务-子任务列表"},{"State":1,"Type":1,"Name":"PCPage/任务-工时"},{"State":1,"Type":1,"Name":"PCPage/任务-进展"},{"State":1,"Type":1,"Name":"PCPage/新增任务"},{"State":1,"Type":1,"Name":"PCPage/参与成员管理"},{"State":1,"Type":1,"Name":"PCPage/任务成员详情"},{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":1,"Name":"PCPage/分配计划工时"},{"State":1,"Type":1,"Name":"PCPage/MD编辑器"},{"State":1,"Type":1,"Name":"PCPage/客户管理"},{"State":1,"Type":1,"Name":"PCPage/汇报管理"},{"State":1,"Type":1,"Name":"PCPage/工时首页"},{"State":1,"Type":1,"Name":"PCPage/个人中心"},{"State":2,"Type":1,"Name":"PCPage/财务中心"},{"State":1,"Type":1,"Name":"PCPage/收益中心"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":15,"Name":"ServerCommand/新增任务"},{"State":1,"Type":15,"Name":"ServerCommand/移除任务成员"},{"State":1,"Type":15,"Name":"ServerCommand/更新任务参与人"},{"State":1,"Type":15,"Name":"ServerCommand/上报实际工时"},{"State":1,"Type":15,"Name":"ServerCommand/分配任务工时"},{"State":1,"Type":15,"Name":"ServerCommand/移除项目成员"},{"State":1,"Type":15,"Name":"ServerCommand/同步项目成员"},{"State":2,"Type":15,"Name":"ServerCommand/同步项目参与人字段"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":1,"Name":"PCPage/首页"},{"State":1,"Type":31,"Name":"UserControlPage/聊天列表"},{"State":3,"Type":1,"Name":"PCPage/工时总览"},{"State":3,"Type":15,"Name":"ServerCommand/同步项目参与人列表"}],"Version":"v1"}
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"Name": "同步项目参与人字段",
|
||||
"Name": "同步项目参与人列表",
|
||||
"Description": "因为统计字段不能设置行权限,所以用此命令专门将参与人存为实体字段",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"Name": "同步项目成员",
|
||||
"Description": "用户将任务成员反向同步到项目成员内",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
@@ -44,10 +45,26 @@
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "成员列表",
|
||||
"ParameterName": "任务成员列表",
|
||||
"TableValue": {
|
||||
"TableName": "任务成员表",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "7035b112-fe6a-427f-9078-c93b3323d262"
|
||||
},
|
||||
"ColumnName": "ID"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "ac4f4665-cf34-47b6-aae3-7b0e3e4e5879"
|
||||
},
|
||||
"ColumnName": "项目成员ID"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
@@ -59,18 +76,15 @@
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "岗位ID",
|
||||
"GUID": "dc37147b-37ae-447e-be34-44aa79248cd9"
|
||||
"ColumnName": "参与人",
|
||||
"GUID": "aea84cec-afdf-4efc-a45c-81c5b2771f3e",
|
||||
"AttachType": {
|
||||
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
||||
"UserColumnAttachType": 5,
|
||||
"AttachTypeTag": "默认时薪"
|
||||
}
|
||||
},
|
||||
"ColumnName": "岗位ID"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "任务时薪",
|
||||
"GUID": "ffd017c3-0213-434a-850a-17e468a25351"
|
||||
},
|
||||
"ColumnName": "任务时薪"
|
||||
"ColumnName": "参与人_默认时薪"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
@@ -91,7 +105,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ID": "80ede1174f0e44d08c2ac38bacb1505f"
|
||||
"ID": "37b2711a67d04780bee0b2288c369e0b"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
||||
@@ -99,17 +113,27 @@
|
||||
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
||||
"LoopCount": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=成员列表"
|
||||
"SerializeProperty": "=任务成员列表"
|
||||
},
|
||||
"LoopItemParamName": "Item"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "是否存在",
|
||||
"ParameterName": "项目成员",
|
||||
"TableValue": {
|
||||
"TableName": "项目成员表",
|
||||
"TableValueType": 3,
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "e2af07f5-6c83-46e4-b1ca-5fd4b03bdd74"
|
||||
},
|
||||
"ColumnName": "ID"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
@@ -139,9 +163,10 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "7d2ab957b8a0418499611a4a9ae72922"
|
||||
"ID": "2ef5575e15a14e598c26b0848f1e49c1"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -153,10 +178,11 @@
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=是否存在"
|
||||
"SerializeProperty": "=项目成员"
|
||||
}
|
||||
},
|
||||
"value": "0"
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
@@ -169,7 +195,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "423a454c-0ebe-4cde-82cb-47c6bf6e7e42"
|
||||
"GUID": "4057268f-395b-401d-9689-3f90d1a2084d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -180,39 +206,79 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目成员",
|
||||
"GUID": "d6fe68a3-6354-472d-abab-fd66735bb628"
|
||||
"GUID": "75fdfeda-ad50-471d-8f74-2cd5d178cef4"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.参与人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "岗位ID",
|
||||
"GUID": "24cb4c61-d136-428a-bbd8-9be528a51b1e"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.岗位ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "默认时薪",
|
||||
"GUID": "f539a7b6-27fd-43f6-9422-9e200ee0734b"
|
||||
"GUID": "2b8394e9-3685-4fdd-8470-28350509ac88"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.任务时薪"
|
||||
"SerializeProperty": "=Item.参与人_默认时薪"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "0e3e954f-a095-4305-bc6c-02a4ed9d2c33"
|
||||
"ID": "0c92cd5d-fd57-468f-bccc-dabc5d3c4f10"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.项目成员ID"
|
||||
}
|
||||
},
|
||||
"value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.ID"
|
||||
},
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务成员表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "d3e9f378-06c0-475d-9858-23dba71785bd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "a5b6bfb0-f127-441d-a1f4-e321396a0025"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "51e6605b-79e1-4d6c-b152-55e3fbd686ed"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -223,7 +289,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "同步项目参与人字段",
|
||||
"ServerCommandName": "同步项目参与人列表",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"ID": "3b0e3f66ab994d029e85d7952bb2800f"
|
||||
"ID": "76f278bfb195492ba46fd874d4750856"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -156,6 +156,51 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"$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": "6c11b9bb-f57e-445e-aa08-f0710b540c34"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "参与人",
|
||||
"GUID": "bf84ac5f-0e10-47fa-9398-d2b9099cc239"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=成员用户名"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "6307591f-dcb7-47d5-bda8-bca2b7446af2"
|
||||
},
|
||||
"Value": "%Null%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目动态",
|
||||
@@ -166,7 +211,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "0247e828-bc5a-47c7-888b-5b85f15f5ba1"
|
||||
"GUID": "af87ba88-6365-49bc-a9ab-16badbc39596"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -177,7 +222,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目动态",
|
||||
"GUID": "a1f2044f-2398-4a49-be13-49c2a5597110"
|
||||
"GUID": "f1f47cd2-a9c5-4aea-8ce5-46cdacd3cf8a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -188,7 +233,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "84f04962-b95e-4012-bb85-ec041eab9ef5"
|
||||
"GUID": "a87dbcdb-9108-443b-8eb4-200fa93ae63b"
|
||||
},
|
||||
"Value": "%CurrentUser%"
|
||||
}
|
||||
@@ -198,7 +243,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "同步项目成员",
|
||||
"ServerCommandName": "同步项目参与人列表",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
@@ -218,7 +263,7 @@
|
||||
"Message": "删除成功"
|
||||
}
|
||||
],
|
||||
"ID": "61ee3711-96d4-48e4-9395-f21a92ac140c"
|
||||
"ID": "684e121b-88f1-49a3-9163-275bbd5655ff"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -228,7 +273,7 @@
|
||||
"Message": "该成员已参与到具体任务,请先从任务中剔除后再进行删除!"
|
||||
}
|
||||
],
|
||||
"ID": "d70ffc4c-625e-4684-a03f-3370f5e12a83"
|
||||
"ID": "d705c8c2-5d84-41a2-9d3d-49fc417e500d"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user