whycxzp
2023-05-17 a4b81abc5842e7e41bef684b8b6a84868112bf35
src/main/java/com/whyc/controller/KPIController.java
@@ -1,7 +1,11 @@
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;
@@ -13,7 +17,13 @@
@Api(tags = "项目绩效考核")
public class KPIController {
    @Autowired
    private KPIService service;
    @GetMapping("annualDetail")
    @ApiOperation("年度工作考核明细")
    public Response annualDetail(){
        return service.annualDetail();
    }
}