diff --git "a/air_case/b2_herp3_bs/g8_3\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.air/g8_3\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.py" "b/air_case/b2_herp3_bs/g2_10\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.air/g2_10\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.py" similarity index 93% rename from "air_case/b2_herp3_bs/g8_3\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.air/g8_3\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.py" rename to "air_case/b2_herp3_bs/g2_10\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.air/g2_10\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.py" index 9fd5b37c9acf948693828435da41b9c9edd176a5..77871ec3684b8cba1a1d88a8fca27009a94d9adb 100644 --- "a/air_case/b2_herp3_bs/g8_3\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.air/g8_3\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.py" +++ "b/air_case/b2_herp3_bs/g2_10\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.air/g2_10\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\346\266\210\350\200\227\347\273\223\347\256\227.py" @@ -43,8 +43,8 @@ def test1(): commonFuc().get_business_data(module, "X-APP-CODE")) # # 获取id pro_path = commonFuc().get_pro_path() - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') # from g7_批量导入_查询产品信息 import select1 # id1 = select1() info = FileUtils().r_info6("b2_herp3_bs", "产品信息1",'message2') diff --git "a/air_case/b2_herp3_bs/g8_4\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.air/g8_4\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.py" "b/air_case/b2_herp3_bs/g2_11\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.air/g2_11\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.py" similarity index 93% rename from "air_case/b2_herp3_bs/g8_4\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.air/g8_4\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.py" rename to "air_case/b2_herp3_bs/g2_11\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.air/g2_11\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.py" index 4f5a9aaebd0e017f80443afead1991e68c14b8bf..d59ae9dd520198d82969aabb0b00691af669c2a7 100644 --- "a/air_case/b2_herp3_bs/g8_4\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.air/g8_4\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.py" +++ "b/air_case/b2_herp3_bs/g2_11\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.air/g2_11\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\345\207\272\345\272\223\347\273\223\347\256\227.py" @@ -43,8 +43,8 @@ def test1(): commonFuc().get_business_data(module, "X-APP-CODE")) # # id pro_path = commonFuc().get_pro_path() - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') # from g7_批量导入_查询产品信息 import select1 # id1 = select1() info = FileUtils().r_info6("b2_herp3_bs", "产品信息1",'message2') diff --git "a/air_case/b2_herp3_bs/g8_5\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.air/g8_5\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.py" "b/air_case/b2_herp3_bs/g2_12\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.air/g2_12\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.py" similarity index 100% rename from "air_case/b2_herp3_bs/g8_5\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.air/g8_5\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.py" rename to "air_case/b2_herp3_bs/g2_12\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.air/g2_12\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242.py" diff --git "a/air_case/b2_herp3_bs/g8_6\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.air/g8_6\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.py" "b/air_case/b2_herp3_bs/g2_13\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.air/g2_13\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.py" similarity index 100% rename from "air_case/b2_herp3_bs/g8_6\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.air/g8_6\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.py" rename to "air_case/b2_herp3_bs/g2_13\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.air/g2_13\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\346\237\245\350\257\242.py" diff --git "a/air_case/b2_herp3_bs/g8_7\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.air/g8_7\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.py" "b/air_case/b2_herp3_bs/g2_14\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.air/g2_14\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.py" similarity index 93% rename from "air_case/b2_herp3_bs/g8_7\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.air/g8_7\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.py" rename to "air_case/b2_herp3_bs/g2_14\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.air/g2_14\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.py" index 57f6c6f00a4037de97362c5c8ed3c6cdf67927ca..21fc8f7e3a66e4128a165bf9235771a7a0d742b6 100644 --- "a/air_case/b2_herp3_bs/g8_7\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.air/g8_7\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.py" +++ "b/air_case/b2_herp3_bs/g2_14\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.air/g2_14\346\267\273\345\212\240\344\272\247\345\223\201\345\210\227\350\241\250_\347\241\256\345\256\232\346\267\273\345\212\240\344\272\247\345\223\201.py" @@ -43,8 +43,8 @@ def test1(): commonFuc().get_business_data(module, "X-APP-CODE")) # # 获取hosGoodsId pro_path = commonFuc().get_pro_path() - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g8_6添加产品列表_查询.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g8_6添加产品列表_查询.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') from g8_6添加产品列表_查询 import select1 hosGoodsId,provGoodsId = select1() # #请求体 diff --git "a/air_case/b2_herp3_bs/g8_8\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.air/g8_8\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.py" "b/air_case/b2_herp3_bs/g2_15\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.air/g2_15\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.py" similarity index 93% rename from "air_case/b2_herp3_bs/g8_8\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.air/g8_8\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.py" rename to "air_case/b2_herp3_bs/g2_15\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.air/g2_15\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.py" index 710666068e1c9231cdcb7db5d3ca2a5e0e787401..23593462e5746961c5301c1c4ee77029075c84c5 100644 --- "a/air_case/b2_herp3_bs/g8_8\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.air/g8_8\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.py" +++ "b/air_case/b2_herp3_bs/g2_15\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.air/g2_15\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\232\202\345\255\230.py" @@ -44,8 +44,8 @@ def test1(): commonFuc().get_business_data(module, "X-APP-CODE")) # # 获取hosGoodsId pro_path = commonFuc().get_pro_path() - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g8_6添加产品列表_查询.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g8_6添加产品列表_查询.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') from g8_6添加产品列表_查询 import select1 hosGoodsId,provGoodsId = select1() #获取日期 diff --git "a/air_case/b2_herp3_bs/g8_9\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.air/g8_9\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.py" "b/air_case/b2_herp3_bs/g2_16\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.air/g2_16\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.py" similarity index 95% rename from "air_case/b2_herp3_bs/g8_9\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.air/g8_9\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.py" rename to "air_case/b2_herp3_bs/g2_16\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.air/g2_16\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.py" index 602bf584710722451056572c54410fefb12a0d68..957041a0fa23ec955da935cc8fc6f3b29ca58506 100644 --- "a/air_case/b2_herp3_bs/g8_9\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.air/g8_9\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.py" +++ "b/air_case/b2_herp3_bs/g2_16\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.air/g2_16\350\260\203\344\273\267\347\256\241\347\220\206\345\210\227\350\241\250_\346\237\245\350\257\242_\346\232\202\345\255\230\347\212\266\346\200\201\346\225\260\346\215\256.py" @@ -58,9 +58,10 @@ def test1(): if code>=0 and total>=0: # print(code) GChid=commonFuc().analysis_json('id',data1[0]) - print(GChid) + orderNo=commonFuc().analysis_json('orderNo',data1[0]) + print(GChid,orderNo) commonFuc().check_text_exist(0, result) - return GChid + return GChid,orderNo else: commonFuc().check_text_exist('error', result) test1() diff --git "a/air_case/b2_herp3_bs/g9_1\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.air/g9_1\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.py" "b/air_case/b2_herp3_bs/g2_17\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.air/g2_17\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.py" similarity index 87% rename from "air_case/b2_herp3_bs/g9_1\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.air/g9_1\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.py" rename to "air_case/b2_herp3_bs/g2_17\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.air/g2_17\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.py" index 14c9dcc19c81cdfb25b3e8cd30f017750b9c3f98..e43a9fee5db3da649e9af1a5d13888fbdada4bae 100644 --- "a/air_case/b2_herp3_bs/g9_1\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.air/g9_1\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.py" +++ "b/air_case/b2_herp3_bs/g2_17\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.air/g2_17\344\277\256\346\224\271\344\272\247\345\223\201\344\273\267\346\240\274_\346\217\220\344\272\244.py" @@ -44,15 +44,15 @@ def test1(): commonFuc().get_business_data(module, "X-APP-CODE")) # # 获取hosGoodsId pro_path = commonFuc().get_pro_path() - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g8_6添加产品列表_查询.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g8_6添加产品列表_查询.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') from g8_6添加产品列表_查询 import select1 hosGoodsId,provGoodsId = select1() #获取GChid - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g8_9调价管理列表_查询_暂存状态数据.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g8_9调价管理列表_查询_暂存状态数据.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_16调价管理列表_查询_暂存状态数据.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_16调价管理列表_查询_暂存状态数据.air') from g8_9调价管理列表_查询_暂存状态数据 import test1 - GChid = test1() + GChid,orderNo = test1() #获取日期 currentdate=dateUtils().get_current_date() # print(currentdate) diff --git "a/air_case/b2_herp3_bs/g2_18\345\256\241\346\211\271\344\270\255\345\277\203_\345\210\227\350\241\250\346\237\245\350\257\242.air/g2_18\345\256\241\346\211\271\344\270\255\345\277\203_\345\210\227\350\241\250\346\237\245\350\257\242.py" "b/air_case/b2_herp3_bs/g2_18\345\256\241\346\211\271\344\270\255\345\277\203_\345\210\227\350\241\250\346\237\245\350\257\242.air/g2_18\345\256\241\346\211\271\344\270\255\345\277\203_\345\210\227\350\241\250\346\237\245\350\257\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..f90ef91925c1c09ec0ebb20309a71f0826d64682 --- /dev/null +++ "b/air_case/b2_herp3_bs/g2_18\345\256\241\346\211\271\344\270\255\345\277\203_\345\210\227\350\241\250\346\237\245\350\257\242.air/g2_18\345\256\241\346\211\271\344\270\255\345\277\203_\345\210\227\350\241\250\346\237\245\350\257\242.py" @@ -0,0 +1,77 @@ +# -*- encoding=utf8 -*- +import sys + +from airtest.core.helper import using + +from common.dateUtils import dateUtils +from common.db.sql.sql_del_branch_info import delByBranchId +from common.db.sql.sql_del_kind_goodsinfo import delKindGoodsinfo +from common.db.sql.sql_del_notices_info import delByNoticeName +from common.fileUtls import FileUtils +from common.timeUtils import timeUtils + +__author__ = "xiaohesheng" + +""" +case_tag:api,herp-web,g9_2审批中心_列表查询,id2263,id2263-78,sit,on +内网:g9_2审批中心_列表查询 +""" + +from common.common_func import commonFuc +from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_system +module = "b2_herp3_bs" +def test1(): + """ + 场景:g8_8修改产品价格_暂存 + 用例名称:g8_8修改产品价格_暂存 + 输入:无 + 输出:"rtn_msg": {"code": 0, "msg": null, "data": 1} + """ + #内网登录 + username = commonFuc().get_business_data(module, "username") + # # print('医院名称',username) + password = commonFuc().get_business_data(module, "password") + # print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') + # 获取token和projectCode + token,projectCode,uxid,corpId,info= login_system(username, password).get_token() + # print( token,projectCode,uxid,corpId,info) + #g8_8修改产品价格_暂存 + url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "goodsChgMain_insert_url") + + # 获取请求头信息 + headers = commonFuc().get_business_data(module, "json_headers2", + commonFuc().get_business_data(module, "json_contentType"), token, + commonFuc().get_business_data(module, "X-APP-CODE")) + # # 获取hosGoodsId + pro_path = commonFuc().get_pro_path() + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_13添加产品列表_查询.air') + from g8_6添加产品列表_查询 import select1 + hosGoodsId,provGoodsId = select1() + #获取GChid + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_16调价管理列表_查询_暂存状态数据.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_16调价管理列表_查询_暂存状态数据.air') + from g8_9调价管理列表_查询_暂存状态数据 import test1 + GChid,orderNo = test1() + #获取日期 + currentdate=dateUtils().get_current_date() + # print(currentdate) + #请求体 + request_body = commonFuc().get_business_data(module, "payload50_5",hosGoodsId,provGoodsId,currentdate,GChid) + print(request_body) + # # # 发送请求 + result = commonFuc().http_post(url, request_body, headers) + print('resultaaaaaaaaaaaaaaaaaaaaaaaaaaa', result) + #断言 + # checkDict=commonFuc().get_business_data(module,'checkDict10') + # commonFuc().check_result(checkDict,result) + code=commonFuc().analysis_json('code',result) + data=commonFuc().analysis_json('data',result) + checkDict=commonFuc().get_business_data(module,'checkDict10') + if code>=0 : + print(code) + commonFuc().check_text_exist(0, result) + commonFuc().check_result(checkDict,result) + else: + commonFuc().check_text_exist('error', result) +test1() diff --git "a/air_case/b2_herp3_bs/g7_\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.air/g7_\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.py" "b/air_case/b2_herp3_bs/g2_7\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.air/g2_7\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.py" similarity index 100% rename from "air_case/b2_herp3_bs/g7_\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.air/g7_\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.py" rename to "air_case/b2_herp3_bs/g2_7\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.air/g2_7\346\211\271\351\207\217\345\257\274\345\205\245_\346\237\245\350\257\242\344\272\247\345\223\201\344\277\241\346\201\257.py" diff --git "a/air_case/b2_herp3_bs/g8_1\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.air/g8_1\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.py" "b/air_case/b2_herp3_bs/g2_8\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.air/g2_8\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.py" similarity index 81% rename from "air_case/b2_herp3_bs/g8_1\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.air/g8_1\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.py" rename to "air_case/b2_herp3_bs/g2_8\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.air/g2_8\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.py" index cfae02622951b1564a57b4203388980fe9a3aa46..ff64cdf18c0c4e062ac8376c83bbce3b4ca4213d 100644 --- "a/air_case/b2_herp3_bs/g8_1\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.air/g8_1\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.py" +++ "b/air_case/b2_herp3_bs/g2_8\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.air/g2_8\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\255\345\277\203\345\272\223\347\273\223\347\256\227.py" @@ -12,8 +12,8 @@ from common.timeUtils import timeUtils __author__ = "xiaohesheng" """ -case_tag:api,herp-web,g8_批量导入_导入一个产品_中心库结算,id2263,id2263-69,sit,on -内网:g8_批量导入_导入一个产品_中心库结算 +case_tag:api,herp-web,g2_7批量导入_查询产品信息,id2263,id2263-69,sit,on +内网:g2_7批量导入_查询产品信息 """ from common.common_func import commonFuc @@ -21,8 +21,8 @@ from air_case.b1_herp3_login.登录内网系统.登录内网系统 import login_ module = "b2_herp3_bs" def test1(): """ - 场景:g8_批量导入_导入一个产品_中心库结算 - 用例名称:g8_批量导入_导入一个产品_中心库结算 + 场景:g2_7批量导入_查询产品信息 + 用例名称:g2_7批量导入_查询产品信息 输入:无 输出:"rtn_msg": {"code": 0, "msg": null, "data": 1} """ @@ -34,7 +34,7 @@ def test1(): # 获取token和projectCode token,projectCode,uxid,corpId,info= login_system(username, password).get_token() # print( token,projectCode,uxid,corpId,info) - #g8_批量导入_导入一个产品_中心库结算 + #g2_7批量导入_查询产品信息 url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "updateSettleType_url1") # 获取请求头信息 @@ -43,8 +43,8 @@ def test1(): commonFuc().get_business_data(module, "X-APP-CODE")) # # 获取id pro_path = commonFuc().get_pro_path() - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') # from g7_批量导入_查询产品信息 import select1 # id1 = select1() info = FileUtils().r_info6("b2_herp3_bs", "产品信息1",'message2') diff --git "a/air_case/b2_herp3_bs/g8_2\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.air/g8_2\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.py" "b/air_case/b2_herp3_bs/g2_9\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.air/g2_9\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.py" similarity index 93% rename from "air_case/b2_herp3_bs/g8_2\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.air/g8_2\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.py" rename to "air_case/b2_herp3_bs/g2_9\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.air/g2_9\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.py" index 3c243e20e5a99ff59ac1502c64074af0ee669320..696e91c6b4b411e37aea4c7053152b1eadadafcf 100644 --- "a/air_case/b2_herp3_bs/g8_2\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.air/g8_2\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.py" +++ "b/air_case/b2_herp3_bs/g2_9\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.air/g2_9\346\211\271\351\207\217\345\257\274\345\205\245_\345\257\274\345\205\245\344\270\200\344\270\252\344\272\247\345\223\201_\344\270\215\347\273\223\347\256\227.py" @@ -43,8 +43,8 @@ def test1(): commonFuc().get_business_data(module, "X-APP-CODE")) # # 获取id pro_path = commonFuc().get_pro_path() - sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') - using(pro_path + r'\\air_case\\b2_herp3_bs\\g7_批量导入_查询产品信息.air') + sys.path.append(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') + using(pro_path + r'\\air_case\\b2_herp3_bs\\g2_7批量导入_查询产品信息.air') # from g7_批量导入_查询产品信息 import select1 # id1 = select1() info = FileUtils().r_info6("b2_herp3_bs", "产品信息1",'message2')