错误 #27758
维修管理-保存报修工单收费详情,有偿服务,材料物业提供,耗材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": "启辉器qhq"
}
],
"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": 1699342519417,
"traceId": "6549e8b7e4b09f81c840c880"
}
期望:fail,模糊断言:projectTemplateId和name不匹配
实际:success