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

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

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

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

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

"username4": "Admin00102"
"password4": "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"
}

#需求：站点优化

#测试场景一：站点资料变更列表获取
"url1": "/user/back/tripartiteChangeList"
"payload1": {"applyNo":"","applyTimes":[],"pageStart":1,"pageSize":10}
#预期结果
checkDict1: {"total":"%s"}

#测试场景二：查询条件验证_站点资料变更列表
"url2": "/user/back/tripartiteChangeList"
"payload2": {"applyNo":"%s","applyTimes":["%s","%s"],"pageStart":1,"pageSize":10}
#预期结果
checkDict2: {"applyNo":"%s"}

#测试场景三：发起站点资料变更申请
"url3": "/user/tripartiteChange/getChangeDetail"
"payload3": {}
#预期结果
checkDict3: {"userName":"%s"}


#测试场景四：查询站点资料变更详情
"url4": "/user/tripartiteChange/queryTripartiteChangeDetail"
"payload4": {"tripartiteId":"%s"}
#预期结果
checkDict4: {"tripartiteId":"%s"}

#测试场景五：站点资料变更审核列表获取
"url5": "/user/back/tripartiteChangeList"
"payload5": {"applyNo":"","companyName":"","applyTimes":[],"applyStatus":"","pageStart":1,"pageSize":10,"siteType":""}
#预期结果
checkDict5: {"success":true,"code":"200","message":"OK"}

#测试场景六：查询条件验证_变更审核列表
"url6": "/user/back/tripartiteChangeList"
"payload6": {"applyNo":"%s","companyName":"%s","applyTimes":["%s","%s"],"applyStatus":"%s","pageStart":1,"pageSize":10,"siteType":"%s"}
#预期结果
checkDict6: {"applyNo":"%s"}

#测试场景七：获取站点列表_站点管理
"url7": "/cms/website/queryListPage"
"payload7": {"websiteName":"","orderApportionPrinciple":"","companyName":"","companyType":"","allocationSite":"","pageStart":1,"pageSize":10,"total":10,"pageNumber":1,"pageTotal":24}
#预期结果
checkDict7: {"success":true,"code":"200","message":"操作成功"}


#测试场景八：查询条件验证_站点管理
"url8": "/cms/website/queryListPage"
"payload8": {"websiteName":"%s","orderApportionPrinciple":"%s","companyName":"%s","companyType":"%s","allocationSite":"","pageStart":1,"pageSize":10,"total":null,"pageNumber":1,"pageTotal":null}
#预期结果
checkDict8: {"websiteName":"%s"}

#测试场景九：获取站点证照信息
"url9": "/user/public/getLicenseByCompanyId"
"payload9": {"companyId":2}
#预期结果
checkDict9: {"success":true,"code":"200","message":"OK"}

#测试场景十：资料上传接口验证_申请变更
"url10": "/product/public/fileUpload"
"payload10": {}
#预期结果
checkDict10: {"success":true,"code":"200","message":"OK"}


#测试场景十一：站点资料申请变更功能验证
"url11": "/user/tripartiteChange/toChange"
"payload11": {"changeSubject":"站点资料变更申请测试","companyName":"国药集团联合医疗器械有限公司","companyProperty":"101","licenceList":[{"validityStartTime":"2024-01-22","validityEndTime":"2032-04-30","validityTime":["2024-01-22","2032-04-30"],"licenceTypeExplain":"营业执照","licenceType":"008","licenceUrl":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907694509,"raw":{"uid":1705907694509},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzY5NDY2N30.1ePCWHUgUa1j4gK3gKrOpAiC0nAvbcz2pFTKZX_1QN4"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"newOneScope":"","oldOneScope":"","newTwoScope":"","oldTwoScope":"","newThreeScope":"","oldThreeScope":"","licenceCode":"213421414"}],"suppleList":[{"validityStartTime":"2024-01-22","validityEndTime":"2035-02-28","validityTime":["2024-01-22","2035-02-28"],"licenceTypeExplain":"续签协议","licenceType":"0012","licenceUrl":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907730774,"raw":{"uid":1705907730774},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzczMDkwNn0.abX7CpflkGMmQrdsOSOHycL_g2ObHsyHPDt1DxW2Vu0"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"licenceCode":"3245315251515"}],"companyCode":"00102","area":3,"businessUnit":"12325556677","registrations":[],"city":2,"telephone":"18008613536","userName":"admin2","userId":2,"businessPlace":"北京市顺义区金航中路3号天竺万科中心1号楼3单元2层201（北京天竺综合保税区））","legalName":"张洁2","principal":"张洁2","province":1,"merchantsDepositoryList":[{"depositoryId":964,"abbreviation":null,"addressDetail":"北京市顺义区顺义港物流园区机场北街10号A2-2","merchantsId":null,"userId":null,"depotProvince":1,"depotCity":2,"depotArea":3,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255},{"depositoryId":965,"abbreviation":null,"addressDetail":"仓库地址","merchantsId":null,"userId":null,"depotProvince":217,"depotCity":218,"depotArea":221,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255}],"registerLicenceList":[{"validityStartTime":"","validityEndTime":"","validityTime":["2024-01-22","2032-04-30"],"licenceTypeExplain":"营业执照","licenceType":"008","licenceUrl":"","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907694509,"raw":{"uid":1705907694509},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzY5NDY2N30.1ePCWHUgUa1j4gK3gKrOpAiC0nAvbcz2pFTKZX_1QN4"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"newOneScope":"","oldOneScope":"","newTwoScope":[],"oldTwoScope":[],"newThreeScope":[],"oldThreeScope":[],"licenceCode":"213421414"}],"detailAddress":"北京市朝阳区太阳宫中路19号院1号楼2层\n","merchantsCategoryList":[{"id":1193,"categoryId":1,"typeId":2,"merchantsId":null,"categoryTypeTxt":"测试测试","tripartiteId":255},{"id":1194,"categoryId":2,"typeId":3,"merchantsId":null,"categoryTypeTxt":"测试","tripartiteId":255}],"supplementLicences":[{"validityStartTime":"","validityEndTime":"","validityTime":["2024-01-22","2035-02-28"],"licenceTypeExplain":"续签协议","licenceType":"0012","licenceUrl":"","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907730774,"raw":{"uid":1705907730774},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzczMDkwNn0.abX7CpflkGMmQrdsOSOHycL_g2ObHsyHPDt1DxW2Vu0"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"licenceCode":"3245315251515"}],"siteType":0,"remarks":"","tripartiteCategoryChangeList":[{"id":1193,"categoryId":1,"typeId":2,"merchantsId":null,"categoryTypeTxt":"测试测试","tripartiteId":255},{"id":1194,"categoryId":2,"typeId":3,"merchantsId":null,"categoryTypeTxt":"测试","tripartiteId":255}],"tripartiteDepositoryChangeList":[{"depositoryId":964,"abbreviation":null,"addressDetail":"北京市顺义区顺义港物流园区机场北街10号A2-2","merchantsId":null,"userId":null,"depotProvince":1,"depotCity":2,"depotArea":3,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255},{"depositoryId":965,"abbreviation":null,"addressDetail":"仓库地址","merchantsId":null,"userId":null,"depotProvince":217,"depotCity":218,"depotArea":221,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255}]}
#预期结果
checkDict11: {"success":true,"code":"200","message":"OK","data":"success"}


#测试场景十二：审核驳回_站点申请资料变更
"url12": "/user/tripartiteChange/auditTripartiteChange"
"payload12": {}
#预期结果
checkDict12: {"success":true,"code":"200","message":"OK"}

#测试场景十三：获取登录用户信息
"url13": "/user/mall/queryUserInfoNow"
"payload13": {}
#预期结果
checkDict13: {"userName":"%s"}


#测试场景十四：获取用户已合作站点信息
"url14": "/user/mall/listUserCompany?userId=7&companyName="
"payload14": {}
#预期结果
checkDict14: {"total":"%s"}

#测试场景十五：获取补货单设置信息
"url15": "/order/public/replenishmentSetting/querySettingPage"
"payload15": {"currentPage":null,"pageSize":10,"total":null,"pageStart":1}
#预期结果
checkDict15: {"success":true,"code":"200","message":"OK"}

#测试场景十六：查询条件验证_补货设置
"url16": "/order/public/replenishmentSetting/querySettingPage"
"payload16": {"currentPage":null,"pageSize":10,"total":null,"productName":"%s","productLineCode":"%s","supplierName":"%s","pacNo":"%s","specifications":"%s","manufacturer":"%s","customerName":"%s","projectName":"%s","materialCode":"%s","creatorName":"%s","pageStart":1}
#预期结果
checkDict16: {"productName":"%s"}

#测试场景十七：获取补货单列表
"url17": "/order/public/replenishmentOrders/queryReplenishmentManageByPage"
"payload17": {"pageSize":10,"pageStart":1,"type":"0"}
#预期结果
checkDict17: {"success":true,"code":"200","message":"OK"}

#测试场景十八：查询条件验证_获取补货单列表
"url18": "/order/public/replenishmentOrders/queryReplenishmentManageByPage"
"payload18": {"pageSize":10,"pageStart":1,"productLineCode":"%s","pacNo":"%s","specifications":"%s","manufacturer":"%s","materialCode":"%s","syncSign":"%s","supplierReplenishmentCode":"%s","replenishmentCode":"%s","orCode":"%s","productInfo":"%s","supplierInfo":"%s","customerInfo":"%s","projectInfo":"%s","creatorName":"%s","startTime":"%s","endTime":"%s","type":"0"}
#预期结果
checkDict18: {"replenishmentCode":"%s"}

#测试场景十九：获取子需求单列表_补货单列表
"url19": "/order/public/replenishmentOrderDetail/queryReplenishmentDetailManageByPage"
"payload19": {"pageSize":10,"type":"1"}
#预期结果
checkDict19: {"success":true,"code":"200","message":"OK"}

#测试场景二十：获取补货单详情信息
"url20": "/order/public/replenishmentOrders/getReplenishmentOrderDetail"
"payload20": {"replenishmentCode":"%s"}
#预期结果
checkDict20: {"replenishmentCode":"%s"}

#测试场景二十一：补货单导出验证
"url21": "/order/public/replenishmentOrders/exportExcel"
"payload21": {"pageSize":10,"pageStart":1,"replenishmentCode":"%s","type":"0"}
#预期结果
checkDict21: {"replenishmentCode":"%s"}

#测试场景二十二：子需求单导出_补货单列表
"url22": "/order/public/replenishmentOrders/exportExcel"
"payload22": {"pageSize":10,"pageStart":1,"type":"1"}
#预期结果
checkDict22: {"total":"%s"}

#测试场景二十三：补货设置信息导出验证
"url23": "/order/public/replenishmentSetting/exportExcel"
"payload23": {"currentPage":null,"pageSize":10,"total":null,"productName":"%s","pageStart":1,"type":"1"}
#预期结果
checkDict23: {"productName":"%s"}

#测试场景二十四：获取供应商信息_补货单
"url24": "/user/public/vptisupluerJde/getVptisupluerJdeListByCondition"
"payload24": {}
#预期结果
checkDict24: {"total":"%s"}

#测试场景二十五：获取协议合同号信息_补货单
"url25": "/user/public/vptihtxyJde/getVptihtxyByPacNo"
"payload25": {}
#预期结果
checkDict25: {"total":"%s"}


#测试场景二十六：补货设置批量导入验证
"url26": "/order/public/replenishmentSetting/importExcel"
"payload26": {"type":1}
#预期结果
checkDict26: {"pacNo":"2016017"}


#测试场景二十七：补货设置更新功能验证
"url27": "/order/public/replenishmentSetting/updateById"
"payload27": {"id":"%s","pacNo":"%s","supplierCode":"%s","supplierName":"%s","projectName":"%s","projectCode":"%s","salesmanName":"%s","businessDepartmentName":"%s"}
#预期结果
checkDict27: {"pacNo":"%s"}
#查找指定的补货设置
"payload27_1": {"currentPage":1,"pageSize":10,"total":2,"productName":"10154719","pageStart":1}


#测试场景二十八：补货设置删除功能验证
"url28": "/order/public/replenishmentSetting/deleteById"

#预期结果
checkDict28: {"deleteSign":1}


#测试场景二十九：获取补货设置批量导入日志
"url29": "/order/public/excelLog/list"
"payload29": {"sheetName":"replenishmentSetting","pageStart":1,"pageSize":2,"total":null}
#预期结果
checkDict29: {"success":true,"code":"200","message":"OK"}

#测试场景三十：根据code查询补货设置信息
"url30": "/order/public/replenishmentSetting/querySettingByCode"
"payload30": {"customerCode":"%s","productCode":"%s","supplierCode":"%s","companyCode":"%s"}
#预期结果
checkDict30: {"productCode":"%s"}

#测试场景三十一：获取补货单商品详情
"url31": "/order/public/replenishmentProductDetails"
"payload31": {"debtMergeVos":[{"customerCode":"%s","distributionType":"%s","productCode":"%s","sellerCompanyCode":"%s","shipmentType":"%s"}]}
#预期结果
checkDict31: {"productCode":"%s"}
#客户查询维度_欠货综合管理
"url31_1": "/order/debtStatementList"
"payload31_1": {"demandCode":"","customerName":"","customerCode":"","demandParentCode":"","lackStatusList":[],"orderMark":"","afterPayStatus":"","sellerCompanyName":"","productLineName":"","materialCode":"","optionStr":"","projectName":"","projectCode":"","paidSearch":[],"auditSearch":[],"createSearch":[],"distributionType":null,"shipmentType":null,"demandSubCode":"","auditByName":"","productCode":"","sortSign":2,"afterPay":0,"debtTabSign":"2","productInfoValue":"","mergeSige":null,"pageStart":1,"pageSize":10}


#测试场景三十二：获取补货单欠货明细
"url32": "/order/public/replenishmentDebtList"
"payload32": {"uuid":"%s","replenishmentId":null}
#预期结果
checkDict32: {"uuid":"%s"}


#测试场景三十三：必填字段校验_获取补货单欠货明细
"url33": "/order/public/replenishmentDebtList"
"payload33": {"uuid":"%s","replenishmentId":null}
#预期结果
checkDict33: {"success":false,"code":"ERROR","message":"欠货唯一标识至少有一个不为空","data":null,"freshToken":null}


#测试场景三十四：分公司编码必填校验_核验供应商证照
"url34": "/order/public/supplierLicenseCheck"
"payload34": {"companyCode":"","supplierMap":{"1000478":["10145854","10145854"]}}
#预期结果
checkDict34: {"success":false,"code":"check","message":"分公司编码不能为空","data":null,"freshToken":null}

#测试场景三十五：供应商字段必填校验_核验供应商证照
"url35": "/order/public/supplierLicenseCheck"
"payload35": {"companyCode":"00102"}
#预期结果
checkDict35: {"success":false,"code":"check","message":"供应商数据不能为空","data":null,"freshToken":null}









































