Commit 031b471226fc4c810bea57b76339a1d77c860964

Authored by liujiqiang
1 parent e37539e6

进门单操作验证

commons/api/entranceFeeBillList/operationDoAmend.py
@@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs): @@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs):
113 url = host + "/calculate/index.action" 113 url = host + "/calculate/index.action"
114 headers = dct.urlCode() 114 headers = dct.urlCode()
115 115
116 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "pay", "optType": "optType", "optUrl": "", 116 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "amend", "optType": "optType", "optUrl": "",
117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId", 117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId",
118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "", 118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "",
119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "", 119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "",
@@ -144,10 +144,9 @@ def do_doAmend(host="",autocompletecartype=None,fee_str="",**kwargs): @@ -144,10 +144,9 @@ def do_doAmend(host="",autocompletecartype=None,fee_str="",**kwargs):
144 url = host + "/entranceFeeBill/doAmend.action" 144 url = host + "/entranceFeeBill/doAmend.action"
145 headers = dct.urlCode() 145 headers = dct.urlCode()
146 146
147 - # data = {"protocolId":"","pwd":"","clientRedirectTag":"","viewType":"unfreeze","optType":"0","optUrl":"","correctInfo":"1","weightType":"1","id":"3968","goodsId":"3982","number":"202108110900122","modified":"2021-08-11+17:32:50","status":"3","source":"1","updateFeeItems":"","correctDiscount":"1","totalAmount":"800","customerId":"389","fundAccount":"105847","accountId":"105847","ic":"888810032426","customerName":"长歌买家省内啊啊啊嘿","customerPhone":"18011501258","payway":"刷卡","plate":"川B00001","autocomplete-cartype":"003(板车)","carTypeName":"板车","carTypeCode":"003","carTypeId":"53","carTypeWeight":"333","storeTareWeight":"","proveType":"1621","grossWeight":"353","tareWeight":"333","weight":"20","goodsNum":"","itemWeight":"","productPrice":"1.00000","unitPrice":"100.0","depName":"水果部","dep":"58","regionId":"72","productName":"雪莲果","productId":"14158","productArea":"重庆,重庆市,万州区","originId":"500101","tradeTypeId":"71","chargeTotalAmount":"800","chargeTotalAmountYuan":"8","freezeMoneySymbol":"13","comparisonFreezeAmount":"13","created":"2021-08-11+17:32:27","remark":"备注","goodsTagIds":"1900","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":"水果","categoryId":"14436","driverTel":"","grossWeightDate":"2021-08-11+17:32:27","tareWeightDate":"2021-08-11+17:32:27","grossPathName":"","grossPathId":"","tarePathId":"","goodsRemark":"备注","inGreeterName":"通用测试","inGreeterId":"274","outGreeterId":"","sumPrice":"2000","shipperName":"","shipperId":"","shipperPhone":"","feeDepId":"0"}  
148 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "unfreeze", "optType": "0", "optUrl": "", 147 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "amend", "optType": "0", "optUrl": "",
149 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122", 148 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122",
150 - "modified": "2021-08-11+17:32:50", "status": "3", "source": "1", "updateFeeItems": "", 149 + "modified": "2021-08-11+17:32:50", "status": "3", "source": "1", "updateFeeItems": "2",
151 "correctDiscount": "1", "totalAmount": "800", "customerId": "389", "fundAccount": "105847", 150 "correctDiscount": "1", "totalAmount": "800", "customerId": "389", "fundAccount": "105847",
152 "accountId": "105847", "ic": "888810032426", "customerName": "长歌买家省内啊啊啊嘿", "customerPhone": "18011501258", 151 "accountId": "105847", "ic": "888810032426", "customerName": "长歌买家省内啊啊啊嘿", "customerPhone": "18011501258",
153 "payway": "刷卡", "plate": "川B00001", "autocomplete-cartype": "003(板车)", "carTypeName": "板车", 152 "payway": "刷卡", "plate": "川B00001", "autocomplete-cartype": "003(板车)", "carTypeName": "板车",
@@ -184,7 +183,7 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -184,7 +183,7 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
184 183
185 # # 订单详情获取 184 # # 订单详情获取
186 resOrderDetails = get_orderAmend(host=host, orderId=orderId) 185 resOrderDetails = get_orderAmend(host=host, orderId=orderId)
187 - print(resOrderDetails.text) 186 + # print(resOrderDetails.text)
188 187
189 # bs取值 188 # bs取值
190 orderDetailsSoup = BeautifulSoup(resOrderDetails.text, "html.parser") 189 orderDetailsSoup = BeautifulSoup(resOrderDetails.text, "html.parser")
@@ -192,7 +191,7 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -192,7 +191,7 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
192 # 第一种取值 191 # 第一种取值
193 orderDetailsList = orderDetailsSoup.findAll("input") 192 orderDetailsList = orderDetailsSoup.findAll("input")
194 orderDetailsDict = {i.get("name"): i.get("value") for i in orderDetailsList} 193 orderDetailsDict = {i.get("name"): i.get("value") for i in orderDetailsList}
195 - print("orderDetailsDict",orderDetailsDict) 194 + # print("orderDetailsDict",orderDetailsDict)
196 unitPrice = orderDetailsDict["unitPrice"] 195 unitPrice = orderDetailsDict["unitPrice"]
197 regionId=orderDetailsDict["regionId"] 196 regionId=orderDetailsDict["regionId"]
198 goodsId = orderDetailsDict["goodsId"] 197 goodsId = orderDetailsDict["goodsId"]
@@ -248,12 +247,12 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -248,12 +247,12 @@ def do_amendOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
248 247
249 # 省市区获取 248 # 省市区获取
250 res = eFBL.get_city(host=host, name="万州") 249 res = eFBL.get_city(host=host, name="万州")
251 - print(res.text) 250 + # print(res.text)
252 originId = res.json()["suggestions"][0]["id"] 251 originId = res.json()["suggestions"][0]["id"]
253 252
254 # # 获取缴费金额 253 # # 获取缴费金额
255 autocompletecartype = f"{carTypeCode}({carTypeName})" 254 autocompletecartype = f"{carTypeCode}({carTypeName})"
256 - print(autocompletecartype) 255 + # print(autocompletecartype)
257 modified = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) 256 modified = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
258 257
259 # 获取缴费金额 258 # 获取缴费金额
commons/api/entranceFeeBillList/operationDoCorrect.py
@@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs): @@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs):
113 url = host + "/calculate/index.action" 113 url = host + "/calculate/index.action"
114 headers = dct.urlCode() 114 headers = dct.urlCode()
115 115
116 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "pay", "optType": "optType", "optUrl": "", 116 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "correct", "optType": "optType", "optUrl": "",
117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId", 117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId",
118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "", 118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "",
119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "", 119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "",
@@ -145,10 +145,10 @@ def do_doCorrect(host="",autocompletecartype=None,fee_str="",**kwargs): @@ -145,10 +145,10 @@ def do_doCorrect(host="",autocompletecartype=None,fee_str="",**kwargs):
145 headers = dct.urlCode() 145 headers = dct.urlCode()
146 146
147 # data = {"protocolId":"","pwd":"","clientRedirectTag":"","viewType":"unfreeze","optType":"0","optUrl":"","correctInfo":"1","weightType":"1","id":"3968","goodsId":"3982","number":"202108110900122","modified":"2021-08-11+17:32:50","status":"3","source":"1","updateFeeItems":"","correctDiscount":"1","totalAmount":"800","customerId":"389","fundAccount":"105847","accountId":"105847","ic":"888810032426","customerName":"长歌买家省内啊啊啊嘿","customerPhone":"18011501258","payway":"刷卡","plate":"川B00001","autocomplete-cartype":"003(板车)","carTypeName":"板车","carTypeCode":"003","carTypeId":"53","carTypeWeight":"333","storeTareWeight":"","proveType":"1621","grossWeight":"353","tareWeight":"333","weight":"20","goodsNum":"","itemWeight":"","productPrice":"1.00000","unitPrice":"100.0","depName":"水果部","dep":"58","regionId":"72","productName":"雪莲果","productId":"14158","productArea":"重庆,重庆市,万州区","originId":"500101","tradeTypeId":"71","chargeTotalAmount":"800","chargeTotalAmountYuan":"8","freezeMoneySymbol":"13","comparisonFreezeAmount":"13","created":"2021-08-11+17:32:27","remark":"备注","goodsTagIds":"1900","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":"水果","categoryId":"14436","driverTel":"","grossWeightDate":"2021-08-11+17:32:27","tareWeightDate":"2021-08-11+17:32:27","grossPathName":"","grossPathId":"","tarePathId":"","goodsRemark":"备注","inGreeterName":"通用测试","inGreeterId":"274","outGreeterId":"","sumPrice":"2000","shipperName":"","shipperId":"","shipperPhone":"","feeDepId":"0"} 147 # data = {"protocolId":"","pwd":"","clientRedirectTag":"","viewType":"unfreeze","optType":"0","optUrl":"","correctInfo":"1","weightType":"1","id":"3968","goodsId":"3982","number":"202108110900122","modified":"2021-08-11+17:32:50","status":"3","source":"1","updateFeeItems":"","correctDiscount":"1","totalAmount":"800","customerId":"389","fundAccount":"105847","accountId":"105847","ic":"888810032426","customerName":"长歌买家省内啊啊啊嘿","customerPhone":"18011501258","payway":"刷卡","plate":"川B00001","autocomplete-cartype":"003(板车)","carTypeName":"板车","carTypeCode":"003","carTypeId":"53","carTypeWeight":"333","storeTareWeight":"","proveType":"1621","grossWeight":"353","tareWeight":"333","weight":"20","goodsNum":"","itemWeight":"","productPrice":"1.00000","unitPrice":"100.0","depName":"水果部","dep":"58","regionId":"72","productName":"雪莲果","productId":"14158","productArea":"重庆,重庆市,万州区","originId":"500101","tradeTypeId":"71","chargeTotalAmount":"800","chargeTotalAmountYuan":"8","freezeMoneySymbol":"13","comparisonFreezeAmount":"13","created":"2021-08-11+17:32:27","remark":"备注","goodsTagIds":"1900","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":"水果","categoryId":"14436","driverTel":"","grossWeightDate":"2021-08-11+17:32:27","tareWeightDate":"2021-08-11+17:32:27","grossPathName":"","grossPathId":"","tarePathId":"","goodsRemark":"备注","inGreeterName":"通用测试","inGreeterId":"274","outGreeterId":"","sumPrice":"2000","shipperName":"","shipperId":"","shipperPhone":"","feeDepId":"0"}
148 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "unfreeze", "optType": "0", "optUrl": "", 148 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "correct", "optType": "0", "optUrl": "",
149 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122", 149 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122",
150 - "modified": "2021-08-11+17:32:50", "status": "3", "source": "1", "updateFeeItems": "",  
151 - "correctDiscount": "1", "totalAmount": "800", "customerId": "389", "fundAccount": "105847", 150 + "modified": "2021-08-11+17:32:50", "status": "2", "source": "1", "updateFeeItems": "2",
  151 + "correctDiscount": "2", "totalAmount": "800", "customerId": "389", "fundAccount": "105847",
152 "accountId": "105847", "ic": "888810032426", "customerName": "长歌买家省内啊啊啊嘿", "customerPhone": "18011501258", 152 "accountId": "105847", "ic": "888810032426", "customerName": "长歌买家省内啊啊啊嘿", "customerPhone": "18011501258",
153 "payway": "刷卡", "plate": "川B00001", "autocomplete-cartype": "003(板车)", "carTypeName": "板车", 153 "payway": "刷卡", "plate": "川B00001", "autocomplete-cartype": "003(板车)", "carTypeName": "板车",
154 "carTypeCode": "003", "carTypeId": "53", "carTypeWeight": "333", "storeTareWeight": "", "proveType": "1621", 154 "carTypeCode": "003", "carTypeId": "53", "carTypeWeight": "333", "storeTareWeight": "", "proveType": "1621",
@@ -164,7 +164,8 @@ def do_doCorrect(host="",autocompletecartype=None,fee_str="",**kwargs): @@ -164,7 +164,8 @@ def do_doCorrect(host="",autocompletecartype=None,fee_str="",**kwargs):
164 "driverTel": "", "grossWeightDate": "2021-08-11+17:32:27", "tareWeightDate": "2021-08-11+17:32:27", 164 "driverTel": "", "grossWeightDate": "2021-08-11+17:32:27", "tareWeightDate": "2021-08-11+17:32:27",
165 "grossPathName": "", "grossPathId": "", "tarePathId": "", "goodsRemark": "备注", "inGreeterName": "通用测试", 165 "grossPathName": "", "grossPathId": "", "tarePathId": "", "goodsRemark": "备注", "inGreeterName": "通用测试",
166 "inGreeterId": "274", "outGreeterId": "", "sumPrice": "2000", "shipperName": "", "shipperId": "", 166 "inGreeterId": "274", "outGreeterId": "", "sumPrice": "2000", "shipperName": "", "shipperId": "",
167 - "shipperPhone": "", "feeDepId": "0"} 167 + "shipperPhone": "", "feeDepId": "0","bskinWithGoods":"-1","outGreeterName":"","proveTypeName":"",
  168 + "feeDepName":"","calcFeeDepId":"","backSkinTwo":"-1"}
168 169
169 data["autocomplete-cartype"] = autocompletecartype 170 data["autocomplete-cartype"] = autocompletecartype
170 data = dict(data, **kwargs) 171 data = dict(data, **kwargs)
@@ -201,7 +202,7 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -201,7 +202,7 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
201 optType = orderDetailsDict["optType"] 202 optType = orderDetailsDict["optType"]
202 correctInfo = orderDetailsDict["correctInfo"] 203 correctInfo = orderDetailsDict["correctInfo"]
203 weightType = orderDetailsDict["weightType"] 204 weightType = orderDetailsDict["weightType"]
204 - correctDiscount = orderDetailsDict["correctDiscount"] 205 + correctDiscount = "2"
205 goodsTagIds = orderDetailsDict["goodsTagIds"] 206 goodsTagIds = orderDetailsDict["goodsTagIds"]
206 sumPrice = orderDetailsDict["sumPrice"] 207 sumPrice = orderDetailsDict["sumPrice"]
207 shareRatio = orderDetailsDict["shareRatio"] 208 shareRatio = orderDetailsDict["shareRatio"]
@@ -226,6 +227,7 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -226,6 +227,7 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
226 inGreeterId = orderDetailsDict["inGreeterId"] 227 inGreeterId = orderDetailsDict["inGreeterId"]
227 productArea = orderDetailsDict["productArea"] 228 productArea = orderDetailsDict["productArea"]
228 productPrice = orderDetailsDict["productPrice"] 229 productPrice = orderDetailsDict["productPrice"]
  230 + proveTypeName = orderDetailsDict["proveTypeName"]
229 231
230 # 第二种取法 232 # 第二种取法
231 selectList = orderDetailsSoup.findAll("select") 233 selectList = orderDetailsSoup.findAll("select")
@@ -293,42 +295,29 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -293,42 +295,29 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
293 c = tag.findAll("input") 295 c = tag.findAll("input")
294 for i in c: 296 for i in c:
295 if i.get("name") != None: 297 if i.get("name") != None:
296 - print("=============1===============")  
297 - print("i", i)  
298 - print('i.get("name")---', i.get("name"))  
299 - print('i.get("value")---', i.get("value"))  
300 - print("\n")  
301 - # fee_str = fee_str + "&" + i.get("name") + "=" + urllib.parse.quote(i.get("value"))  
302 if i.get("type") == "text": 298 if i.get("type") == "text":
303 - print('if i.get("type") == "text" i.get("name")',i.get("name"))  
304 - print('if i.get("type") == "text" i.get("value")', i.get("value"))  
305 cNum = random.randint(10,100) 299 cNum = random.randint(10,100)
306 fee_int = fee_int + int(float(i.get("value")))+cNum 300 fee_int = fee_int + int(float(i.get("value")))+cNum
307 if "billItemsDic" == i.get("name"): 301 if "billItemsDic" == i.get("name"):
308 discount_amount = discount_amount + int(json.loads(i.get("value"))["receivable"]) / 100 302 discount_amount = discount_amount + int(json.loads(i.get("value"))["receivable"]) / 100
309 billItems = i.get("value") 303 billItems = i.get("value")
310 if "{" not in billItems and i.get("name") != "billItemCheckIds" and i.get("name")!="billItemDicCheckIds": 304 if "{" not in billItems and i.get("name") != "billItemCheckIds" and i.get("name")!="billItemDicCheckIds":
311 - print('if "{" not in billItems i.get("name")',i.get("name"))  
312 - print('if "{" not in billItems i.get("value")', i.get("value"))  
313 billItems = str(int(float(billItems)) + cNum) 305 billItems = str(int(float(billItems)) + cNum)
314 elif "{" in billItems and i.get("name")!="billItemsDic": 306 elif "{" in billItems and i.get("name")!="billItemsDic":
315 billItemsDict = json.loads(billItems) 307 billItemsDict = json.loads(billItems)
316 billItemsDict["receivable"] = int(billItemsDict["receivable"]) + cNum * 100 308 billItemsDict["receivable"] = int(billItemsDict["receivable"]) + cNum * 100
317 billItems = json.dumps(billItemsDict,ensure_ascii=False,separators=(',', ':')) 309 billItems = json.dumps(billItemsDict,ensure_ascii=False,separators=(',', ':'))
318 - print('i.get("name")---', i.get("name"))  
319 - print('i.get("value")---', i.get("value"))  
320 - print("billItems---", billItems)  
321 - print("type(billItems)",type(billItems))  
322 - # urllib.parse.quote_plus(str(billItems))  
323 fee_str = fee_str + "&" + i.get("name") + "=" + urllib.parse.quote_plus(billItems) 310 fee_str = fee_str + "&" + i.get("name") + "=" + urllib.parse.quote_plus(billItems)
324 - # cNum=0  
325 - print("=============2===============\n")  
326 311
327 - print(fee_str)  
328 id = orderId 312 id = orderId
329 - totalAmount = totalMoney 313 + # totalAmount = totalMoney
  314 + totalAmount = int(fee_int)*100-int(discount_amount)*100
  315 + # print("totalAmount",totalAmount)
330 customerPhone = mobile 316 customerPhone = mobile
331 - chargeTotalAmount = totalMoney 317 + # chargeTotalAmount = totalMoney
  318 + chargeTotalAmount = totalAmount
  319 + # receivable
  320 + receivable = fee_int*100
332 chargeTotalAmountYuan = fee_int - int(discount_amount) 321 chargeTotalAmountYuan = fee_int - int(discount_amount)
333 freezeMoneySymbol = fee_int 322 freezeMoneySymbol = fee_int
334 comparisonFreezeAmount = fee_int 323 comparisonFreezeAmount = fee_int
@@ -339,7 +328,7 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -339,7 +328,7 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
339 receivableAmount = receivable 328 receivableAmount = receivable
340 tareWeightDate = tareWeightDate 329 tareWeightDate = tareWeightDate
341 330
342 - aa = do_doCorrect(host=host, autocompletecartype=autocompletecartype, fee_str=fee_str, pwd=pwd, optType=optType, 331 + res = do_doCorrect(host=host, autocompletecartype=autocompletecartype, fee_str=fee_str, pwd=pwd, optType=optType,
343 weightType=weightType, id=id, goodsId=goodsId, number=number, created=created, status=status, 332 weightType=weightType, id=id, goodsId=goodsId, number=number, created=created, status=status,
344 source=source, 333 source=source,
345 correctDiscount=correctDiscount, totalAmount=totalAmount, customerId=customerId, 334 correctDiscount=correctDiscount, totalAmount=totalAmount, customerId=customerId,
@@ -359,11 +348,11 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单 @@ -359,11 +348,11 @@ def do_correctOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单
359 itemReceivableAmount=itemReceivableAmount, receivableAmount=receivableAmount, 348 itemReceivableAmount=itemReceivableAmount, receivableAmount=receivableAmount,
360 categoryName=categoryName, 349 categoryName=categoryName,
361 categoryId=carTypeId, grossWeightDate=grossWeightDate, tareWeightDate=tareWeightDate, 350 categoryId=carTypeId, grossWeightDate=grossWeightDate, tareWeightDate=tareWeightDate,
362 - sumPrice=sumPrice, 351 + sumPrice=sumPrice,proveTypeName=proveTypeName,
363 chargeTotalAmountYuan=chargeTotalAmountYuan) 352 chargeTotalAmountYuan=chargeTotalAmountYuan)
364 353
365 - print(aa.text)  
366 - return aa 354 + print("res.text",res.text)
  355 + print("totalAmount",totalAmount)
  356 + return res,totalAmount
367 357
368 -# time.sleep(5)  
369 -do_correctOrder(attrValue="202108130900144")  
370 \ No newline at end of file 358 \ No newline at end of file
  359 +# do_correctOrder(attrValue="202108160900001")
371 \ No newline at end of file 360 \ No newline at end of file
commons/api/entranceFeeBillList/operationDoInvalid.py
@@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs): @@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs):
113 url = host + "/calculate/index.action" 113 url = host + "/calculate/index.action"
114 headers = dct.urlCode() 114 headers = dct.urlCode()
115 115
116 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "pay", "optType": "optType", "optUrl": "", 116 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "invalid", "optType": "optType", "optUrl": "",
117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId", 117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId",
118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "", 118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "",
119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "", 119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "",
@@ -144,7 +144,7 @@ def do_doInvalid(host="",autocompletecartype=None,fee_str="",**kwargs): @@ -144,7 +144,7 @@ def do_doInvalid(host="",autocompletecartype=None,fee_str="",**kwargs):
144 url = host + "/entranceFeeBill/doInvalid.action" 144 url = host + "/entranceFeeBill/doInvalid.action"
145 headers = dct.urlCode() 145 headers = dct.urlCode()
146 146
147 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "unfreeze", "optType": "0", "optUrl": "", 147 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "invalid", "optType": "0", "optUrl": "",
148 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122", 148 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122",
149 "modified": "2021-08-11+17:32:50", "status": "3", "source": "1", "updateFeeItems": "", 149 "modified": "2021-08-11+17:32:50", "status": "3", "source": "1", "updateFeeItems": "",
150 "correctDiscount": "1", "totalAmount": "800", "customerId": "389", "fundAccount": "105847", 150 "correctDiscount": "1", "totalAmount": "800", "customerId": "389", "fundAccount": "105847",
commons/api/entranceFeeBillList/operationDoUpdate.py
@@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs): @@ -113,7 +113,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs):
113 url = host + "/calculate/index.action" 113 url = host + "/calculate/index.action"
114 headers = dct.urlCode() 114 headers = dct.urlCode()
115 115
116 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "pay", "optType": "optType", "optUrl": "", 116 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "update", "optType": "optType", "optUrl": "",
117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId", 117 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId",
118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "", 118 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "",
119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "", 119 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "",
commons/api/entranceFeeBillList/operationUnfreeze.py
@@ -105,7 +105,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs): @@ -105,7 +105,7 @@ def get_calculateRes(host="",autocompletecartype=None,**kwargs):
105 url = host + "/calculate/index.action" 105 url = host + "/calculate/index.action"
106 headers = dct.urlCode() 106 headers = dct.urlCode()
107 107
108 - data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "pay", "optType": "optType", "optUrl": "", 108 + data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "unfreeze", "optType": "optType", "optUrl": "",
109 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId", 109 "correctInfo": "correctInfo", "weightType": "weightType", "id": "orderId", "goodsId": "goodsId",
110 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "", 110 "number": "number", "modified": "time", "status": "status", "source": "source", "updateFeeItems": "",
111 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "", 111 "correctDiscount": "correctDiscount", "totalAmount": "", "customerId": "0", "fundAccount": "",
@@ -135,8 +135,6 @@ def do_doUnfreeze(host="",autocompletecartype=None,fee_str="",**kwargs): @@ -135,8 +135,6 @@ def do_doUnfreeze(host="",autocompletecartype=None,fee_str="",**kwargs):
135 """进门单缴费""" 135 """进门单缴费"""
136 url = host + "/entranceTrade/doUnfreeze.action" 136 url = host + "/entranceTrade/doUnfreeze.action"
137 headers = dct.urlCode() 137 headers = dct.urlCode()
138 -  
139 - # data = {"protocolId":"","pwd":"","clientRedirectTag":"","viewType":"unfreeze","optType":"0","optUrl":"","correctInfo":"1","weightType":"1","id":"3968","goodsId":"3982","number":"202108110900122","modified":"2021-08-11+17:32:50","status":"3","source":"1","updateFeeItems":"","correctDiscount":"1","totalAmount":"800","customerId":"389","fundAccount":"105847","accountId":"105847","ic":"888810032426","customerName":"长歌买家省内啊啊啊嘿","customerPhone":"18011501258","payway":"刷卡","plate":"川B00001","autocomplete-cartype":"003(板车)","carTypeName":"板车","carTypeCode":"003","carTypeId":"53","carTypeWeight":"333","storeTareWeight":"","proveType":"1621","grossWeight":"353","tareWeight":"333","weight":"20","goodsNum":"","itemWeight":"","productPrice":"1.00000","unitPrice":"100.0","depName":"水果部","dep":"58","regionId":"72","productName":"雪莲果","productId":"14158","productArea":"重庆,重庆市,万州区","originId":"500101","tradeTypeId":"71","chargeTotalAmount":"800","chargeTotalAmountYuan":"8","freezeMoneySymbol":"13","comparisonFreezeAmount":"13","created":"2021-08-11+17:32:27","remark":"备注","goodsTagIds":"1900","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":"水果","categoryId":"14436","driverTel":"","grossWeightDate":"2021-08-11+17:32:27","tareWeightDate":"2021-08-11+17:32:27","grossPathName":"","grossPathId":"","tarePathId":"","goodsRemark":"备注","inGreeterName":"通用测试","inGreeterId":"274","outGreeterId":"","sumPrice":"2000","shipperName":"","shipperId":"","shipperPhone":"","feeDepId":"0"}  
140 data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "unfreeze", "optType": "0", "optUrl": "", 138 data = {"protocolId": "", "pwd": "", "clientRedirectTag": "", "viewType": "unfreeze", "optType": "0", "optUrl": "",
141 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122", 139 "correctInfo": "1", "weightType": "1", "id": "3968", "goodsId": "3982", "number": "202108110900122",
142 "modified": "2021-08-11+17:32:50", "status": "3", "source": "1", "updateFeeItems": "", 140 "modified": "2021-08-11+17:32:50", "status": "3", "source": "1", "updateFeeItems": "",
report/test.log
1 -[2021-08-13 18:44:25] [INFO] : ======================================================================================  
2 -[2021-08-13 18:44:25] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb  
3 -{'data': None, 'json': {'userName': 'sy_chen', 'password': 'gQfSv4XB0l69pfGI1Agdm1jjPXpmA0rk95Qij6gOzAGWCB8tVLWUVtVAr5MTclFKRRBSLlst/UbQHT8bEtXOOs1rc8RMt1ris4a9m4B2KIE2xqK2ja59mueSGUF93lr3LMgcaK7peKzrS+WBcge4rvpqv0iJe0xty+8qnDewNjU='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} 1 +[2021-08-16 14:10:28] [INFO] : ======================================================================================
  2 +[2021-08-16 14:10:28] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
  3 +{'data': None, 'json': {'userName': 'sy_chen', 'password': 'F+lLvnv5lyeecXvMPhnP3qFKKKZ5oiaz+RzYu0Wssxk6syRIbkkC6bWGtC+Fg33Zv25dfEEVVTkvJKc2Vv7/no0y25XEVwyUTj+pAIiQt7mix7VDraxH2FkqJlGxPJ+ZrNbaXVt7dUK0m6DfsgSeXE49jcxUKycSYB5EbIb5fkY='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
4 4
5 -[2021-08-13 18:44:25] [INFO] : ======================================================================================  
6 -[2021-08-13 18:44:25] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb  
7 -{'data': None, 'json': {'userName': 'sygangda', 'password': 'Z0FZQCgEp9dET3kQq3ev9eqDCVPwKvL+U7k5xf9Tj/8hhMltRK2ZhfvUZlP26cuJJ/sIfac6pDYL7LSXfMfooMmbzRn3FU94le7w8Qb/h8PBKjnca82cp7x9zU71vqZfG5wqqnMST0BqCtOHn/LcMeMR054Czl6oUyf2nsWl0Ww='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} 5 +[2021-08-16 14:10:29] [INFO] : ======================================================================================
  6 +[2021-08-16 14:10:29] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
  7 +{'data': None, 'json': {'userName': 'sygangda', 'password': 'bY/MWKpYUcznJWmbjSXeY9MplKVOOR8dD2gcEuj4z5Py8Wevt8lkai3KQJD8Ve/Ih6wkqVAJH/xZvSUOg3YJnjDjOfOSAM7pQLzxCzarGpLVXakCGktuL3Vy7XA8nEXq8Ngnnsl+jaod+/sPHBPIVBHyRrdLS9dcAAzQ/bIEmek='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
8 8
9 -[2021-08-13 18:44:25] [INFO] : ======================================================================================  
10 -[2021-08-13 18:44:25] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action  
11 -{'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': '202108130900144'} 9 +[2021-08-16 14:10:29] [INFO] : ======================================================================================
  10 +[2021-08-16 14:10:29] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType
  11 +{"businessCode": "jmsf"}
12 {} 12 {}
13 13
14 -[2021-08-13 18:44:26] [INFO] : ======================================================================================  
15 -[2021-08-13 18:44:26] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/correct/4224.action 14 +[2021-08-16 14:10:29] [INFO] : ======================================================================================
  15 +[2021-08-16 14:10:29] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/cusCategory/getTree
  16 +{"marketId": 9, "state": 1, "keyword": "\u852c\u83dc"}
  17 +{}
  18 +
  19 +[2021-08-16 14:10:29] [INFO] : ======================================================================================
  20 +[2021-08-16 14:10:29] [INFO] : http://test.gateway.diligrp.com:8285/dili-uap/userApi/listByExample.api
  21 +{"firmCode": "sy", "departmentId": 58, "keyword": ""}
  22 +{}
  23 +
  24 +[2021-08-16 14:10:30] [INFO] : ======================================================================================
  25 +[2021-08-16 14:10:30] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/tradeType/query
  26 +{"pageNum": 100, "pageSize": 100, "marketId": 9}
  27 +{}
  28 +
  29 +[2021-08-16 14:10:30] [INFO] : ======================================================================================
  30 +[2021-08-16 14:10:30] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
16 None 31 None
  32 +{'params': {'pid': 'goods_tag'}}
  33 +
  34 +[2021-08-16 14:10:30] [INFO] : ======================================================================================
  35 +[2021-08-16 14:10:30] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/address
  36 +{"province": "C", "city": null, "area": null}
17 {} 37 {}
18 38
19 -[2021-08-13 18:44:27] [INFO] : ======================================================================================  
20 -[2021-08-13 18:44:27] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州 39 +[2021-08-16 14:10:30] [INFO] : ======================================================================================
  40 +[2021-08-16 14:10:30] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep
  41 +None
  42 +{'params': {'keyword': ''}}
  43 +
  44 +[2021-08-16 14:10:31] [INFO] : ======================================================================================
  45 +[2021-08-16 14:10:31] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
21 None 46 None
  47 +{'params': {'pid': 'prove_type'}}
  48 +
  49 +[2021-08-16 14:10:31] [INFO] : ======================================================================================
  50 +[2021-08-16 14:10:31] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action
  51 +None
  52 +{}
  53 +
  54 +[2021-08-16 14:10:31] [INFO] : ======================================================================================
  55 +[2021-08-16 14:10:31] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/wholeCarWeighSave
  56 +{"carTypeCode": "003", "carTypeId": 53, "carTypeName": "\u677f\u8f66", "carTypeWeight": 333, "plate": "\u5dddA24287", "inGreeterId": 223, "inGreeterName": "\u6d4b\u8bd5\u6c88\u9633", "productId": 14152, "productName": "\u852c\u83dc", "proveTypeCode": 665, "proveTypeName": "\u98df\u54c1\u5b89\u5168", "weighRemark": "\u5907\u6ce8", "weighmanRecord": {"grossWeight": 432, "grossWeightDate": "2021-08-16 14:10:31", "newWeight": 99, "tareWeight": 333, "tareWeightDate": null, "weighImgs": []}, "productCode": null, "trailerNumber": "\u5dddA24287", "pathAddress": "A4-BB-6D-0A-F4-13", "haveTruckWeight": false, "source": 4, "entryPlateInputType": 1, "dep": 58, "depName": "\u6c34\u679c\u90e8", "cateId": 14152, "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}
  57 +{}
  58 +
  59 +[2021-08-16 14:10:32] [INFO] : ======================================================================================
  60 +[2021-08-16 14:10:32] [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': '202108160900009'}
  62 +{}
  63 +
  64 +[2021-08-16 14:10:32] [INFO] : ======================================================================================
  65 +[2021-08-16 14:10:32] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/correct/4233.action
  66 +None
  67 +{}
  68 +
  69 +[2021-08-16 14:10:34] [INFO] : ======================================================================================
  70 +[2021-08-16 14:10:34] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州
  71 +None
  72 +{}
  73 +
  74 +[2021-08-16 14:10:34] [INFO] : ======================================================================================
  75 +[2021-08-16 14:10:34] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action
  76 +{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'correct', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 4233, 'goodsId': '4247', 'number': '202108160900009', 'modified': '2021-08-16 14:10:34', 'status': '2', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '2', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川A24287', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '1895', 'grossWeight': '432', 'tareWeight': '333', 'weight': '99', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '水果部', 'regionName': '', 'regionId': '0', 'productName': '蔬菜', 'productId': '14152', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '80', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-16 14:10:32', 'remark': 'false', 'goodsTagIds': '1900', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '蔬菜', 'categoryId': '14152', 'driverTel': '', 'grossWeightDate': '2021-08-16 14:10:32', 'tareWeightDate': '2021-08-16 14:10:32', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '测试沈阳', 'inGreeterId': '223', 'outGreeterId': '', 'sumPrice': '9900', 'shipperName': '', 'shipperId': '', 'shipperPhone': ''}
22 {} 77 {}
23 78
24 -[2021-08-13 18:44:27] [INFO] : ======================================================================================  
25 -[2021-08-13 18:44:27] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action  
26 -{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'pay', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 4224, 'goodsId': '4238', 'number': '202108130900144', 'modified': '2021-08-13 18:44:27', 'status': '2', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川B00001', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '1895', 'grossWeight': '353', 'tareWeight': '333', 'weight': '20', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '水果部', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '14158', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '80', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-13 16:52:59', 'remark': 'false', 'goodsTagIds': '1900', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '青笋', 'categoryId': '53', 'driverTel': '', 'grossWeightDate': '2021-08-13 16:52:59', 'tareWeightDate': '2021-08-13 16:52:59', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '通用测试', 'inGreeterId': '274', 'outGreeterId': '', 'sumPrice': '2000', 'shipperName': '', 'shipperId': '', 'shipperPhone': ''} 79 +[2021-08-16 14:10:34] [INFO] : ======================================================================================
  80 +[2021-08-16 14:10:34] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/doCorrect.action
  81 +protocolId=&pwd=111111&clientRedirectTag=&viewType=correct&optType=0&optUrl=&correctInfo=1&weightType=1&id=4233&goodsId=4247&number=202108160900009&modified=2021-08-16%2014%3A10%3A32&status=2&source=1&updateFeeItems=2&correctDiscount=1&totalAmount=19400&customerId=&fundAccount=&accountId=&ic=&customerName=&customerPhone=&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DA24287&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=1895&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=&productName=%E8%94%AC%E8%8F%9C&productId=14152&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=80&chargeTotalAmount=19400&chargeTotalAmountYuan=194&freezeMoneySymbol=199&comparisonFreezeAmount=199&created=2021-08-16%2014%3A10%3A32&remark=%E5%A4%87%E6%B3%A8&goodsTagIds=1900&shareRatio=0&handlingTeam=&steveTeamId=&handlingRatio=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&marketFlag=sy&totalMoney=600&receivable=19900&collectionPrice=200&discountAmount=500&handReceivableAmount=10000&itemReceivableAmount=19900&receivableAmount=19900&categoryName=%E8%94%AC%E8%8F%9C&categoryId=53&driverTel=&grossWeightDate=2021-08-16%2014%3A10%3A32&tareWeightDate=2021-08-16%2014%3A10%3A32&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&bskinWithGoods=-1&outGreeterName=&proveTypeName=%E9%A3%9F%E5%93%81%E5%AE%89%E5%85%A8&feeDepName=&calcFeeDepId=&backSkinTwo=-1&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=108&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%3A10800%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=91&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%3A9100%2C%22require%22%3A1%7D
27 {} 82 {}
28 83
29 -[2021-08-13 18:44:28] [INFO] : ======================================================================================  
30 -[2021-08-13 18:44:28] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/doCorrect.action  
31 -protocolId=&pwd=111111&clientRedirectTag=&viewType=unfreeze&optType=0&optUrl=&correctInfo=1&weightType=1&id=4224&goodsId=4238&number=202108130900144&modified=2021-08-13%2016%3A52%3A59&status=2&source=1&updateFeeItems=&correctDiscount=1&totalAmount=900&customerId=&fundAccount=&accountId=&ic=&customerName=&customerPhone=&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DB00001&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=1895&grossWeight=353&tareWeight=333&weight=20&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%B0%B4%E6%9E%9C%E9%83%A8&dep=58&regionId=&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=14158&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=80&chargeTotalAmount=800&chargeTotalAmountYuan=164&freezeMoneySymbol=169&comparisonFreezeAmount=169&created=2021-08-13%2016%3A52%3A59&remark=%E5%A4%87%E6%B3%A8&goodsTagIds=1900&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=%E9%9D%92%E7%AC%8B&categoryId=53&driverTel=&grossWeightDate=2021-08-13%2016%3A52%3A59&tareWeightDate=2021-08-13%2016%3A52%3A59&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=2000&shipperName=&shipperId=&shipperPhone=&feeDepId=0&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=106&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%3A10600%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=63&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%3A6300%2C%22require%22%3A1%7D 84 +[2021-08-16 14:10:36] [INFO] : ======================================================================================
  85 +[2021-08-16 14:10:36] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action
  86 +{'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': '202108160900009'}
32 {} 87 {}
33 88
testcase/test_ZC/demo.py
@@ -14,12 +14,11 @@ import random @@ -14,12 +14,11 @@ import random
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"] 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 # 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"] 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 -""" 17 +
18 # a系统 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"] 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自己 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 - 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"]
23 c = list(set(a)^set(b)) 22 c = list(set(a)^set(b))
24 # print(c) 23 # print(c)
25 24
@@ -34,7 +33,7 @@ for i in c: @@ -34,7 +33,7 @@ for i in c:
34 33
35 print(aa) 34 print(aa)
36 print(bb) 35 print(bb)
37 -""" 36 +
38 37
39 from bs4 import BeautifulSoup 38 from bs4 import BeautifulSoup
40 import random 39 import random
@@ -49,5 +48,5 @@ import json @@ -49,5 +48,5 @@ import json
49 # print(selectDict) 48 # print(selectDict)
50 49
51 50
52 -a = "123"  
53 -print(a.isdigit())  
54 \ No newline at end of file 51 \ No newline at end of file
  52 +# a = "123"
  53 +# print(a.isdigit())
55 \ No newline at end of file 54 \ No newline at end of file
testcase/test_listPage/test_listPageOperation.py
@@ -110,9 +110,13 @@ class test_listPage(unittest.TestCase): @@ -110,9 +110,13 @@ class test_listPage(unittest.TestCase):
110 cre_res = zcA.create_jmsf(host=self.gatewayHost,plate=plate) 110 cre_res = zcA.create_jmsf(host=self.gatewayHost,plate=plate)
111 print(cre_res.json()) 111 print(cre_res.json())
112 number = cre_res.json()["data"]["number"] 112 number = cre_res.json()["data"]["number"]
113 - res_unfreezeOrder = oDC.do_correctOrder(host=self.jmsfHost,attrValue=number) 113 + res_unfreezeOrder,totalAmount = oDC.do_correctOrder(host=self.jmsfHost,attrValue=number)
114 assert res_unfreezeOrder.json()["success"]==True,"作废测试失败" 114 assert res_unfreezeOrder.json()["success"]==True,"作废测试失败"
115 assert res_unfreezeOrder.json()["msg"] == "操作成功", "作废测试失败" 115 assert res_unfreezeOrder.json()["msg"] == "操作成功", "作废测试失败"
  116 + resListPage = eFBL.listPage(host=self.jmsfHost,attrValue=number)
  117 + print(resListPage.json())
  118 + assert resListPage.json()["rows"][0]["number"] == number,"按照收费单号查询失败"
  119 + assert resListPage.json()["rows"][0]["$_totalPrice"] == totalAmount,"按照收费单号查询失败"
116 120
117 def test_amendOrder(self): 121 def test_amendOrder(self):
118 plate = f"川A{random.randint(10000,99999)}" 122 plate = f"川A{random.randint(10000,99999)}"
@@ -120,5 +124,5 @@ class test_listPage(unittest.TestCase): @@ -120,5 +124,5 @@ class test_listPage(unittest.TestCase):
120 print(cre_res.json()) 124 print(cre_res.json())
121 number = cre_res.json()["data"]["number"] 125 number = cre_res.json()["data"]["number"]
122 res_unfreezeOrder = oDA.do_amendOrder(host=self.jmsfHost,attrValue=number) 126 res_unfreezeOrder = oDA.do_amendOrder(host=self.jmsfHost,attrValue=number)
123 - assert res_unfreezeOrder.json()["success"]==True,"作废测试失败"  
124 - assert res_unfreezeOrder.json()["message"] == "操作成功", "作废测试失败" 127 + assert res_unfreezeOrder.json()["success"]==True,"更正操作失败"
  128 + assert res_unfreezeOrder.json()["message"] == "操作成功", "更正操作失败"