错误 #27838
工单引擎-保存费用明细,耗材为空,接口返回totalCost不能为空
开始日期:
2023-11-09
计划完成日期:
% 完成:
0%
预期时间:
严重等级:
Major
问题所属模块:
工单引擎
问题类型:
自动化测试问题
描述
接口路径:https://gapmsit.persagy.com/workorder/restWoOutlayService/saveWoOutlayByWoId
header:
Headers: groupCode=test
Accept=/
Content-Type=application/json; charset=UTF-8
入参:
{
"material": {
}, "user_id": "835afc48cb384a2fbacc790c13e8af97", "man": { "num": "10", "totalCost": "300" }, "order_id": "Wo611000000134561502869925888"
}
预期结果:
{
"code": "A0400",
"result": "fail",
"message": "material不能为空",
"timestamp": 1698163686610
}
实际结果:
{
"code": "A0400",
"result": "fail",
"message": "totalCost不能为空",
"timestamp": 1698163686610
}