Pārlūkot izejas kodu

日照强度计算表

Koishi 1 gadu atpakaļ
vecāks
revīzija
4c307104ff

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconIrradiationInputController.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 光伏辐照录入表 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-11-30
+ */
+@RestController
+@RequestMapping("//pro-econ-irradiation-input")
+public class ProEconIrradiationInputController {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconIrradiationInputMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconIrradiationInput;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 光伏辐照录入表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-11-30
+ */
+public interface ProEconIrradiationInputMapper extends BaseMapper<ProEconIrradiationInput> {
+
+}

+ 68 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconIrradiationInput.java

@@ -0,0 +1,68 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 光伏辐照录入表
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-11-30
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconIrradiationInput extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 测点编码
+     */
+    private String nemCode;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 实时库名称
+     */
+    private String aname;
+
+    /**
+     * 单位
+     */
+    private String valueUnit;
+
+    /**
+     * 类型编号
+     */
+    private String typeId;
+
+    /**
+     * 统一编码
+     */
+    private String uniformCode;
+
+    /**
+     * 场站编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 系数
+     */
+    private BigDecimal coefficient;
+
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/service/auto/IProEconIrradiationInputService.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.service.auto;
+
+import com.gyee.generation.model.auto.ProEconIrradiationInput;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 光伏辐照录入表 服务类
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-11-30
+ */
+public interface IProEconIrradiationInputService extends IService<ProEconIrradiationInput> {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/service/auto/impl/ProEconIrradiationInputServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.service.auto.impl;
+
+import com.gyee.generation.model.auto.ProEconIrradiationInput;
+import com.gyee.generation.mapper.auto.ProEconIrradiationInputMapper;
+import com.gyee.generation.service.auto.IProEconIrradiationInputService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 光伏辐照录入表 服务实现类
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-11-30
+ */
+@Service
+public class ProEconIrradiationInputServiceImpl extends ServiceImpl<ProEconIrradiationInputMapper, ProEconIrradiationInput> implements IProEconIrradiationInputService {
+
+}