diff --git a/xymanager_admin/src/main/java/com/shxy/xymanager_admin/controller/LeadPullsController.java b/xymanager_admin/src/main/java/com/shxy/xymanager_admin/controller/LeadPullsController.java new file mode 100644 index 0000000..142055c --- /dev/null +++ b/xymanager_admin/src/main/java/com/shxy/xymanager_admin/controller/LeadPullsController.java @@ -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> list(Integer lineId, Integer towerId, + Long start, Long end, + int pageNum, int pageSize) { + PageInfo result = service.list(lineId, towerId, start, end, pageNum, pageSize); + return ResponseReult.success(result); + } + +} diff --git a/xymanager_admin/src/main/java/com/shxy/xymanager_admin/controller/WeatherController.java b/xymanager_admin/src/main/java/com/shxy/xymanager_admin/controller/WeatherController.java new file mode 100644 index 0000000..f25cc8f --- /dev/null +++ b/xymanager_admin/src/main/java/com/shxy/xymanager_admin/controller/WeatherController.java @@ -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> list(Integer lineId, Integer towerId, + Long start, Long end, + int pageNum, int pageSize) { + PageInfo result = service.list(lineId, towerId, start, end, pageNum, pageSize); + return ResponseReult.success(result); + } + +} diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LeadPulls.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LeadPulls.java new file mode 100644 index 0000000..351413d --- /dev/null +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LeadPulls.java @@ -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; + } +} \ No newline at end of file diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LeadPullsExample.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LeadPullsExample.java new file mode 100644 index 0000000..48c2943 --- /dev/null +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/LeadPullsExample.java @@ -0,0 +1,1442 @@ +package com.shxy.xymanager_common.entity; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class LeadPullsExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table lead_pulls + * + * @mbg.generated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table lead_pulls + * + * @mbg.generated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table lead_pulls + * + * @mbg.generated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public LeadPullsExample() { + oredCriteria = new ArrayList<>(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table lead_pulls + * + * @mbg.generated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTermIdIsNull() { + addCriterion("term_id is null"); + return (Criteria) this; + } + + public Criteria andTermIdIsNotNull() { + addCriterion("term_id is not null"); + return (Criteria) this; + } + + public Criteria andTermIdEqualTo(Integer value) { + addCriterion("term_id =", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdNotEqualTo(Integer value) { + addCriterion("term_id <>", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdGreaterThan(Integer value) { + addCriterion("term_id >", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdGreaterThanOrEqualTo(Integer value) { + addCriterion("term_id >=", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdLessThan(Integer value) { + addCriterion("term_id <", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdLessThanOrEqualTo(Integer value) { + addCriterion("term_id <=", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdIn(List values) { + addCriterion("term_id in", values, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdNotIn(List values) { + addCriterion("term_id not in", values, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdBetween(Integer value1, Integer value2) { + addCriterion("term_id between", value1, value2, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdNotBetween(Integer value1, Integer value2) { + addCriterion("term_id not between", value1, value2, "termId"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Long value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Long value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Long value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Long value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Long value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Long value1, Long value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Long value1, Long value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andFuncCodeIsNull() { + addCriterion("func_code is null"); + return (Criteria) this; + } + + public Criteria andFuncCodeIsNotNull() { + addCriterion("func_code is not null"); + return (Criteria) this; + } + + public Criteria andFuncCodeEqualTo(Short value) { + addCriterion("func_code =", value, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeNotEqualTo(Short value) { + addCriterion("func_code <>", value, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeGreaterThan(Short value) { + addCriterion("func_code >", value, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeGreaterThanOrEqualTo(Short value) { + addCriterion("func_code >=", value, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeLessThan(Short value) { + addCriterion("func_code <", value, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeLessThanOrEqualTo(Short value) { + addCriterion("func_code <=", value, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeIn(List values) { + addCriterion("func_code in", values, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeNotIn(List values) { + addCriterion("func_code not in", values, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeBetween(Short value1, Short value2) { + addCriterion("func_code between", value1, value2, "funcCode"); + return (Criteria) this; + } + + public Criteria andFuncCodeNotBetween(Short value1, Short value2) { + addCriterion("func_code not between", value1, value2, "funcCode"); + return (Criteria) this; + } + + public Criteria andMaxpullPullIsNull() { + addCriterion("maxpull_pull is null"); + return (Criteria) this; + } + + public Criteria andMaxpullPullIsNotNull() { + addCriterion("maxpull_pull is not null"); + return (Criteria) this; + } + + public Criteria andMaxpullPullEqualTo(Short value) { + addCriterion("maxpull_pull =", value, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullNotEqualTo(Short value) { + addCriterion("maxpull_pull <>", value, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullGreaterThan(Short value) { + addCriterion("maxpull_pull >", value, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullGreaterThanOrEqualTo(Short value) { + addCriterion("maxpull_pull >=", value, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullLessThan(Short value) { + addCriterion("maxpull_pull <", value, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullLessThanOrEqualTo(Short value) { + addCriterion("maxpull_pull <=", value, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullIn(List values) { + addCriterion("maxpull_pull in", values, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullNotIn(List values) { + addCriterion("maxpull_pull not in", values, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullBetween(Short value1, Short value2) { + addCriterion("maxpull_pull between", value1, value2, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullPullNotBetween(Short value1, Short value2) { + addCriterion("maxpull_pull not between", value1, value2, "maxpullPull"); + return (Criteria) this; + } + + public Criteria andMaxpullWindIsNull() { + addCriterion("maxpull_wind is null"); + return (Criteria) this; + } + + public Criteria andMaxpullWindIsNotNull() { + addCriterion("maxpull_wind is not null"); + return (Criteria) this; + } + + public Criteria andMaxpullWindEqualTo(Float value) { + addCriterion("maxpull_wind =", value, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindNotEqualTo(Float value) { + addCriterion("maxpull_wind <>", value, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindGreaterThan(Float value) { + addCriterion("maxpull_wind >", value, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindGreaterThanOrEqualTo(Float value) { + addCriterion("maxpull_wind >=", value, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindLessThan(Float value) { + addCriterion("maxpull_wind <", value, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindLessThanOrEqualTo(Float value) { + addCriterion("maxpull_wind <=", value, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindIn(List values) { + addCriterion("maxpull_wind in", values, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindNotIn(List values) { + addCriterion("maxpull_wind not in", values, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindBetween(Float value1, Float value2) { + addCriterion("maxpull_wind between", value1, value2, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullWindNotBetween(Float value1, Float value2) { + addCriterion("maxpull_wind not between", value1, value2, "maxpullWind"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltIsNull() { + addCriterion("maxpull_tilt is null"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltIsNotNull() { + addCriterion("maxpull_tilt is not null"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltEqualTo(Float value) { + addCriterion("maxpull_tilt =", value, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltNotEqualTo(Float value) { + addCriterion("maxpull_tilt <>", value, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltGreaterThan(Float value) { + addCriterion("maxpull_tilt >", value, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltGreaterThanOrEqualTo(Float value) { + addCriterion("maxpull_tilt >=", value, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltLessThan(Float value) { + addCriterion("maxpull_tilt <", value, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltLessThanOrEqualTo(Float value) { + addCriterion("maxpull_tilt <=", value, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltIn(List values) { + addCriterion("maxpull_tilt in", values, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltNotIn(List values) { + addCriterion("maxpull_tilt not in", values, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltBetween(Float value1, Float value2) { + addCriterion("maxpull_tilt between", value1, value2, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxpullTiltNotBetween(Float value1, Float value2) { + addCriterion("maxpull_tilt not between", value1, value2, "maxpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullPullIsNull() { + addCriterion("minpull_pull is null"); + return (Criteria) this; + } + + public Criteria andMinpullPullIsNotNull() { + addCriterion("minpull_pull is not null"); + return (Criteria) this; + } + + public Criteria andMinpullPullEqualTo(Short value) { + addCriterion("minpull_pull =", value, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullNotEqualTo(Short value) { + addCriterion("minpull_pull <>", value, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullGreaterThan(Short value) { + addCriterion("minpull_pull >", value, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullGreaterThanOrEqualTo(Short value) { + addCriterion("minpull_pull >=", value, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullLessThan(Short value) { + addCriterion("minpull_pull <", value, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullLessThanOrEqualTo(Short value) { + addCriterion("minpull_pull <=", value, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullIn(List values) { + addCriterion("minpull_pull in", values, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullNotIn(List values) { + addCriterion("minpull_pull not in", values, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullBetween(Short value1, Short value2) { + addCriterion("minpull_pull between", value1, value2, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullPullNotBetween(Short value1, Short value2) { + addCriterion("minpull_pull not between", value1, value2, "minpullPull"); + return (Criteria) this; + } + + public Criteria andMinpullWindIsNull() { + addCriterion("minpull_wind is null"); + return (Criteria) this; + } + + public Criteria andMinpullWindIsNotNull() { + addCriterion("minpull_wind is not null"); + return (Criteria) this; + } + + public Criteria andMinpullWindEqualTo(Float value) { + addCriterion("minpull_wind =", value, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindNotEqualTo(Float value) { + addCriterion("minpull_wind <>", value, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindGreaterThan(Float value) { + addCriterion("minpull_wind >", value, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindGreaterThanOrEqualTo(Float value) { + addCriterion("minpull_wind >=", value, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindLessThan(Float value) { + addCriterion("minpull_wind <", value, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindLessThanOrEqualTo(Float value) { + addCriterion("minpull_wind <=", value, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindIn(List values) { + addCriterion("minpull_wind in", values, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindNotIn(List values) { + addCriterion("minpull_wind not in", values, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindBetween(Float value1, Float value2) { + addCriterion("minpull_wind between", value1, value2, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullWindNotBetween(Float value1, Float value2) { + addCriterion("minpull_wind not between", value1, value2, "minpullWind"); + return (Criteria) this; + } + + public Criteria andMinpullTiltIsNull() { + addCriterion("minpull_tilt is null"); + return (Criteria) this; + } + + public Criteria andMinpullTiltIsNotNull() { + addCriterion("minpull_tilt is not null"); + return (Criteria) this; + } + + public Criteria andMinpullTiltEqualTo(Float value) { + addCriterion("minpull_tilt =", value, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltNotEqualTo(Float value) { + addCriterion("minpull_tilt <>", value, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltGreaterThan(Float value) { + addCriterion("minpull_tilt >", value, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltGreaterThanOrEqualTo(Float value) { + addCriterion("minpull_tilt >=", value, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltLessThan(Float value) { + addCriterion("minpull_tilt <", value, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltLessThanOrEqualTo(Float value) { + addCriterion("minpull_tilt <=", value, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltIn(List values) { + addCriterion("minpull_tilt in", values, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltNotIn(List values) { + addCriterion("minpull_tilt not in", values, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltBetween(Float value1, Float value2) { + addCriterion("minpull_tilt between", value1, value2, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMinpullTiltNotBetween(Float value1, Float value2) { + addCriterion("minpull_tilt not between", value1, value2, "minpullTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindPullIsNull() { + addCriterion("maxwind_pull is null"); + return (Criteria) this; + } + + public Criteria andMaxwindPullIsNotNull() { + addCriterion("maxwind_pull is not null"); + return (Criteria) this; + } + + public Criteria andMaxwindPullEqualTo(Short value) { + addCriterion("maxwind_pull =", value, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullNotEqualTo(Short value) { + addCriterion("maxwind_pull <>", value, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullGreaterThan(Short value) { + addCriterion("maxwind_pull >", value, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullGreaterThanOrEqualTo(Short value) { + addCriterion("maxwind_pull >=", value, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullLessThan(Short value) { + addCriterion("maxwind_pull <", value, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullLessThanOrEqualTo(Short value) { + addCriterion("maxwind_pull <=", value, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullIn(List values) { + addCriterion("maxwind_pull in", values, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullNotIn(List values) { + addCriterion("maxwind_pull not in", values, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullBetween(Short value1, Short value2) { + addCriterion("maxwind_pull between", value1, value2, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindPullNotBetween(Short value1, Short value2) { + addCriterion("maxwind_pull not between", value1, value2, "maxwindPull"); + return (Criteria) this; + } + + public Criteria andMaxwindWindIsNull() { + addCriterion("maxwind_wind is null"); + return (Criteria) this; + } + + public Criteria andMaxwindWindIsNotNull() { + addCriterion("maxwind_wind is not null"); + return (Criteria) this; + } + + public Criteria andMaxwindWindEqualTo(Float value) { + addCriterion("maxwind_wind =", value, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindNotEqualTo(Float value) { + addCriterion("maxwind_wind <>", value, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindGreaterThan(Float value) { + addCriterion("maxwind_wind >", value, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindGreaterThanOrEqualTo(Float value) { + addCriterion("maxwind_wind >=", value, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindLessThan(Float value) { + addCriterion("maxwind_wind <", value, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindLessThanOrEqualTo(Float value) { + addCriterion("maxwind_wind <=", value, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindIn(List values) { + addCriterion("maxwind_wind in", values, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindNotIn(List values) { + addCriterion("maxwind_wind not in", values, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindBetween(Float value1, Float value2) { + addCriterion("maxwind_wind between", value1, value2, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindWindNotBetween(Float value1, Float value2) { + addCriterion("maxwind_wind not between", value1, value2, "maxwindWind"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltIsNull() { + addCriterion("maxwind_tilt is null"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltIsNotNull() { + addCriterion("maxwind_tilt is not null"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltEqualTo(Float value) { + addCriterion("maxwind_tilt =", value, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltNotEqualTo(Float value) { + addCriterion("maxwind_tilt <>", value, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltGreaterThan(Float value) { + addCriterion("maxwind_tilt >", value, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltGreaterThanOrEqualTo(Float value) { + addCriterion("maxwind_tilt >=", value, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltLessThan(Float value) { + addCriterion("maxwind_tilt <", value, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltLessThanOrEqualTo(Float value) { + addCriterion("maxwind_tilt <=", value, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltIn(List values) { + addCriterion("maxwind_tilt in", values, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltNotIn(List values) { + addCriterion("maxwind_tilt not in", values, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltBetween(Float value1, Float value2) { + addCriterion("maxwind_tilt between", value1, value2, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMaxwindTiltNotBetween(Float value1, Float value2) { + addCriterion("maxwind_tilt not between", value1, value2, "maxwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindPullIsNull() { + addCriterion("minwind_pull is null"); + return (Criteria) this; + } + + public Criteria andMinwindPullIsNotNull() { + addCriterion("minwind_pull is not null"); + return (Criteria) this; + } + + public Criteria andMinwindPullEqualTo(Short value) { + addCriterion("minwind_pull =", value, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullNotEqualTo(Short value) { + addCriterion("minwind_pull <>", value, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullGreaterThan(Short value) { + addCriterion("minwind_pull >", value, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullGreaterThanOrEqualTo(Short value) { + addCriterion("minwind_pull >=", value, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullLessThan(Short value) { + addCriterion("minwind_pull <", value, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullLessThanOrEqualTo(Short value) { + addCriterion("minwind_pull <=", value, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullIn(List values) { + addCriterion("minwind_pull in", values, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullNotIn(List values) { + addCriterion("minwind_pull not in", values, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullBetween(Short value1, Short value2) { + addCriterion("minwind_pull between", value1, value2, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindPullNotBetween(Short value1, Short value2) { + addCriterion("minwind_pull not between", value1, value2, "minwindPull"); + return (Criteria) this; + } + + public Criteria andMinwindWindIsNull() { + addCriterion("minwind_wind is null"); + return (Criteria) this; + } + + public Criteria andMinwindWindIsNotNull() { + addCriterion("minwind_wind is not null"); + return (Criteria) this; + } + + public Criteria andMinwindWindEqualTo(Float value) { + addCriterion("minwind_wind =", value, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindNotEqualTo(Float value) { + addCriterion("minwind_wind <>", value, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindGreaterThan(Float value) { + addCriterion("minwind_wind >", value, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindGreaterThanOrEqualTo(Float value) { + addCriterion("minwind_wind >=", value, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindLessThan(Float value) { + addCriterion("minwind_wind <", value, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindLessThanOrEqualTo(Float value) { + addCriterion("minwind_wind <=", value, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindIn(List values) { + addCriterion("minwind_wind in", values, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindNotIn(List values) { + addCriterion("minwind_wind not in", values, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindBetween(Float value1, Float value2) { + addCriterion("minwind_wind between", value1, value2, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindWindNotBetween(Float value1, Float value2) { + addCriterion("minwind_wind not between", value1, value2, "minwindWind"); + return (Criteria) this; + } + + public Criteria andMinwindTiltIsNull() { + addCriterion("minwind_tilt is null"); + return (Criteria) this; + } + + public Criteria andMinwindTiltIsNotNull() { + addCriterion("minwind_tilt is not null"); + return (Criteria) this; + } + + public Criteria andMinwindTiltEqualTo(Float value) { + addCriterion("minwind_tilt =", value, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltNotEqualTo(Float value) { + addCriterion("minwind_tilt <>", value, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltGreaterThan(Float value) { + addCriterion("minwind_tilt >", value, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltGreaterThanOrEqualTo(Float value) { + addCriterion("minwind_tilt >=", value, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltLessThan(Float value) { + addCriterion("minwind_tilt <", value, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltLessThanOrEqualTo(Float value) { + addCriterion("minwind_tilt <=", value, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltIn(List values) { + addCriterion("minwind_tilt in", values, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltNotIn(List values) { + addCriterion("minwind_tilt not in", values, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltBetween(Float value1, Float value2) { + addCriterion("minwind_tilt between", value1, value2, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andMinwindTiltNotBetween(Float value1, Float value2) { + addCriterion("minwind_tilt not between", value1, value2, "minwindTilt"); + return (Criteria) this; + } + + public Criteria andWidIsNull() { + addCriterion("wid is null"); + return (Criteria) this; + } + + public Criteria andWidIsNotNull() { + addCriterion("wid is not null"); + return (Criteria) this; + } + + public Criteria andWidEqualTo(Long value) { + addCriterion("wid =", value, "wid"); + return (Criteria) this; + } + + public Criteria andWidNotEqualTo(Long value) { + addCriterion("wid <>", value, "wid"); + return (Criteria) this; + } + + public Criteria andWidGreaterThan(Long value) { + addCriterion("wid >", value, "wid"); + return (Criteria) this; + } + + public Criteria andWidGreaterThanOrEqualTo(Long value) { + addCriterion("wid >=", value, "wid"); + return (Criteria) this; + } + + public Criteria andWidLessThan(Long value) { + addCriterion("wid <", value, "wid"); + return (Criteria) this; + } + + public Criteria andWidLessThanOrEqualTo(Long value) { + addCriterion("wid <=", value, "wid"); + return (Criteria) this; + } + + public Criteria andWidIn(List values) { + addCriterion("wid in", values, "wid"); + return (Criteria) this; + } + + public Criteria andWidNotIn(List values) { + addCriterion("wid not in", values, "wid"); + return (Criteria) this; + } + + public Criteria andWidBetween(Long value1, Long value2) { + addCriterion("wid between", value1, value2, "wid"); + return (Criteria) this; + } + + public Criteria andWidNotBetween(Long value1, Long value2) { + addCriterion("wid not between", value1, value2, "wid"); + return (Criteria) this; + } + + public Criteria andWindSpeedIsNull() { + addCriterion("wind_speed is null"); + return (Criteria) this; + } + + public Criteria andWindSpeedIsNotNull() { + addCriterion("wind_speed is not null"); + return (Criteria) this; + } + + public Criteria andWindSpeedEqualTo(Float value) { + addCriterion("wind_speed =", value, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedNotEqualTo(Float value) { + addCriterion("wind_speed <>", value, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedGreaterThan(Float value) { + addCriterion("wind_speed >", value, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedGreaterThanOrEqualTo(Float value) { + addCriterion("wind_speed >=", value, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedLessThan(Float value) { + addCriterion("wind_speed <", value, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedLessThanOrEqualTo(Float value) { + addCriterion("wind_speed <=", value, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedIn(List values) { + addCriterion("wind_speed in", values, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedNotIn(List values) { + addCriterion("wind_speed not in", values, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedBetween(Float value1, Float value2) { + addCriterion("wind_speed between", value1, value2, "windSpeed"); + return (Criteria) this; + } + + public Criteria andWindSpeedNotBetween(Float value1, Float value2) { + addCriterion("wind_speed not between", value1, value2, "windSpeed"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table lead_pulls + * + * @mbg.generated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table lead_pulls + * + * @mbg.generated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/Weathers.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/Weathers.java new file mode 100644 index 0000000..ae327dd --- /dev/null +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/Weathers.java @@ -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; + } +} \ No newline at end of file diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/WeathersExample.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/WeathersExample.java new file mode 100644 index 0000000..08d460d --- /dev/null +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/entity/WeathersExample.java @@ -0,0 +1,1391 @@ +package com.shxy.xymanager_common.entity; + +import java.util.ArrayList; +import java.util.List; + +public class WeathersExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table weathers + * + * @mbg.generated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table weathers + * + * @mbg.generated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table weathers + * + * @mbg.generated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public WeathersExample() { + oredCriteria = new ArrayList<>(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table weathers + * + * @mbg.generated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table weathers + * + * @mbg.generated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTermIdIsNull() { + addCriterion("term_id is null"); + return (Criteria) this; + } + + public Criteria andTermIdIsNotNull() { + addCriterion("term_id is not null"); + return (Criteria) this; + } + + public Criteria andTermIdEqualTo(Integer value) { + addCriterion("term_id =", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdNotEqualTo(Integer value) { + addCriterion("term_id <>", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdGreaterThan(Integer value) { + addCriterion("term_id >", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdGreaterThanOrEqualTo(Integer value) { + addCriterion("term_id >=", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdLessThan(Integer value) { + addCriterion("term_id <", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdLessThanOrEqualTo(Integer value) { + addCriterion("term_id <=", value, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdIn(List values) { + addCriterion("term_id in", values, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdNotIn(List values) { + addCriterion("term_id not in", values, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdBetween(Integer value1, Integer value2) { + addCriterion("term_id between", value1, value2, "termId"); + return (Criteria) this; + } + + public Criteria andTermIdNotBetween(Integer value1, Integer value2) { + addCriterion("term_id not between", value1, value2, "termId"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Long value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Long value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Long value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Long value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Long value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Long value1, Long value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Long value1, Long value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andCompIdIsNull() { + addCriterion("comp_id is null"); + return (Criteria) this; + } + + public Criteria andCompIdIsNotNull() { + addCriterion("comp_id is not null"); + return (Criteria) this; + } + + public Criteria andCompIdEqualTo(String value) { + addCriterion("comp_id =", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdNotEqualTo(String value) { + addCriterion("comp_id <>", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdGreaterThan(String value) { + addCriterion("comp_id >", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdGreaterThanOrEqualTo(String value) { + addCriterion("comp_id >=", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdLessThan(String value) { + addCriterion("comp_id <", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdLessThanOrEqualTo(String value) { + addCriterion("comp_id <=", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdLike(String value) { + addCriterion("comp_id like", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdNotLike(String value) { + addCriterion("comp_id not like", value, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdIn(List values) { + addCriterion("comp_id in", values, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdNotIn(List values) { + addCriterion("comp_id not in", values, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdBetween(String value1, String value2) { + addCriterion("comp_id between", value1, value2, "compId"); + return (Criteria) this; + } + + public Criteria andCompIdNotBetween(String value1, String value2) { + addCriterion("comp_id not between", value1, value2, "compId"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minIsNull() { + addCriterion("avg_wind_speed_10min is null"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minIsNotNull() { + addCriterion("avg_wind_speed_10min is not null"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minEqualTo(Float value) { + addCriterion("avg_wind_speed_10min =", value, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minNotEqualTo(Float value) { + addCriterion("avg_wind_speed_10min <>", value, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minGreaterThan(Float value) { + addCriterion("avg_wind_speed_10min >", value, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minGreaterThanOrEqualTo(Float value) { + addCriterion("avg_wind_speed_10min >=", value, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minLessThan(Float value) { + addCriterion("avg_wind_speed_10min <", value, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minLessThanOrEqualTo(Float value) { + addCriterion("avg_wind_speed_10min <=", value, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minIn(List values) { + addCriterion("avg_wind_speed_10min in", values, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minNotIn(List values) { + addCriterion("avg_wind_speed_10min not in", values, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minBetween(Float value1, Float value2) { + addCriterion("avg_wind_speed_10min between", value1, value2, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed10minNotBetween(Float value1, Float value2) { + addCriterion("avg_wind_speed_10min not between", value1, value2, "avgWindSpeed10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minIsNull() { + addCriterion("avg_wind_dir_10min is null"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minIsNotNull() { + addCriterion("avg_wind_dir_10min is not null"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minEqualTo(Short value) { + addCriterion("avg_wind_dir_10min =", value, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minNotEqualTo(Short value) { + addCriterion("avg_wind_dir_10min <>", value, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minGreaterThan(Short value) { + addCriterion("avg_wind_dir_10min >", value, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minGreaterThanOrEqualTo(Short value) { + addCriterion("avg_wind_dir_10min >=", value, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minLessThan(Short value) { + addCriterion("avg_wind_dir_10min <", value, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minLessThanOrEqualTo(Short value) { + addCriterion("avg_wind_dir_10min <=", value, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minIn(List values) { + addCriterion("avg_wind_dir_10min in", values, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minNotIn(List values) { + addCriterion("avg_wind_dir_10min not in", values, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minBetween(Short value1, Short value2) { + addCriterion("avg_wind_dir_10min between", value1, value2, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir10minNotBetween(Short value1, Short value2) { + addCriterion("avg_wind_dir_10min not between", value1, value2, "avgWindDir10min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minIsNull() { + addCriterion("avg_wind_speed_1min is null"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minIsNotNull() { + addCriterion("avg_wind_speed_1min is not null"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minEqualTo(Float value) { + addCriterion("avg_wind_speed_1min =", value, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minNotEqualTo(Float value) { + addCriterion("avg_wind_speed_1min <>", value, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minGreaterThan(Float value) { + addCriterion("avg_wind_speed_1min >", value, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minGreaterThanOrEqualTo(Float value) { + addCriterion("avg_wind_speed_1min >=", value, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minLessThan(Float value) { + addCriterion("avg_wind_speed_1min <", value, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minLessThanOrEqualTo(Float value) { + addCriterion("avg_wind_speed_1min <=", value, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minIn(List values) { + addCriterion("avg_wind_speed_1min in", values, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minNotIn(List values) { + addCriterion("avg_wind_speed_1min not in", values, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minBetween(Float value1, Float value2) { + addCriterion("avg_wind_speed_1min between", value1, value2, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindSpeed1minNotBetween(Float value1, Float value2) { + addCriterion("avg_wind_speed_1min not between", value1, value2, "avgWindSpeed1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minIsNull() { + addCriterion("avg_wind_dir_1min is null"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minIsNotNull() { + addCriterion("avg_wind_dir_1min is not null"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minEqualTo(Float value) { + addCriterion("avg_wind_dir_1min =", value, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minNotEqualTo(Float value) { + addCriterion("avg_wind_dir_1min <>", value, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minGreaterThan(Float value) { + addCriterion("avg_wind_dir_1min >", value, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minGreaterThanOrEqualTo(Float value) { + addCriterion("avg_wind_dir_1min >=", value, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minLessThan(Float value) { + addCriterion("avg_wind_dir_1min <", value, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minLessThanOrEqualTo(Float value) { + addCriterion("avg_wind_dir_1min <=", value, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minIn(List values) { + addCriterion("avg_wind_dir_1min in", values, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minNotIn(List values) { + addCriterion("avg_wind_dir_1min not in", values, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minBetween(Float value1, Float value2) { + addCriterion("avg_wind_dir_1min between", value1, value2, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andAvgWindDir1minNotBetween(Float value1, Float value2) { + addCriterion("avg_wind_dir_1min not between", value1, value2, "avgWindDir1min"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedIsNull() { + addCriterion("max_wind_speed is null"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedIsNotNull() { + addCriterion("max_wind_speed is not null"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedEqualTo(Float value) { + addCriterion("max_wind_speed =", value, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedNotEqualTo(Float value) { + addCriterion("max_wind_speed <>", value, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedGreaterThan(Float value) { + addCriterion("max_wind_speed >", value, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedGreaterThanOrEqualTo(Float value) { + addCriterion("max_wind_speed >=", value, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedLessThan(Float value) { + addCriterion("max_wind_speed <", value, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedLessThanOrEqualTo(Float value) { + addCriterion("max_wind_speed <=", value, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedIn(List values) { + addCriterion("max_wind_speed in", values, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedNotIn(List values) { + addCriterion("max_wind_speed not in", values, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedBetween(Float value1, Float value2) { + addCriterion("max_wind_speed between", value1, value2, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andMaxWindSpeedNotBetween(Float value1, Float value2) { + addCriterion("max_wind_speed not between", value1, value2, "maxWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedIsNull() { + addCriterion("extreme_wind_speed is null"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedIsNotNull() { + addCriterion("extreme_wind_speed is not null"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedEqualTo(Float value) { + addCriterion("extreme_wind_speed =", value, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedNotEqualTo(Float value) { + addCriterion("extreme_wind_speed <>", value, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedGreaterThan(Float value) { + addCriterion("extreme_wind_speed >", value, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedGreaterThanOrEqualTo(Float value) { + addCriterion("extreme_wind_speed >=", value, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedLessThan(Float value) { + addCriterion("extreme_wind_speed <", value, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedLessThanOrEqualTo(Float value) { + addCriterion("extreme_wind_speed <=", value, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedIn(List values) { + addCriterion("extreme_wind_speed in", values, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedNotIn(List values) { + addCriterion("extreme_wind_speed not in", values, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedBetween(Float value1, Float value2) { + addCriterion("extreme_wind_speed between", value1, value2, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andExtremeWindSpeedNotBetween(Float value1, Float value2) { + addCriterion("extreme_wind_speed not between", value1, value2, "extremeWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedIsNull() { + addCriterion("standard_wind_speed is null"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedIsNotNull() { + addCriterion("standard_wind_speed is not null"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedEqualTo(Float value) { + addCriterion("standard_wind_speed =", value, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedNotEqualTo(Float value) { + addCriterion("standard_wind_speed <>", value, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedGreaterThan(Float value) { + addCriterion("standard_wind_speed >", value, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedGreaterThanOrEqualTo(Float value) { + addCriterion("standard_wind_speed >=", value, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedLessThan(Float value) { + addCriterion("standard_wind_speed <", value, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedLessThanOrEqualTo(Float value) { + addCriterion("standard_wind_speed <=", value, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedIn(List values) { + addCriterion("standard_wind_speed in", values, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedNotIn(List values) { + addCriterion("standard_wind_speed not in", values, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedBetween(Float value1, Float value2) { + addCriterion("standard_wind_speed between", value1, value2, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andStandardWindSpeedNotBetween(Float value1, Float value2) { + addCriterion("standard_wind_speed not between", value1, value2, "standardWindSpeed"); + return (Criteria) this; + } + + public Criteria andWindDirectionIsNull() { + addCriterion("wind_direction is null"); + return (Criteria) this; + } + + public Criteria andWindDirectionIsNotNull() { + addCriterion("wind_direction is not null"); + return (Criteria) this; + } + + public Criteria andWindDirectionEqualTo(Float value) { + addCriterion("wind_direction =", value, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionNotEqualTo(Float value) { + addCriterion("wind_direction <>", value, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionGreaterThan(Float value) { + addCriterion("wind_direction >", value, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionGreaterThanOrEqualTo(Float value) { + addCriterion("wind_direction >=", value, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionLessThan(Float value) { + addCriterion("wind_direction <", value, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionLessThanOrEqualTo(Float value) { + addCriterion("wind_direction <=", value, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionIn(List values) { + addCriterion("wind_direction in", values, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionNotIn(List values) { + addCriterion("wind_direction not in", values, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionBetween(Float value1, Float value2) { + addCriterion("wind_direction between", value1, value2, "windDirection"); + return (Criteria) this; + } + + public Criteria andWindDirectionNotBetween(Float value1, Float value2) { + addCriterion("wind_direction not between", value1, value2, "windDirection"); + return (Criteria) this; + } + + public Criteria andAirTemperatureIsNull() { + addCriterion("air_temperature is null"); + return (Criteria) this; + } + + public Criteria andAirTemperatureIsNotNull() { + addCriterion("air_temperature is not null"); + return (Criteria) this; + } + + public Criteria andAirTemperatureEqualTo(Float value) { + addCriterion("air_temperature =", value, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureNotEqualTo(Float value) { + addCriterion("air_temperature <>", value, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureGreaterThan(Float value) { + addCriterion("air_temperature >", value, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureGreaterThanOrEqualTo(Float value) { + addCriterion("air_temperature >=", value, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureLessThan(Float value) { + addCriterion("air_temperature <", value, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureLessThanOrEqualTo(Float value) { + addCriterion("air_temperature <=", value, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureIn(List values) { + addCriterion("air_temperature in", values, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureNotIn(List values) { + addCriterion("air_temperature not in", values, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureBetween(Float value1, Float value2) { + addCriterion("air_temperature between", value1, value2, "airTemperature"); + return (Criteria) this; + } + + public Criteria andAirTemperatureNotBetween(Float value1, Float value2) { + addCriterion("air_temperature not between", value1, value2, "airTemperature"); + return (Criteria) this; + } + + public Criteria andHumidityIsNull() { + addCriterion("humidity is null"); + return (Criteria) this; + } + + public Criteria andHumidityIsNotNull() { + addCriterion("humidity is not null"); + return (Criteria) this; + } + + public Criteria andHumidityEqualTo(Short value) { + addCriterion("humidity =", value, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityNotEqualTo(Short value) { + addCriterion("humidity <>", value, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityGreaterThan(Short value) { + addCriterion("humidity >", value, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityGreaterThanOrEqualTo(Short value) { + addCriterion("humidity >=", value, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityLessThan(Short value) { + addCriterion("humidity <", value, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityLessThanOrEqualTo(Short value) { + addCriterion("humidity <=", value, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityIn(List values) { + addCriterion("humidity in", values, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityNotIn(List values) { + addCriterion("humidity not in", values, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityBetween(Short value1, Short value2) { + addCriterion("humidity between", value1, value2, "humidity"); + return (Criteria) this; + } + + public Criteria andHumidityNotBetween(Short value1, Short value2) { + addCriterion("humidity not between", value1, value2, "humidity"); + return (Criteria) this; + } + + public Criteria andAirPressureIsNull() { + addCriterion("air_pressure is null"); + return (Criteria) this; + } + + public Criteria andAirPressureIsNotNull() { + addCriterion("air_pressure is not null"); + return (Criteria) this; + } + + public Criteria andAirPressureEqualTo(Float value) { + addCriterion("air_pressure =", value, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureNotEqualTo(Float value) { + addCriterion("air_pressure <>", value, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureGreaterThan(Float value) { + addCriterion("air_pressure >", value, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureGreaterThanOrEqualTo(Float value) { + addCriterion("air_pressure >=", value, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureLessThan(Float value) { + addCriterion("air_pressure <", value, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureLessThanOrEqualTo(Float value) { + addCriterion("air_pressure <=", value, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureIn(List values) { + addCriterion("air_pressure in", values, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureNotIn(List values) { + addCriterion("air_pressure not in", values, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureBetween(Float value1, Float value2) { + addCriterion("air_pressure between", value1, value2, "airPressure"); + return (Criteria) this; + } + + public Criteria andAirPressureNotBetween(Float value1, Float value2) { + addCriterion("air_pressure not between", value1, value2, "airPressure"); + return (Criteria) this; + } + + public Criteria andPrecipitationIsNull() { + addCriterion("precipitation is null"); + return (Criteria) this; + } + + public Criteria andPrecipitationIsNotNull() { + addCriterion("precipitation is not null"); + return (Criteria) this; + } + + public Criteria andPrecipitationEqualTo(Float value) { + addCriterion("precipitation =", value, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationNotEqualTo(Float value) { + addCriterion("precipitation <>", value, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationGreaterThan(Float value) { + addCriterion("precipitation >", value, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationGreaterThanOrEqualTo(Float value) { + addCriterion("precipitation >=", value, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationLessThan(Float value) { + addCriterion("precipitation <", value, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationLessThanOrEqualTo(Float value) { + addCriterion("precipitation <=", value, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationIn(List values) { + addCriterion("precipitation in", values, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationNotIn(List values) { + addCriterion("precipitation not in", values, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationBetween(Float value1, Float value2) { + addCriterion("precipitation between", value1, value2, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationNotBetween(Float value1, Float value2) { + addCriterion("precipitation not between", value1, value2, "precipitation"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityIsNull() { + addCriterion("precipitation_Intensity is null"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityIsNotNull() { + addCriterion("precipitation_Intensity is not null"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityEqualTo(Float value) { + addCriterion("precipitation_Intensity =", value, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityNotEqualTo(Float value) { + addCriterion("precipitation_Intensity <>", value, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityGreaterThan(Float value) { + addCriterion("precipitation_Intensity >", value, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityGreaterThanOrEqualTo(Float value) { + addCriterion("precipitation_Intensity >=", value, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityLessThan(Float value) { + addCriterion("precipitation_Intensity <", value, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityLessThanOrEqualTo(Float value) { + addCriterion("precipitation_Intensity <=", value, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityIn(List values) { + addCriterion("precipitation_Intensity in", values, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityNotIn(List values) { + addCriterion("precipitation_Intensity not in", values, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityBetween(Float value1, Float value2) { + addCriterion("precipitation_Intensity between", value1, value2, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andPrecipitationIntensityNotBetween(Float value1, Float value2) { + addCriterion("precipitation_Intensity not between", value1, value2, "precipitationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityIsNull() { + addCriterion("radiation_Intensity is null"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityIsNotNull() { + addCriterion("radiation_Intensity is not null"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityEqualTo(Short value) { + addCriterion("radiation_Intensity =", value, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityNotEqualTo(Short value) { + addCriterion("radiation_Intensity <>", value, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityGreaterThan(Short value) { + addCriterion("radiation_Intensity >", value, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityGreaterThanOrEqualTo(Short value) { + addCriterion("radiation_Intensity >=", value, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityLessThan(Short value) { + addCriterion("radiation_Intensity <", value, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityLessThanOrEqualTo(Short value) { + addCriterion("radiation_Intensity <=", value, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityIn(List values) { + addCriterion("radiation_Intensity in", values, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityNotIn(List values) { + addCriterion("radiation_Intensity not in", values, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityBetween(Short value1, Short value2) { + addCriterion("radiation_Intensity between", value1, value2, "radiationIntensity"); + return (Criteria) this; + } + + public Criteria andRadiationIntensityNotBetween(Short value1, Short value2) { + addCriterion("radiation_Intensity not between", value1, value2, "radiationIntensity"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table weathers + * + * @mbg.generated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table weathers + * + * @mbg.generated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/LeadPullsMapper.java b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/LeadPullsMapper.java new file mode 100644 index 0000000..9903bba --- /dev/null +++ b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/LeadPullsMapper.java @@ -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 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); +} \ No newline at end of file diff --git a/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/WeathersMapper.java b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/WeathersMapper.java new file mode 100644 index 0000000..0d436e2 --- /dev/null +++ b/xymanager_dao/src/main/java/com/shxy/xymanager_dao/dao/WeathersMapper.java @@ -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 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); +} \ No newline at end of file diff --git a/xymanager_dao/src/main/resources/mappers/LeadPullsMapper.xml b/xymanager_dao/src/main/resources/mappers/LeadPullsMapper.xml new file mode 100644 index 0000000..a5f6e57 --- /dev/null +++ b/xymanager_dao/src/main/resources/mappers/LeadPullsMapper.xml @@ -0,0 +1,493 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + 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 + + + + + + delete from lead_pulls + where id = #{id,jdbcType=BIGINT} + + + + delete from lead_pulls + + + + + + + + SELECT LAST_INSERT_ID() + + 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} + ) + + + + + SELECT LAST_INSERT_ID() + + 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, + + + + + #{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}, + + + + + + + update lead_pulls + + + 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}, + + + + + + + + + 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} + + + + + + + update lead_pulls + + + 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 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} + + \ No newline at end of file diff --git a/xymanager_dao/src/main/resources/mappers/WeathersMapper.xml b/xymanager_dao/src/main/resources/mappers/WeathersMapper.xml new file mode 100644 index 0000000..6759ad8 --- /dev/null +++ b/xymanager_dao/src/main/resources/mappers/WeathersMapper.xml @@ -0,0 +1,479 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + 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 + + + + + + delete from weathers + where id = #{id,jdbcType=BIGINT} + + + + delete from weathers + + + + + + + + SELECT LAST_INSERT_ID() + + 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} + ) + + + + + SELECT LAST_INSERT_ID() + + 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, + + + + + #{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}, + + + + + + + update weathers + + + 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}, + + + + + + + + + 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} + + + + + + + update weathers + + + 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 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} + + \ No newline at end of file diff --git a/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/LeadPullsServiceImpl.java b/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/LeadPullsServiceImpl.java new file mode 100644 index 0000000..bfd1df6 --- /dev/null +++ b/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/LeadPullsServiceImpl.java @@ -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 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 terminalsList = terminalService.getByLineAndTower(lineId, towerId); + List idList = new ArrayList<>(); + for (Terminals terminals : terminalsList) { + idList.add(terminals.getId()); + } + criteria.andTermIdIn(idList); + } + List list = mapper.selectByExample(example); + return new PageInfo<>(list); + } +} diff --git a/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/WeatherServiceImpl.java b/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/WeatherServiceImpl.java new file mode 100644 index 0000000..39fa85b --- /dev/null +++ b/xymanager_service/src/main/java/com/shxy/xymanager_service/impl/WeatherServiceImpl.java @@ -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 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 terminalsList = terminalService.getByLineAndTower(lineId, towerId); + List idList = new ArrayList<>(); + for (Terminals terminals : terminalsList) { + idList.add(terminals.getId()); + } + criteria.andTermIdIn(idList); + } + List list = mapper.selectByExample(example); + return new PageInfo<>(list); + } +} diff --git a/xymanager_service/src/main/java/com/shxy/xymanager_service/service/LeadPullsService.java b/xymanager_service/src/main/java/com/shxy/xymanager_service/service/LeadPullsService.java new file mode 100644 index 0000000..0d36035 --- /dev/null +++ b/xymanager_service/src/main/java/com/shxy/xymanager_service/service/LeadPullsService.java @@ -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 list(Integer lineId, Integer towerId, + Long start, Long end, + int pageNum, int pageSize); +} diff --git a/xymanager_service/src/main/java/com/shxy/xymanager_service/service/WeatherService.java b/xymanager_service/src/main/java/com/shxy/xymanager_service/service/WeatherService.java new file mode 100644 index 0000000..1856ff5 --- /dev/null +++ b/xymanager_service/src/main/java/com/shxy/xymanager_service/service/WeatherService.java @@ -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 list(Integer lineId, Integer towerId, + Long start, Long end, + int pageNum, int pageSize); +}