|
|
@@ -0,0 +1,58 @@
|
|
|
+package com.railway.business.bi.controller;
|
|
|
+
|
|
|
+import com.railway.common.core.controller.BaseController;
|
|
|
+import com.railway.common.core.domain.AjaxResult;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author zhaomn
|
|
|
+ */
|
|
|
+@Api(value = "rest/bi", tags = "大屏展示-导入数据文件")
|
|
|
+@RestController
|
|
|
+@Validated
|
|
|
+@RequestMapping(value = "show/import")
|
|
|
+public class ImportController extends BaseController {
|
|
|
+
|
|
|
+ @ApiOperation(value = "电力变电专业每日异常信息统计表")
|
|
|
+ @PostMapping(value = "/yctjb")
|
|
|
+ public AjaxResult impYctjb(@RequestParam(value = "file") MultipartFile file,
|
|
|
+ @RequestParam(value = "date", required = false) String date) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "变配电所检修计划表")
|
|
|
+ @PostMapping(value = "/bdsjxjhb")
|
|
|
+ public AjaxResult impBdsjxjhb(@RequestParam(value = "file") MultipartFile file,
|
|
|
+ @RequestParam(value = "date", required = false) String date) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "检修计划兑现表")
|
|
|
+ @PostMapping(value = "/jxjhdxb")
|
|
|
+ public AjaxResult impJxjhdxb(@RequestParam(value = "file") MultipartFile file,
|
|
|
+ @RequestParam(value = "date", required = false) String date) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "基础设施段生产任务报表")
|
|
|
+ @PostMapping(value = "/scrwb")
|
|
|
+ public AjaxResult impScrwb(@RequestParam(value = "file") MultipartFile file,
|
|
|
+ @RequestParam(value = "date", required = false) String date) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "巡检兑现表")
|
|
|
+ @PostMapping(value = "/xjdxb")
|
|
|
+ public AjaxResult impXjdxb(@RequestParam(value = "file") MultipartFile file,
|
|
|
+ @RequestParam(value = "date", required = false) String date) {
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+}
|