xieshengjie 2 年之前
父節點
當前提交
d7d4a747db

+ 0 - 58
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/matrix/MatrixController.java

@@ -1,58 +0,0 @@
-package com.gyee.generation.controller.matrix;
-
-import com.gyee.common.config.R;
-import com.gyee.common.model.StringUtils;
-
-import com.gyee.generation.service.realtimelibrary.TestService;
-import org.springframework.web.bind.annotation.*;
-
-import javax.annotation.Resource;
-import java.util.Map;
-
-/**
- * @ClassName : MatrixController
- * @Author : xieshengjie
- * @Date: 2022/2/25 17:05
- * @Description :
- */
-@RestController
-@RequestMapping("/matrix")
-public class MatrixController {
-    @Resource
-    private TestService matrixService;
-
-    /**
-     * 简单矩阵
-     * @return
-     */
-    @GetMapping("/matrixDatas")
-    @ResponseBody
-    @CrossOrigin(origins = "*", maxAge = 3600)
-    public R matrixDatas()  {
-
-        Map<String, Object> resultMap = matrixService.matrixDatas();
-        if (StringUtils.isNotNull(resultMap)) {
-            return R.ok().data(resultMap);
-        }else{
-            return R.error().message("访问失败");
-        }
-    }
-
-//    /**
-//     * 明细矩阵
-//     * @return
-//     */
-//    @GetMapping("/matrixMxDatas")
-//    @ResponseBody
-//    @CrossOrigin(origins = "*", maxAge = 3600)
-//    public R matrixMxDatas()  {
-//
-//        Map<String, Object> resultMap = matrixService.matrixMxDatas();
-//        if (StringUtils.isNotNull(resultMap)) {
-//            return R.ok(resultMap.size()).data(resultMap);
-//        }else{
-//            return R.error().message("访问失败");
-//        }
-//    }
-
-}