数据流动年份
This commit is contained in:
parent
94c0e196ed
commit
ef66a3ff00
@ -37,7 +37,8 @@ public class CityExpandControllerr {
|
|||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/selectCityExpand", method = {RequestMethod.GET})
|
@RequestMapping(value = "/selectCityExpand", method = {RequestMethod.GET})
|
||||||
public AjaxResult selectCityExpand(@RequestParam(value = "city", required = false) String city,
|
public AjaxResult selectCityExpand(@RequestParam(value = "city", required = false) String city,
|
||||||
@RequestParam(value = "country", required = false) String country, String year) {
|
@RequestParam(value = "country", required = false) String country,
|
||||||
|
@RequestParam(value = "year", required = false)String year) {
|
||||||
List<CityFocusVO> value = service.selectExpand(city, country, year);
|
List<CityFocusVO> value = service.selectExpand(city, country, year);
|
||||||
return AjaxResult.success(value);
|
return AjaxResult.success(value);
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ ruoyi:
|
|||||||
# 实例演示开关
|
# 实例演示开关
|
||||||
demoEnabled: true
|
demoEnabled: true
|
||||||
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||||||
profile: D:/ruoyi/uploadPath #/home/sjs/ruoyi/uploadPath
|
profile: /home/sjs/ruoyi/uploadPath
|
||||||
# 获取ip地址开关
|
# 获取ip地址开关
|
||||||
addressEnabled: false
|
addressEnabled: false
|
||||||
# 验证码类型 math 数组计算 char 字符验证
|
# 验证码类型 math 数组计算 char 字符验证
|
||||||
@ -18,7 +18,8 @@ ruoyi:
|
|||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
server:
|
server:
|
||||||
# 服务器的HTTP端口,默认为8080
|
# 服务器的HTTP端口,默认为8080
|
||||||
port: 8080
|
port: 6061
|
||||||
|
#port: 8080
|
||||||
servlet:
|
servlet:
|
||||||
# 应用的访问路径
|
# 应用的访问路径
|
||||||
context-path: /
|
context-path: /
|
||||||
|
@ -7,6 +7,8 @@ package com.ruoyi.system.domain_yada;
|
|||||||
public class CityFocusVO extends SysBaseEntity {
|
public class CityFocusVO extends SysBaseEntity {
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
|
private String year;
|
||||||
|
|
||||||
private String xAxis;
|
private String xAxis;
|
||||||
|
|
||||||
private String yAxis;
|
private String yAxis;
|
||||||
@ -63,6 +65,15 @@ public class CityFocusVO extends SysBaseEntity {
|
|||||||
// this.year = year;
|
// this.year = year;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
public String getYear() {
|
||||||
|
return year;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setYear(String year) {
|
||||||
|
this.year = year;
|
||||||
|
}
|
||||||
|
|
||||||
public String getxAxisPy() {
|
public String getxAxisPy() {
|
||||||
return xAxisPy;
|
return xAxisPy;
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,8 @@ import java.util.List;
|
|||||||
public interface CityExpandMapper {
|
public interface CityExpandMapper {
|
||||||
|
|
||||||
List<CityFocusVO> selectExpand(@Param("city") String city,
|
List<CityFocusVO> selectExpand(@Param("city") String city,
|
||||||
@Param("country") String country);
|
@Param("country") String country,
|
||||||
|
@Param("year") String year);
|
||||||
|
|
||||||
List<OrientationVO> selectOrientation(@Param("city") String city,
|
List<OrientationVO> selectOrientation(@Param("city") String city,
|
||||||
@Param("superior") String superior,
|
@Param("superior") String superior,
|
||||||
|
@ -26,7 +26,7 @@ public class CityExpandServiceimpl implements ICityExpandService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<CityFocusVO> selectExpand(String city, String country, String year) {
|
public List<CityFocusVO> selectExpand(String city, String country, String year) {
|
||||||
return mapper.selectExpand(city, country);
|
return mapper.selectExpand(city, country,year);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
<sql id="columns">
|
<sql id="columns">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
id,city,x_axis,y_axis,x_axis_py,y_axis_py,city_en,country
|
id,year,city,x_axis,y_axis,x_axis_py,y_axis_py,city_en,country
|
||||||
]]>
|
]]>
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
@ -64,6 +64,9 @@
|
|||||||
<if test="country!= null and country !=''">
|
<if test="country!= null and country !=''">
|
||||||
AND country = #{country}
|
AND country = #{country}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="year!= null and year !=''">
|
||||||
|
AND year = #{year}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<resultMap id="RM_Inform" type="com.ruoyi.system.domain_yada.CityInformation">
|
<resultMap id="RM_Inform" type="com.ruoyi.system.domain_yada.CityInformation">
|
||||||
|
Loading…
Reference in New Issue
Block a user