|
@@ -1,102 +0,0 @@
|
|
-package com.platform.rest.controller.bigScreen;
|
|
|
|
-
|
|
|
|
-import com.platform.common.util.R;
|
|
|
|
-import com.platform.rest.log.annotation.SysLog;
|
|
|
|
-import com.platform.service.upms.SysFileService;
|
|
|
|
-import lombok.AllArgsConstructor;
|
|
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
|
-
|
|
|
|
-import java.util.List;
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * @Description 融资项目 控制器
|
|
|
|
- * @Author future
|
|
|
|
- * @Date 2020-02-02 17:28:36
|
|
|
|
- * @Version Copyright (c) 2019,北京乾元坤和科技有限公司 All rights reserved.
|
|
|
|
- */
|
|
|
|
-@Slf4j
|
|
|
|
-@RestController
|
|
|
|
-@AllArgsConstructor
|
|
|
|
-@RequestMapping("/big/screens")
|
|
|
|
-public class BigScreenController {
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- private final SysFileService sysFileService;
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 汇总数据
|
|
|
|
- *
|
|
|
|
- * @return R
|
|
|
|
- */
|
|
|
|
- @GetMapping("/count-data")
|
|
|
|
- public R getDataYear() {
|
|
|
|
- return new R<>();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 指标数据
|
|
|
|
- *
|
|
|
|
- * @return R
|
|
|
|
- */
|
|
|
|
- @GetMapping("/month-data")
|
|
|
|
- public R getDataAggregation() {
|
|
|
|
-
|
|
|
|
- return new R<>();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 新增记录
|
|
|
|
- *
|
|
|
|
- * @return R
|
|
|
|
- */
|
|
|
|
- @SysLog("新增融资项目")
|
|
|
|
- @PostMapping
|
|
|
|
- @PreAuthorize("@pms.hasPermission('financing-projects-add')")
|
|
|
|
- public R save() {
|
|
|
|
- return new R<>();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 修改记录
|
|
|
|
- *
|
|
|
|
- * @return R
|
|
|
|
- */
|
|
|
|
- @SysLog("修改融资项目")
|
|
|
|
- @PutMapping("/{id}")
|
|
|
|
- @PreAuthorize("@pms.hasPermission('financing-projects-edit')")
|
|
|
|
- public R update() {
|
|
|
|
- return new R<>();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 通过id删除一条记录
|
|
|
|
- *
|
|
|
|
- * @param id 主键
|
|
|
|
- * @return R
|
|
|
|
- */
|
|
|
|
- @SysLog("删除融资项目")
|
|
|
|
- @DeleteMapping("/{id}")
|
|
|
|
- @PreAuthorize("@pms.hasPermission('financing-projects-del')")
|
|
|
|
- public R removeById(@PathVariable String id) {
|
|
|
|
- return new R<>();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 批量记录
|
|
|
|
- *
|
|
|
|
- * @param ids 主键
|
|
|
|
- * @return R
|
|
|
|
- */
|
|
|
|
- @SysLog("批量删除融资项目")
|
|
|
|
- @DeleteMapping("")
|
|
|
|
- @PreAuthorize("@pms.hasPermission('financing-projects-del')")
|
|
|
|
- public R removeIds(@RequestBody List<String> ids) {
|
|
|
|
- return new R<>();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-}
|
|
|