项目

一般

简介

错误 #28766

耗材模块-耗材入库,必填项人员id为异常值,接口返回成功

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

状态:
无效bug
优先级:
指派给:
葛程
开始日期:
2023-12-07
计划完成日期:
% 完成:

0%

预期时间:
严重等级:
Major
问题所属模块:
耗材模块
问题类型:
自动化测试问题

描述

接口路径:https://qa.yushu.cloud/apiauto/fm-inventory-server/restConsumableServer/createConsumableWarehousingEntry
header:
Headers: groupCode=test
Accept=/
Content-Type=application/json; charset=UTF-8

入参:
{
"user_id": "2df2797670c846768970293b7ad0b666",
"person_id": "xxx",
"project_id": "Pj6006110006",
"warehouse_id": "CK60061100065d6454a28394409aa5168383b762edbc",
"warehouse_name": "",
"inbound_type": "",
"remark": "",
"inbound_date": "",
"total_amount": "",
"attachment": [
{
"type": "",
"name": "",
"key": ""
}
],
"consumables": [
{
"template_id": "HCMB3bf470fadab84e739ae998849878d8f9",
"project_template_id": "",
"name": "",
"code": "",
"unit_price": "",
"type": "",
"brand": "",
"specification": "",
"supplier": "",
"picture": "",
"unit": "",
"num": "",
"total_num": "",
"amount": "",
"goods_shelf": "",
"entry_unit_type": ""
}
]
}
响应:
{
"Item": {
"warehousing_entry_id": "RK60061100062023120700538"
},
"ResultCode": "00000",
"Result": "success"
}
预期结果:
{
"code": "A0400",
"result": "fail",
"message": "person_id 不合法",
"timestamp": 1698163686610
实际结果:
{
"Item": {
"warehousing_entry_id": "RK60061100062023120700538"
},
"ResultCode": "00000",
"Result": "success"
}

历史记录

#1

薛涛 更新于 7 个月 之前

  • 指派给薛涛 变更为 葛程

此问题,已经和自动化测试领导共识过了,库存中不做人员id必填项以及正确性校验。请核对完需求再提。

#2

由 葛程 更新于 7 个月 之前

  • 状态新建 变更为 无效bug

导出 Atom PDF