feat: 增加覆冰查询接口

dev
huangfeng 1 year ago
parent 2645d09a73
commit bfc929a6e2

@ -0,0 +1,35 @@
package com.shxy.xymanager_admin.controller;
import com.github.pagehelper.PageInfo;
import com.shxy.xymanager_common.base.BaseController;
import com.shxy.xymanager_common.base.ResponseReult;
import com.shxy.xymanager_common.entity.LeadPulls;
import com.shxy.xymanager_service.service.LeadPullsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
@Api(tags = {"拉力相关接口"})
@RequestMapping("leadpulls")
@Slf4j
public class LeadPullsController extends BaseController {
@Resource
LeadPullsService service;
@GetMapping("list")
@ApiOperation("查询列表")
public ResponseReult<PageInfo<LeadPulls>> list(Integer lineId, Integer towerId,
Long start, Long end,
int pageNum, int pageSize) {
PageInfo<LeadPulls> result = service.list(lineId, towerId, start, end, pageNum, pageSize);
return ResponseReult.success(result);
}
}

@ -0,0 +1,33 @@
package com.shxy.xymanager_admin.controller;
import com.github.pagehelper.PageInfo;
import com.shxy.xymanager_common.base.BaseController;
import com.shxy.xymanager_common.base.ResponseReult;
import com.shxy.xymanager_common.entity.Weathers;
import com.shxy.xymanager_service.service.WeatherService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@RestController
@Api(tags = {"气象相关接口"})
@RequestMapping("weather")
@Slf4j
public class WeatherController extends BaseController {
@Resource
WeatherService service;
@GetMapping("list")
@ApiOperation("查询列表")
public ResponseReult<PageInfo<Weathers>> list(Integer lineId, Integer towerId,
Long start, Long end,
int pageNum, int pageSize) {
PageInfo<Weathers> result = service.list(lineId, towerId, start, end, pageNum, pageSize);
return ResponseReult.success(result);
}
}

@ -0,0 +1,632 @@
package com.shxy.xymanager_common.entity;
import java.util.Date;
public class LeadPulls {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.id
*
* @mbg.generated
*/
private Long id;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.term_id
*
* @mbg.generated
*/
private Integer termId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.update_time
*
* @mbg.generated
*/
private Long updateTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.func_code
*
* @mbg.generated
*/
private Short funcCode;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.maxpull_pull
*
* @mbg.generated
*/
private Short maxpullPull;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.maxpull_wind
*
* @mbg.generated
*/
private Float maxpullWind;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.maxpull_tilt
*
* @mbg.generated
*/
private Float maxpullTilt;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.minpull_pull
*
* @mbg.generated
*/
private Short minpullPull;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.minpull_wind
*
* @mbg.generated
*/
private Float minpullWind;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.minpull_tilt
*
* @mbg.generated
*/
private Float minpullTilt;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.maxwind_pull
*
* @mbg.generated
*/
private Short maxwindPull;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.maxwind_wind
*
* @mbg.generated
*/
private Float maxwindWind;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.maxwind_tilt
*
* @mbg.generated
*/
private Float maxwindTilt;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.minwind_pull
*
* @mbg.generated
*/
private Short minwindPull;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.minwind_wind
*
* @mbg.generated
*/
private Float minwindWind;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.minwind_tilt
*
* @mbg.generated
*/
private Float minwindTilt;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.wid
*
* @mbg.generated
*/
private Long wid;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.wind_speed
*
* @mbg.generated
*/
private Float windSpeed;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column lead_pulls.create_time
*
* @mbg.generated
*/
private Date createTime;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.id
*
* @return the value of lead_pulls.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.id
*
* @param id the value for lead_pulls.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.term_id
*
* @return the value of lead_pulls.term_id
*
* @mbg.generated
*/
public Integer getTermId() {
return termId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.term_id
*
* @param termId the value for lead_pulls.term_id
*
* @mbg.generated
*/
public void setTermId(Integer termId) {
this.termId = termId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.update_time
*
* @return the value of lead_pulls.update_time
*
* @mbg.generated
*/
public Long getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.update_time
*
* @param updateTime the value for lead_pulls.update_time
*
* @mbg.generated
*/
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.func_code
*
* @return the value of lead_pulls.func_code
*
* @mbg.generated
*/
public Short getFuncCode() {
return funcCode;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.func_code
*
* @param funcCode the value for lead_pulls.func_code
*
* @mbg.generated
*/
public void setFuncCode(Short funcCode) {
this.funcCode = funcCode;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.maxpull_pull
*
* @return the value of lead_pulls.maxpull_pull
*
* @mbg.generated
*/
public Short getMaxpullPull() {
return maxpullPull;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.maxpull_pull
*
* @param maxpullPull the value for lead_pulls.maxpull_pull
*
* @mbg.generated
*/
public void setMaxpullPull(Short maxpullPull) {
this.maxpullPull = maxpullPull;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.maxpull_wind
*
* @return the value of lead_pulls.maxpull_wind
*
* @mbg.generated
*/
public Float getMaxpullWind() {
return maxpullWind;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.maxpull_wind
*
* @param maxpullWind the value for lead_pulls.maxpull_wind
*
* @mbg.generated
*/
public void setMaxpullWind(Float maxpullWind) {
this.maxpullWind = maxpullWind;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.maxpull_tilt
*
* @return the value of lead_pulls.maxpull_tilt
*
* @mbg.generated
*/
public Float getMaxpullTilt() {
return maxpullTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.maxpull_tilt
*
* @param maxpullTilt the value for lead_pulls.maxpull_tilt
*
* @mbg.generated
*/
public void setMaxpullTilt(Float maxpullTilt) {
this.maxpullTilt = maxpullTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.minpull_pull
*
* @return the value of lead_pulls.minpull_pull
*
* @mbg.generated
*/
public Short getMinpullPull() {
return minpullPull;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.minpull_pull
*
* @param minpullPull the value for lead_pulls.minpull_pull
*
* @mbg.generated
*/
public void setMinpullPull(Short minpullPull) {
this.minpullPull = minpullPull;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.minpull_wind
*
* @return the value of lead_pulls.minpull_wind
*
* @mbg.generated
*/
public Float getMinpullWind() {
return minpullWind;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.minpull_wind
*
* @param minpullWind the value for lead_pulls.minpull_wind
*
* @mbg.generated
*/
public void setMinpullWind(Float minpullWind) {
this.minpullWind = minpullWind;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.minpull_tilt
*
* @return the value of lead_pulls.minpull_tilt
*
* @mbg.generated
*/
public Float getMinpullTilt() {
return minpullTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.minpull_tilt
*
* @param minpullTilt the value for lead_pulls.minpull_tilt
*
* @mbg.generated
*/
public void setMinpullTilt(Float minpullTilt) {
this.minpullTilt = minpullTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.maxwind_pull
*
* @return the value of lead_pulls.maxwind_pull
*
* @mbg.generated
*/
public Short getMaxwindPull() {
return maxwindPull;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.maxwind_pull
*
* @param maxwindPull the value for lead_pulls.maxwind_pull
*
* @mbg.generated
*/
public void setMaxwindPull(Short maxwindPull) {
this.maxwindPull = maxwindPull;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.maxwind_wind
*
* @return the value of lead_pulls.maxwind_wind
*
* @mbg.generated
*/
public Float getMaxwindWind() {
return maxwindWind;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.maxwind_wind
*
* @param maxwindWind the value for lead_pulls.maxwind_wind
*
* @mbg.generated
*/
public void setMaxwindWind(Float maxwindWind) {
this.maxwindWind = maxwindWind;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.maxwind_tilt
*
* @return the value of lead_pulls.maxwind_tilt
*
* @mbg.generated
*/
public Float getMaxwindTilt() {
return maxwindTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.maxwind_tilt
*
* @param maxwindTilt the value for lead_pulls.maxwind_tilt
*
* @mbg.generated
*/
public void setMaxwindTilt(Float maxwindTilt) {
this.maxwindTilt = maxwindTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.minwind_pull
*
* @return the value of lead_pulls.minwind_pull
*
* @mbg.generated
*/
public Short getMinwindPull() {
return minwindPull;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.minwind_pull
*
* @param minwindPull the value for lead_pulls.minwind_pull
*
* @mbg.generated
*/
public void setMinwindPull(Short minwindPull) {
this.minwindPull = minwindPull;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.minwind_wind
*
* @return the value of lead_pulls.minwind_wind
*
* @mbg.generated
*/
public Float getMinwindWind() {
return minwindWind;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.minwind_wind
*
* @param minwindWind the value for lead_pulls.minwind_wind
*
* @mbg.generated
*/
public void setMinwindWind(Float minwindWind) {
this.minwindWind = minwindWind;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.minwind_tilt
*
* @return the value of lead_pulls.minwind_tilt
*
* @mbg.generated
*/
public Float getMinwindTilt() {
return minwindTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.minwind_tilt
*
* @param minwindTilt the value for lead_pulls.minwind_tilt
*
* @mbg.generated
*/
public void setMinwindTilt(Float minwindTilt) {
this.minwindTilt = minwindTilt;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.wid
*
* @return the value of lead_pulls.wid
*
* @mbg.generated
*/
public Long getWid() {
return wid;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.wid
*
* @param wid the value for lead_pulls.wid
*
* @mbg.generated
*/
public void setWid(Long wid) {
this.wid = wid;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.wind_speed
*
* @return the value of lead_pulls.wind_speed
*
* @mbg.generated
*/
public Float getWindSpeed() {
return windSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.wind_speed
*
* @param windSpeed the value for lead_pulls.wind_speed
*
* @mbg.generated
*/
public void setWindSpeed(Float windSpeed) {
this.windSpeed = windSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column lead_pulls.create_time
*
* @return the value of lead_pulls.create_time
*
* @mbg.generated
*/
public Date getCreateTime() {
return createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column lead_pulls.create_time
*
* @param createTime the value for lead_pulls.create_time
*
* @mbg.generated
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}

@ -0,0 +1,597 @@
package com.shxy.xymanager_common.entity;
public class Weathers {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.id
*
* @mbg.generated
*/
private Long id;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.term_id
*
* @mbg.generated
*/
private Integer termId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.update_time
*
* @mbg.generated
*/
private Long updateTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.comp_id
*
* @mbg.generated
*/
private String compId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.avg_wind_speed_10min
*
* @mbg.generated
*/
private Float avgWindSpeed10min;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.avg_wind_dir_10min
*
* @mbg.generated
*/
private Short avgWindDir10min;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.avg_wind_speed_1min
*
* @mbg.generated
*/
private Float avgWindSpeed1min;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.avg_wind_dir_1min
*
* @mbg.generated
*/
private Float avgWindDir1min;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.max_wind_speed
*
* @mbg.generated
*/
private Float maxWindSpeed;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.extreme_wind_speed
*
* @mbg.generated
*/
private Float extremeWindSpeed;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.standard_wind_speed
*
* @mbg.generated
*/
private Float standardWindSpeed;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.wind_direction
*
* @mbg.generated
*/
private Float windDirection;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.air_temperature
*
* @mbg.generated
*/
private Float airTemperature;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.humidity
*
* @mbg.generated
*/
private Short humidity;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.air_pressure
*
* @mbg.generated
*/
private Float airPressure;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.precipitation
*
* @mbg.generated
*/
private Float precipitation;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.precipitation_Intensity
*
* @mbg.generated
*/
private Float precipitationIntensity;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column weathers.radiation_Intensity
*
* @mbg.generated
*/
private Short radiationIntensity;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.id
*
* @return the value of weathers.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.id
*
* @param id the value for weathers.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.term_id
*
* @return the value of weathers.term_id
*
* @mbg.generated
*/
public Integer getTermId() {
return termId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.term_id
*
* @param termId the value for weathers.term_id
*
* @mbg.generated
*/
public void setTermId(Integer termId) {
this.termId = termId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.update_time
*
* @return the value of weathers.update_time
*
* @mbg.generated
*/
public Long getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.update_time
*
* @param updateTime the value for weathers.update_time
*
* @mbg.generated
*/
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.comp_id
*
* @return the value of weathers.comp_id
*
* @mbg.generated
*/
public String getCompId() {
return compId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.comp_id
*
* @param compId the value for weathers.comp_id
*
* @mbg.generated
*/
public void setCompId(String compId) {
this.compId = compId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.avg_wind_speed_10min
*
* @return the value of weathers.avg_wind_speed_10min
*
* @mbg.generated
*/
public Float getAvgWindSpeed10min() {
return avgWindSpeed10min;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.avg_wind_speed_10min
*
* @param avgWindSpeed10min the value for weathers.avg_wind_speed_10min
*
* @mbg.generated
*/
public void setAvgWindSpeed10min(Float avgWindSpeed10min) {
this.avgWindSpeed10min = avgWindSpeed10min;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.avg_wind_dir_10min
*
* @return the value of weathers.avg_wind_dir_10min
*
* @mbg.generated
*/
public Short getAvgWindDir10min() {
return avgWindDir10min;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.avg_wind_dir_10min
*
* @param avgWindDir10min the value for weathers.avg_wind_dir_10min
*
* @mbg.generated
*/
public void setAvgWindDir10min(Short avgWindDir10min) {
this.avgWindDir10min = avgWindDir10min;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.avg_wind_speed_1min
*
* @return the value of weathers.avg_wind_speed_1min
*
* @mbg.generated
*/
public Float getAvgWindSpeed1min() {
return avgWindSpeed1min;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.avg_wind_speed_1min
*
* @param avgWindSpeed1min the value for weathers.avg_wind_speed_1min
*
* @mbg.generated
*/
public void setAvgWindSpeed1min(Float avgWindSpeed1min) {
this.avgWindSpeed1min = avgWindSpeed1min;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.avg_wind_dir_1min
*
* @return the value of weathers.avg_wind_dir_1min
*
* @mbg.generated
*/
public Float getAvgWindDir1min() {
return avgWindDir1min;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.avg_wind_dir_1min
*
* @param avgWindDir1min the value for weathers.avg_wind_dir_1min
*
* @mbg.generated
*/
public void setAvgWindDir1min(Float avgWindDir1min) {
this.avgWindDir1min = avgWindDir1min;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.max_wind_speed
*
* @return the value of weathers.max_wind_speed
*
* @mbg.generated
*/
public Float getMaxWindSpeed() {
return maxWindSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.max_wind_speed
*
* @param maxWindSpeed the value for weathers.max_wind_speed
*
* @mbg.generated
*/
public void setMaxWindSpeed(Float maxWindSpeed) {
this.maxWindSpeed = maxWindSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.extreme_wind_speed
*
* @return the value of weathers.extreme_wind_speed
*
* @mbg.generated
*/
public Float getExtremeWindSpeed() {
return extremeWindSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.extreme_wind_speed
*
* @param extremeWindSpeed the value for weathers.extreme_wind_speed
*
* @mbg.generated
*/
public void setExtremeWindSpeed(Float extremeWindSpeed) {
this.extremeWindSpeed = extremeWindSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.standard_wind_speed
*
* @return the value of weathers.standard_wind_speed
*
* @mbg.generated
*/
public Float getStandardWindSpeed() {
return standardWindSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.standard_wind_speed
*
* @param standardWindSpeed the value for weathers.standard_wind_speed
*
* @mbg.generated
*/
public void setStandardWindSpeed(Float standardWindSpeed) {
this.standardWindSpeed = standardWindSpeed;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.wind_direction
*
* @return the value of weathers.wind_direction
*
* @mbg.generated
*/
public Float getWindDirection() {
return windDirection;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.wind_direction
*
* @param windDirection the value for weathers.wind_direction
*
* @mbg.generated
*/
public void setWindDirection(Float windDirection) {
this.windDirection = windDirection;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.air_temperature
*
* @return the value of weathers.air_temperature
*
* @mbg.generated
*/
public Float getAirTemperature() {
return airTemperature;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.air_temperature
*
* @param airTemperature the value for weathers.air_temperature
*
* @mbg.generated
*/
public void setAirTemperature(Float airTemperature) {
this.airTemperature = airTemperature;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.humidity
*
* @return the value of weathers.humidity
*
* @mbg.generated
*/
public Short getHumidity() {
return humidity;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.humidity
*
* @param humidity the value for weathers.humidity
*
* @mbg.generated
*/
public void setHumidity(Short humidity) {
this.humidity = humidity;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.air_pressure
*
* @return the value of weathers.air_pressure
*
* @mbg.generated
*/
public Float getAirPressure() {
return airPressure;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.air_pressure
*
* @param airPressure the value for weathers.air_pressure
*
* @mbg.generated
*/
public void setAirPressure(Float airPressure) {
this.airPressure = airPressure;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.precipitation
*
* @return the value of weathers.precipitation
*
* @mbg.generated
*/
public Float getPrecipitation() {
return precipitation;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.precipitation
*
* @param precipitation the value for weathers.precipitation
*
* @mbg.generated
*/
public void setPrecipitation(Float precipitation) {
this.precipitation = precipitation;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.precipitation_Intensity
*
* @return the value of weathers.precipitation_Intensity
*
* @mbg.generated
*/
public Float getPrecipitationIntensity() {
return precipitationIntensity;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.precipitation_Intensity
*
* @param precipitationIntensity the value for weathers.precipitation_Intensity
*
* @mbg.generated
*/
public void setPrecipitationIntensity(Float precipitationIntensity) {
this.precipitationIntensity = precipitationIntensity;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column weathers.radiation_Intensity
*
* @return the value of weathers.radiation_Intensity
*
* @mbg.generated
*/
public Short getRadiationIntensity() {
return radiationIntensity;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column weathers.radiation_Intensity
*
* @param radiationIntensity the value for weathers.radiation_Intensity
*
* @mbg.generated
*/
public void setRadiationIntensity(Short radiationIntensity) {
this.radiationIntensity = radiationIntensity;
}
}

@ -0,0 +1,97 @@
package com.shxy.xymanager_dao.dao;
import com.shxy.xymanager_common.entity.LeadPulls;
import com.shxy.xymanager_common.entity.LeadPullsExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface LeadPullsMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
long countByExample(LeadPullsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int deleteByExample(LeadPullsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int insert(LeadPulls row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int insertSelective(LeadPulls row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
List<LeadPulls> selectByExample(LeadPullsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
LeadPulls selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("row") LeadPulls row, @Param("example") LeadPullsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int updateByExample(@Param("row") LeadPulls row, @Param("example") LeadPullsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(LeadPulls row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table lead_pulls
*
* @mbg.generated
*/
int updateByPrimaryKey(LeadPulls row);
}

@ -0,0 +1,97 @@
package com.shxy.xymanager_dao.dao;
import com.shxy.xymanager_common.entity.Weathers;
import com.shxy.xymanager_common.entity.WeathersExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface WeathersMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
long countByExample(WeathersExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int deleteByExample(WeathersExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int insert(Weathers row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int insertSelective(Weathers row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
List<Weathers> selectByExample(WeathersExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
Weathers selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("row") Weathers row, @Param("example") WeathersExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int updateByExample(@Param("row") Weathers row, @Param("example") WeathersExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(Weathers row);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table weathers
*
* @mbg.generated
*/
int updateByPrimaryKey(Weathers row);
}

@ -0,0 +1,493 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shxy.xymanager_dao.dao.LeadPullsMapper">
<resultMap id="BaseResultMap" type="com.shxy.xymanager_common.entity.LeadPulls">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="term_id" jdbcType="INTEGER" property="termId" />
<result column="update_time" jdbcType="BIGINT" property="updateTime" />
<result column="func_code" jdbcType="SMALLINT" property="funcCode" />
<result column="maxpull_pull" jdbcType="SMALLINT" property="maxpullPull" />
<result column="maxpull_wind" jdbcType="REAL" property="maxpullWind" />
<result column="maxpull_tilt" jdbcType="REAL" property="maxpullTilt" />
<result column="minpull_pull" jdbcType="SMALLINT" property="minpullPull" />
<result column="minpull_wind" jdbcType="REAL" property="minpullWind" />
<result column="minpull_tilt" jdbcType="REAL" property="minpullTilt" />
<result column="maxwind_pull" jdbcType="SMALLINT" property="maxwindPull" />
<result column="maxwind_wind" jdbcType="REAL" property="maxwindWind" />
<result column="maxwind_tilt" jdbcType="REAL" property="maxwindTilt" />
<result column="minwind_pull" jdbcType="SMALLINT" property="minwindPull" />
<result column="minwind_wind" jdbcType="REAL" property="minwindWind" />
<result column="minwind_tilt" jdbcType="REAL" property="minwindTilt" />
<result column="wid" jdbcType="BIGINT" property="wid" />
<result column="wind_speed" jdbcType="REAL" property="windSpeed" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, term_id, update_time, func_code, maxpull_pull, maxpull_wind, maxpull_tilt, minpull_pull,
minpull_wind, minpull_tilt, maxwind_pull, maxwind_wind, maxwind_tilt, minwind_pull,
minwind_wind, minwind_tilt, wid, wind_speed, create_time
</sql>
<select id="selectByExample" parameterType="com.shxy.xymanager_common.entity.LeadPullsExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from lead_pulls
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from lead_pulls
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from lead_pulls
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="com.shxy.xymanager_common.entity.LeadPullsExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from lead_pulls
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.shxy.xymanager_common.entity.LeadPulls">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into lead_pulls (term_id, update_time, func_code,
maxpull_pull, maxpull_wind, maxpull_tilt,
minpull_pull, minpull_wind, minpull_tilt,
maxwind_pull, maxwind_wind, maxwind_tilt,
minwind_pull, minwind_wind, minwind_tilt,
wid, wind_speed, create_time
)
values (#{termId,jdbcType=INTEGER}, #{updateTime,jdbcType=BIGINT}, #{funcCode,jdbcType=SMALLINT},
#{maxpullPull,jdbcType=SMALLINT}, #{maxpullWind,jdbcType=REAL}, #{maxpullTilt,jdbcType=REAL},
#{minpullPull,jdbcType=SMALLINT}, #{minpullWind,jdbcType=REAL}, #{minpullTilt,jdbcType=REAL},
#{maxwindPull,jdbcType=SMALLINT}, #{maxwindWind,jdbcType=REAL}, #{maxwindTilt,jdbcType=REAL},
#{minwindPull,jdbcType=SMALLINT}, #{minwindWind,jdbcType=REAL}, #{minwindTilt,jdbcType=REAL},
#{wid,jdbcType=BIGINT}, #{windSpeed,jdbcType=REAL}, #{createTime,jdbcType=TIMESTAMP}
)
</insert>
<insert id="insertSelective" parameterType="com.shxy.xymanager_common.entity.LeadPulls">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into lead_pulls
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="termId != null">
term_id,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="funcCode != null">
func_code,
</if>
<if test="maxpullPull != null">
maxpull_pull,
</if>
<if test="maxpullWind != null">
maxpull_wind,
</if>
<if test="maxpullTilt != null">
maxpull_tilt,
</if>
<if test="minpullPull != null">
minpull_pull,
</if>
<if test="minpullWind != null">
minpull_wind,
</if>
<if test="minpullTilt != null">
minpull_tilt,
</if>
<if test="maxwindPull != null">
maxwind_pull,
</if>
<if test="maxwindWind != null">
maxwind_wind,
</if>
<if test="maxwindTilt != null">
maxwind_tilt,
</if>
<if test="minwindPull != null">
minwind_pull,
</if>
<if test="minwindWind != null">
minwind_wind,
</if>
<if test="minwindTilt != null">
minwind_tilt,
</if>
<if test="wid != null">
wid,
</if>
<if test="windSpeed != null">
wind_speed,
</if>
<if test="createTime != null">
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="termId != null">
#{termId,jdbcType=INTEGER},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=BIGINT},
</if>
<if test="funcCode != null">
#{funcCode,jdbcType=SMALLINT},
</if>
<if test="maxpullPull != null">
#{maxpullPull,jdbcType=SMALLINT},
</if>
<if test="maxpullWind != null">
#{maxpullWind,jdbcType=REAL},
</if>
<if test="maxpullTilt != null">
#{maxpullTilt,jdbcType=REAL},
</if>
<if test="minpullPull != null">
#{minpullPull,jdbcType=SMALLINT},
</if>
<if test="minpullWind != null">
#{minpullWind,jdbcType=REAL},
</if>
<if test="minpullTilt != null">
#{minpullTilt,jdbcType=REAL},
</if>
<if test="maxwindPull != null">
#{maxwindPull,jdbcType=SMALLINT},
</if>
<if test="maxwindWind != null">
#{maxwindWind,jdbcType=REAL},
</if>
<if test="maxwindTilt != null">
#{maxwindTilt,jdbcType=REAL},
</if>
<if test="minwindPull != null">
#{minwindPull,jdbcType=SMALLINT},
</if>
<if test="minwindWind != null">
#{minwindWind,jdbcType=REAL},
</if>
<if test="minwindTilt != null">
#{minwindTilt,jdbcType=REAL},
</if>
<if test="wid != null">
#{wid,jdbcType=BIGINT},
</if>
<if test="windSpeed != null">
#{windSpeed,jdbcType=REAL},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.shxy.xymanager_common.entity.LeadPullsExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from lead_pulls
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update lead_pulls
<set>
<if test="row.id != null">
id = #{row.id,jdbcType=BIGINT},
</if>
<if test="row.termId != null">
term_id = #{row.termId,jdbcType=INTEGER},
</if>
<if test="row.updateTime != null">
update_time = #{row.updateTime,jdbcType=BIGINT},
</if>
<if test="row.funcCode != null">
func_code = #{row.funcCode,jdbcType=SMALLINT},
</if>
<if test="row.maxpullPull != null">
maxpull_pull = #{row.maxpullPull,jdbcType=SMALLINT},
</if>
<if test="row.maxpullWind != null">
maxpull_wind = #{row.maxpullWind,jdbcType=REAL},
</if>
<if test="row.maxpullTilt != null">
maxpull_tilt = #{row.maxpullTilt,jdbcType=REAL},
</if>
<if test="row.minpullPull != null">
minpull_pull = #{row.minpullPull,jdbcType=SMALLINT},
</if>
<if test="row.minpullWind != null">
minpull_wind = #{row.minpullWind,jdbcType=REAL},
</if>
<if test="row.minpullTilt != null">
minpull_tilt = #{row.minpullTilt,jdbcType=REAL},
</if>
<if test="row.maxwindPull != null">
maxwind_pull = #{row.maxwindPull,jdbcType=SMALLINT},
</if>
<if test="row.maxwindWind != null">
maxwind_wind = #{row.maxwindWind,jdbcType=REAL},
</if>
<if test="row.maxwindTilt != null">
maxwind_tilt = #{row.maxwindTilt,jdbcType=REAL},
</if>
<if test="row.minwindPull != null">
minwind_pull = #{row.minwindPull,jdbcType=SMALLINT},
</if>
<if test="row.minwindWind != null">
minwind_wind = #{row.minwindWind,jdbcType=REAL},
</if>
<if test="row.minwindTilt != null">
minwind_tilt = #{row.minwindTilt,jdbcType=REAL},
</if>
<if test="row.wid != null">
wid = #{row.wid,jdbcType=BIGINT},
</if>
<if test="row.windSpeed != null">
wind_speed = #{row.windSpeed,jdbcType=REAL},
</if>
<if test="row.createTime != null">
create_time = #{row.createTime,jdbcType=TIMESTAMP},
</if>
</set>
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update lead_pulls
set id = #{row.id,jdbcType=BIGINT},
term_id = #{row.termId,jdbcType=INTEGER},
update_time = #{row.updateTime,jdbcType=BIGINT},
func_code = #{row.funcCode,jdbcType=SMALLINT},
maxpull_pull = #{row.maxpullPull,jdbcType=SMALLINT},
maxpull_wind = #{row.maxpullWind,jdbcType=REAL},
maxpull_tilt = #{row.maxpullTilt,jdbcType=REAL},
minpull_pull = #{row.minpullPull,jdbcType=SMALLINT},
minpull_wind = #{row.minpullWind,jdbcType=REAL},
minpull_tilt = #{row.minpullTilt,jdbcType=REAL},
maxwind_pull = #{row.maxwindPull,jdbcType=SMALLINT},
maxwind_wind = #{row.maxwindWind,jdbcType=REAL},
maxwind_tilt = #{row.maxwindTilt,jdbcType=REAL},
minwind_pull = #{row.minwindPull,jdbcType=SMALLINT},
minwind_wind = #{row.minwindWind,jdbcType=REAL},
minwind_tilt = #{row.minwindTilt,jdbcType=REAL},
wid = #{row.wid,jdbcType=BIGINT},
wind_speed = #{row.windSpeed,jdbcType=REAL},
create_time = #{row.createTime,jdbcType=TIMESTAMP}
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.shxy.xymanager_common.entity.LeadPulls">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update lead_pulls
<set>
<if test="termId != null">
term_id = #{termId,jdbcType=INTEGER},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=BIGINT},
</if>
<if test="funcCode != null">
func_code = #{funcCode,jdbcType=SMALLINT},
</if>
<if test="maxpullPull != null">
maxpull_pull = #{maxpullPull,jdbcType=SMALLINT},
</if>
<if test="maxpullWind != null">
maxpull_wind = #{maxpullWind,jdbcType=REAL},
</if>
<if test="maxpullTilt != null">
maxpull_tilt = #{maxpullTilt,jdbcType=REAL},
</if>
<if test="minpullPull != null">
minpull_pull = #{minpullPull,jdbcType=SMALLINT},
</if>
<if test="minpullWind != null">
minpull_wind = #{minpullWind,jdbcType=REAL},
</if>
<if test="minpullTilt != null">
minpull_tilt = #{minpullTilt,jdbcType=REAL},
</if>
<if test="maxwindPull != null">
maxwind_pull = #{maxwindPull,jdbcType=SMALLINT},
</if>
<if test="maxwindWind != null">
maxwind_wind = #{maxwindWind,jdbcType=REAL},
</if>
<if test="maxwindTilt != null">
maxwind_tilt = #{maxwindTilt,jdbcType=REAL},
</if>
<if test="minwindPull != null">
minwind_pull = #{minwindPull,jdbcType=SMALLINT},
</if>
<if test="minwindWind != null">
minwind_wind = #{minwindWind,jdbcType=REAL},
</if>
<if test="minwindTilt != null">
minwind_tilt = #{minwindTilt,jdbcType=REAL},
</if>
<if test="wid != null">
wid = #{wid,jdbcType=BIGINT},
</if>
<if test="windSpeed != null">
wind_speed = #{windSpeed,jdbcType=REAL},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="com.shxy.xymanager_common.entity.LeadPulls">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update lead_pulls
set term_id = #{termId,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=BIGINT},
func_code = #{funcCode,jdbcType=SMALLINT},
maxpull_pull = #{maxpullPull,jdbcType=SMALLINT},
maxpull_wind = #{maxpullWind,jdbcType=REAL},
maxpull_tilt = #{maxpullTilt,jdbcType=REAL},
minpull_pull = #{minpullPull,jdbcType=SMALLINT},
minpull_wind = #{minpullWind,jdbcType=REAL},
minpull_tilt = #{minpullTilt,jdbcType=REAL},
maxwind_pull = #{maxwindPull,jdbcType=SMALLINT},
maxwind_wind = #{maxwindWind,jdbcType=REAL},
maxwind_tilt = #{maxwindTilt,jdbcType=REAL},
minwind_pull = #{minwindPull,jdbcType=SMALLINT},
minwind_wind = #{minwindWind,jdbcType=REAL},
minwind_tilt = #{minwindTilt,jdbcType=REAL},
wid = #{wid,jdbcType=BIGINT},
wind_speed = #{windSpeed,jdbcType=REAL},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>

@ -0,0 +1,479 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shxy.xymanager_dao.dao.WeathersMapper">
<resultMap id="BaseResultMap" type="com.shxy.xymanager_common.entity.Weathers">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="term_id" jdbcType="INTEGER" property="termId" />
<result column="update_time" jdbcType="BIGINT" property="updateTime" />
<result column="comp_id" jdbcType="VARCHAR" property="compId" />
<result column="avg_wind_speed_10min" jdbcType="REAL" property="avgWindSpeed10min" />
<result column="avg_wind_dir_10min" jdbcType="SMALLINT" property="avgWindDir10min" />
<result column="avg_wind_speed_1min" jdbcType="REAL" property="avgWindSpeed1min" />
<result column="avg_wind_dir_1min" jdbcType="REAL" property="avgWindDir1min" />
<result column="max_wind_speed" jdbcType="REAL" property="maxWindSpeed" />
<result column="extreme_wind_speed" jdbcType="REAL" property="extremeWindSpeed" />
<result column="standard_wind_speed" jdbcType="REAL" property="standardWindSpeed" />
<result column="wind_direction" jdbcType="REAL" property="windDirection" />
<result column="air_temperature" jdbcType="REAL" property="airTemperature" />
<result column="humidity" jdbcType="SMALLINT" property="humidity" />
<result column="air_pressure" jdbcType="REAL" property="airPressure" />
<result column="precipitation" jdbcType="REAL" property="precipitation" />
<result column="precipitation_Intensity" jdbcType="REAL" property="precipitationIntensity" />
<result column="radiation_Intensity" jdbcType="SMALLINT" property="radiationIntensity" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, term_id, update_time, comp_id, avg_wind_speed_10min, avg_wind_dir_10min, avg_wind_speed_1min,
avg_wind_dir_1min, max_wind_speed, extreme_wind_speed, standard_wind_speed, wind_direction,
air_temperature, humidity, air_pressure, precipitation, precipitation_Intensity,
radiation_Intensity
</sql>
<select id="selectByExample" parameterType="com.shxy.xymanager_common.entity.WeathersExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from weathers
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from weathers
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from weathers
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="com.shxy.xymanager_common.entity.WeathersExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from weathers
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.shxy.xymanager_common.entity.Weathers">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into weathers (term_id, update_time, comp_id,
avg_wind_speed_10min, avg_wind_dir_10min, avg_wind_speed_1min,
avg_wind_dir_1min, max_wind_speed, extreme_wind_speed,
standard_wind_speed, wind_direction, air_temperature,
humidity, air_pressure, precipitation,
precipitation_Intensity, radiation_Intensity
)
values (#{termId,jdbcType=INTEGER}, #{updateTime,jdbcType=BIGINT}, #{compId,jdbcType=VARCHAR},
#{avgWindSpeed10min,jdbcType=REAL}, #{avgWindDir10min,jdbcType=SMALLINT}, #{avgWindSpeed1min,jdbcType=REAL},
#{avgWindDir1min,jdbcType=REAL}, #{maxWindSpeed,jdbcType=REAL}, #{extremeWindSpeed,jdbcType=REAL},
#{standardWindSpeed,jdbcType=REAL}, #{windDirection,jdbcType=REAL}, #{airTemperature,jdbcType=REAL},
#{humidity,jdbcType=SMALLINT}, #{airPressure,jdbcType=REAL}, #{precipitation,jdbcType=REAL},
#{precipitationIntensity,jdbcType=REAL}, #{radiationIntensity,jdbcType=SMALLINT}
)
</insert>
<insert id="insertSelective" parameterType="com.shxy.xymanager_common.entity.Weathers">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into weathers
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="termId != null">
term_id,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="compId != null">
comp_id,
</if>
<if test="avgWindSpeed10min != null">
avg_wind_speed_10min,
</if>
<if test="avgWindDir10min != null">
avg_wind_dir_10min,
</if>
<if test="avgWindSpeed1min != null">
avg_wind_speed_1min,
</if>
<if test="avgWindDir1min != null">
avg_wind_dir_1min,
</if>
<if test="maxWindSpeed != null">
max_wind_speed,
</if>
<if test="extremeWindSpeed != null">
extreme_wind_speed,
</if>
<if test="standardWindSpeed != null">
standard_wind_speed,
</if>
<if test="windDirection != null">
wind_direction,
</if>
<if test="airTemperature != null">
air_temperature,
</if>
<if test="humidity != null">
humidity,
</if>
<if test="airPressure != null">
air_pressure,
</if>
<if test="precipitation != null">
precipitation,
</if>
<if test="precipitationIntensity != null">
precipitation_Intensity,
</if>
<if test="radiationIntensity != null">
radiation_Intensity,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="termId != null">
#{termId,jdbcType=INTEGER},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=BIGINT},
</if>
<if test="compId != null">
#{compId,jdbcType=VARCHAR},
</if>
<if test="avgWindSpeed10min != null">
#{avgWindSpeed10min,jdbcType=REAL},
</if>
<if test="avgWindDir10min != null">
#{avgWindDir10min,jdbcType=SMALLINT},
</if>
<if test="avgWindSpeed1min != null">
#{avgWindSpeed1min,jdbcType=REAL},
</if>
<if test="avgWindDir1min != null">
#{avgWindDir1min,jdbcType=REAL},
</if>
<if test="maxWindSpeed != null">
#{maxWindSpeed,jdbcType=REAL},
</if>
<if test="extremeWindSpeed != null">
#{extremeWindSpeed,jdbcType=REAL},
</if>
<if test="standardWindSpeed != null">
#{standardWindSpeed,jdbcType=REAL},
</if>
<if test="windDirection != null">
#{windDirection,jdbcType=REAL},
</if>
<if test="airTemperature != null">
#{airTemperature,jdbcType=REAL},
</if>
<if test="humidity != null">
#{humidity,jdbcType=SMALLINT},
</if>
<if test="airPressure != null">
#{airPressure,jdbcType=REAL},
</if>
<if test="precipitation != null">
#{precipitation,jdbcType=REAL},
</if>
<if test="precipitationIntensity != null">
#{precipitationIntensity,jdbcType=REAL},
</if>
<if test="radiationIntensity != null">
#{radiationIntensity,jdbcType=SMALLINT},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.shxy.xymanager_common.entity.WeathersExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from weathers
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update weathers
<set>
<if test="row.id != null">
id = #{row.id,jdbcType=BIGINT},
</if>
<if test="row.termId != null">
term_id = #{row.termId,jdbcType=INTEGER},
</if>
<if test="row.updateTime != null">
update_time = #{row.updateTime,jdbcType=BIGINT},
</if>
<if test="row.compId != null">
comp_id = #{row.compId,jdbcType=VARCHAR},
</if>
<if test="row.avgWindSpeed10min != null">
avg_wind_speed_10min = #{row.avgWindSpeed10min,jdbcType=REAL},
</if>
<if test="row.avgWindDir10min != null">
avg_wind_dir_10min = #{row.avgWindDir10min,jdbcType=SMALLINT},
</if>
<if test="row.avgWindSpeed1min != null">
avg_wind_speed_1min = #{row.avgWindSpeed1min,jdbcType=REAL},
</if>
<if test="row.avgWindDir1min != null">
avg_wind_dir_1min = #{row.avgWindDir1min,jdbcType=REAL},
</if>
<if test="row.maxWindSpeed != null">
max_wind_speed = #{row.maxWindSpeed,jdbcType=REAL},
</if>
<if test="row.extremeWindSpeed != null">
extreme_wind_speed = #{row.extremeWindSpeed,jdbcType=REAL},
</if>
<if test="row.standardWindSpeed != null">
standard_wind_speed = #{row.standardWindSpeed,jdbcType=REAL},
</if>
<if test="row.windDirection != null">
wind_direction = #{row.windDirection,jdbcType=REAL},
</if>
<if test="row.airTemperature != null">
air_temperature = #{row.airTemperature,jdbcType=REAL},
</if>
<if test="row.humidity != null">
humidity = #{row.humidity,jdbcType=SMALLINT},
</if>
<if test="row.airPressure != null">
air_pressure = #{row.airPressure,jdbcType=REAL},
</if>
<if test="row.precipitation != null">
precipitation = #{row.precipitation,jdbcType=REAL},
</if>
<if test="row.precipitationIntensity != null">
precipitation_Intensity = #{row.precipitationIntensity,jdbcType=REAL},
</if>
<if test="row.radiationIntensity != null">
radiation_Intensity = #{row.radiationIntensity,jdbcType=SMALLINT},
</if>
</set>
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update weathers
set id = #{row.id,jdbcType=BIGINT},
term_id = #{row.termId,jdbcType=INTEGER},
update_time = #{row.updateTime,jdbcType=BIGINT},
comp_id = #{row.compId,jdbcType=VARCHAR},
avg_wind_speed_10min = #{row.avgWindSpeed10min,jdbcType=REAL},
avg_wind_dir_10min = #{row.avgWindDir10min,jdbcType=SMALLINT},
avg_wind_speed_1min = #{row.avgWindSpeed1min,jdbcType=REAL},
avg_wind_dir_1min = #{row.avgWindDir1min,jdbcType=REAL},
max_wind_speed = #{row.maxWindSpeed,jdbcType=REAL},
extreme_wind_speed = #{row.extremeWindSpeed,jdbcType=REAL},
standard_wind_speed = #{row.standardWindSpeed,jdbcType=REAL},
wind_direction = #{row.windDirection,jdbcType=REAL},
air_temperature = #{row.airTemperature,jdbcType=REAL},
humidity = #{row.humidity,jdbcType=SMALLINT},
air_pressure = #{row.airPressure,jdbcType=REAL},
precipitation = #{row.precipitation,jdbcType=REAL},
precipitation_Intensity = #{row.precipitationIntensity,jdbcType=REAL},
radiation_Intensity = #{row.radiationIntensity,jdbcType=SMALLINT}
<if test="example != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.shxy.xymanager_common.entity.Weathers">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update weathers
<set>
<if test="termId != null">
term_id = #{termId,jdbcType=INTEGER},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=BIGINT},
</if>
<if test="compId != null">
comp_id = #{compId,jdbcType=VARCHAR},
</if>
<if test="avgWindSpeed10min != null">
avg_wind_speed_10min = #{avgWindSpeed10min,jdbcType=REAL},
</if>
<if test="avgWindDir10min != null">
avg_wind_dir_10min = #{avgWindDir10min,jdbcType=SMALLINT},
</if>
<if test="avgWindSpeed1min != null">
avg_wind_speed_1min = #{avgWindSpeed1min,jdbcType=REAL},
</if>
<if test="avgWindDir1min != null">
avg_wind_dir_1min = #{avgWindDir1min,jdbcType=REAL},
</if>
<if test="maxWindSpeed != null">
max_wind_speed = #{maxWindSpeed,jdbcType=REAL},
</if>
<if test="extremeWindSpeed != null">
extreme_wind_speed = #{extremeWindSpeed,jdbcType=REAL},
</if>
<if test="standardWindSpeed != null">
standard_wind_speed = #{standardWindSpeed,jdbcType=REAL},
</if>
<if test="windDirection != null">
wind_direction = #{windDirection,jdbcType=REAL},
</if>
<if test="airTemperature != null">
air_temperature = #{airTemperature,jdbcType=REAL},
</if>
<if test="humidity != null">
humidity = #{humidity,jdbcType=SMALLINT},
</if>
<if test="airPressure != null">
air_pressure = #{airPressure,jdbcType=REAL},
</if>
<if test="precipitation != null">
precipitation = #{precipitation,jdbcType=REAL},
</if>
<if test="precipitationIntensity != null">
precipitation_Intensity = #{precipitationIntensity,jdbcType=REAL},
</if>
<if test="radiationIntensity != null">
radiation_Intensity = #{radiationIntensity,jdbcType=SMALLINT},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="com.shxy.xymanager_common.entity.Weathers">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update weathers
set term_id = #{termId,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=BIGINT},
comp_id = #{compId,jdbcType=VARCHAR},
avg_wind_speed_10min = #{avgWindSpeed10min,jdbcType=REAL},
avg_wind_dir_10min = #{avgWindDir10min,jdbcType=SMALLINT},
avg_wind_speed_1min = #{avgWindSpeed1min,jdbcType=REAL},
avg_wind_dir_1min = #{avgWindDir1min,jdbcType=REAL},
max_wind_speed = #{maxWindSpeed,jdbcType=REAL},
extreme_wind_speed = #{extremeWindSpeed,jdbcType=REAL},
standard_wind_speed = #{standardWindSpeed,jdbcType=REAL},
wind_direction = #{windDirection,jdbcType=REAL},
air_temperature = #{airTemperature,jdbcType=REAL},
humidity = #{humidity,jdbcType=SMALLINT},
air_pressure = #{airPressure,jdbcType=REAL},
precipitation = #{precipitation,jdbcType=REAL},
precipitation_Intensity = #{precipitationIntensity,jdbcType=REAL},
radiation_Intensity = #{radiationIntensity,jdbcType=SMALLINT}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>

@ -0,0 +1,50 @@
package com.shxy.xymanager_service.impl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.shxy.xymanager_common.entity.LeadPulls;
import com.shxy.xymanager_common.entity.LeadPullsExample;
import com.shxy.xymanager_common.entity.Terminals;
import com.shxy.xymanager_dao.dao.LeadPullsMapper;
import com.shxy.xymanager_service.service.LeadPullsService;
import com.shxy.xymanager_service.service.TerminalService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
@Service
@Slf4j
public class LeadPullsServiceImpl implements LeadPullsService {
@Resource
LeadPullsMapper mapper;
@Resource
TerminalService terminalService;
@Override
public PageInfo<LeadPulls> list(Integer lineId, Integer towerId, Long start, Long end, int pageNum, int pageSize) {
PageHelper.startPage(pageNum, pageSize);
LeadPullsExample example = new LeadPullsExample();
LeadPullsExample.Criteria criteria = example.createCriteria();
if (start != null) {
criteria.andUpdateTimeGreaterThanOrEqualTo(start);
}
if (end != null) {
criteria.andUpdateTimeLessThanOrEqualTo(end);
}
if (lineId != null || towerId != null) {
List<Terminals> terminalsList = terminalService.getByLineAndTower(lineId, towerId);
List<Integer> idList = new ArrayList<>();
for (Terminals terminals : terminalsList) {
idList.add(terminals.getId());
}
criteria.andTermIdIn(idList);
}
List<LeadPulls> list = mapper.selectByExample(example);
return new PageInfo<>(list);
}
}

@ -0,0 +1,50 @@
package com.shxy.xymanager_service.impl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.shxy.xymanager_common.entity.Terminals;
import com.shxy.xymanager_common.entity.Weathers;
import com.shxy.xymanager_common.entity.WeathersExample;
import com.shxy.xymanager_dao.dao.WeathersMapper;
import com.shxy.xymanager_service.service.TerminalService;
import com.shxy.xymanager_service.service.WeatherService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
@Service
@Slf4j
public class WeatherServiceImpl implements WeatherService {
@Resource
WeathersMapper mapper;
@Resource
TerminalService terminalService;
@Override
public PageInfo<Weathers> list(Integer lineId, Integer towerId, Long start, Long end, int pageNum, int pageSize) {
PageHelper.startPage(pageNum, pageSize);
WeathersExample example = new WeathersExample();
WeathersExample.Criteria criteria = example.createCriteria();
if (start != null) {
criteria.andUpdateTimeGreaterThanOrEqualTo(start);
}
if (end != null) {
criteria.andUpdateTimeLessThanOrEqualTo(end);
}
if (lineId != null || towerId != null) {
List<Terminals> terminalsList = terminalService.getByLineAndTower(lineId, towerId);
List<Integer> idList = new ArrayList<>();
for (Terminals terminals : terminalsList) {
idList.add(terminals.getId());
}
criteria.andTermIdIn(idList);
}
List<Weathers> list = mapper.selectByExample(example);
return new PageInfo<>(list);
}
}

@ -0,0 +1,12 @@
package com.shxy.xymanager_service.service;
import com.github.pagehelper.PageInfo;
import com.shxy.xymanager_common.entity.LeadPulls;
public interface LeadPullsService {
PageInfo<LeadPulls> list(Integer lineId, Integer towerId,
Long start, Long end,
int pageNum, int pageSize);
}

@ -0,0 +1,12 @@
package com.shxy.xymanager_service.service;
import com.github.pagehelper.PageInfo;
import com.shxy.xymanager_common.entity.Weathers;
public interface WeatherService {
PageInfo<Weathers> list(Integer lineId, Integer towerId,
Long start, Long end,
int pageNum, int pageSize);
}
Loading…
Cancel
Save