whycxzp
2023-05-17 a4b81abc5842e7e41bef684b8b6a84868112bf35
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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();
    }
 
}