package com.whyc.controller;
|
|
import com.whyc.dto.Response;
|
import com.whyc.service.KPIService;
|
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;
|
|
/**
|
* 绩效考核
|
*/
|
@RequestMapping("kpi")
|
@RestController
|
@Api(tags = "项目绩效考核")
|
public class KPIController {
|
|
@Autowired
|
private KPIService service;
|
|
@GetMapping("annualDetail")
|
@ApiOperation("年度工作考核明细")
|
public Response annualDetail(){
|
return service.annualDetail();
|
}
|
|
}
|