项目

一般

简介

错误 #23441

盘点管理—保存盘点单详细信息,userId错误/userId为空提示系统异常

由 齐贝 在 超过一年 之前添加. 更新于 超过一年 之前.

状态:
已关闭
优先级:
紧急
指派给:
开始日期:
2022-12-23
计划完成日期:
% 完成:

0%

预期时间:
严重等级:
Major
问题所属模块:
盘点管理
问题类型:
自动化测试问题

描述

http://api-auto-test.persagy.com/inventory/inventoryStockTaking/saveInventoryStocktakingDetails
入参:
Headers: groupCode=BR
Accept=/
Content-Type=application/json;charset=utf-8
Body:
{
"project_id": "Pj1101104435",
"user_id": "a5f98aece82343838a2771f75e551ea5",
"userId":"sdfsdfwefa5f98aece82343838a2771f75e551ea5",
"pd":"7e60690d264fc6f439baaf8800653768",
"person_id": "RY1600397292054163457",
"personId": "RY1600397292054163457",
"groupCode":"BR",
"inventory_stock_taking_id": "PD1101104435ecfedcf599e6402488380fe538db4d2a",
"inventoryStocktakingDetails": [{
"actual_number": "",
"consumable_material_code": "851769",
"consumable_material_id": "Cs1101104435ee72e57bd760401f971b5d92673590cb",
"consumable_material_name": "ApiTestPI2Z70731",
"difference_number": "",
"goods_shelf": "",
"inventory_stock_taking_details_id": "PD11011044354ca69fa50763425eb174fc6feced698b",
"inventory_stock_taking_id": "PD1101104435ecfedcf599e6402488380fe538db4d2a",
"plate_number": "1",
"remark": "这是添加的盘点备注信息",
"specification": "1",
"stock_taking_head": "RY1600397292054163457",
"stock_taking_result": "",
"unit": "个"
}]
}
响应:
{
"cause":"",
"code":"B0001",
"def_exec":true,
"is_fail":true,
"is_success":false,
"message":"系统执行出错",
"result":"fail",
"timestamp":1672054866277,
"trace_id":"63a98852e4b0cc199d6d6f07"
}
期望包含值:A
期望包含值:userId 不合法 userId 不能为空

备注:userId错误/userId为空请求均会提示系统异常

历史记录

#1

由 齐贝 更新于 超过一年 之前

  • 描述 已更新。 (diff)
#2

薛涛 更新于 超过一年 之前

  • 状态新建 变更为 已解决

已做验证

#3

由 齐贝 更新于 超过一年 之前

  • 状态已解决 变更为 已关闭
  • 目标版本v5.0.0-36d7375-202212222048 变更为 v5.0.0-513f538-202212301140

导出 Atom PDF