{"Message":"1","MessageType":2,"Modules":[{"State":3,"Type":15,"Name":"ServerCommand/getEmployeeWorkHoursData"}],"Version":"v1"}
This commit is contained in:
@@ -2274,12 +2274,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ModuleName": "ServerCommand/getEmployeeWorkHoursData",
|
"ModuleName": "ServerCommand/getEmployeeWorkHoursData",
|
||||||
"State": 3,
|
|
||||||
"LockedBy": {
|
|
||||||
"UserName": "cuckooent",
|
|
||||||
"Email": "phoben@qq.com"
|
|
||||||
},
|
|
||||||
"LockDateTime": "2024-08-30T23:01:28.7595208+08:00",
|
|
||||||
"ModuleType": 15
|
"ModuleType": 15
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
220
ServerCommands/OPENAPI/getEmployeeWorkHoursData.json
Normal file
220
ServerCommands/OPENAPI/getEmployeeWorkHoursData.json
Normal file
@@ -0,0 +1,220 @@
|
|||||||
|
{
|
||||||
|
"Name": "getEmployeeWorkHoursData",
|
||||||
|
"Description": "获取某人工时数据",
|
||||||
|
"Enabled": true,
|
||||||
|
"Triggers": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, 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_Anonymous"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Parameters": [
|
||||||
|
{
|
||||||
|
"Name": "user",
|
||||||
|
"DataValidationInfo": {
|
||||||
|
"IgnoreBlank": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "startData",
|
||||||
|
"DataValidationInfo": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "type",
|
||||||
|
"DataValidationInfo": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Commands": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||||
|
"ParameterName": "用户名",
|
||||||
|
"TableValue": {
|
||||||
|
"TableName": "用户信息视图",
|
||||||
|
"TableValueType": 1,
|
||||||
|
"BindingInfos": [
|
||||||
|
{
|
||||||
|
"GUID": "12827dc6-7685-4ed7-b730-02320790e6b1",
|
||||||
|
"BindingInfo": {
|
||||||
|
"TableName": "用户信息视图",
|
||||||
|
"ColumnName": "用户名",
|
||||||
|
"GUID": "559054ea-3f34-43e4-9a2b-8a58f6b1c468"
|
||||||
|
},
|
||||||
|
"ColumnName": "用户名"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"SqlCondition": {
|
||||||
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||||
|
"SubConditions": [
|
||||||
|
{
|
||||||
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||||
|
"ColumnBindingInfo": {
|
||||||
|
"TableName": "用户信息视图",
|
||||||
|
"ColumnName": "用户名",
|
||||||
|
"GUID": "58615291-bf4b-4ec4-b2b6-a339b407b3d9"
|
||||||
|
},
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=user"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||||
|
"ColumnBindingInfo": {
|
||||||
|
"TableName": "用户信息视图",
|
||||||
|
"ColumnName": "全名",
|
||||||
|
"GUID": "b52c1f02-8da3-400e-8333-5a0853d99d87"
|
||||||
|
},
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=user"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RelationType": 1
|
||||||
|
},
|
||||||
|
"NullFormulaValueQueryPolicy": 0,
|
||||||
|
"TopCount": "1"
|
||||||
|
},
|
||||||
|
"ID": "2930e36af5664e28ba78e45a69d43897"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$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.RequestServerCommand, ServerDesignerCommon",
|
||||||
|
"ServerCommandName": "Base根据汇报模板生成内容",
|
||||||
|
"Parameters": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||||
|
"ParamName": "生成日期",
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=startData"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||||
|
"ParamName": "汇报类型",
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=type"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||||
|
"ParamName": "汇报对象",
|
||||||
|
"Value": "个人"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||||
|
"ParamName": "对象ID"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||||
|
"ParamName": "汇报人",
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=用户名.用户名"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ResultErrorCodeTo": {
|
||||||
|
"SerializeProperty": "返回码"
|
||||||
|
},
|
||||||
|
"ResultMessageTo": {
|
||||||
|
"SerializeProperty": "返回信息"
|
||||||
|
},
|
||||||
|
"ReturnPropertiesTo": [
|
||||||
|
{
|
||||||
|
"ResultPropertyName": "日报内容",
|
||||||
|
"ResultTo": {
|
||||||
|
"SerializeProperty": "日报内容"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ResultPropertyName": "日报文本",
|
||||||
|
"ResultTo": {
|
||||||
|
"SerializeProperty": "日报纯文本"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ResultPropertyName": "返回总工时",
|
||||||
|
"ResultTo": {
|
||||||
|
"SerializeProperty": "总工时"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"RefreshAfterFinish": true,
|
||||||
|
"CheckDataValidation": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||||
|
"ErrorCode": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=返回码"
|
||||||
|
},
|
||||||
|
"Message": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=返回信息"
|
||||||
|
},
|
||||||
|
"CustomReturns": [
|
||||||
|
{
|
||||||
|
"ReturnPropertyName": "content",
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=日报内容"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ReturnPropertyName": "duration",
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=总工时"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ID": "fa5e92d9-8980-4d10-839d-8e673d1e6f16"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ReturnProperties": [
|
||||||
|
{
|
||||||
|
"Name": "content"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "duration"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user