项目

一般

简介

错误 #27890

工单配置-根据Id编辑工单类型信息,执行设置属性上级审核与下级审核岗位重复,接口返回成功

由 葛程 在 8 个月 之前添加. 更新于 8 个月 之前.

状态:
已关闭
优先级:
指派给:
开始日期:
2023-11-09
计划完成日期:
% 完成:

0%

预期时间:
严重等级:
Major
问题所属模块:
工单配置
问题类型:
自动化测试问题

描述

接口路径:https://gapmsit.persagy.com/workorder/restFlowPlanService/updateFlowPlanById
header:
Headers: groupCode=test
Accept=/
Content-Type=application/json; charset=UTF-8

入参:
{
"time_limit": {
"import_outlay_flag": "0",
"maintenance_configuration_flag": "0",
"sign_flag": "0",
"automatic_data_capture_flag": "0",
"timeout_order_receiving": {
"selected": "true",
"closed_state": "10"
},
"sign_desc": "我",
"video_capture_flag": "0",
"remindSet": {
"nextRouteNobodyNotify": {
"positions": [
{
"positionName": "功能设计师11",
"positionId": "GW1519516902787088385"
}
]
},
"woOrderTimeNotify": [
{
"notifyCycle": "3",
"positions": [
{
"positionName": "功能设计师11",
"positionId": "GW1519516902787088385"
}
],
"useful": "true",
"around": "front",
"notifyUseful": "false",
"timeOption": "startTime",
"minute": "15",
"orderState": "1"
}
]
},
"auditor_evaluation_flag": "0",
"customField": [
"ApiTest2lb7"
]
},
"user_id": "835afc48cb384a2fbacc790c13e8af97",
"project_id": "Pj6110000001",
"execute_type": "temp",
"work_type": "1",
"function_type": "",
"repair_flag": "0",
"post_and_duty_native": [
{
"code": "create",
"name": "新建",
"setup": {
"arrivalTimeAllowExecute": "false",
"filterScheduling": "false",
"executieMode": "execute",
"limitDomain": "false"
},
"positions": [
{
"positionName": "功能设计师11",
"effective": "true",
"positionId": "GW1519516902787088385"
}
],
"useful": "true"
},
{
"code": "execute",
"lackPositoion": false,
"name": "执行",
"setup": {
"apply": [
{
"code": "applyAddingPeople",
"audit": [
{
"code": "audit",
"name": "审核",
"selectedIds": [
{
"positionId": "GW1519516902787088385"
}
],
"positions": [
{
"positionName": "功能设计师11",
"effective": "true",
"positionId": "GW1519516902787088385"
}
],
"useful": "true"
},
{
"code": "audit",
"name": "审核",
"selectedIds": [
{
"positionId": "GW1519516902787088385"
}
],
"positions": [
{
"positionName": "功能设计师11",
"effective": "true",
"positionId": "GW1519516902787088385"
}
],
"useful": "true"
},
{
"code": "approve",
"name": "审批",
"positions": [

                            ],
                            "useful": "false"
                        }
                    ],
                    "name": "申请加人",
                    "useful": "true"
                },
                {
                    "code": "applyReplacePeople",
                    "audit": [
                        {
                            "code": "audit",
                            "name": "审核",
                            "selectedIds": [
                                {
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "positions": [
                                {
                                    "positionName": "功能设计师11",
                                    "effective": "true",
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "useful": "true"
                        },
                        {
                            "code": "approve",
                            "name": "审批",
                            "positions": [

                            ],
                            "useful": "false"
                        }
                    ],
                    "name": "申请换人",
                    "useful": "true"
                },
                {
                    "code": "applyMatters",
                    "audit": [
                        {
                            "code": "audit",
                            "name": "审核",
                            "selectedIds": [
                                {
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "positions": [
                                {
                                    "positionName": "功能设计师11",
                                    "effective": "true",
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "useful": "true"
                        },
                        {
                            "code": "approve",
                            "name": "审批",
                            "positions": [

                            ],
                            "useful": "false"
                        }
                    ],
                    "name": "申请事项",
                    "useful": "true"
                },
                {
                    "code": "applyPause",
                    "audit": [
                        {
                            "code": "audit",
                            "name": "审核",
                            "selectedIds": [
                                {
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "positions": [
                                {
                                    "positionName": "功能设计师11",
                                    "effective": "true",
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "useful": "true"
                        },
                        {
                            "code": "approve",
                            "name": "审批",
                            "positions": [

                            ],
                            "useful": "false"
                        }
                    ],
                    "name": "申请暂停",
                    "useful": "true"
                },
                {
                    "code": "applyDelay",
                    "audit": [
                        {
                            "code": "audit",
                            "name": "审核",
                            "selectedIds": [
                                {
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "positions": [
                                {
                                    "positionName": "功能设计师11",
                                    "effective": "true",
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "useful": "true"
                        },
                        {
                            "code": "approve",
                            "name": "审批",
                            "positions": [

                            ],
                            "useful": "false"
                        }
                    ],
                    "name": "申请延期",
                    "useful": "true"
                },
                {
                    "code": "applyStop",
                    "audit": [
                        {
                            "code": "audit",
                            "name": "审核",
                            "selectedIds": [
                                {
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "positions": [
                                {
                                    "positionName": "功能设计师11",
                                    "effective": "true",
                                    "positionId": "GW1519516902787088385"
                                }
                            ],
                            "useful": "true"
                        },
                        {
                            "code": "approve",
                            "name": "审批",
                            "positions": [

                            ],
                            "useful": "false"
                        }
                    ],
                    "name": "申请终止",
                    "useful": "true"
                }
            ]
        },
        "positions": [
            {
                "positionName": "功能设计师11",
                "effective": true,
                "positionId": "GW1519516902787088385"
            }
        ],
        "useful": true
    }
],
"plan_name": "ApiTest2lb7",
"plan_id": "FPaf9f154bea96422d84d1085053fb3fda"

}
响应:
{
"Count": 1,
"Result": "success"
}
预期结果:
{
"code": "A0400",
"result": "fail",
"message": "岗位重复",
"timestamp": 1698163686610
}
实际结果:
{
"Count": 1,
"Result": "success"
}

历史记录

#1

刘阳 更新于 8 个月 之前

  • 状态新建 变更为 已解决

已修复

#2

由 葛程 更新于 8 个月 之前

  • 状态已解决 变更为 已关闭

导出 Atom PDF