Commit ed1327b9007a87b1e7cca851510adada0fb3c4df

Authored by liujiqiang
1 parent 8de23e72

创建进门单

commons/api/zcApi.py
@@ -7,6 +7,8 @@ @@ -7,6 +7,8 @@
7 7
8 """ 8 """
9 整车进门相关接口 9 整车进门相关接口
  10 +1.整车进门基础接口封装
  11 +2.整车进门create_jmsf进门单一步创建接口封装
10 """ 12 """
11 13
12 import json,time,random 14 import json,time,random
report/test.log
1 -[2021-08-02 16:53:41] [INFO] : ======================================================================================  
2 -[2021-08-02 16:53:41] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType  
3 -{"businessCode": "jmsf"}  
4 -{}  
5 -  
6 -[2021-08-02 16:53:41] [INFO] : ======================================================================================  
7 -[2021-08-02 16:53:41] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/cusCategory/getTree  
8 -{"marketId": 9, "state": 1, "keyword": "\u5c71\u836f"}  
9 -{}  
10 -  
11 -[2021-08-02 16:53:41] [INFO] : ======================================================================================  
12 -[2021-08-02 16:53:41] [INFO] : http://test.gateway.diligrp.com:8285/dili-uap/userApi/listByExample.api  
13 -{"firmCode": "sy", "departmentId": 58, "keyword": ""}  
14 -{}  
15 -  
16 -[2021-08-02 16:53:42] [INFO] : ======================================================================================  
17 -[2021-08-02 16:53:42] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/tradeType/query  
18 -{"pageNum": 100, "pageSize": 100, "marketId": 9}  
19 -{}  
20 -  
21 -[2021-08-02 16:53:42] [INFO] : ======================================================================================  
22 -[2021-08-02 16:53:42] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid  
23 -None  
24 -{'params': {'pid': 'goods_tag'}}  
25 -  
26 -[2021-08-02 16:53:42] [INFO] : ======================================================================================  
27 -[2021-08-02 16:53:42] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/address  
28 -{"province": "C", "city": null, "area": null}  
29 -{}  
30 -  
31 -[2021-08-02 16:53:42] [INFO] : ======================================================================================  
32 -[2021-08-02 16:53:42] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep  
33 -{"keyword": ""}  
34 -{}  
35 -  
36 -[2021-08-02 16:53:43] [INFO] : ======================================================================================  
37 -[2021-08-02 16:53:43] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid  
38 -None  
39 -{'params': {'pid': 'prove_type'}}  
40 -  
41 -[2021-08-02 16:53:43] [INFO] : ======================================================================================  
42 -[2021-08-02 16:53:43] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action  
43 -None  
44 -{}  
45 -  
46 -[2021-08-02 16:53:43] [INFO] : ======================================================================================  
47 -[2021-08-02 16:53:43] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/wholeCarWeighSave  
48 -{"carTypeCode": "gc", "carTypeId": 59, "carTypeName": "\u6302\u8f66", "carTypeWeight": 1, "plate": "\u5dddB00001", "inGreeterId": 274, "inGreeterName": "\u901a\u7528\u6d4b\u8bd5", "productId": 14156, "productName": "\u5c71\u836f", "proveTypeCode": 1621, "proveTypeName": "\u7eff\u8272\u852c\u83dc", "weighRemark": "\u5907\u6ce8", "weighmanRecord": {"grossWeight": 21, "grossWeightDate": "2021-08-02 16:53:43", "newWeight": 20, "tareWeight": 1, "tareWeightDate": null, "weighImgs": []}, "productCode": null, "trailerNumber": "\u5dddB00001", "pathAddress": "A4-BB-6D-0A-F4-13", "haveTruckWeight": false, "source": 4, "entryPlateInputType": 1, "dep": 103, "depName": "\u63a5\u8f66\u90e8", "cateId": 14156, "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": "9002", "tradeTypeName": "\u6c88\u96332\u53f7", "weight": 2.0, "pwd": "", "type": 1, "ic": "", "boothNumber": "210728154359", "productState": "1", "accountId": 0, "passCheckId": 0, "passCheckName": null, "tradeTypeId": 71, "id": 0, "protocolId": null, "goodsTagId": 1900}  
49 -{}  
50 -  
51 -[2021-08-02 16:53:44] [INFO] : ======================================================================================  
52 -[2021-08-02 16:53:44] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType  
53 -{"businessCode": "jmsf"}  
54 -{}  
55 -  
56 -[2021-08-02 16:53:44] [INFO] : ======================================================================================  
57 -[2021-08-02 16:53:44] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/cusCategory/getTree  
58 -{"marketId": 9, "state": 1, "keyword": "\u852c\u83dc"}  
59 -{}  
60 -  
61 -[2021-08-02 16:53:45] [INFO] : ======================================================================================  
62 -[2021-08-02 16:53:45] [INFO] : http://test.gateway.diligrp.com:8285/dili-uap/userApi/listByExample.api  
63 -{"firmCode": "sy", "departmentId": 58, "keyword": ""}  
64 -{}  
65 -  
66 -[2021-08-02 16:53:45] [INFO] : ======================================================================================  
67 -[2021-08-02 16:53:45] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/tradeType/query  
68 -{"pageNum": 100, "pageSize": 100, "marketId": 9}  
69 -{}  
70 -  
71 -[2021-08-02 16:53:45] [INFO] : ======================================================================================  
72 -[2021-08-02 16:53:45] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid  
73 -None  
74 -{'params': {'pid': 'goods_tag'}}  
75 -  
76 -[2021-08-02 16:53:45] [INFO] : ======================================================================================  
77 -[2021-08-02 16:53:45] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/address  
78 -{"province": "C", "city": null, "area": null}  
79 -{}  
80 -  
81 -[2021-08-02 16:53:46] [INFO] : ======================================================================================  
82 -[2021-08-02 16:53:46] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep  
83 -{"keyword": ""}  
84 -{}  
85 -  
86 -[2021-08-02 16:53:46] [INFO] : ======================================================================================  
87 -[2021-08-02 16:53:46] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid  
88 -None  
89 -{'params': {'pid': 'prove_type'}}  
90 -  
91 -[2021-08-02 16:53:46] [INFO] : ======================================================================================  
92 -[2021-08-02 16:53:46] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action  
93 -None  
94 -{}  
95 -  
96 -[2021-08-02 16:53:47] [INFO] : ======================================================================================  
97 -[2021-08-02 16:53:47] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/wholeCarWeighSave  
98 -{"carTypeCode": "003", "carTypeId": 53, "carTypeName": "\u677f\u8f66", "carTypeWeight": 333, "plate": "\u5dddB00002", "inGreeterId": 223, "inGreeterName": "\u6d4b\u8bd5\u6c88\u9633", "productId": 14152, "productName": "\u852c\u83dc", "proveTypeCode": 665, "proveTypeName": "\u98df\u54c1\u5b89\u5168", "weighRemark": "\u5907\u6ce8", "weighmanRecord": {"grossWeight": 353, "grossWeightDate": "2021-08-02 16:53:47", "newWeight": 20, "tareWeight": 333, "tareWeightDate": null, "weighImgs": []}, "productCode": null, "trailerNumber": "\u5dddB00002", "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}  
99 -{}  
100 -