错误 #27759
维修管理-保存报修工单收费详情,有偿服务,材料物业提供,耗材id和耗材单位不匹配,接口返回成功
0%
描述
接口路径:https://gapmsit.persagy.com/workorder/repair/outlay/save
请求头:groupCode=apiauto
Accept=/
Content-Type=application/json; charset=UTF-8
入参:{
"outlayState": "2",
"material": {
"detail": [
{
"unitPrice": "5.00",
"projectTemplateId": "HCMB6fc177b074c940e8bc633c77a874411e",
"unit": "个",
"num": "1",
"name": "砂纸"
}
],
"totalCost": "5.00"
},
"orderId": "Wo611000000134536143262003200",
"signature": "1693278505532.jpg",
"outlay": "320",
"manpower": {
"unitPrice": "60",
"hour": "5",
"num": "1",
"totalCost": "300"
},
"paidService": "1",
"projectId": "Pj6110000001",
"materialSource": "2"
}
响应:
{
"code": "00000",
"result": "success",
"data": true,
"timestamp": 1699342519649,
"traceId": "6549e8b7e4b09f81c840c883"
}
期望结果:期望值:fail
模糊断言期望包含值:projectTemplateId和unit不匹配
实际结果:
success