同步代码 更换电脑
This commit is contained in:
@@ -4,6 +4,7 @@ import java.util.List;
|
||||
import java.util.Arrays;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import com.ruoyi.oa.domain.vo.ProjectReportCardVo;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.validation.constraints.*;
|
||||
@@ -105,4 +106,14 @@ public class OaProjectReportController extends BaseController {
|
||||
@PathVariable Long[] reportIds) {
|
||||
return toAjax(iOaProjectReportService.deleteWithValidByIds(Arrays.asList(reportIds), true));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 数据统计接口
|
||||
*/
|
||||
@GetMapping("/card")
|
||||
public R<ProjectReportCardVo> getCardData(){
|
||||
|
||||
return R.ok(iOaProjectReportService.getCardData());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user