From 719fb5c4812bf9825686529c1ea36f46e0383703 Mon Sep 17 00:00:00 2001 From: wangh <123456> Date: Fri, 29 Jul 2022 11:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/domain/BaseDtNeng.java | 13 +- .../mapper/system/BaseDtNengMapper.xml | 7 +- .../mapper/system/BroadDataMapper.xml | 148 ++++++++++++++++++ 3 files changed, 164 insertions(+), 4 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseDtNeng.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseDtNeng.java index 754b7a0..4f5a26d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseDtNeng.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BaseDtNeng.java @@ -21,11 +21,12 @@ public class BaseDtNeng extends BaseEntity /** 年份 */ @Excel(name = "年份") private Long yearName; - + private String target; /** 1月 */ @Excel(name = "1月") private String month1; + /** 2月 */ @Excel(name = "2月") private String month2; @@ -70,7 +71,15 @@ public class BaseDtNeng extends BaseEntity @Excel(name = "12月") private String month12; - public void setId(Long id) + public String getTarget() { + return target; + } + + public void setTarget(String target) { + this.target = target; + } + + public void setId(Long id) { this.id = id; } diff --git a/ruoyi-system/src/main/resources/mapper/system/BaseDtNengMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BaseDtNengMapper.xml index 8dada2c..eb523f7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BaseDtNengMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BaseDtNengMapper.xml @@ -7,6 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + @@ -22,11 +23,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, year_name, month1, month2, month3, month4, month5, month6, month7, month8, month9, month10, month11, month12 from base_dt_neng + select id, year_name, month1, month2, month3, month4, month5, + month6, month7, month8, month9, month10, month11, month12,target from base_dt_neng +