# 多采商城图形验证码url
"getVerifyCode_url": "/sso/getVerifyCode"
# 多采商城登录地址
"maii_login_url": "/sso/mallLogin"
# 多采商城登录信息
"do_username": "BJ0621"
"do_password": "Aa123456"
# 国药运营后台管理系统登录地址
"do_login_url": "/sso/doLogin"

# 多采商城登录信息
"username": "BJ0621"
"password": "Aa123456"

"username3": "GL1000086"
"password3": "Aa123456"

"username_be": "testtest"
"password_be": "Aa123456"

#后台运营管理系统登录信息(子站点上海医疗器械有限公司)
"username1": "admin00111"
"password1": "Aa123456"

#后台运营管理系统登录信息(子站点国联医疗器械有限公司)
"username_102": "Admin00102"
"password_102": "Aa123456"

"username2": "admin"
"password2": "Aa123456"

"username1_be": "admin2"
"password1_be": "@Aa123456"

"username1_be1": "admin1"
"password1_be1": "Aa123456"

#后台管理系统headers
json_headers: {
  "Content-Type": "application/json",
  "Cmdc_access_token": "%s"
}

#文件上传headers
json_headers_file: {
  "Cmdc_access_token": "%s"
}

#多采商城headers
json_headers1: {
  "Cmdc_access_token": "%s",
  "Sourcetype": "mall"
}

#需求：站点优化

#测试场景1：登录接口新增雅培配置字段验证
"url1": "/user/back/tripartiteChangeList"
"payload1": {"applyNo":"","applyTimes":[],"pageStart":1,"pageSize":10}
#预期结果
checkDict1: {"total":"%s"}

#测试场景14：获取超发记录
"url14": "/order/public/getStayOverflowList"
"payload14": {"pageNum":1,"pageSize":10,"pageStart":1}
#预期结果
checkDict14: {"total":"%s"}

#测试场景15：列表查询条件验证_超发记录
"url15": "/order/public/getStayOverflowList"
"payload15": {"custData":"%s","productData":"%s","demandCode":"%s","distributionCode":"%s","startTime":"%s","endTime":"%s","pageNum":1,"pageSize":10,"pageStart":1}
#预期结果
checkDict15: {"productData":"%s"}

#测试场景16：超发记录导出功能验证
"url16": "/order/public/exportStayOverflowExcel"
"payload16": {"demandCode":"%s"}
#预期结果
checkDict16: {"demandCode":"%s"}

#测试场景7：获取超发配置列表
"url7": "/order/public/supernovaList"
"payload7": {"strsQuery":"","materialCode":"","productLineCode":"","pageNum":1,"pageSize":10,"pageStart":1}
#预期结果
checkDict7: {"total":"%s"}

#测试场景8：列表查询条件验证_超发配置列表
"url8": "/order/public/supernovaList"
"payload8": {"strsQuery":"%s","materialCode":"%s","productLineCode":"%s","pageNum":1,"pageSize":10,"pageStart":1}
#预期结果
checkDict8: {"strsQuery":"%s"}

#测试场景9：超发配置导出功能验证
"url9": "/order/public/exportstockPurchaseExcel"
"payload9": {"strsQuery":"%s","materialCode":"","productLineCode":""}
#预期结果
checkDict9: {"strsQuery":"%s"}

#测试场景13：超发配置导入日志记录验证
"url13": "/order/public/excelLog/list?sheetName=supernova-D&pageStart=1&pageSize=10&total="
"payload13": {}
#预期结果
checkDict13: {"total":"%s"}

#测试场景10：超发配置导入功能验证
"url10": "/order/public/supernovaExcel"
"payload10": {"type":"supernova-D"}
#预期结果
checkDict10: {"wholeQuantity":"%s"}
#获取商品信息
"url10_1": "/product/mall/queryProductInfoByPage"
"payload10_1": {"isFbList":0,"filialeCode":null,"productName":null,"productCode":null,"specifications":null,"materialCode":null,"manufacturer":null,"lineName":null,"riskRank":null,"isRelease":"1","isExistImage":null,"jdeStatus":"P","isGift":"0","description":null,"tbsj":[],"pageNum":1,"pageSize":8,"total":619,"firstQuery":true,"flag":true,"preInvalidStatus":null,"isControlSales":"0","startTime":null,"endTime":null,"status":101}

#测试场景11：空数据导入校验验证_超发配置导入
"url11": "/order/public/supernovaExcel"
"payload11": {"type":"supernova-D"}
#预期结果
checkDict11: {"success":false,"code":"EXCEL","message":"excel数据内容不能为空","data":null,"freshToken":null}

#测试场景12：重复数据导入校验验证_超发配置导入
"url12": "/order/public/supernovaExcel"
"payload12": {"type":"supernova-D"}
#预期结果
checkDict12: {"status":3}

#测试场景2：采购协议批量导入功能验证
"url2": "/product/public/stockPurchaseAgreeExcel"
"payload2": {}
#预期结果
checkDict2: {"tcdl01":"202401040918001"}

#测试场景3：导入不能为空校验_采购协议批量导入
"url3": "/product/public/stockPurchaseAgreeExcel"
"payload3": {}
#预期结果
checkDict3: {"success":false,"code":"stock","message":"导入数据不能为空","data":null,"freshToken":null}

#测试场景4：客户编码或采购协议为空_采购协议批量导入
"url4": "/product/public/stockPurchaseAgreeExcel"
"payload4": {}
#预期结果
checkDict4: {"success":false,"code":"stock","message":"第2行客户编码或采购协议为空","data":null,"freshToken":null}

#测试场景5：数据重复校验拦截_采购协议批量导入
"url5": "/product/public/stockPurchaseAgreeExcel"
"payload5": {}
#预期结果
checkDict5: {"success":false,"code":"stock","message":"客户编码：1000086对应采购协议重复","data":null,"freshToken":null}

#测试场景6：采购协议导出功能验证
"url6": "/product/public/exportPurchaseAgreeExcel"
"payload6": {"stockRuleId":51}
#预期结果
checkDict6: {"tcdl01":"202401040918001"}


#测试场景23：获取审核待办历史记录
"url23": "/order/public/auditStay/getHisAuditStayPage"
"payload23": {"demandCode":"%s","pageNum":null,"pageSize":null,"pageStart":null}
#预期结果
checkDict23: {"total":"%s"}

#获取需求列表
"url_demand": "/order/back/listDemand"
"payload_demand": {"times":[null],"firstAuditTimes":[],"firstAuditTimeStart":"","firstAuditTimeEnd":"","listOrderStatus":["102","1021","112","132","103","113","104"],"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":10,"pageStart":1,"orderChangeType":null,"snSgin":null,"changeSign":null,"customerCode":null,"distributionType":null,"busCustomerCode":null,"loginName":null,"cancelSign":0,"shipmentType":null,"siteType":null,"siteCompanyCode":null,"groupQuery":0,"promotionTypeList":[],"isGroup":[],"isReplace":null,"stayStatus":null,"closeState":null,"startTime":null}

#获取产品线信息
"url_line": "/product/public/queryProductLineNameByAll?filialeCode=00102"

#测试场景24：获取自动配货近效期设置
"url24": "/product/lineValid/getLineValidList"
"payload24": {}
#预期结果
checkDict24: {"total":"%s"}

#测试场景25：自动配货近效期设置更新验证
"url25": "/product/public/saveAll"
#预期结果
checkDict25: {"success":true,"code":"200","message":"OK","data":null,"freshToken":null}

#测试场景26：重置配货功能验证
"url26": "/order/preemptStock/public/deletePreemptStockByCode"
"payload26": {"distributionCode":"%s"}
#预期结果
checkDict26: {"success":true,"code":"200","message":null,"data":null,"freshToken":null}

#获取待配货列表
"url_dis": "/order/distributionorder/list"
"payload_dis": {"demandParentCode":"","demandCode":"","distributionCode":"","customerCode":"","sellerCompanyName":"","submitTime":"","auditTime":"","distributionTime":"","auditByName":"","productLineName":"","distributionStatus":101,"pushType":"","submitStartTime":"","submitEndTime":"","updateStartTime":"","updateEndTime":"","auditStartTime":"","auditEndTime":"","distributionTimeStart":"","distributionTimeEnd":"","pageNum":1,"pageSize":10,"mergeTimeStart":"","mergeTimeEnd":"","productCodeList":[],"materialCodeList":[]}


#测试场景30：根据配货单id获取配货信息
"url30": "/order/distributionorder/queryAllByDistributionId"
"payload30": {"distributionId":"%s","source":1,"reSign":1}
#预期结果
checkDict30: {"distributionId":"%s"}


#测试场景27：获取购买合同
"url27": "/product/public/getDefaultPurchaseAgreeAndMaterialCodeInventoryCount"
"payload27": {"productCodes":"%s","companyCode":"%s","customerCode":"%s","productLineCode":"%s","location":null}
#预期结果
checkDict27: {"success":true,"code":"200","message":"OK"}

#测试场景28：获取配货单状态
"url28": "/order/public/getDisStatus"
"payload28": {"distributionCode":"%s","purchaseAgrees":""}
#预期结果
checkDict28: {"distributionCode":"%s"}


#测试场景31：获取仓库信息
"url31": "/product/distribution/option"
"payload31": {"distributionCode":"%s"}
#预期结果
checkDict31: {"success":true,"code":"200","message":"OK"}

#测试场景32：获取原始货单明细
"url32": "/order/public/getDistributionorderOrgData"
"payload32": {"mergeVersionCode":"%s"}
#预期结果
checkDict32: {"total":"%s"}
#获取已配货的配货单信息
"url32_1": "/order/distributionorder/list"
"payload32_1": {"demandParentCode":"","demandCode":"","distributionCode":"","customerCode":"","sellerCompanyName":"","submitTime":"","auditTime":"","distributionTime":"","auditByName":"","productLineName":"","distributionStatus":106,"pushType":"","submitStartTime":"","submitEndTime":"","updateStartTime":"","updateEndTime":"","auditStartTime":"","auditEndTime":"","distributionTimeStart":"","distributionTimeEnd":"","pageNum":1,"pageSize":10,"mergeTimeStart":"","mergeTimeEnd":"","productCodeList":[],"materialCodeList":[]}















































































