Commit 19498ec1b80726bf17879956da56499086396e39

Authored by liujiqiang
1 parent a7723037

用例更新

commons/api/entranceFeeBillList/operationDoAmend.py
... ... @@ -163,7 +163,7 @@ def do_doAmend(host="",autocompletecartype=None,fee_str="",**kwargs):
163 163 "driverTel": "", "grossWeightDate": "2021-08-11+17:32:27", "tareWeightDate": "2021-08-11+17:32:27",
164 164 "grossPathName": "", "grossPathId": "", "tarePathId": "", "goodsRemark": "备注", "inGreeterName": "通用测试",
165 165 "inGreeterId": "274", "outGreeterId": "", "sumPrice": "2000", "shipperName": "", "shipperId": "",
166   - "shipperPhone": "", "feeDepId": "0"}
  166 + "shipperPhone": "", "feeDepId": "0","backSkinTwo":"-1"}
167 167  
168 168 data["autocomplete-cartype"] = autocompletecartype
169 169 data = dict(data, **kwargs)
... ... @@ -227,10 +227,11 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费å•å
227 227  
228 228 # 第二ç§å–法
229 229 selectList = orderDetailsSoup.findAll("select")
230   - selectDict = {i.get("name"): a.get("value") for i in selectList for a in i.findAll("option")}
  230 + selectDict = {i.get("name"): [a.get("value"),a.text] for i in selectList for a in i.findAll("option")}
231 231 print("selectDict",selectDict)
232   - tradeTypeId = selectDict["tradeTypeId"]
233   - proveType = selectDict["proveType"]
  232 + tradeTypeId = selectDict["tradeTypeId"][0]
  233 + proveType = selectDict["proveType"][0]
  234 + proveTypeName = selectDict["proveType"][1]
234 235  
235 236 # # 用户信æ¯èŽ·å–
236 237 # res = eFBL.get_icCheck(host=host, ic=ic)
... ... @@ -267,7 +268,7 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费å•å
267 268 productId=productId, originId=originId, tradeTypeId=tradeTypeId, created=created,
268 269 goodsTagIds=goodsTagIds,
269 270 shareRatio=shareRatio, categoryName=categoryName, categoryId=categoryId,
270   - grossWeightDate=grossWeightDate,
  271 + grossWeightDate=grossWeightDate,proveTypeName=proveTypeName,
271 272 tareWeightDate=tareWeightDate, sumPrice=sumPrice, weight=weight,
272 273 inGreeterName=inGreeterName, inGreeterId=inGreeterId)
273 274  
... ...
commons/api/entranceFeeBillList/operationDoCorrect.py
... ... @@ -227,14 +227,15 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
227 227 inGreeterId = orderDetailsDict["inGreeterId"]
228 228 productArea = orderDetailsDict["productArea"]
229 229 productPrice = orderDetailsDict["productPrice"]
230   - proveTypeName = orderDetailsDict["proveTypeName"]
  230 + # proveTypeName = orderDetailsDict["proveTypeName"]
231 231  
232 232 # 第二种取法
233 233 selectList = orderDetailsSoup.findAll("select")
234   - selectDict = {i.get("name"): a.get("value") for i in selectList for a in i.findAll("option")}
  234 + selectDict = {i.get("name"): [a.get("value"),a.text] for i in selectList for a in i.findAll("option")}
235 235 print("selectDict",selectDict)
236   - tradeTypeId = selectDict["tradeTypeId"]
237   - proveType = selectDict["proveType"]
  236 + tradeTypeId = selectDict["tradeTypeId"][0]
  237 + proveType = selectDict["proveType"][0]
  238 + proveTypeName = selectDict["proveType"][1]
238 239  
239 240  
240 241  
... ...
commons/api/sjApi.py
... ... @@ -118,7 +118,7 @@ def create_sj(host=None,carTypeName=None,keyword="蔬菜",userName=None,transact
118 118 cateId = categoryByCondition.json()["data"][0]["id"]
119 119 productId = categoryByCondition.json()["data"][0]["id"]
120 120 productName = categoryByCondition.json()["data"][0]["name"]
121   - productCode = categoryByCondition.json()["data"][0]["keycode"]
  121 + # productCode = categoryByCondition.json()["data"][0]["keycode"]
122 122 print(productName)
123 123 print(productId)
124 124  
... ...
report/test.log
1   -[2021-08-16 18:43:48] [INFO] : ======================================================================================
2   -[2021-08-16 18:43:48] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
3   -{'data': None, 'json': {'userName': 'sy_chen', 'password': 'fTceIxbarsvtN4VRdy1rvXtbyJvpxKpUajPc77uRoWXk4Y83jpPv/k+GBOZcYT6o2YSY3P46pRd2uJB2hIgR48+BBmMkkphNQ/n5Zx4gVt1eh5A3fyN8jzB6Woztpx70wKN8O2iNxoEe+sKXm+so8VYHksTiFr6jp87vCxCDF9g='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
  1 +[2021-08-17 14:36:32] [INFO] : ======================================================================================
  2 +[2021-08-17 14:36:32] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
  3 +{'data': None, 'json': {'userName': 'sy_chen', 'password': 'XtnYwNSS0F+Q5+rI/Jp1LTC1oxKt9Nvt+sy08KKFbhSWuSEe9anGDaYy5eWxbYsZ0mME8rNBhasf7y8A0R1CPE8qxoLDgJCweioxGiikCgwvUiTpRR8eGkokdUH7U0sOPxwlP+jCs1t/t23CIZS7b2ERS2O/imQH0LDecPAvuEI='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
4 4  
5   -[2021-08-16 18:43:48] [INFO] : ======================================================================================
6   -[2021-08-16 18:43:48] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
7   -{'data': None, 'json': {'userName': 'sygangda', 'password': 'b9BAaS8LYw1CoIz/Z/wIHQrlCtQvW0YiyEo1q9MepryrynFpAj1p9N/Nma3SZBxr3hajKJ6Fn3mwg+4mi3hS35S/p2fDRlIescriwAGN0oVAf+1QuATT+yPZV0R+5eiBGy3TuvgENp0HSIZdCtGYL7H0GqUok7bL4y2q+a3Vo+M='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
  5 +[2021-08-17 14:36:33] [INFO] : ======================================================================================
  6 +[2021-08-17 14:36:33] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
  7 +{'data': None, 'json': {'userName': 'sygangda', 'password': 'XB+1mVXUzzAASGy7SWqd5CEFbAyk/diL5qt33jKq6b3sE0RNqfyvg8/oD8qahs37tqeAQ2L/r2oD09IDGVEJjuYaD6pfPWeeo66CEnfaB1XVr2GbM4srVZEMCGN7DwQfr4aVl3vuwy89ZhG5SDDt36sJZaIqI+8SwIFI+OKJI1Q='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
8 8  
9   -[2021-08-16 18:43:48] [INFO] : ======================================================================================
10   -[2021-08-16 18:43:48] [INFO] : http://test.jmsf.diligrp.com:8385/provider/getLookupList.action
11   -{'provider': 'carTypeForJmsfProvider'}
12   -{}
13   -
14   -[2021-08-16 18:43:49] [INFO] : ======================================================================================
15   -[2021-08-16 18:43:49] [INFO] : http://test.jmsf.diligrp.com:8385/provider/getLookupList.action
16   -{'provider': 'categoryProvider'}
17   -{}
18   -
19   -[2021-08-16 18:43:49] [INFO] : ======================================================================================
20   -[2021-08-16 18:43:49] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep
21   -None
22   -{'params': {'keyword': ''}}
23   -
24   -[2021-08-16 18:43:49] [INFO] : ======================================================================================
25   -[2021-08-16 18:43:49] [INFO] : http://test.jmsf.diligrp.com:8385/provider/getLookupList.action
26   -{'provider': 'entranceFeeBillTypeProvider'}
27   -{}
28   -
29   -[2021-08-16 18:43:49] [INFO] : ======================================================================================
30   -[2021-08-16 18:43:49] [INFO] : http://test.jmsf.diligrp.com:8385/provider/getLookupList.action
31   -{'provider': 'entranceFeeBillStateProvider'}
32   -{}
33   -
34   -[2021-08-16 18:43:49] [INFO] : ======================================================================================
35   -[2021-08-16 18:43:49] [INFO] : http://test.jmsf.diligrp.com:8385/provider/getLookupList.action
36   -{'provider': 'tradeTypeProvider'}
37   -{}
38   -
39   -[2021-08-16 18:43:50] [INFO] : ======================================================================================
40   -[2021-08-16 18:43:50] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType
  9 +[2021-08-17 14:36:33] [INFO] : ======================================================================================
  10 +[2021-08-17 14:36:33] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType
41 11 {"businessCode": "jmsf"}
42 12 {}
43 13  
44   -[2021-08-16 18:43:50] [INFO] : ======================================================================================
45   -[2021-08-16 18:43:50] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/cusCategory/getTree
  14 +[2021-08-17 14:36:33] [INFO] : ======================================================================================
  15 +[2021-08-17 14:36:33] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/cusCategory/getTree
46 16 {"marketId": 9, "state": 1, "keyword": "\u96ea\u83b2\u679c"}
47 17 {}
48 18  
49   -[2021-08-16 18:43:50] [INFO] : ======================================================================================
50   -[2021-08-16 18:43:50] [INFO] : http://test.gateway.diligrp.com:8285/dili-uap/userApi/listByExample.api
  19 +[2021-08-17 14:36:33] [INFO] : ======================================================================================
  20 +[2021-08-17 14:36:33] [INFO] : http://test.gateway.diligrp.com:8285/dili-uap/userApi/listByExample.api
51 21 {"firmCode": "sy", "departmentId": 58, "keyword": ""}
52 22 {}
53 23  
54   -[2021-08-16 18:43:50] [INFO] : ======================================================================================
55   -[2021-08-16 18:43:50] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/tradeType/query
  24 +[2021-08-17 14:36:34] [INFO] : ======================================================================================
  25 +[2021-08-17 14:36:34] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/tradeType/query
56 26 {"pageNum": 100, "pageSize": 100, "marketId": 9}
57 27 {}
58 28  
59   -[2021-08-16 18:43:50] [INFO] : ======================================================================================
60   -[2021-08-16 18:43:50] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
  29 +[2021-08-17 14:36:34] [INFO] : ======================================================================================
  30 +[2021-08-17 14:36:34] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
61 31 None
62 32 {'params': {'pid': 'goods_tag'}}
63 33  
64   -[2021-08-16 18:43:51] [INFO] : ======================================================================================
65   -[2021-08-16 18:43:51] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/address
  34 +[2021-08-17 14:36:34] [INFO] : ======================================================================================
  35 +[2021-08-17 14:36:34] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/address
66 36 {"province": "C", "city": null, "area": null}
67 37 {}
68 38  
69   -[2021-08-16 18:43:51] [INFO] : ======================================================================================
70   -[2021-08-16 18:43:51] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep
  39 +[2021-08-17 14:36:34] [INFO] : ======================================================================================
  40 +[2021-08-17 14:36:34] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep
71 41 None
72 42 {'params': {'keyword': ''}}
73 43  
74   -[2021-08-16 18:43:51] [INFO] : ======================================================================================
75   -[2021-08-16 18:43:51] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
  44 +[2021-08-17 14:36:35] [INFO] : ======================================================================================
  45 +[2021-08-17 14:36:35] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
76 46 None
77 47 {'params': {'pid': 'prove_type'}}
78 48  
79   -[2021-08-16 18:43:52] [INFO] : ======================================================================================
80   -[2021-08-16 18:43:52] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action
  49 +[2021-08-17 14:36:35] [INFO] : ======================================================================================
  50 +[2021-08-17 14:36:35] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action
81 51 None
82 52 {}
83 53  
84   -[2021-08-16 18:43:52] [INFO] : ======================================================================================
85   -[2021-08-16 18:43:52] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/wholeCarWeighSave
86   -{"carTypeCode": "003", "carTypeId": 53, "carTypeName": "\u677f\u8f66", "carTypeWeight": 333, "plate": "\u5dddA99493", "inGreeterId": 223, "inGreeterName": "\u6d4b\u8bd5\u6c88\u9633", "productId": 2182, "productName": "\u96ea\u83b2\u679c", "proveTypeCode": 665, "proveTypeName": "\u98df\u54c1\u5b89\u5168", "weighRemark": "\u5907\u6ce8", "weighmanRecord": {"grossWeight": 432, "grossWeightDate": "2021-08-16 18:43:52", "newWeight": 99, "tareWeight": 333, "tareWeightDate": null, "weighImgs": []}, "productCode": null, "trailerNumber": "\u5dddA99493", "pathAddress": "A4-BB-6D-0A-F4-13", "haveTruckWeight": false, "source": 4, "entryPlateInputType": 1, "dep": 58, "depName": "\u6c34\u679c\u90e8", "cateId": 2182, "notice": 0, "backSkinTwo": -1, "recordOriginId": 0, "recordOriginName": null, "recordProductId": 0, "recordProductName": null, "recordWeight": null, "codeIc": null, "codeId": 0, "difference": 0, "bindRecordSign": 0, "recordDesc": null, "hasCodeItems": false, "customerId": 0, "customerName": "", "driverIc": null, "driverName": null, "totalPrice": null, "originId": 500101, "origin": "\u4e07\u5dde\u533a", "originCode": "023", "tradeType": "9001", "tradeTypeName": "\u6c88\u96331\u53f7", "weight": 2.0, "pwd": "", "type": 1, "ic": "", "boothNumber": "210728154359", "productState": "1", "accountId": 0, "passCheckId": 0, "passCheckName": null, "tradeTypeId": 70, "id": 0, "protocolId": null, "goodsTagId": 663}
  54 +[2021-08-17 14:36:35] [INFO] : ======================================================================================
  55 +[2021-08-17 14:36:35] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/wholeCarWeighSave
  56 +{"carTypeCode": "003", "carTypeId": 53, "carTypeName": "\u677f\u8f66", "carTypeWeight": 333, "plate": "\u5dddA75386", "inGreeterId": 223, "inGreeterName": "\u6d4b\u8bd5\u6c88\u9633", "productId": 2182, "productName": "\u96ea\u83b2\u679c", "proveTypeCode": 665, "proveTypeName": "\u98df\u54c1\u5b89\u5168", "weighRemark": "\u5907\u6ce8", "weighmanRecord": {"grossWeight": 432, "grossWeightDate": "2021-08-17 14:36:35", "newWeight": 99, "tareWeight": 333, "tareWeightDate": null, "weighImgs": []}, "productCode": null, "trailerNumber": "\u5dddA75386", "pathAddress": "A4-BB-6D-0A-F4-13", "haveTruckWeight": false, "source": 4, "entryPlateInputType": 1, "dep": 58, "depName": "\u6c34\u679c\u90e8", "cateId": 2182, "notice": 0, "backSkinTwo": -1, "recordOriginId": 0, "recordOriginName": null, "recordProductId": 0, "recordProductName": null, "recordWeight": null, "codeIc": null, "codeId": 0, "difference": 0, "bindRecordSign": 0, "recordDesc": null, "hasCodeItems": false, "customerId": 0, "customerName": "", "driverIc": null, "driverName": null, "totalPrice": null, "originId": 500101, "origin": "\u4e07\u5dde\u533a", "originCode": "023", "tradeType": "9001", "tradeTypeName": "\u6c88\u96331\u53f7", "weight": 2.0, "pwd": "", "type": 1, "ic": "", "boothNumber": "210728154359", "productState": "1", "accountId": 0, "passCheckId": 0, "passCheckName": null, "tradeTypeId": 70, "id": 0, "protocolId": null, "goodsTagId": 663}
87 57 {}
88 58  
89   -[2021-08-16 18:43:53] [INFO] : ======================================================================================
90   -[2021-08-16 18:43:53] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action
91   -{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108160900091'}
  59 +[2021-08-17 14:36:36] [INFO] : ======================================================================================
  60 +[2021-08-17 14:36:36] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action
  61 +{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108170900027'}
92 62 {}
93 63  
94   -[2021-08-16 18:43:53] [INFO] : ======================================================================================
95   -[2021-08-16 18:43:53] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/pay/4315.action
  64 +[2021-08-17 14:36:36] [INFO] : ======================================================================================
  65 +[2021-08-17 14:36:36] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/pay/4343.action
96 66 None
97 67 {}
98 68  
99   -[2021-08-16 18:43:54] [INFO] : ======================================================================================
100   -[2021-08-16 18:43:54] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426
  69 +[2021-08-17 14:36:38] [INFO] : ======================================================================================
  70 +[2021-08-17 14:36:38] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426
101 71 None
102 72 {}
103 73  
104   -[2021-08-16 18:43:55] [INFO] : ======================================================================================
105   -[2021-08-16 18:43:55] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州
  74 +[2021-08-17 14:36:39] [INFO] : ======================================================================================
  75 +[2021-08-17 14:36:39] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州
106 76 None
107 77 {}
108 78  
109   -[2021-08-16 18:43:55] [INFO] : ======================================================================================
110   -[2021-08-16 18:43:55] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action
111   -{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'pay', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 4315, 'goodsId': '4329', 'number': '202108160900091', 'modified': '2021-08-16 18:43:55', 'status': '2', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川A99493', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '665', 'grossWeight': '432', 'tareWeight': '333', 'weight': '99', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '水果部', 'calcDepId': '58', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '2182', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '70', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-16 18:43:53', 'remark': 'false', 'goodsTagIds': '663', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '1616', 'driverTel': '', 'grossWeightDate': '2021-08-16 18:43:52', 'tareWeightDate': '2021-08-16 18:43:52', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '测试沈阳', 'inGreeterId': '223', 'outGreeterId': '', 'sumPrice': '9900', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''}
  79 +[2021-08-17 14:36:39] [INFO] : ======================================================================================
  80 +[2021-08-17 14:36:39] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action
  81 +{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'pay', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 4343, 'goodsId': '4357', 'number': '202108170900027', 'modified': '2021-08-17 14:36:39', 'status': '2', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川A75386', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '665', 'grossWeight': '432', 'tareWeight': '333', 'weight': '99', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '水果部', 'calcDepId': '58', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '2182', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '70', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-17 14:36:37', 'remark': 'false', 'goodsTagIds': '663', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '1616', 'driverTel': '', 'grossWeightDate': '2021-08-17 14:36:36', 'tareWeightDate': '2021-08-17 14:36:36', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '测试沈阳', 'inGreeterId': '223', 'outGreeterId': '', 'sumPrice': '9900', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''}
112 82 {}
113 83  
114   -[2021-08-16 18:43:56] [INFO] : ======================================================================================
115   -[2021-08-16 18:43:56] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doPay.action
116   -protocolId=&pwd=111111&clientRedirectTag=&viewType=pay&optType=0&optUrl=&correctInfo=1&weightType=1&id=4315&goodsId=4329&number=202108160900091&modified=2021-08-16%2018%3A43%3A53&status=2&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DA99493&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=665&grossWeight=432&tareWeight=333&weight=99&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%B0%B4%E6%9E%9C%E9%83%A8&calcDepId=58&dep=58&regionName=&regionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=2182&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&parentId=&levelType=&originId=500101&tradeTypeId=70&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-16%2018%3A43%3A53&remark=&goodsTagIds=663&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&shareRatio=0&handlingTeam=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=53&driverTel=&grossWeightDate=2021-08-16%2018%3A43%3A52&tareWeightDate=2021-08-16%2018%3A43%3A52&grossPathName=&grossPathId=&tarePathId=&goodsRemark=&inGreeterName=&inGreeterId=0&outGreeterId=&sumPrice=9900&shipperName=&shipperId=&shipperPhone=&feeDepName=&calcFeeDepId=&feeDepId=&accountId=105847&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A0%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D
  84 +[2021-08-17 14:36:40] [INFO] : ======================================================================================
  85 +[2021-08-17 14:36:40] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doPay.action
  86 +protocolId=&pwd=111111&clientRedirectTag=&viewType=pay&optType=0&optUrl=&correctInfo=1&weightType=1&id=4343&goodsId=4357&number=202108170900027&modified=2021-08-17%2014%3A36%3A37&status=2&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DA75386&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=665&grossWeight=432&tareWeight=333&weight=99&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%B0%B4%E6%9E%9C%E9%83%A8&calcDepId=58&dep=58&regionName=&regionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=2182&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&parentId=&levelType=&originId=500101&tradeTypeId=70&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-17%2014%3A36%3A37&remark=&goodsTagIds=663&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&shareRatio=0&handlingTeam=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=53&driverTel=&grossWeightDate=2021-08-17%2014%3A36%3A36&tareWeightDate=2021-08-17%2014%3A36%3A36&grossPathName=&grossPathId=&tarePathId=&goodsRemark=&inGreeterName=&inGreeterId=0&outGreeterId=&sumPrice=9900&shipperName=&shipperId=&shipperPhone=&feeDepName=&calcFeeDepId=&feeDepId=&accountId=105847&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A0%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D
117 87 {}
118 88  
119   -[2021-08-16 18:44:04] [INFO] : ======================================================================================
120   -[2021-08-16 18:44:04] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action
121   -{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108160900091'}
  89 +[2021-08-17 14:36:50] [INFO] : ======================================================================================
  90 +[2021-08-17 14:36:50] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action
  91 +{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108170900027'}
122 92 {}
123 93  
124   -[2021-08-16 18:44:04] [INFO] : ======================================================================================
125   -[2021-08-16 18:44:04] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/refund/4315.action
  94 +[2021-08-17 14:36:51] [INFO] : ======================================================================================
  95 +[2021-08-17 14:36:51] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/refund/4343.action
126 96 None
127 97 {}
128 98  
129   -[2021-08-16 18:44:06] [INFO] : ======================================================================================
130   -[2021-08-16 18:44:06] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426
  99 +[2021-08-17 14:36:52] [INFO] : ======================================================================================
  100 +[2021-08-17 14:36:52] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426
131 101 None
132 102 {}
133 103  
134   -[2021-08-16 18:44:07] [INFO] : ======================================================================================
135   -[2021-08-16 18:44:07] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州
  104 +[2021-08-17 14:36:53] [INFO] : ======================================================================================
  105 +[2021-08-17 14:36:53] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州
136 106 None
137 107 {}
138 108  
139   -[2021-08-16 18:44:07] [INFO] : ======================================================================================
140   -[2021-08-16 18:44:07] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action
141   -{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'refund', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 4315, 'goodsId': '4329', 'number': '202108160900091', 'modified': '2021-08-16 18:43:57', 'status': '4', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川A99493', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '665', 'grossWeight': '432', 'tareWeight': '333', 'weight': '99', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '水果部', 'calcDepId': '', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '2182', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '70', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-16 18:43:53', 'remark': 'false', 'goodsTagIds': '663', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '1616', 'driverTel': '', 'grossWeightDate': '2021-08-16 18:43:52', 'tareWeightDate': '2021-08-16 18:43:52', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '测试沈阳', 'inGreeterId': '223', 'outGreeterId': '', 'sumPrice': '9900', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''}
142   -{}
143   -
144   -[2021-08-16 18:44:07] [INFO] : ======================================================================================
145   -[2021-08-16 18:44:07] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doUndo.action
146   -protocolId=&pwd=&clientRedirectTag=&viewType=refund&optType=0&optUrl=&correctInfo=1&weightType=1&id=4315&goodsId=4329&number=202108160900091&modified=2021-08-16%2018%3A43%3A57&status=4&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&accountId=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DA99493&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=665&grossWeight=432&tareWeight=333&weight=99&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%B0%B4%E6%9E%9C%E9%83%A8&dep=58&regionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=2182&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&originId=500101&tradeTypeId=70&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-16%2018%3A43%3A53&remark=&goodsTagIds=663&shareRatio=0&handlingTeam=&steveTeamId=&handlingRatio=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=1616&driverTel=&grossWeightDate=2021-08-16%2018%3A43%3A52&tareWeightDate=2021-08-16%2018%3A43%3A52&grossPathName=&grossPathId=&tarePathId=&goodsRemark=%E5%A4%87%E6%B3%A8&inGreeterName=%E9%80%9A%E7%94%A8%E6%B5%8B%E8%AF%95&inGreeterId=274&outGreeterId=&sumPrice=9900&shipperName=&shipperId=&shipperPhone=&feeDepId=0&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A1%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D
  109 +[2021-08-17 14:36:53] [INFO] : ======================================================================================
  110 +[2021-08-17 14:36:53] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action
  111 +{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'refund', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 4343, 'goodsId': '4357', 'number': '202108170900027', 'modified': '2021-08-17 14:36:41', 'status': '4', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川A75386', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '665', 'grossWeight': '432', 'tareWeight': '333', 'weight': '99', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '水果部', 'calcDepId': '', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '2182', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '70', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-17 14:36:37', 'remark': 'false', 'goodsTagIds': '663', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '1616', 'driverTel': '', 'grossWeightDate': '2021-08-17 14:36:36', 'tareWeightDate': '2021-08-17 14:36:36', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '测试沈阳', 'inGreeterId': '223', 'outGreeterId': '', 'sumPrice': '9900', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''}
147 112 {}
148 113  
149   -[2021-08-16 18:44:10] [INFO] : ======================================================================================
150   -[2021-08-16 18:44:10] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action
151   -{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'startRefundTime': datetime.datetime(2021, 8, 16, 18, 44, 9), 'endRefundTime': datetime.datetime(2021, 8, 16, 18, 44, 9)}
  114 +[2021-08-17 14:36:53] [INFO] : ======================================================================================
  115 +[2021-08-17 14:36:53] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doUndo.action
  116 +protocolId=&pwd=&clientRedirectTag=&viewType=refund&optType=0&optUrl=&correctInfo=1&weightType=1&id=4343&goodsId=4357&number=202108170900027&modified=2021-08-17%2014%3A36%3A41&status=4&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&accountId=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DA75386&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=665&grossWeight=432&tareWeight=333&weight=99&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%B0%B4%E6%9E%9C%E9%83%A8&dep=58&regionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=2182&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&originId=500101&tradeTypeId=70&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-17%2014%3A36%3A37&remark=&goodsTagIds=663&shareRatio=0&handlingTeam=&steveTeamId=&handlingRatio=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=1616&driverTel=&grossWeightDate=2021-08-17%2014%3A36%3A36&tareWeightDate=2021-08-17%2014%3A36%3A36&grossPathName=&grossPathId=&tarePathId=&goodsRemark=%E5%A4%87%E6%B3%A8&inGreeterName=%E9%80%9A%E7%94%A8%E6%B5%8B%E8%AF%95&inGreeterId=274&outGreeterId=&sumPrice=9900&shipperName=&shipperId=&shipperPhone=&feeDepId=0&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A1%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D
152 117 {}
153 118  
... ...
testcase/test_ZC/demo.py
... ... @@ -14,38 +14,41 @@ import random
14 14 # a = ["protocolId","pwd","clientRedirectTag","viewType","optType","optUrl","correctInfo","weightType","id","goodsId","number","modified","status","source","updateFeeItems","correctDiscount","totalAmount","customerId","fundAccount","accountId","ic","customerName","customerPhone","payway","plate","autocomplete-cartype","carTypeName","carTypeCode","carTypeId","carTypeWeight","storeTareWeight","proveType","grossWeight","tareWeight","weight","goodsNum","itemWeight","productPrice","unitPrice","depName","dep","regionId","productName","productId","productArea","originId","tradeTypeId","chargeTotalAmount","chargeTotalAmountYuan","freezeMoneySymbol","comparisonFreezeAmount","created","remark","goodsTagIds","shareRatio","handlingTeam","steveTeamId","handlingRatio","handActualAmount","handManageAmount","handCollectionAmount","marketFlag","totalMoney","receivable","collectionPrice","discountAmount","handReceivableAmount","itemReceivableAmount","correctDiscount","billItems","billItemsDic","billItemCheckIds","103","billItems","billItemDicCheckIds","billItemsDic","billItemCheckIds","106","billItems","receivableAmount","categoryName","categoryId","driverTel","grossWeightDate","tareWeightDate","grossPathName","grossPathId","tarePathId","goodsRemark","inGreeterName","inGreeterId","outGreeterId","sumPrice","shipperName","shipperId","shipperPhone","feeDepId"]
15 15 # b = ["protocolId","pwd","clientRedirectTag","viewType","optType","optUrl","correctInfo","weightType","id","goodsId","number","modified","status","source","updateFeeItems","correctDiscount","totalAmount","customerId","fundAccount","accountId","ic","customerName","customerPhone","payway","plate","autocomplete-cartype","carTypeName","carTypeCode","carTypeId","carTypeWeight","storeTareWeight","proveType","grossWeight","tareWeight","weight","goodsNum","itemWeight","productPrice","unitPrice","depName","calcDepId","dep","regionName","regionId","productName","productId","productArea","parentId","levelType","originId","tradeTypeId","chargeTotalAmount","chargeTotalAmountYuan","freezeMoneySymbol","comparisonFreezeAmount","created","remark","goodsTagIds","shareRatio","handlingTeam","handActualAmount","handManageAmount","handCollectionAmount","marketFlag","totalMoney","receivable","collectionPrice","discountAmount","handReceivableAmount","itemReceivableAmount","correctDiscount","billItems","billItemsDic","billItemCheckIds","103","billItems","billItemDicCheckIds","billItemsDic","billItemCheckIds","106","billItems","receivableAmount","categoryName","categoryId","driverTel","grossWeightDate","tareWeightDate","grossPathName","grossPathId","tarePathId","goodsRemark","inGreeterName","inGreeterId","outGreeterId","sumPrice","shipperName","shipperId","shipperPhone","feeDepName","calcFeeDepId","feeDepId"]
16 16  
  17 +"""
  18 +# a系统
  19 +a = ["protocolId","pwd","clientRedirectTag","viewType","optType","optUrl","correctInfo","weightType","id","goodsId","number","modified","status","source","updateFeeItems","correctDiscount","totalAmount","customerId","fundAccount","accountId","ic","customerName","customerPhone","payway","plate","autocomplete-cartype","carTypeName","carTypeCode","carTypeId","carTypeWeight","storeTareWeight","proveTypeName","proveType","grossWeight","tareWeight","weight","goodsNum","itemWeight","productPrice","unitPrice","depName","dep","regionId","productName","productId","productArea","originId","tradeTypeId","chargeTotalAmount","chargeTotalAmountYuan","freezeMoneySymbol","comparisonFreezeAmount","created","backSkinTwo","remark","goodsTagIds","shareRatio","handlingTeam","steveTeamId","handlingRatio","handActualAmount","handManageAmount","handCollectionAmount","marketFlag","totalMoney","receivable","collectionPrice","discountAmount","handReceivableAmount","itemReceivableAmount","correctDiscount","billItems","billItemsDic","billItemCheckIds","103","billItems","billItemDicCheckIds","billItemsDic","billItemCheckIds","106","billItems","receivableAmount","categoryName","categoryId","driverTel","grossWeightDate","tareWeightDate","grossPathName","grossPathId","tarePathId","bskinWithGoods","goodsRemark","inGreeterName","inGreeterId","outGreeterName","outGreeterId","sumPrice","shipperName","shipperId","shipperPhone","feeDepName","calcFeeDepId","feeDepId"]
  20 +# b自己
  21 +b = ["protocolId","pwd","clientRedirectTag","viewType","optType","optUrl","correctInfo","weightType","id","goodsId","number","modified","status","source","updateFeeItems","correctDiscount","totalAmount","customerId","fundAccount","accountId","ic","customerName","customerPhone","payway","plate","autocomplete-cartype","carTypeName","carTypeCode","carTypeId","carTypeWeight","storeTareWeight","grossWeight","tareWeight","weight","goodsNum","itemWeight","productPrice","unitPrice","depName","dep","regionId","productName","productId","productArea","originId","chargeTotalAmount","chargeTotalAmountYuan","freezeMoneySymbol","comparisonFreezeAmount","created","remark","goodsTagIds","shareRatio","handlingTeam","steveTeamId","handlingRatio","handActualAmount","handManageAmount","handCollectionAmount","marketFlag","totalMoney","receivable","collectionPrice","discountAmount","handReceivableAmount","itemReceivableAmount","receivableAmount","categoryName","categoryId","driverTel","grossWeightDate","tareWeightDate","grossPathName","grossPathId","tarePathId","goodsRemark","inGreeterName","inGreeterId","outGreeterId","sumPrice","shipperName","shipperId","shipperPhone","feeDepId","correctDiscount","billItems","billItemsDic","billItemCheckIds","103","billItems","billItemDicCheckIds","billItemsDic","billItemCheckIds","106","billItems"]
  22 +
  23 +c = list(set(a)^set(b))
  24 +# print(c)
  25 +
  26 +aa = []
  27 +bb = []
  28 +
  29 +for i in c:
  30 + if i not in a:
  31 + aa.append(i)
  32 + if i not in b:
  33 + bb.append(i)
  34 +
  35 +print(aa)
  36 +print(bb)
  37 +"""
  38 +
  39 +from bs4 import BeautifulSoup
  40 +import random
17 41  
18   -# # a系统
19   -# a =["protocolId","pwd","clientRedirectTag","viewType","optType","optUrl","correctInfo","weightType","id","goodsId","number","modified","status","source","updateFeeItems","correctDiscount","totalAmount","customerId","fundAccount","accountId","ic","customerName","customerPhone","payway","plate","autocomplete-cartype","carTypeName","carTypeCode","carTypeId","carTypeWeight","storeTareWeight","proveTypeName","proveType","grossWeight","tareWeight","weight","goodsNum","itemWeight","productPrice","unitPrice","depName","dep","regionId","productName","productId","productArea","originId","tradeTypeId","chargeTotalAmount","chargeTotalAmountYuan","freezeMoneySymbol","comparisonFreezeAmount","created","backSkinTwo","remark","goodsTagIds","shareRatio","handlingTeam","steveTeamId","handlingRatio","handActualAmount","handManageAmount","handCollectionAmount","marketFlag","totalMoney","receivable","collectionPrice","discountAmount","handReceivableAmount","itemReceivableAmount","correctDiscount","billItems","billItemsDic","billItemCheckIds","103","billItems","billItemDicCheckIds","billItemsDic","billItemCheckIds","106","billItems","receivableAmount","categoryName","categoryId","driverTel","grossWeightDate","tareWeightDate","grossPathName","grossPathId","tarePathId","bskinWithGoods","goodsRemark","inGreeterName","inGreeterId","outGreeterName","outGreeterId","sumPrice","shipperName","shipperId","shipperPhone","feeDepName","calcFeeDepId","feeDepId"]
20   -# # b自己
21   -# b = ["protocolId","pwd","clientRedirectTag","viewType","optType","optUrl","correctInfo","weightType","id","goodsId","number","modified","status","source","updateFeeItems","correctDiscount","totalAmount","customerId","fundAccount","accountId","ic","customerName","customerPhone","payway","plate","autocomplete-cartype","carTypeName","carTypeCode","carTypeId","carTypeWeight","storeTareWeight","proveType","grossWeight","tareWeight","weight","goodsNum","itemWeight","productPrice","unitPrice","depName","dep","regionId","productName","productId","productArea","originId","tradeTypeId","chargeTotalAmount","chargeTotalAmountYuan","freezeMoneySymbol","comparisonFreezeAmount","created","remark","goodsTagIds","shareRatio","handlingTeam","steveTeamId","handlingRatio","handActualAmount","handManageAmount","handCollectionAmount","marketFlag","totalMoney","receivable","collectionPrice","discountAmount","handReceivableAmount","itemReceivableAmount","receivableAmount","categoryName","categoryId","driverTel","grossWeightDate","tareWeightDate","grossPathName","grossPathId","tarePathId","goodsRemark","inGreeterName","inGreeterId","outGreeterId","sumPrice","shipperName","shipperId","shipperPhone","feeDepId","correctDiscount","billItems","billItemsDic","billItemCheckIds","103","billItems","billItemDicCheckIds","billItemsDic","billItemCheckIds","106","billItems"]
22   -# c = list(set(a)^set(b))
23   -# # print(c)
24   -#
25   -# aa = []
26   -# bb = []
27   -#
28   -# for i in c:
29   -# if i not in a:
30   -# aa.append(i)
31   -# if i not in b:
32   -# bb.append(i)
33   -#
34   -# print(aa)
35   -# print(bb)
36   -
37   -
38   -def something(numA=None,*numB,**data):
39   - print(numA)
40   - print(numB)
41   - print(data)
42   - # print(numC)
43   -
44   -something(1,1,2,3,numC="4",e="5")
45   -
46   -def do(a=None,b=None):
47   - print(a)
48   - print(b)
49   -
50   -num = {"a":"b"}
51   -do(num)
52 42 \ No newline at end of file
  43 +with open("demo_a.html",encoding="utf-8") as com:
  44 + data = com.read()
  45 +
  46 +orderDetailsSoup = BeautifulSoup(data, "html.parser")
  47 +selectList = orderDetailsSoup.findAll("select")
  48 +print(selectList)
  49 +selectDict = {}
  50 +for i in selectList:
  51 + for a in i.findAll("option"):
  52 + if a.get("selected") == "selected":
  53 + selectDict[i.get("name")]=[a.get("value"),a.text]
  54 + # print(i.text)
  55 +print(selectDict)
53 56 \ No newline at end of file
... ...
testcase/test_listPage/test_listPageOperation.py
... ... @@ -129,12 +129,12 @@ class test_listPage(unittest.TestCase):
129 129 print(cre_res.json())
130 130 number = cre_res.json()["data"]["number"]
131 131 res_unfreezeOrder,totalAmount = oDC.do_correctOrder(host=self.jmsfHost,attrValue=number)
132   - assert res_unfreezeOrder.json()["success"]==True,"作废测试失败"
133   - assert res_unfreezeOrder.json()["msg"] == "操作成功", "作废测试失败"
  132 + assert res_unfreezeOrder.json()["success"]==True,"更正测试失败"
  133 + assert res_unfreezeOrder.json()["msg"] == "操作成功", "更正测试失败"
134 134 resListPage = eFBL.listPage(host=self.jmsfHost,attrValue=number)
135 135 print(resListPage.json())
136 136 assert resListPage.json()["rows"][0]["number"] == number,"按照收费单号查询失败"
137   - assert resListPage.json()["rows"][0]["$_totalPrice"] == totalAmount,"按照收费单号查询失败"
  137 + assert resListPage.json()["rows"][0]["$_totalPrice"] == totalAmount,"更正后订单界错误与预期金额不一致"
138 138  
139 139 def test_amendOrder(self):
140 140 """进门单列表-操作:整车进门修正测试"""
... ... @@ -143,11 +143,11 @@ class test_listPage(unittest.TestCase):
143 143 print(cre_res.json())
144 144 number = cre_res.json()["data"]["number"]
145 145 res_unfreezeOrder = oDA.do_amendOrder(host=self.jmsfHost,attrValue=number)
146   - assert res_unfreezeOrder.json()["success"]==True,"更正操作失败"
147   - assert res_unfreezeOrder.json()["message"] == "操作成功", "更正操作失败"
  146 + assert res_unfreezeOrder.json()["success"]==True,"修正操作失败"
  147 + assert res_unfreezeOrder.json()["message"] == "操作成功", "修正操作失败"
148 148  
149 149 def test_undoOrder(self):
150   - """进门单列表-操作:整车进门交费测试"""
  150 + """进门单列表-操作:整车进门退款测试"""
151 151 plate = f"川A{random.randint(10000,99999)}"
152 152 goods = "雪莲果"
153 153 cre_res = zcA.create_jmsf(host=self.gatewayHost,plate=plate,keyword=goods)
... ... @@ -155,4 +155,4 @@ class test_listPage(unittest.TestCase):
155 155 res_pay = eFBL.do_payOrder(host=self.jmsfHost,attrValue=number)
156 156 res_undo = oDU.do_undoOrder(host=self.jmsfHost,attrValue=number)
157 157 assert res_undo.json()["code"] == "200","退款失败"
158   - assert res_undo.json()["message"] = "OK","退款失败"
159 158 \ No newline at end of file
  159 + assert res_undo.json()["message"] == "OK","退款失败"
160 160 \ No newline at end of file
... ...