package com.sqx.modules.errand.controller;

import com.sqx.common.utils.Result;
import com.sqx.modules.errand.service.ErrandEvaluateService;
import com.sqx.modules.errand.service.TransferRecordService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin/transferRecord")
@Api(value = "管理端", tags = {"我的评价"})
public class TransferRecordController {

    @Autowired
    private TransferRecordService transferRecordService;

    @GetMapping(value = "queryTransferRecords")
    @ApiOperation("查看转单记录分页数据")
    public Result queryTransferRecords(Integer page, Integer limit, Integer orderId) {
        return transferRecordService.transferRecordById(page, limit, orderId);
    }


}
