Kaynağa Gözat

新建controller

buzhanyi 2 yıl önce
ebeveyn
işleme
a73d4de3b3

+ 30 - 0
purchase-admin/src/main/java/com/ozs/web/controller/StatisticalAnalysis/StatisticalAnalysisController.java

@@ -0,0 +1,30 @@
+package com.ozs.web.controller.StatisticalAnalysis;
+
+import com.ozs.common.core.domain.AjaxResult;
+import com.ozs.plan.service.PlanYearsService;
+import com.ozs.pm.service.IPmDemandService;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+
+/**
+ * @author buzhanyi
+ */
+@RestController
+@RequestMapping("/statistical")
+public class StatisticalAnalysisController {
+    @Resource
+    private PlanYearsService planYearsService;
+    @Resource
+    private IPmDemandService pmDemandService;
+
+    @ApiOperation(value = "执行滞后采购项目")
+    @GetMapping("/demandUnit")
+    public AjaxResult countProjectExceed() {
+        //指本年度所有的逾期项目数
+        return null;
+    }
+}