Ejemplo n.º 1
0
    def test_outbound_detail():
        path = '/api/wms-outbound-orders-service/controller-overseasOutboundOrder/front/queryOutboundOrderById'

        payload = ""

        querystring = {"outboundOrderId": 161}

        response = get_request(path=path,
                               payload=payload,
                               querystring=querystring)

        pprint.pprint(response)
Ejemplo n.º 2
0
    def test_singleItem_detail():
        path = '/api/wms-outbound-orders-service/controller-singleProductTaskService/front/getTaskPickDetail'

        payload = ""

        querystring = {
            "taskId": 133
        }

        response = get_request(path=path, payload=payload, querystring=querystring)

        pprint.pprint(response)
Ejemplo n.º 3
0
    def test_appointment_detail():
        path = '/api/wms-inbound-orders-service/controller-overseasInboundOrderAppointment/front/getUpdateList'

        payload = ""

        querystring = {"currentPage": 1, "pageSize": 10, "id": 8}

        response = get_request(path=path,
                               payload=payload,
                               querystring=querystring)

        pprint.pprint(response)
Ejemplo n.º 4
0
    def test_capacity_select_month():
        path = '/api/wms-inbound-orders-service/controller-overseasInboundCapacity/front/queryCapacityListByDay'

        payload = ""

        querystring = {
            "warehouseId": 1,
            "capacityTime": "2021-01-24",
            "date": 1
        }

        response = get_request(path=path,
                               payload=payload,
                               querystring=querystring)

        pprint.pprint(response)
Ejemplo n.º 5
0
    def test_check_shippingNumberSKU_select():
        path = '/api/wms-inbound-orders-service/controller-dischargeService/front/getDischargeList'

        payload = ""

        querystring = {
            "currentPage": 1,
            "pageSize": 10,
            "seaChestNo": "HGH0085"
        }

        response = get_request(path=path,
                               payload=payload,
                               querystring=querystring)

        pprint.pprint(response)
Ejemplo n.º 6
0
    def test_receiving_select():
        path = '/api/wms-inbound-orders-service/controller-overseasInboundSignOrderSign/front/getList'
        payload = ""
        querystring = {
            "startTime": "",
            "endTime": "",
            "orderSn": "",
            "targetWarehouse": "",
            "status": "",
            "transType": "",
            "transSn": "",
            "currentPage": 1,
            "pageSize": 10
        }
        re = get_request(path=path, payload=payload, querystring=querystring)

        pprint.pprint(re)
Ejemplo n.º 7
0
    def test_appointment_add_select():
        path = '/api/wms-inbound-orders-service/controller-overseasInboundOrderAppointment/front/getAddList'
        querystring = {
            "startTime": "",
            "endTime": "",
            "targetWarehouse": "",
            "seaChestNo": "",
            "customerName": "",
            "orderSn": "",
            "status": "",
            "currentPage": 1,
            "pageSize": 10
        }
        payload = ""

        re = get_request(path=path, payload=payload, querystring=querystring)

        pprint.pprint(re)
Ejemplo n.º 8
0
    def test_appointment_add(self):
        self.path = '/api/wms-inbound-orders-service/controller-overseasInboundOrderItems/front/queryInboundOrderList'
        self.payload = ""
        self.querystring = {
            "currentPage": 1,
            "pageSize": 10,
            "orderSn": "",
            "status": "",
            "chineseName": "",
            "transType": "",
            "targetWarehouse": "",
            "createdStartTime": "",
            "createdEndTime": ""
        }
        self.re = get_request(path=self.path,
                              payload=self.payload,
                              querystring=self.querystring)

        pprint.pprint(self.re)
Ejemplo n.º 9
0
    def test_outbound_select():
        path = '/api/wms-outbound-orders-service/controller-overseasOutboundOrder/front/queryOutboundOrderList'

        payload = ""

        querystring = {
            "createdStartTime": "2021-01-21 00:00:00",
            "createdEndTime": "2021-01-23 00:00:00",
            "orderSn": "CK2021012200000010",
            "warehouse": 2,
            "status": 0,
            "currentPage": 1,
            "pageSize": 10
        }

        response = get_request(path=path,
                               payload=payload,
                               querystring=querystring)

        pprint.pprint(response)
Ejemplo n.º 10
0
    def test_singleItem_select():
        path = '/api/wms-outbound-orders-service/controller-singleProductTaskService/front/getSingleList'

        payload = ""

        querystring = {
            "startTime": "2021-01-22 00:00:00",
            "endTime": "2021-01-24 00:00:00",
            "taskNo": "RW2021012310000001",
            "status": 0,
            "warehouseId": 2,
            "currentPage": 1,
            "pageSize": 10
        }

        response = get_request(path=path,
                               payload=payload,
                               querystring=querystring)

        pprint.pprint(response)
Ejemplo n.º 11
0
    def test_pickingTable_select():
        path = '/api/wms-outbound-orders-service/controller-overseasOutboundPickingTask/front/queryAll'

        payload = ""

        querystring = {
            "startTime": "2021-01-21 00:00:00",
            "endTime": "2021-01-23 00:00:00",
            "status": 0,
            "orderSn": "CK2021012200000010",
            "wareHouse": 2,
            "taskNo": "RW2021012210000003",
            "currentPage": 1,
            "pageSize": 10
        }

        response = get_request(path=path,
                               payload=payload,
                               querystring=querystring)

        pprint.pprint(response)