package com.sqx.modules.errand.controller;

import com.sqx.common.utils.Result;
import com.sqx.modules.errand.service.ErrandEvaluateService;
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.RestController;

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

    @Autowired
    private ErrandEvaluateService errandEvaluateService;

    @ApiOperation("我的评价")
    @GetMapping(value = "selectEvaluate")
    public Result selectEvaluate(Integer page, Integer limit,String nickName,String riderName,Long userId,Long riderUserId,String satisfactionFlag,String indentNumber){
        return errandEvaluateService.selectEvaluate(page, limit, nickName, riderName, userId,riderUserId, satisfactionFlag, indentNumber);
    }


}
