Browse Source

完善电度采集

hfxc226 6 months ago
parent
commit
38f6dc83bd

+ 1 - 2
platform-dao/src/main/resources/mapper/remote/RemoteDegreeMapper.xml

@@ -103,9 +103,8 @@
     </sql>
     <select id="selectList" parameterType="com.platform.dao.dto.remote.RemoteDegreeDTO"
             resultType="com.platform.dao.vo.query.remote.RemoteDegreeVO">
-        select degree.*, sbInfo.name sbName, sbInfo.no sbNo
+        select degree.*
         from t_remote_degree as degree
-        left join t_sb_info sbInfo on degree.sb_id = sbInfo.id
         <where>
             <include refid="List_Condition"/>
         </where>

+ 0 - 102
platform-rest/src/main/java/com/platform/rest/controller/bigScreen/BigScreenController.java

@@ -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<>();
-    }
-
-}