diff --git a/.collaboration b/.collaboration index 56cc015a..18137e5e 100644 --- a/.collaboration +++ b/.collaboration @@ -2274,16 +2274,7 @@ }, { "ModuleName": "ServerCommand/getEmployeeWorkHoursData", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-08-31T00:09:43.6295358+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\OPENAPI\\getEmployeeWorkHoursData.json" - ] + "ModuleType": 15 }, { "ModuleName": "Image/魔法棒-默认.svg", diff --git a/ServerCommands/OPENAPI/getEmployeeWorkHoursData.json b/ServerCommands/OPENAPI/getEmployeeWorkHoursData.json index b703028f..687b3eac 100644 --- a/ServerCommands/OPENAPI/getEmployeeWorkHoursData.json +++ b/ServerCommands/OPENAPI/getEmployeeWorkHoursData.json @@ -26,20 +26,38 @@ "Name": "user", "DataValidationInfo": { "IgnoreBlank": false - } + }, + "TestData": "shamus" }, { "Name": "startData", - "DataValidationInfo": {} + "DataValidationInfo": {}, + "TestData": "2024-08-27" }, { "Name": "type", "DataValidationInfo": {} } - ] + ], + "InvokeTriggerTestData": { + "UserName": "Administrator" + } } ], "Commands": [ + { + "$type": "SaveFormData.GetFormDataFiles, SaveFormData", + "ResultToReq": "请求信息" + }, + { + "$type": "SaveFormData.fillInJSONProperties, SaveFormData", + "FullJsonString": "{\r\n \"user\":\"\",\r\n \"startData\":\"\",\r\n \"type\":\"个人日报\"\r\n}", + "SourceJson": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=请求信息.Body" + }, + "ResultTo": "完整JSON对象" + }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "用户名", @@ -48,7 +66,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "3a7b8ffc-ddca-473f-8bb1-c9fe95464786", + "GUID": "08a1ed98-79d1-421f-847f-ad8e6c1cc6a3", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "用户名", @@ -69,7 +87,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=user" + "SerializeProperty": "=完整JSON对象.user" } }, { @@ -81,7 +99,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=user" + "SerializeProperty": "=完整JSON对象.user" } } ], @@ -90,7 +108,7 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "d7761aa42c414438b3583cc95dad618e" + "ID": "31ff45091bea4d6c82e46e86e81337b5" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -118,7 +136,7 @@ "ParamName": "生成日期", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=startData" + "SerializeProperty": "=完整JSON对象.startData" } }, { @@ -129,7 +147,7 @@ { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "汇报对象", - "Value": "个人" + "Value": "个人日报" }, { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", @@ -201,7 +219,25 @@ ] } ], - "ID": "189f25fb-c5a6-4602-ba0a-cc9d48e917ce" + "ID": "fdef13fc-e5a5-4fbf-8822-7216807d5250" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "您查找的成员不存在,请告诉我用户名或全名", + "CustomReturns": [ + { + "ReturnPropertyName": "content" + }, + { + "ReturnPropertyName": "duration" + } + ] + } + ], + "ID": "85ba72c1-d079-473b-8bdc-627e9d4e9322" } ] }