package com.bjtdba.thirdPartWares.controller;

import com.bjtdba.thirdPartWares.service.ThirdOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("thirdPartyWares_service/thirdOrder_service")
public class ThirdOrderController {

    @Autowired
    private ThirdOrderService thirdOrderService;

    /**
     * 订单列表
     */
    public Object otherOrder(@RequestBody Map<String,String> map){
        return thirdOrderService.selectThirOrderList(map.get("pageNum"),map.get("pageSize"),Integer.parseInt(map.get("type")),map.get("uid"));
    }
}
