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 +