{"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

@@ -41,6 +41,10 @@
"Name": "执行人",
"DataValidationInfo": {}
},
{
"Name": "成员ID数组",
"DataValidationInfo": {}
},
{
"Name": "开始日期",
"DataValidationInfo": {}
@@ -182,7 +186,7 @@
"ID": "289bf7d065ed4d829192ec2cfcd1aff9"
}
],
"ID": "e061f809-9278-416a-b480-aef74ad8caeb"
"ID": "19ce1788-df29-40b4-a115-831a230461f7"
},
{
"CommandList": [
@@ -254,7 +258,7 @@
"ID": "cbfea9db3fa545839e30188fb7c9dfba"
}
],
"ID": "c3e2ff5b-e415-43d0-b7c7-079efdaeeaed"
"ID": "64064707-a6a5-4fe5-a25f-ca805217a4c5"
}
],
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
@@ -288,12 +292,12 @@
}
}
],
"ID": "664e3f3e-0afe-4f14-9aa0-3deb8ee1c12b"
"ID": "796f5586-2ec6-4289-9824-c815e6bba011"
}
]
}
],
"ID": "a7c14fc3-d8ac-4e4b-a907-45e333a5524e"
"ID": "d5ba24e1-84f0-4e52-964d-53e3c4927221"
}
]
},
@@ -470,7 +474,7 @@
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目ID",
"GUID": "017d289e-78e0-4eaa-89e8-0d3cfbf57d60"
"GUID": "4e1a7eef-c35f-479e-958c-e34b85538dcc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -481,7 +485,7 @@
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "f351575c-6a88-4d02-bc3c-4fa73691434d"
"GUID": "1e311d03-f3a1-4fb7-971e-b605d3e76792"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -492,11 +496,137 @@
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "3bb8e80c-258e-4d88-8554-bad92a4020bb"
"GUID": "65b3ab45-38d5-4b31-907d-37832258bf27"
},
"Value": "%CurrentUser%"
}
]
},
{
"$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%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目成员数组",
"TableValue": {
"TableName": "项目成员表",
"BindingInfos": [
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "ID",
"GUID": "b72cf0b4-c471-44fa-b47b-a534a09cde3e"
},
"ColumnName": "ID"
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "f0d91e3d-8562-4bca-bb0f-4e9d7afd4d55"
},
"ColumnName": "项目成员"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
"CompareType": 8,
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "ID",
"GUID": "9ac991d2-282b-43bb-bef9-a0b00a6be7e3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=成员ID数组"
}
}
},
"ID": "f6e9f35a3cd540248c1d0f35ededb0a1"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目成员数组"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目ID",
"GUID": "573a2b42-c3e1-4bfb-85cf-1546a9036ad9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "a4c9ac26-cbb1-4201-b122-4b0a7191fadf"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新任务.ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目成员ID",
"GUID": "4e695e8e-c89d-4a59-ada7-7e8b4d827b92"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "参与人",
"GUID": "a24651df-83f8-4d76-954d-3b06728c4dcd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.项目成员"
}
}
]
}
]
}
],
"ID": "2168063c-897b-46f9-9c04-bea75ada5f94"
}
]
}
]
},

View File

@@ -149,7 +149,7 @@
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目ID",
"GUID": "261b6290-e45f-4595-abbd-36574ac3f28c"
"GUID": "36840f44-abdb-4d4d-a8f4-7edd900c77b8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -160,7 +160,7 @@
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "2be24e49-4a55-42cc-8be6-f28a42f6c15e"
"GUID": "fd7a6205-fefc-4194-9099-f157992c4350"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -171,34 +171,12 @@
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "参与人",
"GUID": "2c8d6bd3-6fc6-41bf-bae9-78784cf4b729"
"GUID": "e13a4631-28c4-4c05-b1bc-68d3971514b6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.成员"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "岗位ID",
"GUID": "0b90628f-b229-493f-9c5d-0227ec050478"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.岗位"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务时薪",
"GUID": "bf95d3f0-1632-4dc1-8cb9-320fb13f3e8f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.时薪"
}
}
]
}
@@ -237,34 +215,12 @@
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "参与人",
"GUID": "e9ffead8-6af1-40f0-bd06-8bcf55f769e6"
"GUID": "144e58a1-955d-4719-97c4-71b86e09e86e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.成员"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "岗位ID",
"GUID": "42dcdf05-28be-4b8d-ba4d-a6f705f4718e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.岗位"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务时薪",
"GUID": "09140a4d-b88c-42c9-9847-15110c2120c7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.时薪"
}
}
]
}
@@ -313,7 +269,7 @@
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目ID",
"GUID": "d5d82bb9-79a3-4095-bbb4-1bae803665cf"
"GUID": "c8d19332-7834-4358-bec6-e9e173a0f2ae"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -324,7 +280,7 @@
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "bbe3d62b-3c34-4607-80c4-1e2c75d2f4fd"
"GUID": "4e768777-3eff-4bbf-85c4-c1f173965266"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -335,7 +291,7 @@
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "6619d272-5e20-4f49-9ce5-f2d044902052"
"GUID": "6a928517-26f1-4302-a829-5f103daeae5b"
},
"Value": "%CurrentUser%"
}
@@ -365,35 +321,13 @@
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "同步项目成员",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目ID"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "操作完成"
}
],
"ID": "938285c7-b260-46dc-9369-d8b78265d4e7"
"ID": "c39a129b-d09f-48bb-9fdf-db4ed5ded7b1"
},
{
"CommandList": [
@@ -403,7 +337,7 @@
"Message": "任务不存在"
}
],
"ID": "96a24cfe-caef-45aa-aee6-773c70df934b"
"ID": "57d232e2-f4a4-4f6f-a87f-5aa731b9f1c4"
}
]
}

View File

@@ -76,7 +76,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "b15d94ad6e7644c293da886727448cb1"
"ID": "ff8bcb1f34844313913273cf7ef6d7ca"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -224,35 +224,13 @@
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "同步项目成员",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目ID"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "移除成功"
}
],
"ID": "fa79df67-bf2f-4a4b-a67d-a8f1c513bc86"
"ID": "fe53fdf3-ad5c-4bd1-a81e-0e937e33c4c6"
},
{
"CommandList": [
@@ -262,7 +240,7 @@
"Message": "任务不存在"
}
],
"ID": "1b902fd4-28c7-419f-9706-ae9e7541b242"
"ID": "4026af5c-8486-4367-8fae-ba73d80ca59b"
}
]
}

View File

@@ -270,36 +270,46 @@
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务时薪",
"GUID": "93b2f1d8-fd53-468a-9211-87f51b6a5494"
},
"ColumnName": "任务默认时薪"
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "岗位ID",
"GUID": "299a3d18-2733-483d-bcd6-09e057c343ef",
"ColumnName": "项目成员ID",
"GUID": "ab7cb84d-53aa-4ef4-9480-9dcf6c0081a1",
"RelationBinding": {
"RelatedTable": "项目岗位",
"RelatedTable": "项目成员表",
"RelatedColumn": "ID",
"DisplayColumn": "默认时薪"
}
},
"ColumnName": "任务岗位时薪"
"ColumnName": "成员时薪"
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目成员ID",
"GUID": "5235f7aa-0a63-4bd3-8c41-f3a32d4c3a93",
"RelationBinding": {
"RelatedTable": "项目成员表",
"RelatedColumn": "ID",
"DisplayColumn": "岗位ID",
"NextRelationBinding": {
"RelatedTable": "项目岗位",
"RelatedColumn": "ID",
"DisplayColumn": "默认时薪"
}
}
},
"ColumnName": "岗位时薪"
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "参与人",
"GUID": "599afbfc-245b-40b1-b078-adb9ca71abef",
"GUID": "b9b7cb37-08a6-4720-bddc-153de4068f89",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 5,
"AttachTypeTag": "默认时薪"
}
},
"ColumnName": "参与人默认时薪"
"ColumnName": "用户时薪"
}
],
"SqlCondition": {
@@ -334,7 +344,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "5d336b93a4df4cd08bf82c0216fd637b"
"ID": "ddbdfdd0fa554a2fa5e51d9879d30174"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -414,7 +424,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "c24060577e0143fdb16f1f374c7c895a"
"ID": "8615b1487f3b4d1984fe1bac333cfc4d"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -423,7 +433,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.提成系数"
},
"ID": "cb367be8fb7748938fbb70bd84ece17b"
"ID": "a2a37ae37d2d43eaa84993dec74c3f4c"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -432,7 +442,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时数"
},
"ID": "082f169b38f44fdda8b19e98912a9d4e"
"ID": "01d0003c29094ae09dd6e64261457190"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -441,7 +451,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")+1"
},
"ID": "3116169271594431b3b1c7d31a006d8b"
"ID": "d3163c87b76a40d8a3911d660b47f2fa"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -485,7 +495,7 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.任务默认时薪"
"SerializeProperty": "=任务成员.成员时薪"
}
},
"value": "%Null%",
@@ -497,18 +507,18 @@
"ParameterName": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.任务默认时薪"
"SerializeProperty": "=任务成员.成员时薪"
},
"ID": "e313b6627e4d4f5c812c5385f1117e65"
"ID": "cc82db30c405475598d3aa026d4ec0d9"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "任务默认时薪",
"ID": "76e6b1beb86d4cffa86d99da1b1b8d56"
"ParameterValue": "成员时薪",
"ID": "3c1021e484ee4ba0a86633071b42d8bd"
}
],
"ID": "5892bb26-315d-4713-b965-a9c3a0c5aaf5"
"ID": "8278602b-cbdd-437b-aa0e-e8f5315f75ea"
},
{
"Condition": {
@@ -517,7 +527,7 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.任务岗位时薪"
"SerializeProperty": "=任务成员.岗位时薪"
}
},
"value": "%Null%",
@@ -529,142 +539,73 @@
"ParameterName": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.任务岗位时薪"
"SerializeProperty": "=任务成员.岗位时薪"
},
"ID": "196d48e7e7104eb89b1b40a31d20d3d9"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "任务岗位时薪",
"ID": "14e4ee83f2994475987fffe9fb3f8315"
}
],
"ID": "560d1637-206c-428b-b348-0bc18e17414a"
},
{
"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": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目成员.项目成员时薪"
},
"ID": "76cd36c904b74af7b79a09aded9e6834"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "项目成员时薪",
"ID": "6c7b7dc64b644d0cadaa3e58ae25fb27"
}
],
"ID": "71243830-5216-40a3-a6b1-5939b0753a02"
},
{
"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": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目成员.项目岗位时薪"
},
"ID": "51752bfde1d24e229b44fe75bc41264a"
"ID": "b103c2acb94742d88008cf0f5c4c2db4"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "项目岗位时薪",
"ID": "3ea9bb1ee1c34288bc51654ef1abf496"
"ID": "0219a753cc25405babd85823afc50ec5"
}
],
"ID": "122e532e-7bf9-416e-8429-2be97ef447db"
"ID": "d9826fc4-2a66-449f-b29a-2452b63c72bf"
},
{
"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": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.参与人默认时薪"
"SerializeProperty": "=任务成员.用户时薪"
},
"ID": "1ae2836c5830462a84c4aacaa677c0ee"
"ID": "f7dc4bc4ab82417fa9ed1963c9f0743d"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "用户默认时薪",
"ID": "2aef2dc2638a4d93b234647dbb3708be"
"ID": "b63bc48e6b494c45846f26f65967743a"
}
],
"ID": "e37a30f6-824b-4309-b099-b50321d85357"
"ID": "c59d3f3d-1bd7-49ba-ab43-4dbc96ca337b"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算时薪",
"ParameterValue": "0",
"ID": "7cd27fcd25194f5f945c9f20531f3510"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "无时薪配置",
"ID": "fa7dce870a0f4f43982f5750b827a883"
}
],
"ID": "16505a9b-f55a-4fec-9d40-1778bca56b9c"
}
]
}
],
"Comments": "优先使用手动指定的提成金额",
"ID": "3c4043b9-0284-477c-81f1-63f1c8d5119c"
"ID": "b4f70a32-3855-4615-8543-d3692bcc3b15"
},
{
"CommandList": [
@@ -675,16 +616,16 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=指定时薪单价"
},
"ID": "0cf4fd422ad24dab99b51a2dd7f131d9"
"ID": "0c71d002bf8b487e8d5fc68160f1c319"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "特殊指定",
"ID": "c4fead524128456483f3f5a034ef3aac"
"ID": "33c8559bb723411da60fd2e561aba45d"
}
],
"ID": "12836376-7996-426b-89ac-c4d2903707c9"
"ID": "62612070-353d-4b57-a5cd-e5dd910a0086"
}
],
"Comments": "计算成员的时薪"
@@ -783,7 +724,7 @@
]
}
},
"ID": "aa235f64d4ec4cd582472f40f84747c9",
"ID": "1dd43cf317f3493b811af732e5ecadaa",
"Comments": "从视图统计项目的信息"
},
{
@@ -810,7 +751,7 @@
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "提成系数",
"ParameterValue": "0",
"ID": "e18f1034f12e41a7b90d2a1f58090f54"
"ID": "c249f655db5648c5b51bd635c133cb01"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -819,17 +760,17 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=个人工时情况.总计划工时-个人工时情况.总实际工时"
},
"ID": "8d0e13be1d7c417b85a401d7241d5a80"
"ID": "51190645683e490a89a814befe609269"
}
],
"Comments": "先检查个人工时余额够不够如果不够直接提成为0",
"ID": "62c323bb-a8fd-4f6a-bef3-c12ba2a4c36e"
"ID": "e4e63a51-dcfa-4dc3-8364-8d603e88bf62"
}
]
}
],
"Comments": "如果分配到人头,则判断该人总计划工时还够不够",
"ID": "3008b6ad-c950-48cd-b0f1-8e43800742ad"
"ID": "3c9d4a97-6a13-4418-b0f8-35395c03f392"
},
{
"Condition": {
@@ -889,7 +830,7 @@
}
}
},
"ID": "7ed3dcc708d241e7a556334560d7e374",
"ID": "a23e3a6e89904ac8bea064d536514a50",
"Comments": "从视图统计项目的信息"
},
{
@@ -916,7 +857,7 @@
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "提成系数",
"ParameterValue": "1",
"ID": "5ce8a30a1b1f468cb65341bd59a033e0"
"ID": "cf6d51b5888145e496e49f2588883112"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -925,17 +866,17 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务工时情况.总计划工时-任务工时情况.总实际工时"
},
"ID": "b03b8286df21427fbb48123ef003f896"
"ID": "64c79293a58c4332a6ab84d956a1524b"
}
],
"Comments": "先检查个人工时余额够不够如果不够直接提成为0",
"ID": "5e7fd067-2fb4-4012-bbd2-c5dfa130297e"
"ID": "e773c715-953c-45e2-9f4e-53f2fc081f9f"
}
]
}
],
"Comments": "如果是共用任务工时,则查看任务计划工时够不够",
"ID": "9388a07b-e142-40cd-916d-9e9611d3e10b"
"ID": "55623e50-334f-4fd0-a5b0-a077569ac925"
}
]
},
@@ -977,7 +918,7 @@
},
"TopCount": "1"
},
"ID": "9531597e7dd04790a8b3d8edf8a056fa",
"ID": "54aa0a94cc96467d8def3d9040dfa058",
"Comments": "从视图统计项目的信息"
},
{
@@ -987,7 +928,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目统计信息.总成本+(计算时薪*工时数*任务信息.提成系数)"
},
"ID": "cff80ff8e246491abd5d9bfe2b4cb20f"
"ID": "df9bee08799c444f8a091bc840ad8606"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -1015,13 +956,13 @@
"Message": "该项目预算费用不足,为确保项目成本可控,请联系项目经理增加项目预算后再提交。"
}
],
"ID": "94f1c942-3547-4a4f-b90c-80abf2f29da0"
"ID": "a423dbbd-e703-4443-8fcd-7ae0637a1124"
}
]
}
],
"Comments": "如果提交的工时类型等于项目工时的核定方式且开启严格模式就校验本次有没有超标",
"ID": "c218eb9f-1c2a-4ad1-94c2-f987d31caaa3"
"ID": "9531c1de-fd10-4c2a-baff-e95a41c928da"
}
]
},
@@ -1032,7 +973,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=核定工时"
},
"ID": "44bf01bc4c6e4d15a68aa01810cc3a27"
"ID": "45a519cbaf79430590daa0e0f12dcacf"
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
@@ -1056,7 +997,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期+(index-1)"
},
"ID": "172a3023cda9475a8a67528b152807c3"
"ID": "56a1af3621d94e629a76af1da3b64d7e"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -1124,7 +1065,7 @@
]
}
},
"ID": "bc9f93f8c0874fefba55401ba5796ea6"
"ID": "a34519403c17478d8f304509d1773d64"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -1156,7 +1097,7 @@
"ID": "16367bf85236447fb1f75968ab5e3c35"
}
],
"ID": "aec2fbae-83f7-48e5-ab7a-5fae797b336e"
"ID": "6c6cc11e-8415-440b-b798-bd6138f8f155"
},
{
"CommandList": [
@@ -1170,7 +1111,7 @@
"ID": "e94b98e14b7a4a5ba0254784a076d6cc"
}
],
"ID": "4d5a916f-49ba-45ec-bce5-69454395a99c"
"ID": "5571b65c-d4f6-4ad9-b36b-1035a2879dbb"
}
]
},
@@ -1218,7 +1159,7 @@
}
],
"Comments": "如果是按天分配,则需要检测这一天的实际工时是否超出,",
"ID": "07879862-2b57-48db-9176-57f5de797991"
"ID": "634fd1b5-ae1e-42d9-bd06-59c68f564ba0"
},
{
"CommandList": [
@@ -1232,7 +1173,7 @@
"ID": "f0457ba04eb3495e809ef050fb21fe4f"
}
],
"ID": "32327428-2991-4210-94d0-fbdfc7587c44"
"ID": "5c04802d-6a3d-441e-87d1-4e1f58c1353a"
}
]
},
@@ -1246,7 +1187,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "a3028e2b-e561-42c6-9ee0-c8eb03134e2e"
"GUID": "767fbfcb-1360-4ab6-9f72-1ebf9d95e1fb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1257,7 +1198,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "735e3d1d-b8b9-4ba3-a88a-0e21b9765cbb"
"GUID": "f1f6eab1-9968-4c05-9d10-6f8c672e6c8c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1268,7 +1209,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "cffbc1e3-052a-486b-89ec-6078865f6e90"
"GUID": "64787906-df7b-4ce8-aa3a-496cb71ee756"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1279,7 +1220,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "e07c6e0d-1142-463c-a205-880c29183a0d"
"GUID": "7b9d8bdd-fc57-4ea4-9ef2-498a8d845b6d"
},
"Value": "实际"
},
@@ -1287,7 +1228,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "58b7816a-560e-4ab2-95b5-b8a8f04d6c19"
"GUID": "728355a2-4c2e-4550-b05c-dbe82160500e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1298,7 +1239,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行内容",
"GUID": "083276ff-58a1-47be-89fc-cd4989e8e4d4"
"GUID": "6655c619-4df3-4cc3-9336-04204dd60f2d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1309,7 +1250,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时",
"GUID": "36adcdcf-f764-4fdd-8bf8-852b9d0af714"
"GUID": "c0d0c203-56f8-4652-91a9-7163d5ecd5c5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1320,7 +1261,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "上报工时",
"GUID": "eb754d4a-fdd1-4610-8d64-80882781bdaf"
"GUID": "60db6ae4-e852-41a3-8493-c10d6a804906"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1331,7 +1272,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "时薪单价",
"GUID": "2787b855-d8ee-4214-8c5e-654f37c81bee"
"GUID": "993683e9-e9ef-4c54-8439-82e0a265765c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1342,7 +1283,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "提成系数",
"GUID": "d3df389a-4ca3-4353-aefd-d8035b965e93"
"GUID": "2fa54ac7-2777-4f42-bd30-9e43589c2e75"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1353,7 +1294,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "时薪来源",
"GUID": "4c3d1a7c-5e48-48dd-9f2f-0e28f5bc1550"
"GUID": "fa2a6e7e-b172-4087-86e6-f42a55d6bc70"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1369,10 +1310,10 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ROUNDUP(待分配工时-计算本次分配工时,1)"
},
"ID": "81a6634be71a43669cbaa18cb041393a"
"ID": "e446ff2c85514cc681efe1c72c5c0700"
}
],
"ID": "dc0a2408-a1e6-4094-84db-1d38ba286103"
"ID": "92f856e7-b658-42f6-a4eb-240bd631136d"
},
{
"CommandList": [
@@ -1385,7 +1326,7 @@
}
}
],
"ID": "a1751d3f-23dc-4468-81ef-939d95acbd61"
"ID": "52ddc999-8d00-4b25-9376-d97aca3cb66e"
}
]
}
@@ -1437,7 +1378,7 @@
"Message": "报工成功"
}
],
"ID": "b728b35b-37b0-4979-9b51-2f3bfcaac0e1"
"ID": "b580b0b9-d9e3-46e2-bc37-c61b3cb2034a"
},
{
"CommandList": [
@@ -1450,12 +1391,12 @@
}
}
],
"ID": "14c3dd1e-b660-4b79-b4dc-8f55f163e0b4"
"ID": "510fe1b5-99ae-47f9-8cbe-574accde54d2"
}
]
}
],
"ID": "f5991806-add2-4d20-b266-f17d2e60d061"
"ID": "4cb9cd97-f93c-47f5-81b3-f39afa131276"
},
{
"CommandList": [
@@ -1465,7 +1406,7 @@
"Message": "成员不在任务内,无法报工!"
}
],
"ID": "447cf554-6508-427a-ace5-0592f83b8e2e"
"ID": "9d15f4b2-4b91-4a4d-9b2a-4c2ec13ca9b3"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,6 @@
{
"Name": "同步项目参与人字段",
"Name": "同步项目参与人列表",
"Description": "因为统计字段不能设置行权限,所以用此命令专门将参与人存为实体字段",
"Enabled": true,
"Triggers": [
{

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

View File

@@ -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"
}
]
}