{"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:
SHAMUSPC\NINGMEI
2024-04-24 15:56:46 +08:00
parent 9a44072c30
commit efa31472ac
47 changed files with 3478 additions and 4790 deletions

View File

@@ -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",