优化项目结构

This commit is contained in:
qdxkrs 2022-05-20 14:27:08 +08:00
parent 1722abfae7
commit 6006a9f18c
51 changed files with 100 additions and 133 deletions

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.serviceyada.IRegionVGIService;
import com.ruoyi.system.domainyada.RegionVGIVO;
import com.ruoyi.system.service_yada.IRegionVGIService;
import com.ruoyi.system.domain.yada.RegionVGIVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

View File

@ -1,8 +1,8 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

View File

@ -71,7 +71,7 @@ spring:
# 数据库索引
database: 3
# 密码
password: yhy_app
password: sdust2020
# 连接超时时间
timeout: 10s
lettuce:

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.domainyada;
package com.ruoyi.system.domain.yada;
/**
* 森林覆盖率

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.domainyada;
package com.ruoyi.system.domain.yada;
import java.time.LocalDate;

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.domainyada;
package com.ruoyi.system.domain.yada;
/**
* 全球各类型占比

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.domainyada;
package com.ruoyi.system.domain.yada;
/**+
* 海面温度监测

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.domainyada;
package com.ruoyi.system.domain.yada;
import java.io.Serializable;
import java.time.LocalDate;

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.domainyada;
package com.ruoyi.system.domain.yada;
/**
* 区域生态系统

View File

@ -1,9 +1,7 @@
package com.ruoyi.system.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
package com.ruoyi.system.domain.yada;
import java.io.Serializable;
import java.util.Date;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;
@ -20,15 +18,13 @@ public class SysBaseEntity implements Serializable
private String createBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
private LocalDateTime createTime;
/** 更新者 */
private String updateBy;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
private LocalDateTime updateTime;
/** 备注 */
private String remark;
@ -46,13 +42,11 @@ public class SysBaseEntity implements Serializable
this.createBy = createBy;
}
public Date getCreateTime()
{
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime)
{
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
@ -66,13 +60,11 @@ public class SysBaseEntity implements Serializable
this.updateBy = updateBy;
}
public Date getUpdateTime()
{
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime)
{
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.domainyada;
package com.ruoyi.system.domain.yada;
/**
* 平均植被覆盖度和净初级生产力

View File

@ -1,9 +1,4 @@
package com.ruoyi.system.mapperyada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
package com.ruoyi.system.mapper.yada;
/**
* @Author: JinSheng Song

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.mapperyada;
package com.ruoyi.system.mapper.yada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;

View File

@ -1,9 +1,4 @@
package com.ruoyi.system.mapperyada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
package com.ruoyi.system.mapper.yada;
/**
* @Author: JinSheng Song

View File

@ -1,9 +1,4 @@
package com.ruoyi.system.mapperyada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
package com.ruoyi.system.mapper.yada;
/**
* @Author: JinSheng Song

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.mapperyada;
package com.ruoyi.system.mapper.yada;
import com.ruoyi.system.domainyada.RegionVGIVO;
import com.ruoyi.system.domain.yada.RegionVGIVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,9 +1,4 @@
package com.ruoyi.system.mapperyada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
package com.ruoyi.system.mapper.yada;
/**
* @Author: JinSheng Song

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.mapperyada;
package com.ruoyi.system.mapper.yada;
/**
* @Author: JinSheng Song

View File

@ -1,9 +1,4 @@
package com.ruoyi.system.mapperyada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
package com.ruoyi.system.mapper.yada;
/**
* @Author: JinSheng Song

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
import com.ruoyi.system.domainyada.RegionVGIVO;
import com.ruoyi.system.domain.yada.RegionVGIVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
/**
* 专题报告

View File

@ -1,4 +1,4 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
/**
* 城市监测

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada;
package com.ruoyi.system.service_yada;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@ -1,8 +1,8 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper;
import com.ruoyi.system.serviceyada.IAorestCoverageService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper;
import com.ruoyi.system.service_yada.IAorestCoverageService;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

View File

@ -1,8 +1,8 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper;
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper;
import com.ruoyi.system.service_yada.IAustraliaMiddleEastService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

View File

@ -1,8 +1,8 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper;
import com.ruoyi.system.serviceyada.IGlobalTypeService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper;
import com.ruoyi.system.service_yada.IGlobalTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

View File

@ -1,8 +1,8 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper;
import com.ruoyi.system.serviceyada.IOceanTemperatureService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper;
import com.ruoyi.system.service_yada.IOceanTemperatureService;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

View File

@ -1,8 +1,8 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.mapperyada.RegionVGIMapper;
import com.ruoyi.system.serviceyada.IRegionVGIService;
import com.ruoyi.system.domainyada.RegionVGIVO;
import com.ruoyi.system.mapper.yada.RegionVGIMapper;
import com.ruoyi.system.service_yada.IRegionVGIService;
import com.ruoyi.system.domain.yada.RegionVGIVO;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

View File

@ -1,8 +1,8 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper;
import com.ruoyi.system.serviceyada.IRegionalSystemService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper;
import com.ruoyi.system.service_yada.IRegionalSystemService;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.serviceyada.ISpecialReportService;
import com.ruoyi.system.service_yada.ISpecialReportService;
/**
* 专题报告

View File

@ -1,6 +1,6 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.serviceyada.IUrbanService;
import com.ruoyi.system.service_yada.IUrbanService;
/**
* * 城市监测

View File

@ -1,8 +1,8 @@
package com.ruoyi.system.serviceyada.impl;
package com.ruoyi.system.service_yada.impl;
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper;
import com.ruoyi.system.serviceyada.IVegetationCoverageService;
import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO;
import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper;
import com.ruoyi.system.service_yada.IVegetationCoverageService;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.AorestCoverageMapper">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.AorestCoverageMapper">
</mapper>

View File

@ -2,8 +2,8 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper">
<resultMap id="RM_AustraliaMiddleEast" type="com.ruoyi.system.domainyada.AustraliaMiddleEastVO">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.AustraliaMiddleEastMapper">
<resultMap id="RM_AustraliaMiddleEast" type="com.ruoyi.system.domain.yada.AustraliaMiddleEastVO">
<result property="yearMonth" column="year_month"/>
<result property="id" column="ID"/>

View File

@ -2,6 +2,6 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.GlobalTypeMapper">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.GlobalTypeMapper">
</mapper>

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.OceanTemperatureMapper">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.OceanTemperatureMapper">
</mapper>

View File

@ -2,8 +2,8 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.RegionVGIMapper">
<resultMap id="RM_RegionVGI" type="com.ruoyi.system.domainyada.RegionVGIVO">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.RegionVGIMapper">
<resultMap id="RM_RegionVGI" type="com.ruoyi.system.domain.yada.RegionVGIVO">
<result property="region" column="region"/>
<result property="id" column="ID"/>

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.RegionalSystemMapper">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.RegionalSystemMapper">
</mapper>

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.UrbanMapper">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.UrbanMapper">
</mapper>

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapperyada.VegetationCoverageMapper">
<mapper namespace="com.ruoyi.system.mapper.mapperyada.VegetationCoverageMapper">
</mapper>