#需求单拒绝接口地址
"url": "/order/back/refuseDemand"
#需求列表接口地址
"url1": "/order/back/listDemand"

# 后台运营管理系统登录信息
"username": "Admin00111"
"password": "Aa123456"

json_headers1: {
  "Content-Type": "application/json",
  "Cmdc_access_token": "%s"
}


#测试场景一：需求正常单审核拒绝
#获取需求单列表中待审核的需求单请求报文
"payload10": {"times":[null],"listOrderStatus":["102"],"productName":null,"demandCode":null,"demandParentCode":null,"customerName":null,"manufacturer":null,"materialCode":null,"sellerCompanyName":null,"produceRegisterNum":null,"productLineName":null,"auditByName":null,"orderSource":null,"changeTypeList":null,"isRebateEdit":null,"jdeType":null,"pageSize":8,"pageStart":1,"orderChangeType":null,"snSgin":null,"changeSign":null,"customerCode":null,"distributionType":null,"busCustomerCode":null,"loginName":null,"cancelSign":0,"shipmentType":null,"startTime":null}
#审核拒绝的请求报文
"payload1": {"demandId":"%d","auditStatus":2,"auditRemark":"审核拒绝原因"}
#预期结果
checkDict1: {"success":true,"code":"200","message":"OK","data":1}


#测试场景二：重复拒绝同一个需求单
"payload2": {"demandId":"%d","auditStatus":2,"auditRemark":"审核拒绝原因"}
#预期结果
"checkDict2": {"success":false,"code":"demand","message":"该订单已提交过，请稍后操作","data":null,"freshToken":null}

#测试场景三：审核拒绝不存在的需求单
"payload3": {"demandId":"%s","auditStatus":2,"auditRemark":"#未首营平台取消#"}
#预期结果
"checkDict3": {"success":false,"code":"demand","message":"审核拒绝没有找到子需求单","data":null,"freshToken":null}

#测试场景四：审核拒绝其他状态下的需求单，例如，审核通过的需求单
#获取需求单列表中审核通过的需求单请求报文(待支付)
"payload40": {"times":[null],"listOrderStatus":["132"],"productName":null,"demandCode":null,"demandParentCode":null,"customerName":null,"manufacturer":null,"materialCode":null,"sellerCompanyName":null,"produceRegisterNum":null,"productLineName":null,"auditByName":null,"orderSource":null,"changeTypeList":null,"isRebateEdit":null,"jdeType":null,"pageSize":8,"pageStart":1,"orderChangeType":null,"snSgin":null,"changeSign":null,"customerCode":null,"distributionType":null,"busCustomerCode":null,"loginName":null,"cancelSign":0,"shipmentType":null,"startTime":null,"itemStart":0}
#审核的请求报文
"payload4": {"demandId":"%d","auditStatus":2,"auditRemark":"审核拒绝原因"}
#预期结果
"checkDict4": {"success":true,"code":"200","message":"OK","data":1}
