数据流动年份
This commit is contained in:
@ -7,6 +7,8 @@ package com.ruoyi.system.domain_yada;
|
||||
public class CityFocusVO extends SysBaseEntity {
|
||||
private String id;
|
||||
|
||||
private String year;
|
||||
|
||||
private String xAxis;
|
||||
|
||||
private String yAxis;
|
||||
@ -63,6 +65,15 @@ public class CityFocusVO extends SysBaseEntity {
|
||||
// this.year = year;
|
||||
// }
|
||||
|
||||
|
||||
public String getYear() {
|
||||
return year;
|
||||
}
|
||||
|
||||
public void setYear(String year) {
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
public String getxAxisPy() {
|
||||
return xAxisPy;
|
||||
}
|
||||
|
@ -14,7 +14,8 @@ import java.util.List;
|
||||
public interface CityExpandMapper {
|
||||
|
||||
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,
|
||||
@Param("superior") String superior,
|
||||
|
@ -26,7 +26,7 @@ public class CityExpandServiceimpl implements ICityExpandService {
|
||||
|
||||
@Override
|
||||
public List<CityFocusVO> selectExpand(String city, String country, String year) {
|
||||
return mapper.selectExpand(city, country);
|
||||
return mapper.selectExpand(city, country,year);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
<sql id="columns">
|
||||
<![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>
|
||||
|
||||
@ -64,6 +64,9 @@
|
||||
<if test="country!= null and country !=''">
|
||||
AND country = #{country}
|
||||
</if>
|
||||
<if test="year!= null and year !=''">
|
||||
AND year = #{year}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<resultMap id="RM_Inform" type="com.ruoyi.system.domain_yada.CityInformation">
|
||||
|
Reference in New Issue
Block a user