yang_shj
1 year ago
333 changed files with 0 additions and 29115 deletions
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>hzims-service-api</artifactId> |
||||
<version>4.0.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
|
||||
<artifactId>base-info-api</artifactId> |
||||
<version>${hzims.project.version}</version> |
||||
<packaging>jar</packaging> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
</project> |
@ -1,65 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableLogic; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
import lombok.experimental.Accessors; |
||||
|
||||
import java.io.Serializable; |
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* 文件 |
||||
* |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/8/8 16:01 |
||||
*/ |
||||
@Data |
||||
@Accessors(chain = true) |
||||
@TableName("file_reservoir_info") |
||||
public class FileReservoirInfo implements Serializable { |
||||
|
||||
|
||||
/** |
||||
* 视频Id |
||||
*/ |
||||
@TableId(type = IdType.ASSIGN_ID) |
||||
private Long id; |
||||
|
||||
|
||||
/** |
||||
* '视频地址' |
||||
*/ |
||||
private String file; |
||||
|
||||
|
||||
/** |
||||
* 站点Id |
||||
*/ |
||||
private String reservoirInfoId; |
||||
|
||||
|
||||
|
||||
|
||||
/** |
||||
* 创建时间 |
||||
*/ |
||||
private LocalDateTime createTime; |
||||
|
||||
|
||||
/** |
||||
* 更新时间 |
||||
*/ |
||||
private LocalDateTime updateTime; |
||||
|
||||
|
||||
/** |
||||
* 逻辑删除0 正常 1 删除 |
||||
*/ |
||||
@TableLogic |
||||
private int isDeleted; |
||||
} |
@ -1,62 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableLogic; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
import lombok.experimental.Accessors; |
||||
|
||||
import java.io.Serializable; |
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* 文件 |
||||
* |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/8/8 16:01 |
||||
*/ |
||||
@Data |
||||
@Accessors(chain = true) |
||||
@TableName("image_reservoir_info") |
||||
public class ImageReservoirInfo implements Serializable { |
||||
|
||||
|
||||
/** |
||||
* 视频Id |
||||
*/ |
||||
@TableId(type = IdType.ASSIGN_ID) |
||||
private Long id; |
||||
|
||||
|
||||
/** |
||||
* '视频地址' |
||||
*/ |
||||
private String image; |
||||
|
||||
|
||||
/** |
||||
* 站点Id |
||||
*/ |
||||
private String reservoirInfoId; |
||||
|
||||
/** |
||||
* 创建时间 |
||||
*/ |
||||
private LocalDateTime createTime; |
||||
|
||||
|
||||
/** |
||||
* 更新时间 |
||||
*/ |
||||
private LocalDateTime updateTime; |
||||
|
||||
|
||||
/** |
||||
* 逻辑删除0 正常 1 删除 |
||||
*/ |
||||
@TableLogic |
||||
private int isDeleted; |
||||
} |
@ -1,62 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* 河流 <国标> |
||||
* |
||||
* @author moze |
||||
* |
||||
*/ |
||||
public class IrrBIReach { |
||||
private String riverCode; // 河流代码
|
||||
|
||||
private String riverName; // 河流名称
|
||||
|
||||
private BigDecimal riverWidth; // 河槽平均宽度(米)
|
||||
|
||||
private BigDecimal riverFlux; // 河槽平均流量(立方米/秒)
|
||||
|
||||
private String coordinateset; // 经纬集合
|
||||
|
||||
public String getCoordinateset() { |
||||
return coordinateset; |
||||
} |
||||
|
||||
public void setCoordinateset(String coordinateset) { |
||||
this.coordinateset = coordinateset; |
||||
} |
||||
|
||||
public String getRiverCode() { |
||||
return riverCode; |
||||
} |
||||
|
||||
public void setRiverCode(String riverCode) { |
||||
this.riverCode = riverCode; |
||||
} |
||||
|
||||
public String getRiverName() { |
||||
return riverName; |
||||
} |
||||
|
||||
public void setRiverName(String riverName) { |
||||
this.riverName = riverName; |
||||
} |
||||
|
||||
public BigDecimal getRiverWidth() { |
||||
return riverWidth; |
||||
} |
||||
|
||||
public void setRiverWidth(BigDecimal riverWidth) { |
||||
this.riverWidth = riverWidth; |
||||
} |
||||
|
||||
public BigDecimal getRiverFlux() { |
||||
return riverFlux; |
||||
} |
||||
|
||||
public void setRiverFlux(BigDecimal riverFlux) { |
||||
this.riverFlux = riverFlux; |
||||
} |
||||
|
||||
} |
@ -1,531 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
public class IrrBIReachExample { |
||||
protected String orderByClause; |
||||
|
||||
protected boolean distinct; |
||||
|
||||
protected List<Criteria> oredCriteria; |
||||
|
||||
public IrrBIReachExample() { |
||||
oredCriteria = new ArrayList<Criteria>(); |
||||
} |
||||
|
||||
public void setOrderByClause(String orderByClause) { |
||||
this.orderByClause = orderByClause; |
||||
} |
||||
|
||||
public String getOrderByClause() { |
||||
return orderByClause; |
||||
} |
||||
|
||||
public void setDistinct(boolean distinct) { |
||||
this.distinct = distinct; |
||||
} |
||||
|
||||
public boolean isDistinct() { |
||||
return distinct; |
||||
} |
||||
|
||||
public List<Criteria> getOredCriteria() { |
||||
return oredCriteria; |
||||
} |
||||
|
||||
public void or(Criteria criteria) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
|
||||
public Criteria or() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
oredCriteria.add(criteria); |
||||
return criteria; |
||||
} |
||||
|
||||
public Criteria createCriteria() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
if (oredCriteria.size() == 0) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
return criteria; |
||||
} |
||||
|
||||
protected Criteria createCriteriaInternal() { |
||||
Criteria criteria = new Criteria(); |
||||
return criteria; |
||||
} |
||||
|
||||
public void clear() { |
||||
oredCriteria.clear(); |
||||
orderByClause = null; |
||||
distinct = false; |
||||
} |
||||
|
||||
protected abstract static class GeneratedCriteria { |
||||
protected List<Criterion> criteria; |
||||
|
||||
protected GeneratedCriteria() { |
||||
super(); |
||||
criteria = new ArrayList<Criterion>(); |
||||
} |
||||
|
||||
public boolean isValid() { |
||||
return criteria.size() > 0; |
||||
} |
||||
|
||||
public List<Criterion> getAllCriteria() { |
||||
return criteria; |
||||
} |
||||
|
||||
public List<Criterion> 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 andRiverCodeIsNull() { |
||||
addCriterion("RIVER_CODE is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeIsNotNull() { |
||||
addCriterion("RIVER_CODE is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeEqualTo(String value) { |
||||
addCriterion("RIVER_CODE =", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeNotEqualTo(String value) { |
||||
addCriterion("RIVER_CODE <>", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeGreaterThan(String value) { |
||||
addCriterion("RIVER_CODE >", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeGreaterThanOrEqualTo(String value) { |
||||
addCriterion("RIVER_CODE >=", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeLessThan(String value) { |
||||
addCriterion("RIVER_CODE <", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeLessThanOrEqualTo(String value) { |
||||
addCriterion("RIVER_CODE <=", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeLike(String value) { |
||||
addCriterion("RIVER_CODE like", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeNotLike(String value) { |
||||
addCriterion("RIVER_CODE not like", value, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeIn(List<String> values) { |
||||
addCriterion("RIVER_CODE in", values, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeNotIn(List<String> values) { |
||||
addCriterion("RIVER_CODE not in", values, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeBetween(String value1, String value2) { |
||||
addCriterion("RIVER_CODE between", value1, value2, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverCodeNotBetween(String value1, String value2) { |
||||
addCriterion("RIVER_CODE not between", value1, value2, "riverCode"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameIsNull() { |
||||
addCriterion("RIVER_NAME is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameIsNotNull() { |
||||
addCriterion("RIVER_NAME is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameEqualTo(String value) { |
||||
addCriterion("RIVER_NAME =", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameNotEqualTo(String value) { |
||||
addCriterion("RIVER_NAME <>", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameGreaterThan(String value) { |
||||
addCriterion("RIVER_NAME >", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameGreaterThanOrEqualTo(String value) { |
||||
addCriterion("RIVER_NAME >=", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameLessThan(String value) { |
||||
addCriterion("RIVER_NAME <", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameLessThanOrEqualTo(String value) { |
||||
addCriterion("RIVER_NAME <=", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameLike(String value) { |
||||
addCriterion("RIVER_NAME like", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameNotLike(String value) { |
||||
addCriterion("RIVER_NAME not like", value, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameIn(List<String> values) { |
||||
addCriterion("RIVER_NAME in", values, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameNotIn(List<String> values) { |
||||
addCriterion("RIVER_NAME not in", values, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameBetween(String value1, String value2) { |
||||
addCriterion("RIVER_NAME between", value1, value2, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverNameNotBetween(String value1, String value2) { |
||||
addCriterion("RIVER_NAME not between", value1, value2, "riverName"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthIsNull() { |
||||
addCriterion("RIVER_WIDTH is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthIsNotNull() { |
||||
addCriterion("RIVER_WIDTH is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_WIDTH =", value, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthNotEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_WIDTH <>", value, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthGreaterThan(BigDecimal value) { |
||||
addCriterion("RIVER_WIDTH >", value, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_WIDTH >=", value, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthLessThan(BigDecimal value) { |
||||
addCriterion("RIVER_WIDTH <", value, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_WIDTH <=", value, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthIn(List<BigDecimal> values) { |
||||
addCriterion("RIVER_WIDTH in", values, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthNotIn(List<BigDecimal> values) { |
||||
addCriterion("RIVER_WIDTH not in", values, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RIVER_WIDTH between", value1, value2, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverWidthNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RIVER_WIDTH not between", value1, value2, "riverWidth"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxIsNull() { |
||||
addCriterion("RIVER_FLUX is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxIsNotNull() { |
||||
addCriterion("RIVER_FLUX is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_FLUX =", value, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxNotEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_FLUX <>", value, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxGreaterThan(BigDecimal value) { |
||||
addCriterion("RIVER_FLUX >", value, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_FLUX >=", value, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxLessThan(BigDecimal value) { |
||||
addCriterion("RIVER_FLUX <", value, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RIVER_FLUX <=", value, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxIn(List<BigDecimal> values) { |
||||
addCriterion("RIVER_FLUX in", values, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxNotIn(List<BigDecimal> values) { |
||||
addCriterion("RIVER_FLUX not in", values, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RIVER_FLUX between", value1, value2, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRiverFluxNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RIVER_FLUX not between", value1, value2, "riverFlux"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetIsNull() { |
||||
addCriterion("COORDINATESET is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetIsNotNull() { |
||||
addCriterion("COORDINATESET is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetEqualTo(String value) { |
||||
addCriterion("COORDINATESET =", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotEqualTo(String value) { |
||||
addCriterion("COORDINATESET <>", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetGreaterThan(String value) { |
||||
addCriterion("COORDINATESET >", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetGreaterThanOrEqualTo(String value) { |
||||
addCriterion("COORDINATESET >=", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetLessThan(String value) { |
||||
addCriterion("COORDINATESET <", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetLessThanOrEqualTo(String value) { |
||||
addCriterion("COORDINATESET <=", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetLike(String value) { |
||||
addCriterion("COORDINATESET like", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotLike(String value) { |
||||
addCriterion("COORDINATESET not like", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetIn(List<String> values) { |
||||
addCriterion("COORDINATESET in", values, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotIn(List<String> values) { |
||||
addCriterion("COORDINATESET not in", values, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetBetween(String value1, String value2) { |
||||
addCriterion("COORDINATESET between", value1, value2, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotBetween(String value1, String value2) { |
||||
addCriterion("COORDINATESET not between", value1, value2, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
} |
||||
|
||||
public static class Criteria extends GeneratedCriteria { |
||||
|
||||
protected Criteria() { |
||||
super(); |
||||
} |
||||
} |
||||
|
||||
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); |
||||
} |
||||
} |
||||
} |
@ -1,408 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
|
||||
|
||||
import com.hnac.hzims.baseinfo.vo.ReservoirInfoVo; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 水库基本信息表 《参照国标自行设计》 |
||||
* |
||||
* @author moze |
||||
* |
||||
*/ |
||||
public class ReservoirInfo { |
||||
private String stcd; // 水库编号
|
||||
|
||||
private String stationid; // 站点ID
|
||||
|
||||
private Float discharge; // 水库核定下泄流量 m³/s
|
||||
|
||||
private String name; // 水库名称
|
||||
|
||||
private String location; // 水库地址
|
||||
|
||||
private String village; // 所在乡镇村
|
||||
|
||||
private Float roadlength; // 防汛公路长度 m
|
||||
|
||||
private String roadconditiion;// 防汛公路状况
|
||||
|
||||
private Date builddate;// 建设时间
|
||||
|
||||
private Date completeddate;// 竣工时间
|
||||
|
||||
private Float rainarea;// 积雨面积km²
|
||||
|
||||
private Float designedfloodflow;// 设计洪水流量m³/s
|
||||
|
||||
private Float chedkedfloodflow;// 校核洪水流量m³/s
|
||||
|
||||
private Float designedfillarea;// 设计灌面km²
|
||||
|
||||
private Float designedtotalflow;// 设计洪水总量 万m³
|
||||
|
||||
private Float checdedtotalflow;// 校核洪水总量 万m³
|
||||
|
||||
private Float averagerainfall;// 平均降雨量 mm
|
||||
|
||||
private Float designedmaxflow;// 设计最大泄量 m³/s
|
||||
|
||||
private Float checkedmaxflow;// 校核最大泄量m³/s
|
||||
|
||||
private Float volume;// 总库容 万m³
|
||||
|
||||
private Float checkedfloodlevel;// 校核洪水位
|
||||
|
||||
private Float historicalmaxlevel;// 历史最高水位
|
||||
|
||||
private Float floodcontrolvolume;// 防洪库容 万m³
|
||||
|
||||
private Float designedfloodlevel; // 设计洪水位 m
|
||||
|
||||
private Date maxleveltime; // 最高水位发生时间
|
||||
|
||||
private Float utilizablevolume; // 兴利库容万m³
|
||||
|
||||
private Float norrmallevel; // 正常蓄水位 m
|
||||
|
||||
private Float flooddetentionvolume; // 滞洪库容 万m³
|
||||
|
||||
private Float deadlevel; // 死水位 m
|
||||
|
||||
private String areaCode; // 行政区划Code
|
||||
|
||||
private String lrcd; // 湖库代码
|
||||
|
||||
private String szhldm; // 所在河流代码
|
||||
|
||||
private Float dongj; // 东经
|
||||
|
||||
private Float beiw; // 北纬
|
||||
|
||||
private Float mjflsscnwl; //主汛期限制水位
|
||||
|
||||
public Float getMjflsscnwl() { |
||||
return mjflsscnwl; |
||||
} |
||||
|
||||
public void setMjflsscnwl(Float mjflsscnwl) { |
||||
this.mjflsscnwl = mjflsscnwl; |
||||
} |
||||
|
||||
public String getAreaCode() { |
||||
return areaCode; |
||||
} |
||||
|
||||
public void setAreaCode(String areaCode) { |
||||
this.areaCode = areaCode; |
||||
} |
||||
|
||||
public String getLrcd() { |
||||
return lrcd; |
||||
} |
||||
|
||||
public void setLrcd(String lrcd) { |
||||
this.lrcd = lrcd; |
||||
} |
||||
|
||||
public String getSzhldm() { |
||||
return szhldm; |
||||
} |
||||
|
||||
public void setSzhldm(String szhldm) { |
||||
this.szhldm = szhldm; |
||||
} |
||||
|
||||
public Float getDongj() { |
||||
return dongj; |
||||
} |
||||
|
||||
public void setDongj(Float dongj) { |
||||
this.dongj = dongj; |
||||
} |
||||
|
||||
public Float getBeiw() { |
||||
return beiw; |
||||
} |
||||
|
||||
public void setBeiw(Float beiw) { |
||||
this.beiw = beiw; |
||||
} |
||||
|
||||
public ReservoirInfo() { |
||||
} |
||||
|
||||
public ReservoirInfo(ReservoirInfoVo vo) { |
||||
this.averagerainfall = vo.getAveragerainfall(); |
||||
this.builddate = vo.getBuilddate(); |
||||
this.checdedtotalflow = vo.getChecdedtotalflow(); |
||||
this.checkedfloodlevel = vo.getCheckedfloodlevel(); |
||||
this.checkedmaxflow = vo.getCheckedmaxflow(); |
||||
this.chedkedfloodflow = vo.getChedkedfloodflow(); |
||||
this.completeddate = vo.getCompleteddate(); |
||||
this.deadlevel = vo.getDeadlevel(); |
||||
this.designedfillarea = vo.getDesignedfillarea(); |
||||
this.designedfloodflow = vo.getDesignedfloodflow(); |
||||
this.designedfloodlevel = vo.getDesignedfloodlevel(); |
||||
this.designedmaxflow = vo.getDesignedmaxflow(); |
||||
this.designedtotalflow = vo.getDesignedtotalflow(); |
||||
this.discharge = vo.getDischarge(); |
||||
this.floodcontrolvolume = vo.getFloodcontrolvolume(); |
||||
this.flooddetentionvolume = vo.getFlooddetentionvolume(); |
||||
this.historicalmaxlevel = vo.getHistoricalmaxlevel(); |
||||
this.location = vo.getLocation(); |
||||
this.maxleveltime = vo.getMaxleveltime(); |
||||
this.name = vo.getName(); |
||||
this.norrmallevel = vo.getNorrmallevel(); |
||||
this.rainarea = vo.getRainarea(); |
||||
this.roadconditiion = vo.getRoadconditiion(); |
||||
this.roadlength = vo.getRoadlength(); |
||||
this.stationid = vo.getStationid(); |
||||
this.stcd = vo.getStcd(); |
||||
this.utilizablevolume = vo.getUtilizablevolume(); |
||||
this.village = vo.getVillage(); |
||||
this.volume = vo.getVolume(); |
||||
this.areaCode = vo.getAreaCode(); |
||||
this.beiw = vo.getBeiw(); |
||||
this.dongj = vo.getDongj(); |
||||
this.lrcd = vo.getLrcd(); |
||||
this.szhldm = vo.getSzhldm(); |
||||
this.areaCode = vo.getAreaCode(); |
||||
this.mjflsscnwl = vo.getMjflsscnwl(); |
||||
} |
||||
|
||||
public String getStcd() { |
||||
return stcd; |
||||
} |
||||
|
||||
public void setStcd(String stcd) { |
||||
this.stcd = stcd; |
||||
} |
||||
|
||||
public String getStationid() { |
||||
return stationid; |
||||
} |
||||
|
||||
public void setStationid(String stationid) { |
||||
this.stationid = stationid; |
||||
} |
||||
|
||||
public Float getDischarge() { |
||||
return discharge; |
||||
} |
||||
|
||||
public void setDischarge(Float discharge) { |
||||
this.discharge = discharge; |
||||
} |
||||
|
||||
public String getName() { |
||||
return name; |
||||
} |
||||
|
||||
public void setName(String name) { |
||||
this.name = name; |
||||
} |
||||
|
||||
public String getLocation() { |
||||
return location; |
||||
} |
||||
|
||||
public void setLocation(String location) { |
||||
this.location = location; |
||||
} |
||||
|
||||
public String getVillage() { |
||||
return village; |
||||
} |
||||
|
||||
public void setVillage(String village) { |
||||
this.village = village; |
||||
} |
||||
|
||||
public Float getRoadlength() { |
||||
return roadlength; |
||||
} |
||||
|
||||
public void setRoadlength(Float roadlength) { |
||||
this.roadlength = roadlength; |
||||
} |
||||
|
||||
public String getRoadconditiion() { |
||||
return roadconditiion; |
||||
} |
||||
|
||||
public void setRoadconditiion(String roadconditiion) { |
||||
this.roadconditiion = roadconditiion; |
||||
} |
||||
|
||||
public Date getBuilddate() { |
||||
return builddate; |
||||
} |
||||
|
||||
public void setBuilddate(Date builddate) { |
||||
this.builddate = builddate; |
||||
} |
||||
|
||||
public Date getCompleteddate() { |
||||
return completeddate; |
||||
} |
||||
|
||||
public void setCompleteddate(Date completeddate) { |
||||
this.completeddate = completeddate; |
||||
} |
||||
|
||||
public Float getRainarea() { |
||||
return rainarea; |
||||
} |
||||
|
||||
public void setRainarea(Float rainarea) { |
||||
this.rainarea = rainarea; |
||||
} |
||||
|
||||
public Float getDesignedfloodflow() { |
||||
return designedfloodflow; |
||||
} |
||||
|
||||
public void setDesignedfloodflow(Float designedfloodflow) { |
||||
this.designedfloodflow = designedfloodflow; |
||||
} |
||||
|
||||
public Float getChedkedfloodflow() { |
||||
return chedkedfloodflow; |
||||
} |
||||
|
||||
public void setChedkedfloodflow(Float chedkedfloodflow) { |
||||
this.chedkedfloodflow = chedkedfloodflow; |
||||
} |
||||
|
||||
public Float getDesignedfillarea() { |
||||
return designedfillarea; |
||||
} |
||||
|
||||
public void setDesignedfillarea(Float designedfillarea) { |
||||
this.designedfillarea = designedfillarea; |
||||
} |
||||
|
||||
public Float getDesignedtotalflow() { |
||||
return designedtotalflow; |
||||
} |
||||
|
||||
public void setDesignedtotalflow(Float designedtotalflow) { |
||||
this.designedtotalflow = designedtotalflow; |
||||
} |
||||
|
||||
public Float getChecdedtotalflow() { |
||||
return checdedtotalflow; |
||||
} |
||||
|
||||
public void setChecdedtotalflow(Float checdedtotalflow) { |
||||
this.checdedtotalflow = checdedtotalflow; |
||||
} |
||||
|
||||
public Float getAveragerainfall() { |
||||
return averagerainfall; |
||||
} |
||||
|
||||
public void setAveragerainfall(Float averagerainfall) { |
||||
this.averagerainfall = averagerainfall; |
||||
} |
||||
|
||||
public Float getDesignedmaxflow() { |
||||
return designedmaxflow; |
||||
} |
||||
|
||||
public void setDesignedmaxflow(Float designedmaxflow) { |
||||
this.designedmaxflow = designedmaxflow; |
||||
} |
||||
|
||||
public Float getCheckedmaxflow() { |
||||
return checkedmaxflow; |
||||
} |
||||
|
||||
public void setCheckedmaxflow(Float checkedmaxflow) { |
||||
this.checkedmaxflow = checkedmaxflow; |
||||
} |
||||
|
||||
public Float getVolume() { |
||||
return volume; |
||||
} |
||||
|
||||
public void setVolume(Float volume) { |
||||
this.volume = volume; |
||||
} |
||||
|
||||
public Float getCheckedfloodlevel() { |
||||
return checkedfloodlevel; |
||||
} |
||||
|
||||
public void setCheckedfloodlevel(Float checkedfloodlevel) { |
||||
this.checkedfloodlevel = checkedfloodlevel; |
||||
} |
||||
|
||||
public Float getHistoricalmaxlevel() { |
||||
return historicalmaxlevel; |
||||
} |
||||
|
||||
public void setHistoricalmaxlevel(Float historicalmaxlevel) { |
||||
this.historicalmaxlevel = historicalmaxlevel; |
||||
} |
||||
|
||||
public Float getFloodcontrolvolume() { |
||||
return floodcontrolvolume; |
||||
} |
||||
|
||||
public void setFloodcontrolvolume(Float floodcontrolvolume) { |
||||
this.floodcontrolvolume = floodcontrolvolume; |
||||
} |
||||
|
||||
public Float getDesignedfloodlevel() { |
||||
return designedfloodlevel; |
||||
} |
||||
|
||||
public void setDesignedfloodlevel(Float designedfloodlevel) { |
||||
this.designedfloodlevel = designedfloodlevel; |
||||
} |
||||
|
||||
public Date getMaxleveltime() { |
||||
return maxleveltime; |
||||
} |
||||
|
||||
public void setMaxleveltime(Date maxleveltime) { |
||||
this.maxleveltime = maxleveltime; |
||||
} |
||||
|
||||
public Float getUtilizablevolume() { |
||||
return utilizablevolume; |
||||
} |
||||
|
||||
public void setUtilizablevolume(Float utilizablevolume) { |
||||
this.utilizablevolume = utilizablevolume; |
||||
} |
||||
|
||||
public Float getNorrmallevel() { |
||||
return norrmallevel; |
||||
} |
||||
|
||||
public void setNorrmallevel(Float norrmallevel) { |
||||
this.norrmallevel = norrmallevel; |
||||
} |
||||
|
||||
public Float getFlooddetentionvolume() { |
||||
return flooddetentionvolume; |
||||
} |
||||
|
||||
public void setFlooddetentionvolume(Float flooddetentionvolume) { |
||||
this.flooddetentionvolume = flooddetentionvolume; |
||||
} |
||||
|
||||
public Float getDeadlevel() { |
||||
return deadlevel; |
||||
} |
||||
|
||||
public void setDeadlevel(Float deadlevel) { |
||||
this.deadlevel = deadlevel; |
||||
} |
||||
|
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,50 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
/** |
||||
* 水库数据扩展表 |
||||
* |
||||
* @author moze |
||||
* |
||||
*/ |
||||
public class ReservoirRefdata { |
||||
private String stcd; // 水库编号
|
||||
|
||||
private String refstcd; // 关联测站
|
||||
|
||||
private String refqpoint; // 关联流量数据点
|
||||
|
||||
private String refzpoint; // 关联水位数据点
|
||||
|
||||
public String getStcd() { |
||||
return stcd; |
||||
} |
||||
|
||||
public void setStcd(String stcd) { |
||||
this.stcd = stcd; |
||||
} |
||||
|
||||
public String getRefstcd() { |
||||
return refstcd; |
||||
} |
||||
|
||||
public void setRefstcd(String refstcd) { |
||||
this.refstcd = refstcd; |
||||
} |
||||
|
||||
public String getRefqpoint() { |
||||
return refqpoint; |
||||
} |
||||
|
||||
public void setRefqpoint(String refqpoint) { |
||||
this.refqpoint = refqpoint; |
||||
} |
||||
|
||||
public String getRefzpoint() { |
||||
return refzpoint; |
||||
} |
||||
|
||||
public void setRefzpoint(String refzpoint) { |
||||
this.refzpoint = refzpoint; |
||||
} |
||||
|
||||
} |
@ -1,480 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
public class ReservoirRefdataExample { |
||||
protected String orderByClause; |
||||
|
||||
protected boolean distinct; |
||||
|
||||
protected List<Criteria> oredCriteria; |
||||
|
||||
public ReservoirRefdataExample() { |
||||
oredCriteria = new ArrayList<Criteria>(); |
||||
} |
||||
|
||||
public void setOrderByClause(String orderByClause) { |
||||
this.orderByClause = orderByClause; |
||||
} |
||||
|
||||
public String getOrderByClause() { |
||||
return orderByClause; |
||||
} |
||||
|
||||
public void setDistinct(boolean distinct) { |
||||
this.distinct = distinct; |
||||
} |
||||
|
||||
public boolean isDistinct() { |
||||
return distinct; |
||||
} |
||||
|
||||
public List<Criteria> getOredCriteria() { |
||||
return oredCriteria; |
||||
} |
||||
|
||||
public void or(Criteria criteria) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
|
||||
public Criteria or() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
oredCriteria.add(criteria); |
||||
return criteria; |
||||
} |
||||
|
||||
public Criteria createCriteria() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
if (oredCriteria.size() == 0) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
return criteria; |
||||
} |
||||
|
||||
protected Criteria createCriteriaInternal() { |
||||
Criteria criteria = new Criteria(); |
||||
return criteria; |
||||
} |
||||
|
||||
public void clear() { |
||||
oredCriteria.clear(); |
||||
orderByClause = null; |
||||
distinct = false; |
||||
} |
||||
|
||||
protected abstract static class GeneratedCriteria { |
||||
protected List<Criterion> criteria; |
||||
|
||||
protected GeneratedCriteria() { |
||||
super(); |
||||
criteria = new ArrayList<Criterion>(); |
||||
} |
||||
|
||||
public boolean isValid() { |
||||
return criteria.size() > 0; |
||||
} |
||||
|
||||
public List<Criterion> getAllCriteria() { |
||||
return criteria; |
||||
} |
||||
|
||||
public List<Criterion> 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 andStcdIsNull() { |
||||
addCriterion("STCD is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIsNotNull() { |
||||
addCriterion("STCD is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdEqualTo(String value) { |
||||
addCriterion("STCD =", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotEqualTo(String value) { |
||||
addCriterion("STCD <>", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThan(String value) { |
||||
addCriterion("STCD >", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThanOrEqualTo(String value) { |
||||
addCriterion("STCD >=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThan(String value) { |
||||
addCriterion("STCD <", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThanOrEqualTo(String value) { |
||||
addCriterion("STCD <=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLike(String value) { |
||||
addCriterion("STCD like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotLike(String value) { |
||||
addCriterion("STCD not like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIn(List<String> values) { |
||||
addCriterion("STCD in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotIn(List<String> values) { |
||||
addCriterion("STCD not in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdBetween(String value1, String value2) { |
||||
addCriterion("STCD between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotBetween(String value1, String value2) { |
||||
addCriterion("STCD not between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdIsNull() { |
||||
addCriterion("REFSTCD is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdIsNotNull() { |
||||
addCriterion("REFSTCD is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdEqualTo(String value) { |
||||
addCriterion("REFSTCD =", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdNotEqualTo(String value) { |
||||
addCriterion("REFSTCD <>", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdGreaterThan(String value) { |
||||
addCriterion("REFSTCD >", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdGreaterThanOrEqualTo(String value) { |
||||
addCriterion("REFSTCD >=", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdLessThan(String value) { |
||||
addCriterion("REFSTCD <", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdLessThanOrEqualTo(String value) { |
||||
addCriterion("REFSTCD <=", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdLike(String value) { |
||||
addCriterion("REFSTCD like", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdNotLike(String value) { |
||||
addCriterion("REFSTCD not like", value, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdIn(List<String> values) { |
||||
addCriterion("REFSTCD in", values, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdNotIn(List<String> values) { |
||||
addCriterion("REFSTCD not in", values, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdBetween(String value1, String value2) { |
||||
addCriterion("REFSTCD between", value1, value2, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefstcdNotBetween(String value1, String value2) { |
||||
addCriterion("REFSTCD not between", value1, value2, "refstcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointIsNull() { |
||||
addCriterion("REFQPOINT is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointIsNotNull() { |
||||
addCriterion("REFQPOINT is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointEqualTo(String value) { |
||||
addCriterion("REFQPOINT =", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointNotEqualTo(String value) { |
||||
addCriterion("REFQPOINT <>", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointGreaterThan(String value) { |
||||
addCriterion("REFQPOINT >", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointGreaterThanOrEqualTo(String value) { |
||||
addCriterion("REFQPOINT >=", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointLessThan(String value) { |
||||
addCriterion("REFQPOINT <", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointLessThanOrEqualTo(String value) { |
||||
addCriterion("REFQPOINT <=", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointLike(String value) { |
||||
addCriterion("REFQPOINT like", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointNotLike(String value) { |
||||
addCriterion("REFQPOINT not like", value, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointIn(List<String> values) { |
||||
addCriterion("REFQPOINT in", values, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointNotIn(List<String> values) { |
||||
addCriterion("REFQPOINT not in", values, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointBetween(String value1, String value2) { |
||||
addCriterion("REFQPOINT between", value1, value2, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefqpointNotBetween(String value1, String value2) { |
||||
addCriterion("REFQPOINT not between", value1, value2, "refqpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointIsNull() { |
||||
addCriterion("REFZPOINT is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointIsNotNull() { |
||||
addCriterion("REFZPOINT is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointEqualTo(String value) { |
||||
addCriterion("REFZPOINT =", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointNotEqualTo(String value) { |
||||
addCriterion("REFZPOINT <>", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointGreaterThan(String value) { |
||||
addCriterion("REFZPOINT >", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointGreaterThanOrEqualTo(String value) { |
||||
addCriterion("REFZPOINT >=", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointLessThan(String value) { |
||||
addCriterion("REFZPOINT <", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointLessThanOrEqualTo(String value) { |
||||
addCriterion("REFZPOINT <=", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointLike(String value) { |
||||
addCriterion("REFZPOINT like", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointNotLike(String value) { |
||||
addCriterion("REFZPOINT not like", value, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointIn(List<String> values) { |
||||
addCriterion("REFZPOINT in", values, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointNotIn(List<String> values) { |
||||
addCriterion("REFZPOINT not in", values, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointBetween(String value1, String value2) { |
||||
addCriterion("REFZPOINT between", value1, value2, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRefzpointNotBetween(String value1, String value2) { |
||||
addCriterion("REFZPOINT not between", value1, value2, "refzpoint"); |
||||
return (Criteria) this; |
||||
} |
||||
} |
||||
|
||||
public static class Criteria extends GeneratedCriteria { |
||||
|
||||
protected Criteria() { |
||||
super(); |
||||
} |
||||
} |
||||
|
||||
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); |
||||
} |
||||
} |
||||
} |
@ -1,95 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
public class ReservoirWaterManage { |
||||
private Integer id; |
||||
|
||||
private Integer month; |
||||
|
||||
private BigDecimal firstArea; |
||||
|
||||
private BigDecimal secondArea; |
||||
|
||||
private BigDecimal thirdArea; |
||||
|
||||
private BigDecimal fourthArea; |
||||
|
||||
private BigDecimal fivthArea; |
||||
|
||||
private BigDecimal sixthArea; |
||||
|
||||
private String stcd; |
||||
|
||||
public Integer getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(Integer id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public Integer getMonth() { |
||||
return month; |
||||
} |
||||
|
||||
public void setMonth(Integer month) { |
||||
this.month = month; |
||||
} |
||||
|
||||
public BigDecimal getFirstArea() { |
||||
return firstArea; |
||||
} |
||||
|
||||
public void setFirstArea(BigDecimal firstArea) { |
||||
this.firstArea = firstArea; |
||||
} |
||||
|
||||
public BigDecimal getSecondArea() { |
||||
return secondArea; |
||||
} |
||||
|
||||
public void setSecondArea(BigDecimal secondArea) { |
||||
this.secondArea = secondArea; |
||||
} |
||||
|
||||
public BigDecimal getThirdArea() { |
||||
return thirdArea; |
||||
} |
||||
|
||||
public void setThirdArea(BigDecimal thirdArea) { |
||||
this.thirdArea = thirdArea; |
||||
} |
||||
|
||||
public BigDecimal getFourthArea() { |
||||
return fourthArea; |
||||
} |
||||
|
||||
public void setFourthArea(BigDecimal fourthArea) { |
||||
this.fourthArea = fourthArea; |
||||
} |
||||
|
||||
public BigDecimal getFivthArea() { |
||||
return fivthArea; |
||||
} |
||||
|
||||
public void setFivthArea(BigDecimal fivthArea) { |
||||
this.fivthArea = fivthArea; |
||||
} |
||||
|
||||
public BigDecimal getSixthArea() { |
||||
return sixthArea; |
||||
} |
||||
|
||||
public void setSixthArea(BigDecimal sixthArea) { |
||||
this.sixthArea = sixthArea; |
||||
} |
||||
|
||||
public String getStcd() { |
||||
return stcd; |
||||
} |
||||
|
||||
public void setStcd(String stcd) { |
||||
this.stcd = stcd; |
||||
} |
||||
} |
@ -1,751 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
public class ReservoirWaterManageExample { |
||||
protected String orderByClause; |
||||
|
||||
protected boolean distinct; |
||||
|
||||
protected List<Criteria> oredCriteria; |
||||
|
||||
public ReservoirWaterManageExample() { |
||||
oredCriteria = new ArrayList<Criteria>(); |
||||
} |
||||
|
||||
public void setOrderByClause(String orderByClause) { |
||||
this.orderByClause = orderByClause; |
||||
} |
||||
|
||||
public String getOrderByClause() { |
||||
return orderByClause; |
||||
} |
||||
|
||||
public void setDistinct(boolean distinct) { |
||||
this.distinct = distinct; |
||||
} |
||||
|
||||
public boolean isDistinct() { |
||||
return distinct; |
||||
} |
||||
|
||||
public List<Criteria> getOredCriteria() { |
||||
return oredCriteria; |
||||
} |
||||
|
||||
public void or(Criteria criteria) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
|
||||
public Criteria or() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
oredCriteria.add(criteria); |
||||
return criteria; |
||||
} |
||||
|
||||
public Criteria createCriteria() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
if (oredCriteria.size() == 0) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
return criteria; |
||||
} |
||||
|
||||
protected Criteria createCriteriaInternal() { |
||||
Criteria criteria = new Criteria(); |
||||
return criteria; |
||||
} |
||||
|
||||
public void clear() { |
||||
oredCriteria.clear(); |
||||
orderByClause = null; |
||||
distinct = false; |
||||
} |
||||
|
||||
protected abstract static class GeneratedCriteria { |
||||
protected List<Criterion> criteria; |
||||
|
||||
protected GeneratedCriteria() { |
||||
super(); |
||||
criteria = new ArrayList<Criterion>(); |
||||
} |
||||
|
||||
public boolean isValid() { |
||||
return criteria.size() > 0; |
||||
} |
||||
|
||||
public List<Criterion> getAllCriteria() { |
||||
return criteria; |
||||
} |
||||
|
||||
public List<Criterion> 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(Integer value) { |
||||
addCriterion("ID =", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotEqualTo(Integer value) { |
||||
addCriterion("ID <>", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdGreaterThan(Integer value) { |
||||
addCriterion("ID >", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Integer value) { |
||||
addCriterion("ID >=", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdLessThan(Integer value) { |
||||
addCriterion("ID <", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Integer value) { |
||||
addCriterion("ID <=", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdIn(List<Integer> values) { |
||||
addCriterion("ID in", values, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotIn(List<Integer> values) { |
||||
addCriterion("ID not in", values, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdBetween(Integer value1, Integer value2) { |
||||
addCriterion("ID between", value1, value2, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotBetween(Integer value1, Integer value2) { |
||||
addCriterion("ID not between", value1, value2, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthIsNull() { |
||||
addCriterion("MONTH is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthIsNotNull() { |
||||
addCriterion("MONTH is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthEqualTo(Integer value) { |
||||
addCriterion("MONTH =", value, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthNotEqualTo(Integer value) { |
||||
addCriterion("MONTH <>", value, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthGreaterThan(Integer value) { |
||||
addCriterion("MONTH >", value, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthGreaterThanOrEqualTo(Integer value) { |
||||
addCriterion("MONTH >=", value, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthLessThan(Integer value) { |
||||
addCriterion("MONTH <", value, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthLessThanOrEqualTo(Integer value) { |
||||
addCriterion("MONTH <=", value, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthIn(List<Integer> values) { |
||||
addCriterion("MONTH in", values, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthNotIn(List<Integer> values) { |
||||
addCriterion("MONTH not in", values, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthBetween(Integer value1, Integer value2) { |
||||
addCriterion("MONTH between", value1, value2, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMonthNotBetween(Integer value1, Integer value2) { |
||||
addCriterion("MONTH not between", value1, value2, "month"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaIsNull() { |
||||
addCriterion("FIRST_AREA is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaIsNotNull() { |
||||
addCriterion("FIRST_AREA is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaEqualTo(BigDecimal value) { |
||||
addCriterion("FIRST_AREA =", value, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaNotEqualTo(BigDecimal value) { |
||||
addCriterion("FIRST_AREA <>", value, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaGreaterThan(BigDecimal value) { |
||||
addCriterion("FIRST_AREA >", value, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("FIRST_AREA >=", value, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaLessThan(BigDecimal value) { |
||||
addCriterion("FIRST_AREA <", value, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("FIRST_AREA <=", value, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaIn(List<BigDecimal> values) { |
||||
addCriterion("FIRST_AREA in", values, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaNotIn(List<BigDecimal> values) { |
||||
addCriterion("FIRST_AREA not in", values, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("FIRST_AREA between", value1, value2, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFirstAreaNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("FIRST_AREA not between", value1, value2, "firstArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaIsNull() { |
||||
addCriterion("SECOND_AREA is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaIsNotNull() { |
||||
addCriterion("SECOND_AREA is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaEqualTo(BigDecimal value) { |
||||
addCriterion("SECOND_AREA =", value, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaNotEqualTo(BigDecimal value) { |
||||
addCriterion("SECOND_AREA <>", value, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaGreaterThan(BigDecimal value) { |
||||
addCriterion("SECOND_AREA >", value, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("SECOND_AREA >=", value, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaLessThan(BigDecimal value) { |
||||
addCriterion("SECOND_AREA <", value, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("SECOND_AREA <=", value, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaIn(List<BigDecimal> values) { |
||||
addCriterion("SECOND_AREA in", values, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaNotIn(List<BigDecimal> values) { |
||||
addCriterion("SECOND_AREA not in", values, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("SECOND_AREA between", value1, value2, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSecondAreaNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("SECOND_AREA not between", value1, value2, "secondArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaIsNull() { |
||||
addCriterion("THIRD_AREA is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaIsNotNull() { |
||||
addCriterion("THIRD_AREA is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaEqualTo(BigDecimal value) { |
||||
addCriterion("THIRD_AREA =", value, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaNotEqualTo(BigDecimal value) { |
||||
addCriterion("THIRD_AREA <>", value, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaGreaterThan(BigDecimal value) { |
||||
addCriterion("THIRD_AREA >", value, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("THIRD_AREA >=", value, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaLessThan(BigDecimal value) { |
||||
addCriterion("THIRD_AREA <", value, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("THIRD_AREA <=", value, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaIn(List<BigDecimal> values) { |
||||
addCriterion("THIRD_AREA in", values, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaNotIn(List<BigDecimal> values) { |
||||
addCriterion("THIRD_AREA not in", values, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("THIRD_AREA between", value1, value2, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andThirdAreaNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("THIRD_AREA not between", value1, value2, "thirdArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaIsNull() { |
||||
addCriterion("FOURTH_AREA is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaIsNotNull() { |
||||
addCriterion("FOURTH_AREA is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaEqualTo(BigDecimal value) { |
||||
addCriterion("FOURTH_AREA =", value, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaNotEqualTo(BigDecimal value) { |
||||
addCriterion("FOURTH_AREA <>", value, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaGreaterThan(BigDecimal value) { |
||||
addCriterion("FOURTH_AREA >", value, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("FOURTH_AREA >=", value, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaLessThan(BigDecimal value) { |
||||
addCriterion("FOURTH_AREA <", value, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("FOURTH_AREA <=", value, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaIn(List<BigDecimal> values) { |
||||
addCriterion("FOURTH_AREA in", values, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaNotIn(List<BigDecimal> values) { |
||||
addCriterion("FOURTH_AREA not in", values, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("FOURTH_AREA between", value1, value2, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFourthAreaNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("FOURTH_AREA not between", value1, value2, "fourthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaIsNull() { |
||||
addCriterion("FIVTH_AREA is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaIsNotNull() { |
||||
addCriterion("FIVTH_AREA is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaEqualTo(BigDecimal value) { |
||||
addCriterion("FIVTH_AREA =", value, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaNotEqualTo(BigDecimal value) { |
||||
addCriterion("FIVTH_AREA <>", value, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaGreaterThan(BigDecimal value) { |
||||
addCriterion("FIVTH_AREA >", value, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("FIVTH_AREA >=", value, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaLessThan(BigDecimal value) { |
||||
addCriterion("FIVTH_AREA <", value, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("FIVTH_AREA <=", value, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaIn(List<BigDecimal> values) { |
||||
addCriterion("FIVTH_AREA in", values, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaNotIn(List<BigDecimal> values) { |
||||
addCriterion("FIVTH_AREA not in", values, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("FIVTH_AREA between", value1, value2, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andFivthAreaNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("FIVTH_AREA not between", value1, value2, "fivthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaIsNull() { |
||||
addCriterion("SIXTH_AREA is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaIsNotNull() { |
||||
addCriterion("SIXTH_AREA is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaEqualTo(BigDecimal value) { |
||||
addCriterion("SIXTH_AREA =", value, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaNotEqualTo(BigDecimal value) { |
||||
addCriterion("SIXTH_AREA <>", value, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaGreaterThan(BigDecimal value) { |
||||
addCriterion("SIXTH_AREA >", value, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("SIXTH_AREA >=", value, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaLessThan(BigDecimal value) { |
||||
addCriterion("SIXTH_AREA <", value, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("SIXTH_AREA <=", value, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaIn(List<BigDecimal> values) { |
||||
addCriterion("SIXTH_AREA in", values, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaNotIn(List<BigDecimal> values) { |
||||
addCriterion("SIXTH_AREA not in", values, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("SIXTH_AREA between", value1, value2, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andSixthAreaNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("SIXTH_AREA not between", value1, value2, "sixthArea"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIsNull() { |
||||
addCriterion("STCD is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIsNotNull() { |
||||
addCriterion("STCD is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdEqualTo(String value) { |
||||
addCriterion("STCD =", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotEqualTo(String value) { |
||||
addCriterion("STCD <>", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThan(String value) { |
||||
addCriterion("STCD >", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThanOrEqualTo(String value) { |
||||
addCriterion("STCD >=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThan(String value) { |
||||
addCriterion("STCD <", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThanOrEqualTo(String value) { |
||||
addCriterion("STCD <=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLike(String value) { |
||||
addCriterion("STCD like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotLike(String value) { |
||||
addCriterion("STCD not like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIn(List<String> values) { |
||||
addCriterion("STCD in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotIn(List<String> values) { |
||||
addCriterion("STCD not in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdBetween(String value1, String value2) { |
||||
addCriterion("STCD between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotBetween(String value1, String value2) { |
||||
addCriterion("STCD not between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
} |
||||
|
||||
public static class Criteria extends GeneratedCriteria { |
||||
|
||||
protected Criteria() { |
||||
super(); |
||||
} |
||||
} |
||||
|
||||
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); |
||||
} |
||||
} |
||||
} |
@ -1,92 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 库(湖)容曲线表 |
||||
* |
||||
* @author moze |
||||
* |
||||
*/ |
||||
public class StZvarlB { |
||||
private Integer id; |
||||
|
||||
private String stcd; // 水库编码
|
||||
|
||||
private Date mstm; // 施测时间
|
||||
|
||||
private Integer ptno; // 点序号
|
||||
|
||||
private BigDecimal rz; // 库水位
|
||||
|
||||
private BigDecimal w; // 蓄水量
|
||||
|
||||
private BigDecimal wsfa; // 水位面积
|
||||
|
||||
private Date moditime; // 时间戳
|
||||
|
||||
public Integer getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(Integer id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public String getStcd() { |
||||
return stcd; |
||||
} |
||||
|
||||
public void setStcd(String stcd) { |
||||
this.stcd = stcd; |
||||
} |
||||
|
||||
public Date getMstm() { |
||||
return mstm; |
||||
} |
||||
|
||||
public void setMstm(Date mstm) { |
||||
this.mstm = mstm; |
||||
} |
||||
|
||||
public Integer getPtno() { |
||||
return ptno; |
||||
} |
||||
|
||||
public void setPtno(Integer ptno) { |
||||
this.ptno = ptno; |
||||
} |
||||
|
||||
public BigDecimal getRz() { |
||||
return rz; |
||||
} |
||||
|
||||
public void setRz(BigDecimal rz) { |
||||
this.rz = rz; |
||||
} |
||||
|
||||
public BigDecimal getW() { |
||||
return w; |
||||
} |
||||
|
||||
public void setW(BigDecimal w) { |
||||
this.w = w; |
||||
} |
||||
|
||||
public BigDecimal getWsfa() { |
||||
return wsfa; |
||||
} |
||||
|
||||
public void setWsfa(BigDecimal wsfa) { |
||||
this.wsfa = wsfa; |
||||
} |
||||
|
||||
public Date getModitime() { |
||||
return moditime; |
||||
} |
||||
|
||||
public void setModitime(Date moditime) { |
||||
this.moditime = moditime; |
||||
} |
||||
} |
@ -1,692 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.ArrayList; |
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
public class StZvarlBExample { |
||||
protected String orderByClause; |
||||
|
||||
protected boolean distinct; |
||||
|
||||
protected List<Criteria> oredCriteria; |
||||
|
||||
public StZvarlBExample() { |
||||
oredCriteria = new ArrayList<Criteria>(); |
||||
} |
||||
|
||||
public void setOrderByClause(String orderByClause) { |
||||
this.orderByClause = orderByClause; |
||||
} |
||||
|
||||
public String getOrderByClause() { |
||||
return orderByClause; |
||||
} |
||||
|
||||
public void setDistinct(boolean distinct) { |
||||
this.distinct = distinct; |
||||
} |
||||
|
||||
public boolean isDistinct() { |
||||
return distinct; |
||||
} |
||||
|
||||
public List<Criteria> getOredCriteria() { |
||||
return oredCriteria; |
||||
} |
||||
|
||||
public void or(Criteria criteria) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
|
||||
public Criteria or() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
oredCriteria.add(criteria); |
||||
return criteria; |
||||
} |
||||
|
||||
public Criteria createCriteria() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
if (oredCriteria.size() == 0) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
return criteria; |
||||
} |
||||
|
||||
protected Criteria createCriteriaInternal() { |
||||
Criteria criteria = new Criteria(); |
||||
return criteria; |
||||
} |
||||
|
||||
public void clear() { |
||||
oredCriteria.clear(); |
||||
orderByClause = null; |
||||
distinct = false; |
||||
} |
||||
|
||||
protected abstract static class GeneratedCriteria { |
||||
protected List<Criterion> criteria; |
||||
|
||||
protected GeneratedCriteria() { |
||||
super(); |
||||
criteria = new ArrayList<Criterion>(); |
||||
} |
||||
|
||||
public boolean isValid() { |
||||
return criteria.size() > 0; |
||||
} |
||||
|
||||
public List<Criterion> getAllCriteria() { |
||||
return criteria; |
||||
} |
||||
|
||||
public List<Criterion> 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(Integer value) { |
||||
addCriterion("ID =", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotEqualTo(Integer value) { |
||||
addCriterion("ID <>", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdGreaterThan(Integer value) { |
||||
addCriterion("ID >", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Integer value) { |
||||
addCriterion("ID >=", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdLessThan(Integer value) { |
||||
addCriterion("ID <", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Integer value) { |
||||
addCriterion("ID <=", value, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdIn(List<Integer> values) { |
||||
addCriterion("ID in", values, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotIn(List<Integer> values) { |
||||
addCriterion("ID not in", values, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdBetween(Integer value1, Integer value2) { |
||||
addCriterion("ID between", value1, value2, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotBetween(Integer value1, Integer value2) { |
||||
addCriterion("ID not between", value1, value2, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIsNull() { |
||||
addCriterion("STCD is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIsNotNull() { |
||||
addCriterion("STCD is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdEqualTo(String value) { |
||||
addCriterion("STCD =", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotEqualTo(String value) { |
||||
addCriterion("STCD <>", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThan(String value) { |
||||
addCriterion("STCD >", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThanOrEqualTo(String value) { |
||||
addCriterion("STCD >=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThan(String value) { |
||||
addCriterion("STCD <", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThanOrEqualTo(String value) { |
||||
addCriterion("STCD <=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLike(String value) { |
||||
addCriterion("STCD like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotLike(String value) { |
||||
addCriterion("STCD not like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIn(List<String> values) { |
||||
addCriterion("STCD in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotIn(List<String> values) { |
||||
addCriterion("STCD not in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdBetween(String value1, String value2) { |
||||
addCriterion("STCD between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotBetween(String value1, String value2) { |
||||
addCriterion("STCD not between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmIsNull() { |
||||
addCriterion("MSTM is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmIsNotNull() { |
||||
addCriterion("MSTM is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmEqualTo(Date value) { |
||||
addCriterion("MSTM =", value, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmNotEqualTo(Date value) { |
||||
addCriterion("MSTM <>", value, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmGreaterThan(Date value) { |
||||
addCriterion("MSTM >", value, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmGreaterThanOrEqualTo(Date value) { |
||||
addCriterion("MSTM >=", value, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmLessThan(Date value) { |
||||
addCriterion("MSTM <", value, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmLessThanOrEqualTo(Date value) { |
||||
addCriterion("MSTM <=", value, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmIn(List<Date> values) { |
||||
addCriterion("MSTM in", values, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmNotIn(List<Date> values) { |
||||
addCriterion("MSTM not in", values, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmBetween(Date value1, Date value2) { |
||||
addCriterion("MSTM between", value1, value2, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andMstmNotBetween(Date value1, Date value2) { |
||||
addCriterion("MSTM not between", value1, value2, "mstm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoIsNull() { |
||||
addCriterion("PTNO is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoIsNotNull() { |
||||
addCriterion("PTNO is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoEqualTo(Integer value) { |
||||
addCriterion("PTNO =", value, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoNotEqualTo(Integer value) { |
||||
addCriterion("PTNO <>", value, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoGreaterThan(Integer value) { |
||||
addCriterion("PTNO >", value, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoGreaterThanOrEqualTo(Integer value) { |
||||
addCriterion("PTNO >=", value, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoLessThan(Integer value) { |
||||
addCriterion("PTNO <", value, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoLessThanOrEqualTo(Integer value) { |
||||
addCriterion("PTNO <=", value, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoIn(List<Integer> values) { |
||||
addCriterion("PTNO in", values, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoNotIn(List<Integer> values) { |
||||
addCriterion("PTNO not in", values, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoBetween(Integer value1, Integer value2) { |
||||
addCriterion("PTNO between", value1, value2, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andPtnoNotBetween(Integer value1, Integer value2) { |
||||
addCriterion("PTNO not between", value1, value2, "ptno"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzIsNull() { |
||||
addCriterion("RZ is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzIsNotNull() { |
||||
addCriterion("RZ is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzEqualTo(BigDecimal value) { |
||||
addCriterion("RZ =", value, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzNotEqualTo(BigDecimal value) { |
||||
addCriterion("RZ <>", value, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzGreaterThan(BigDecimal value) { |
||||
addCriterion("RZ >", value, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RZ >=", value, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzLessThan(BigDecimal value) { |
||||
addCriterion("RZ <", value, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RZ <=", value, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzIn(List<BigDecimal> values) { |
||||
addCriterion("RZ in", values, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzNotIn(List<BigDecimal> values) { |
||||
addCriterion("RZ not in", values, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RZ between", value1, value2, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRzNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RZ not between", value1, value2, "rz"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWIsNull() { |
||||
addCriterion("W is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWIsNotNull() { |
||||
addCriterion("W is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWEqualTo(BigDecimal value) { |
||||
addCriterion("W =", value, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWNotEqualTo(BigDecimal value) { |
||||
addCriterion("W <>", value, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWGreaterThan(BigDecimal value) { |
||||
addCriterion("W >", value, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("W >=", value, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWLessThan(BigDecimal value) { |
||||
addCriterion("W <", value, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("W <=", value, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWIn(List<BigDecimal> values) { |
||||
addCriterion("W in", values, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWNotIn(List<BigDecimal> values) { |
||||
addCriterion("W not in", values, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("W between", value1, value2, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("W not between", value1, value2, "w"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaIsNull() { |
||||
addCriterion("WSFA is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaIsNotNull() { |
||||
addCriterion("WSFA is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaEqualTo(Integer value) { |
||||
addCriterion("WSFA =", value, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaNotEqualTo(Integer value) { |
||||
addCriterion("WSFA <>", value, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaGreaterThan(Integer value) { |
||||
addCriterion("WSFA >", value, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaGreaterThanOrEqualTo(Integer value) { |
||||
addCriterion("WSFA >=", value, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaLessThan(Integer value) { |
||||
addCriterion("WSFA <", value, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaLessThanOrEqualTo(Integer value) { |
||||
addCriterion("WSFA <=", value, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaIn(List<Integer> values) { |
||||
addCriterion("WSFA in", values, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaNotIn(List<Integer> values) { |
||||
addCriterion("WSFA not in", values, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaBetween(Integer value1, Integer value2) { |
||||
addCriterion("WSFA between", value1, value2, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWsfaNotBetween(Integer value1, Integer value2) { |
||||
addCriterion("WSFA not between", value1, value2, "wsfa"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeIsNull() { |
||||
addCriterion("MODITIME is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeIsNotNull() { |
||||
addCriterion("MODITIME is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeEqualTo(Date value) { |
||||
addCriterion("MODITIME =", value, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeNotEqualTo(Date value) { |
||||
addCriterion("MODITIME <>", value, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeGreaterThan(Date value) { |
||||
addCriterion("MODITIME >", value, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeGreaterThanOrEqualTo(Date value) { |
||||
addCriterion("MODITIME >=", value, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeLessThan(Date value) { |
||||
addCriterion("MODITIME <", value, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeLessThanOrEqualTo(Date value) { |
||||
addCriterion("MODITIME <=", value, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeIn(List<Date> values) { |
||||
addCriterion("MODITIME in", values, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeNotIn(List<Date> values) { |
||||
addCriterion("MODITIME not in", values, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeBetween(Date value1, Date value2) { |
||||
addCriterion("MODITIME between", value1, value2, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andModitimeNotBetween(Date value1, Date value2) { |
||||
addCriterion("MODITIME not between", value1, value2, "moditime"); |
||||
return (Criteria) this; |
||||
} |
||||
} |
||||
|
||||
public static class Criteria extends GeneratedCriteria { |
||||
|
||||
protected Criteria() { |
||||
super(); |
||||
} |
||||
} |
||||
|
||||
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); |
||||
} |
||||
} |
||||
} |
@ -1,72 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* 湖库<国标> |
||||
* |
||||
* @author moze |
||||
* |
||||
*/ |
||||
public class WqLrinfB { |
||||
private String lrcd; // 湖库代码
|
||||
|
||||
private String watp; // 水域类型
|
||||
|
||||
private String lrnm; // 湖(库)名称
|
||||
|
||||
private BigDecimal lrar; // 湖(库)面积
|
||||
|
||||
private BigDecimal rscp; // 水库库容
|
||||
|
||||
private String coordinateset; // 经纬集合
|
||||
|
||||
public String getCoordinateset() { |
||||
return coordinateset; |
||||
} |
||||
|
||||
public void setCoordinateset(String coordinateset) { |
||||
this.coordinateset = coordinateset; |
||||
} |
||||
|
||||
public String getLrcd() { |
||||
return lrcd; |
||||
} |
||||
|
||||
public void setLrcd(String lrcd) { |
||||
this.lrcd = lrcd; |
||||
} |
||||
|
||||
public String getWatp() { |
||||
return watp; |
||||
} |
||||
|
||||
public void setWatp(String watp) { |
||||
this.watp = watp; |
||||
} |
||||
|
||||
public String getLrnm() { |
||||
return lrnm; |
||||
} |
||||
|
||||
public void setLrnm(String lrnm) { |
||||
this.lrnm = lrnm; |
||||
} |
||||
|
||||
public BigDecimal getLrar() { |
||||
return lrar; |
||||
} |
||||
|
||||
public void setLrar(BigDecimal lrar) { |
||||
this.lrar = lrar; |
||||
} |
||||
|
||||
public BigDecimal getRscp() { |
||||
return rscp; |
||||
} |
||||
|
||||
public void setRscp(BigDecimal rscp) { |
||||
this.rscp = rscp; |
||||
} |
||||
|
||||
} |
@ -1,601 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.entity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
public class WqLrinfBExample { |
||||
protected String orderByClause; |
||||
|
||||
protected boolean distinct; |
||||
|
||||
protected List<Criteria> oredCriteria; |
||||
|
||||
public WqLrinfBExample() { |
||||
oredCriteria = new ArrayList<Criteria>(); |
||||
} |
||||
|
||||
public void setOrderByClause(String orderByClause) { |
||||
this.orderByClause = orderByClause; |
||||
} |
||||
|
||||
public String getOrderByClause() { |
||||
return orderByClause; |
||||
} |
||||
|
||||
public void setDistinct(boolean distinct) { |
||||
this.distinct = distinct; |
||||
} |
||||
|
||||
public boolean isDistinct() { |
||||
return distinct; |
||||
} |
||||
|
||||
public List<Criteria> getOredCriteria() { |
||||
return oredCriteria; |
||||
} |
||||
|
||||
public void or(Criteria criteria) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
|
||||
public Criteria or() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
oredCriteria.add(criteria); |
||||
return criteria; |
||||
} |
||||
|
||||
public Criteria createCriteria() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
if (oredCriteria.size() == 0) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
return criteria; |
||||
} |
||||
|
||||
protected Criteria createCriteriaInternal() { |
||||
Criteria criteria = new Criteria(); |
||||
return criteria; |
||||
} |
||||
|
||||
public void clear() { |
||||
oredCriteria.clear(); |
||||
orderByClause = null; |
||||
distinct = false; |
||||
} |
||||
|
||||
protected abstract static class GeneratedCriteria { |
||||
protected List<Criterion> criteria; |
||||
|
||||
protected GeneratedCriteria() { |
||||
super(); |
||||
criteria = new ArrayList<Criterion>(); |
||||
} |
||||
|
||||
public boolean isValid() { |
||||
return criteria.size() > 0; |
||||
} |
||||
|
||||
public List<Criterion> getAllCriteria() { |
||||
return criteria; |
||||
} |
||||
|
||||
public List<Criterion> 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 andLrcdIsNull() { |
||||
addCriterion("LRCD is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdIsNotNull() { |
||||
addCriterion("LRCD is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdEqualTo(String value) { |
||||
addCriterion("LRCD =", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdNotEqualTo(String value) { |
||||
addCriterion("LRCD <>", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdGreaterThan(String value) { |
||||
addCriterion("LRCD >", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdGreaterThanOrEqualTo(String value) { |
||||
addCriterion("LRCD >=", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdLessThan(String value) { |
||||
addCriterion("LRCD <", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdLessThanOrEqualTo(String value) { |
||||
addCriterion("LRCD <=", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdLike(String value) { |
||||
addCriterion("LRCD like", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdNotLike(String value) { |
||||
addCriterion("LRCD not like", value, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdIn(List<String> values) { |
||||
addCriterion("LRCD in", values, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdNotIn(List<String> values) { |
||||
addCriterion("LRCD not in", values, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdBetween(String value1, String value2) { |
||||
addCriterion("LRCD between", value1, value2, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrcdNotBetween(String value1, String value2) { |
||||
addCriterion("LRCD not between", value1, value2, "lrcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpIsNull() { |
||||
addCriterion("WATP is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpIsNotNull() { |
||||
addCriterion("WATP is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpEqualTo(String value) { |
||||
addCriterion("WATP =", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpNotEqualTo(String value) { |
||||
addCriterion("WATP <>", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpGreaterThan(String value) { |
||||
addCriterion("WATP >", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpGreaterThanOrEqualTo(String value) { |
||||
addCriterion("WATP >=", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpLessThan(String value) { |
||||
addCriterion("WATP <", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpLessThanOrEqualTo(String value) { |
||||
addCriterion("WATP <=", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpLike(String value) { |
||||
addCriterion("WATP like", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpNotLike(String value) { |
||||
addCriterion("WATP not like", value, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpIn(List<String> values) { |
||||
addCriterion("WATP in", values, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpNotIn(List<String> values) { |
||||
addCriterion("WATP not in", values, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpBetween(String value1, String value2) { |
||||
addCriterion("WATP between", value1, value2, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andWatpNotBetween(String value1, String value2) { |
||||
addCriterion("WATP not between", value1, value2, "watp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmIsNull() { |
||||
addCriterion("LRNM is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmIsNotNull() { |
||||
addCriterion("LRNM is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmEqualTo(String value) { |
||||
addCriterion("LRNM =", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmNotEqualTo(String value) { |
||||
addCriterion("LRNM <>", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmGreaterThan(String value) { |
||||
addCriterion("LRNM >", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmGreaterThanOrEqualTo(String value) { |
||||
addCriterion("LRNM >=", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmLessThan(String value) { |
||||
addCriterion("LRNM <", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmLessThanOrEqualTo(String value) { |
||||
addCriterion("LRNM <=", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmLike(String value) { |
||||
addCriterion("LRNM like", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmNotLike(String value) { |
||||
addCriterion("LRNM not like", value, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmIn(List<String> values) { |
||||
addCriterion("LRNM in", values, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmNotIn(List<String> values) { |
||||
addCriterion("LRNM not in", values, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmBetween(String value1, String value2) { |
||||
addCriterion("LRNM between", value1, value2, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrnmNotBetween(String value1, String value2) { |
||||
addCriterion("LRNM not between", value1, value2, "lrnm"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarIsNull() { |
||||
addCriterion("LRAR is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarIsNotNull() { |
||||
addCriterion("LRAR is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarEqualTo(BigDecimal value) { |
||||
addCriterion("LRAR =", value, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarNotEqualTo(BigDecimal value) { |
||||
addCriterion("LRAR <>", value, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarGreaterThan(BigDecimal value) { |
||||
addCriterion("LRAR >", value, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("LRAR >=", value, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarLessThan(BigDecimal value) { |
||||
addCriterion("LRAR <", value, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("LRAR <=", value, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarIn(List<BigDecimal> values) { |
||||
addCriterion("LRAR in", values, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarNotIn(List<BigDecimal> values) { |
||||
addCriterion("LRAR not in", values, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("LRAR between", value1, value2, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andLrarNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("LRAR not between", value1, value2, "lrar"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpIsNull() { |
||||
addCriterion("RSCP is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpIsNotNull() { |
||||
addCriterion("RSCP is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpEqualTo(BigDecimal value) { |
||||
addCriterion("RSCP =", value, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpNotEqualTo(BigDecimal value) { |
||||
addCriterion("RSCP <>", value, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpGreaterThan(BigDecimal value) { |
||||
addCriterion("RSCP >", value, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpGreaterThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RSCP >=", value, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpLessThan(BigDecimal value) { |
||||
addCriterion("RSCP <", value, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpLessThanOrEqualTo(BigDecimal value) { |
||||
addCriterion("RSCP <=", value, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpIn(List<BigDecimal> values) { |
||||
addCriterion("RSCP in", values, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpNotIn(List<BigDecimal> values) { |
||||
addCriterion("RSCP not in", values, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RSCP between", value1, value2, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRscpNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
addCriterion("RSCP not between", value1, value2, "rscp"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetIsNull() { |
||||
addCriterion("COORDINATESET is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetIsNotNull() { |
||||
addCriterion("COORDINATESET is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetEqualTo(String value) { |
||||
addCriterion("COORDINATESET =", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotEqualTo(String value) { |
||||
addCriterion("COORDINATESET <>", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetGreaterThan(String value) { |
||||
addCriterion("COORDINATESET >", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetGreaterThanOrEqualTo(String value) { |
||||
addCriterion("COORDINATESET >=", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetLessThan(String value) { |
||||
addCriterion("COORDINATESET <", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetLessThanOrEqualTo(String value) { |
||||
addCriterion("COORDINATESET <=", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetLike(String value) { |
||||
addCriterion("COORDINATESET like", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotLike(String value) { |
||||
addCriterion("COORDINATESET not like", value, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetIn(List<String> values) { |
||||
addCriterion("COORDINATESET in", values, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotIn(List<String> values) { |
||||
addCriterion("COORDINATESET not in", values, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetBetween(String value1, String value2) { |
||||
addCriterion("COORDINATESET between", value1, value2, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andCoordinatesetNotBetween(String value1, String value2) { |
||||
addCriterion("COORDINATESET not between", value1, value2, "coordinateset"); |
||||
return (Criteria) this; |
||||
} |
||||
} |
||||
|
||||
public static class Criteria extends GeneratedCriteria { |
||||
|
||||
protected Criteria() { |
||||
super(); |
||||
} |
||||
} |
||||
|
||||
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); |
||||
} |
||||
} |
||||
} |
@ -1,64 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; |
||||
import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; |
||||
import com.hnac.hzims.baseinfo.entity.ReservoirInfo; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
@Data |
||||
public class ReservoirInfoVo extends ReservoirInfo { |
||||
private String rz; // 水位
|
||||
private String INQ; // 流量
|
||||
|
||||
|
||||
private List<ImageReservoirInfo> imageReservoirInfoList; |
||||
|
||||
private List<FileReservoirInfo> fileReservoirInfoList; |
||||
|
||||
public ReservoirInfoVo() { |
||||
|
||||
} |
||||
|
||||
public ReservoirInfoVo(ReservoirInfo vo) { |
||||
this.setAveragerainfall(vo.getAveragerainfall()); |
||||
this.setBuilddate(vo.getBuilddate()); |
||||
this.setChecdedtotalflow(vo.getChecdedtotalflow()); |
||||
this.setCheckedfloodlevel(vo.getCheckedfloodlevel()); |
||||
this.setCheckedmaxflow(vo.getCheckedmaxflow()); |
||||
this.setChedkedfloodflow(vo.getChedkedfloodflow()); |
||||
this.setCompleteddate(vo.getCompleteddate()); |
||||
this.setDeadlevel(vo.getDeadlevel()); |
||||
this.setDesignedfillarea(vo.getDesignedfillarea()); |
||||
this.setDesignedfloodflow(vo.getDesignedfloodflow()); |
||||
this.setDesignedfloodlevel(vo.getDesignedfloodlevel()); |
||||
this.setDesignedmaxflow(vo.getDesignedmaxflow()); |
||||
this.setDesignedtotalflow(vo.getDesignedtotalflow()); |
||||
this.setDischarge(vo.getDischarge()); |
||||
this.setFloodcontrolvolume(vo.getFloodcontrolvolume()); |
||||
this.setFlooddetentionvolume(vo.getFlooddetentionvolume()); |
||||
this.setHistoricalmaxlevel(vo.getHistoricalmaxlevel()); |
||||
this.setLocation(vo.getLocation()); |
||||
this.setMaxleveltime(vo.getMaxleveltime()); |
||||
this.setName(vo.getName()); |
||||
this.setNorrmallevel(vo.getNorrmallevel()); |
||||
this.setRainarea(vo.getRainarea()); |
||||
this.setRoadconditiion(vo.getRoadconditiion()); |
||||
this.setRoadlength(vo.getRoadlength()); |
||||
this.setStationid(vo.getStationid()); |
||||
this.setStcd(vo.getStcd()); |
||||
this.setUtilizablevolume(vo.getUtilizablevolume()); |
||||
this.setVillage(vo.getVillage()); |
||||
this.setVolume(vo.getVolume()); |
||||
this.setBeiw(vo.getBeiw()); |
||||
this.setDongj(vo.getDongj()); |
||||
this.setMjflsscnwl(vo.getMjflsscnwl()); |
||||
setAreaCode(vo.getAreaCode()); |
||||
setLrcd(vo.getLrcd()); |
||||
setSzhldm(vo.getSzhldm()); |
||||
|
||||
} |
||||
|
||||
} |
@ -1,57 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; |
||||
|
||||
public class ReservoirRefdataVo extends ReservoirRefdata { |
||||
private String refqFactory; // 关联流量数据点point
|
||||
private String refqGroupId; // 关联流量数据点point
|
||||
private String refzFactory; // 关联水位数据点
|
||||
private String refzGroupId; // 关联水位数据点
|
||||
|
||||
public ReservoirRefdataVo(){ |
||||
|
||||
} |
||||
|
||||
public ReservoirRefdataVo(ReservoirRefdata model){ |
||||
setStcd(model.getStcd()); |
||||
setRefstcd(model.getRefstcd()); |
||||
setRefzpoint(model.getRefzpoint()); |
||||
setRefqpoint(model.getRefqpoint()); |
||||
} |
||||
|
||||
public String getRefqFactory() { |
||||
return refqFactory; |
||||
} |
||||
|
||||
public void setRefqFactory(String refqFactory) { |
||||
this.refqFactory = refqFactory; |
||||
} |
||||
|
||||
public String getRefqGroupId() { |
||||
return refqGroupId; |
||||
} |
||||
|
||||
public void setRefqGroupId(String refqGroupId) { |
||||
this.refqGroupId = refqGroupId; |
||||
} |
||||
|
||||
public String getRefzFactory() { |
||||
return refzFactory; |
||||
} |
||||
|
||||
public void setRefzFactory(String refzFactory) { |
||||
this.refzFactory = refzFactory; |
||||
} |
||||
|
||||
public String getRefzGroupId() { |
||||
return refzGroupId; |
||||
} |
||||
|
||||
public void setRefzGroupId(String refzGroupId) { |
||||
this.refzGroupId = refzGroupId; |
||||
} |
||||
|
||||
|
||||
|
||||
} |
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>com.hnac.hzinfo.data</groupId> |
||||
<artifactId>hzinfo-data-sdk</artifactId> |
||||
</dependency> |
||||
</dependencies> |
||||
<parent> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>hzims-service-api</artifactId> |
||||
<version>4.0.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
<artifactId>dam-safety-api</artifactId> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
</project> |
@ -1,37 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* 大坝信息表 |
||||
*/ |
||||
@Data |
||||
@TableName("t_building") |
||||
public class TBuilding extends BaseEntity { |
||||
@ApiModelProperty("水库编号") |
||||
private String rscd; |
||||
@ApiModelProperty("建筑物名称") |
||||
private String name; |
||||
@ApiModelProperty("建筑物分级路径") |
||||
private String ipath; |
||||
@ApiModelProperty("简介") |
||||
private String brief; |
||||
@ApiModelProperty("图片地址") |
||||
private String attach; |
||||
@ApiModelProperty("文件地址") |
||||
private String filePath; |
||||
|
||||
//大坝信息
|
||||
@ApiModelProperty("坝类型") |
||||
private String type;//坝类型
|
||||
@ApiModelProperty("地址") |
||||
private String address;//地址
|
||||
@ApiModelProperty("坝高") |
||||
private BigDecimal damHeight;//坝高
|
||||
|
||||
} |
@ -1,38 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 工程物信息表 |
||||
*/ |
||||
@Data |
||||
@TableName("t_projinfo") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class TProjInfo extends BaseEntity { |
||||
@ApiModelProperty("水库编码") |
||||
private String rscd; |
||||
@ApiModelProperty("工程名称") |
||||
private String projName; |
||||
@ApiModelProperty("工程编号") |
||||
private String projCode; |
||||
@ApiModelProperty("开工日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date startDate; |
||||
@ApiModelProperty("竣工日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date completeDate; |
||||
@ApiModelProperty("蓄水日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date storeWaterDate; |
||||
@ApiModelProperty("工程所在位置") |
||||
private String location; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
} |
@ -1,34 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* 大坝断面数据配置表 |
||||
*/ |
||||
@Data |
||||
@TableName("t_section_config") |
||||
public class TSectionConfig implements Serializable { |
||||
@ApiModelProperty("渗流量测点编号") |
||||
@TableId(type = IdType.INPUT) |
||||
private String stcd; |
||||
@ApiModelProperty("断面编号") |
||||
private String sectionNo; |
||||
@ApiModelProperty("是否显示浸润线") |
||||
private String opinion; |
||||
@ApiModelProperty("x轴") |
||||
private BigDecimal xzhou; |
||||
@ApiModelProperty("y轴最大值") |
||||
private BigDecimal ymax; |
||||
@ApiModelProperty("y轴最小值") |
||||
private BigDecimal ymin; |
||||
@ApiModelProperty("警戒值") |
||||
private BigDecimal warm; |
||||
|
||||
} |
@ -1,31 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 断面特征点信息表 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_dams_b") |
||||
public class WrpDamsB{ |
||||
@ApiModelProperty("断面编号") |
||||
private String damcd; |
||||
@ApiModelProperty("特征点编号") |
||||
@TableId(type= IdType.INPUT) |
||||
private String damscd; |
||||
@ApiModelProperty("特征点名称") |
||||
private String damsnm; |
||||
@ApiModelProperty("起点距(m)") |
||||
private BigDecimal redi; |
||||
@ApiModelProperty("高程(m)") |
||||
private BigDecimal poel; |
||||
@ApiModelProperty("更新时间") |
||||
private Date dtuptm; |
||||
} |
@ -1,56 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
*水平位移监测测点 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_dfr_srhrdsmp") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpDfrSrhrdsmp extends BaseEntity { |
||||
@ApiModelProperty("测站编码") |
||||
private String stcd; |
||||
@ApiModelProperty("断面编号") |
||||
private String damcd; |
||||
@ApiModelProperty("测点编号") |
||||
private String mpcd; |
||||
@ApiModelProperty("桩号") |
||||
private String ch; |
||||
@ApiModelProperty("轴距") |
||||
private BigDecimal ofax; |
||||
@ApiModelProperty("高程") |
||||
private BigDecimal el; |
||||
@ApiModelProperty("基准值 X") |
||||
private BigDecimal stvlx; |
||||
@ApiModelProperty("基准值 Y") |
||||
private BigDecimal stvly; |
||||
@ApiModelProperty("位移阈值") |
||||
private BigDecimal xyhrds; |
||||
@ApiModelProperty("型式") |
||||
private String tp; |
||||
@ApiModelProperty("基础情况") |
||||
private String bsin; |
||||
@ApiModelProperty("安装日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date indt; |
||||
@ApiModelProperty("测定日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date dtdt; |
||||
@ApiModelProperty("仪器编号") |
||||
private String dvcd; |
||||
@ApiModelProperty("经度") |
||||
private BigDecimal eslg; |
||||
@ApiModelProperty("纬度") |
||||
private BigDecimal nrlt; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
} |
@ -1,55 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 监测基点表 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_dfr_srvrdsbp") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpDfrSrvrdsbp extends BaseEntity { |
||||
@ApiModelProperty("水库代码") |
||||
private String rscd; |
||||
@ApiModelProperty("水工建筑物id") |
||||
private Long hycncd; |
||||
@ApiModelProperty("基点编号") |
||||
private String bpcd; |
||||
@ApiModelProperty("考证信息日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date txindt; |
||||
@ApiModelProperty("基点类型") |
||||
private String bptp; |
||||
@ApiModelProperty("桩号") |
||||
private String ch; |
||||
@ApiModelProperty("轴距") |
||||
private BigDecimal ofax; |
||||
@ApiModelProperty("高程") |
||||
private BigDecimal el; |
||||
@ApiModelProperty("型式") |
||||
private String tp; |
||||
@ApiModelProperty("基础情况") |
||||
private String bsin; |
||||
@ApiModelProperty("安装日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date indt; |
||||
@ApiModelProperty("测定日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date dtdt; |
||||
@ApiModelProperty("经度") |
||||
private BigDecimal lgtd; |
||||
@ApiModelProperty("纬度") |
||||
private BigDecimal lttd; |
||||
@ApiModelProperty("工作状态") |
||||
private String wkcn; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
} |
@ -1,53 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 垂直位移监测测点 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_dfr_srvrdsmp") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpDfrSrvrdsmp extends BaseEntity { |
||||
@ApiModelProperty("测站编码") |
||||
private String stcd; |
||||
@ApiModelProperty("断面编号") |
||||
private String damcd; |
||||
@ApiModelProperty("测点编号") |
||||
private String mpcd; |
||||
@ApiModelProperty("桩号") |
||||
private String ch; |
||||
@ApiModelProperty("轴距") |
||||
private BigDecimal ofax; |
||||
@ApiModelProperty("初始高程") |
||||
private BigDecimal inel; |
||||
@ApiModelProperty("位移阈值") |
||||
private BigDecimal vrds; |
||||
@ApiModelProperty("型式") |
||||
private String tp; |
||||
@ApiModelProperty("基础情况") |
||||
private String bsin; |
||||
@ApiModelProperty("安装日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date indt; |
||||
@ApiModelProperty("测定日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date dtdt; |
||||
@ApiModelProperty("仪器编号") |
||||
private String dvcd; |
||||
@ApiModelProperty("经度") |
||||
private BigDecimal eslg; |
||||
@ApiModelProperty("纬度") |
||||
private BigDecimal nrlt; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
|
||||
} |
@ -1,38 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* 大坝断面信息表 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_section_b") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpSectionB extends BaseEntity { |
||||
@ApiModelProperty("水库编号") |
||||
private String rscd; |
||||
@ApiModelProperty("建筑物id") |
||||
private Long buildingId; |
||||
@ApiModelProperty("断面编码") |
||||
private String damcd; |
||||
@ApiModelProperty("断面名称") |
||||
private String damnm; |
||||
@ApiModelProperty("防渗墙类型") |
||||
private String wallType; |
||||
@ApiModelProperty("断面长度") |
||||
private BigDecimal damlen; |
||||
@ApiModelProperty("断面宽度") |
||||
private BigDecimal damwd; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
@ApiModelProperty("预留字段") |
||||
private String text; |
||||
@ApiModelProperty("图片地址") |
||||
private String attach; |
||||
} |
@ -1,57 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* 测压管测点 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_spg_pztb") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpSpgPztb extends BaseEntity { |
||||
@ApiModelProperty("测站编码") |
||||
private String stcd; |
||||
@ApiModelProperty("测点编号") |
||||
private String mpcd; |
||||
@ApiModelProperty("断面编号") |
||||
private String damcd; |
||||
@ApiModelProperty("桩号") |
||||
private String ch; |
||||
@ApiModelProperty("坝轴距") |
||||
private BigDecimal ofax; |
||||
@ApiModelProperty("监测部位") |
||||
private String msps; |
||||
|
||||
@ApiModelProperty("监测类型") |
||||
private String mstp; |
||||
@ApiModelProperty("安装高程") |
||||
private BigDecimal el; |
||||
@ApiModelProperty("进水段底高程") |
||||
private BigDecimal ipbtel; |
||||
@ApiModelProperty("进水段顶高程") |
||||
private BigDecimal iptpel; |
||||
@ApiModelProperty("管口高程") |
||||
private BigDecimal tbtpel; |
||||
@ApiModelProperty("管底高程") |
||||
private BigDecimal tbbtel; |
||||
@ApiModelProperty("水位阈值高程") |
||||
private BigDecimal pztbtel; |
||||
|
||||
@ApiModelProperty("仪器编号") |
||||
private String dvcd; |
||||
@ApiModelProperty("经度") |
||||
private BigDecimal eslg; |
||||
@ApiModelProperty("纬度") |
||||
private BigDecimal nrlt; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
|
||||
|
||||
|
||||
} |
@ -1,52 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 渗流压力测点信息表 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_spg_spprmp") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpSpgSpprmp extends BaseEntity { |
||||
@ApiModelProperty("测站编码") |
||||
private String stcd; |
||||
@ApiModelProperty("断面编码") |
||||
private String damcd; |
||||
@ApiModelProperty("测点编号") |
||||
private String mpcd; |
||||
@ApiModelProperty("考证信息日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date txindt; |
||||
@ApiModelProperty("桩号") |
||||
private String ch; |
||||
@ApiModelProperty("轴距") |
||||
private BigDecimal ofax; |
||||
@ApiModelProperty("高程") |
||||
private BigDecimal el; |
||||
@ApiModelProperty("监测类型") |
||||
private String mstp; |
||||
@ApiModelProperty("透水段底高程") |
||||
private BigDecimal pmbtel; |
||||
@ApiModelProperty("透水段顶高程") |
||||
private BigDecimal pmtpel; |
||||
@ApiModelProperty("安装日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date indt; |
||||
@ApiModelProperty("仪器出厂编号") |
||||
private String dvfccd; |
||||
@ApiModelProperty("工作状态") |
||||
private String wkcn; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
|
||||
|
||||
} |
@ -1,45 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 渗流量测点 |
||||
*/ |
||||
@Data |
||||
@TableName("wrp_spg_spqnmp") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpSpgSpqnmp extends BaseEntity { |
||||
@ApiModelProperty("测站编码") |
||||
private String stcd; |
||||
@ApiModelProperty("测点编号") |
||||
private String mpcd; |
||||
@ApiModelProperty("断面编号") |
||||
private String damcd; |
||||
@ApiModelProperty("桩号") |
||||
private String ch; |
||||
@ApiModelProperty("轴距") |
||||
private BigDecimal ofax; |
||||
@ApiModelProperty("高程") |
||||
private BigDecimal el; |
||||
@ApiModelProperty("渗流阈值") |
||||
private BigDecimal spprwl; |
||||
@ApiModelProperty("安装日期") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date indt; |
||||
@ApiModelProperty("仪器编号") |
||||
private String dvcd; |
||||
@ApiModelProperty("经度") |
||||
private BigDecimal eslg; |
||||
@ApiModelProperty("纬度") |
||||
private BigDecimal nrlt; |
||||
@ApiModelProperty("备注") |
||||
private String rm; |
||||
} |
@ -1,31 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.feign; |
||||
|
||||
import com.hnac.hzims.damsafety.vo.WrpSectionBVO; |
||||
import com.hnac.hzinfo.datasearch.analyse.domain.FieldsData; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
|
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
@FeignClient( |
||||
value = "dam-safety", |
||||
url = "${feign.dam-safety:}" |
||||
) |
||||
public interface IWrpSectionBClient { |
||||
String API_PREFIX = "/wrpSectionBClient"; |
||||
String LIST = API_PREFIX + "/list"; |
||||
String GET_REAL_DATA = API_PREFIX + "/getRealData"; |
||||
|
||||
/** |
||||
* 获取断面列表 |
||||
* |
||||
* @return |
||||
*/ |
||||
@GetMapping(LIST) |
||||
R<List<WrpSectionBVO>> list(Map<String, Object> param); |
||||
|
||||
@GetMapping(GET_REAL_DATA) |
||||
R<List<FieldsData>> getRealData(String deviceCode); |
||||
} |
@ -1,8 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.damsafety.entity.TBuilding; |
||||
|
||||
public class TBuildingVo extends TBuilding { |
||||
|
||||
} |
@ -1,8 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.damsafety.entity.TProjInfo; |
||||
|
||||
public class TProjInfoVo extends TProjInfo { |
||||
|
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
import com.hnac.hzims.damsafety.entity.WrpDfrSrhrdsmp; |
||||
|
||||
public class WrpDfrSrhrdsmpVo extends WrpDfrSrhrdsmp { |
||||
|
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; |
||||
|
||||
public class WrpDfrSrvrdsbpVo extends WrpDfrSrvrdsbp { |
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsmp; |
||||
|
||||
public class WrpDfrSrvrdsmpVo extends WrpDfrSrvrdsmp { |
||||
} |
@ -1,16 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
import com.hnac.hzims.damsafety.entity.WrpDfrSrvrdsbp; |
||||
import com.hnac.hzims.damsafety.entity.WrpSectionB; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
|
||||
import java.util.List; |
||||
|
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WrpSectionBVO extends WrpSectionB { |
||||
//测点集合
|
||||
private List<WrpDfrSrvrdsbp> points; |
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.damsafety.entity.WrpSpgPztb; |
||||
|
||||
public class WrpSpgPztbVo extends WrpSpgPztb { |
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.damsafety.entity.WrpSpgSpprmp; |
||||
|
||||
public class WrpSpgSpprmpVo extends WrpSpgSpprmp { |
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.hnac.hzims.damsafety.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.damsafety.entity.WrpSpgSpqnmp; |
||||
|
||||
public class WrpSpgSpqnmpVo extends WrpSpgSpqnmp { |
||||
} |
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>hzims-service-api</artifactId> |
||||
<version>4.0.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
|
||||
<artifactId>digital-twin-display-api</artifactId> |
||||
<packaging>jar</packaging> |
||||
<version>${hzims.project.version}</version> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
</project> |
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>hzims-service-api</artifactId> |
||||
<version>4.0.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
<artifactId>video-image-api</artifactId> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
</project> |
@ -1,29 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.entity; |
||||
|
||||
import io.swagger.annotations.ApiParam; |
||||
import lombok.Data; |
||||
|
||||
@Data |
||||
public class ImageConfig { |
||||
private Long id; |
||||
|
||||
private String stcd; |
||||
|
||||
private String name; |
||||
|
||||
@ApiParam(value="配置参数中的type有两种:0 代表常量数据, 1代表热点数据") |
||||
private String type; |
||||
|
||||
private String realid;//旧版本的实时数据id
|
||||
|
||||
private String deviceCode;//分析模型code 获取实时数据
|
||||
|
||||
private Integer dataSource; |
||||
|
||||
private String code;//属性编码
|
||||
|
||||
private String value; |
||||
|
||||
private String unit; |
||||
|
||||
} |
@ -1,680 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.entity; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
public class ImageConfigExample { |
||||
protected String orderByClause; |
||||
|
||||
protected boolean distinct; |
||||
|
||||
protected List<Criteria> oredCriteria; |
||||
|
||||
public ImageConfigExample() { |
||||
oredCriteria = new ArrayList<Criteria>(); |
||||
} |
||||
|
||||
public void setOrderByClause(String orderByClause) { |
||||
this.orderByClause = orderByClause; |
||||
} |
||||
|
||||
public String getOrderByClause() { |
||||
return orderByClause; |
||||
} |
||||
|
||||
public void setDistinct(boolean distinct) { |
||||
this.distinct = distinct; |
||||
} |
||||
|
||||
public boolean isDistinct() { |
||||
return distinct; |
||||
} |
||||
|
||||
public List<Criteria> getOredCriteria() { |
||||
return oredCriteria; |
||||
} |
||||
|
||||
public void or(Criteria criteria) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
|
||||
public Criteria or() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
oredCriteria.add(criteria); |
||||
return criteria; |
||||
} |
||||
|
||||
public Criteria createCriteria() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
if (oredCriteria.size() == 0) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
return criteria; |
||||
} |
||||
|
||||
protected Criteria createCriteriaInternal() { |
||||
Criteria criteria = new Criteria(); |
||||
return criteria; |
||||
} |
||||
|
||||
public void clear() { |
||||
oredCriteria.clear(); |
||||
orderByClause = null; |
||||
distinct = false; |
||||
} |
||||
|
||||
protected abstract static class GeneratedCriteria { |
||||
protected List<Criterion> criteria; |
||||
|
||||
protected GeneratedCriteria() { |
||||
super(); |
||||
criteria = new ArrayList<Criterion>(); |
||||
} |
||||
|
||||
public boolean isValid() { |
||||
return criteria.size() > 0; |
||||
} |
||||
|
||||
public List<Criterion> getAllCriteria() { |
||||
return criteria; |
||||
} |
||||
|
||||
public List<Criterion> 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<Long> values) { |
||||
addCriterion("ID in", values, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotIn(List<Long> 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 andStcdIsNull() { |
||||
addCriterion("STCD is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIsNotNull() { |
||||
addCriterion("STCD is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdEqualTo(String value) { |
||||
addCriterion("STCD =", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotEqualTo(String value) { |
||||
addCriterion("STCD <>", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThan(String value) { |
||||
addCriterion("STCD >", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThanOrEqualTo(String value) { |
||||
addCriterion("STCD >=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThan(String value) { |
||||
addCriterion("STCD <", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThanOrEqualTo(String value) { |
||||
addCriterion("STCD <=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLike(String value) { |
||||
addCriterion("STCD like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotLike(String value) { |
||||
addCriterion("STCD not like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIn(List<String> values) { |
||||
addCriterion("STCD in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotIn(List<String> values) { |
||||
addCriterion("STCD not in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdBetween(String value1, String value2) { |
||||
addCriterion("STCD between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotBetween(String value1, String value2) { |
||||
addCriterion("STCD not between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameIsNull() { |
||||
addCriterion("NAME is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameIsNotNull() { |
||||
addCriterion("NAME is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameEqualTo(String value) { |
||||
addCriterion("NAME =", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameNotEqualTo(String value) { |
||||
addCriterion("NAME <>", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameGreaterThan(String value) { |
||||
addCriterion("NAME >", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameGreaterThanOrEqualTo(String value) { |
||||
addCriterion("NAME >=", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameLessThan(String value) { |
||||
addCriterion("NAME <", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameLessThanOrEqualTo(String value) { |
||||
addCriterion("NAME <=", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameLike(String value) { |
||||
addCriterion("NAME like", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameNotLike(String value) { |
||||
addCriterion("NAME not like", value, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameIn(List<String> values) { |
||||
addCriterion("NAME in", values, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameNotIn(List<String> values) { |
||||
addCriterion("NAME not in", values, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameBetween(String value1, String value2) { |
||||
addCriterion("NAME between", value1, value2, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andNameNotBetween(String value1, String value2) { |
||||
addCriterion("NAME not between", value1, value2, "name"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeIsNull() { |
||||
addCriterion("TYPE is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeIsNotNull() { |
||||
addCriterion("TYPE is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeEqualTo(String value) { |
||||
addCriterion("TYPE =", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeNotEqualTo(String value) { |
||||
addCriterion("TYPE <>", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeGreaterThan(String value) { |
||||
addCriterion("TYPE >", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeGreaterThanOrEqualTo(String value) { |
||||
addCriterion("TYPE >=", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeLessThan(String value) { |
||||
addCriterion("TYPE <", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeLessThanOrEqualTo(String value) { |
||||
addCriterion("TYPE <=", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeLike(String value) { |
||||
addCriterion("TYPE like", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeNotLike(String value) { |
||||
addCriterion("TYPE not like", value, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeIn(List<String> values) { |
||||
addCriterion("TYPE in", values, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeNotIn(List<String> values) { |
||||
addCriterion("TYPE not in", values, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeBetween(String value1, String value2) { |
||||
addCriterion("TYPE between", value1, value2, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTypeNotBetween(String value1, String value2) { |
||||
addCriterion("TYPE not between", value1, value2, "type"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidIsNull() { |
||||
addCriterion("REALID is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidIsNotNull() { |
||||
addCriterion("REALID is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidEqualTo(String value) { |
||||
addCriterion("REALID =", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidNotEqualTo(String value) { |
||||
addCriterion("REALID <>", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidGreaterThan(String value) { |
||||
addCriterion("REALID >", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidGreaterThanOrEqualTo(String value) { |
||||
addCriterion("REALID >=", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidLessThan(String value) { |
||||
addCriterion("REALID <", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidLessThanOrEqualTo(String value) { |
||||
addCriterion("REALID <=", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidLike(String value) { |
||||
addCriterion("REALID like", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidNotLike(String value) { |
||||
addCriterion("REALID not like", value, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidIn(List<String> values) { |
||||
addCriterion("REALID in", values, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidNotIn(List<String> values) { |
||||
addCriterion("REALID not in", values, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidBetween(String value1, String value2) { |
||||
addCriterion("REALID between", value1, value2, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andRealidNotBetween(String value1, String value2) { |
||||
addCriterion("REALID not between", value1, value2, "realid"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueIsNull() { |
||||
addCriterion("VALUE is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueIsNotNull() { |
||||
addCriterion("VALUE is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueEqualTo(String value) { |
||||
addCriterion("VALUE =", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueNotEqualTo(String value) { |
||||
addCriterion("VALUE <>", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueGreaterThan(String value) { |
||||
addCriterion("VALUE >", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueGreaterThanOrEqualTo(String value) { |
||||
addCriterion("VALUE >=", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueLessThan(String value) { |
||||
addCriterion("VALUE <", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueLessThanOrEqualTo(String value) { |
||||
addCriterion("VALUE <=", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueLike(String value) { |
||||
addCriterion("VALUE like", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueNotLike(String value) { |
||||
addCriterion("VALUE not like", value, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueIn(List<String> values) { |
||||
addCriterion("VALUE in", values, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueNotIn(List<String> values) { |
||||
addCriterion("VALUE not in", values, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueBetween(String value1, String value2) { |
||||
addCriterion("VALUE between", value1, value2, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andValueNotBetween(String value1, String value2) { |
||||
addCriterion("VALUE not between", value1, value2, "value"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitIsNull() { |
||||
addCriterion("UNIT is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitIsNotNull() { |
||||
addCriterion("UNIT is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitEqualTo(String value) { |
||||
addCriterion("UNIT =", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitNotEqualTo(String value) { |
||||
addCriterion("UNIT <>", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitGreaterThan(String value) { |
||||
addCriterion("UNIT >", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitGreaterThanOrEqualTo(String value) { |
||||
addCriterion("UNIT >=", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitLessThan(String value) { |
||||
addCriterion("UNIT <", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitLessThanOrEqualTo(String value) { |
||||
addCriterion("UNIT <=", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitLike(String value) { |
||||
addCriterion("UNIT like", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitNotLike(String value) { |
||||
addCriterion("UNIT not like", value, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitIn(List<String> values) { |
||||
addCriterion("UNIT in", values, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitNotIn(List<String> values) { |
||||
addCriterion("UNIT not in", values, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitBetween(String value1, String value2) { |
||||
addCriterion("UNIT between", value1, value2, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andUnitNotBetween(String value1, String value2) { |
||||
addCriterion("UNIT not between", value1, value2, "unit"); |
||||
return (Criteria) this; |
||||
} |
||||
} |
||||
|
||||
public static class Criteria extends GeneratedCriteria { |
||||
|
||||
protected Criteria() { |
||||
super(); |
||||
} |
||||
} |
||||
|
||||
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); |
||||
} |
||||
} |
||||
} |
@ -1,60 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.entity; |
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.util.Date; |
||||
|
||||
public class ImageInfo { |
||||
private Long id; |
||||
|
||||
private String stcd; |
||||
|
||||
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private Date time; |
||||
|
||||
private String data; |
||||
|
||||
private String manualpath; |
||||
|
||||
public String getManualpath() { |
||||
return manualpath; |
||||
} |
||||
|
||||
public void setManualpath(String manualpath) { |
||||
this.manualpath = manualpath; |
||||
} |
||||
|
||||
public Long getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(Long id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public String getStcd() { |
||||
return stcd; |
||||
} |
||||
|
||||
public void setStcd(String stcd) { |
||||
this.stcd = stcd == null ? null : stcd.trim(); |
||||
} |
||||
|
||||
public Date getTime() { |
||||
return time; |
||||
} |
||||
|
||||
public void setTime(Date time) { |
||||
this.time = time; |
||||
} |
||||
|
||||
public String getData() { |
||||
return data; |
||||
} |
||||
|
||||
public void setData(String data) { |
||||
this.data = data; |
||||
} |
||||
} |
@ -1,391 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.entity; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
public class ImageInfoExample { |
||||
protected String orderByClause; |
||||
|
||||
protected boolean distinct; |
||||
|
||||
protected List<Criteria> oredCriteria; |
||||
|
||||
public ImageInfoExample() { |
||||
oredCriteria = new ArrayList<Criteria>(); |
||||
} |
||||
|
||||
public void setOrderByClause(String orderByClause) { |
||||
this.orderByClause = orderByClause; |
||||
} |
||||
|
||||
public String getOrderByClause() { |
||||
return orderByClause; |
||||
} |
||||
|
||||
public void setDistinct(boolean distinct) { |
||||
this.distinct = distinct; |
||||
} |
||||
|
||||
public boolean isDistinct() { |
||||
return distinct; |
||||
} |
||||
|
||||
public List<Criteria> getOredCriteria() { |
||||
return oredCriteria; |
||||
} |
||||
|
||||
public void or(Criteria criteria) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
|
||||
public Criteria or() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
oredCriteria.add(criteria); |
||||
return criteria; |
||||
} |
||||
|
||||
public Criteria createCriteria() { |
||||
Criteria criteria = createCriteriaInternal(); |
||||
if (oredCriteria.size() == 0) { |
||||
oredCriteria.add(criteria); |
||||
} |
||||
return criteria; |
||||
} |
||||
|
||||
protected Criteria createCriteriaInternal() { |
||||
Criteria criteria = new Criteria(); |
||||
return criteria; |
||||
} |
||||
|
||||
public void clear() { |
||||
oredCriteria.clear(); |
||||
orderByClause = null; |
||||
distinct = false; |
||||
} |
||||
|
||||
protected abstract static class GeneratedCriteria { |
||||
protected List<Criterion> criteria; |
||||
|
||||
protected GeneratedCriteria() { |
||||
super(); |
||||
criteria = new ArrayList<Criterion>(); |
||||
} |
||||
|
||||
public boolean isValid() { |
||||
return criteria.size() > 0; |
||||
} |
||||
|
||||
public List<Criterion> getAllCriteria() { |
||||
return criteria; |
||||
} |
||||
|
||||
public List<Criterion> 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<Long> values) { |
||||
addCriterion("ID in", values, "id"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andIdNotIn(List<Long> 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 andStcdIsNull() { |
||||
addCriterion("STCD is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIsNotNull() { |
||||
addCriterion("STCD is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdEqualTo(String value) { |
||||
addCriterion("STCD =", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotEqualTo(String value) { |
||||
addCriterion("STCD <>", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThan(String value) { |
||||
addCriterion("STCD >", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdGreaterThanOrEqualTo(String value) { |
||||
addCriterion("STCD >=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThan(String value) { |
||||
addCriterion("STCD <", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLessThanOrEqualTo(String value) { |
||||
addCriterion("STCD <=", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdLike(String value) { |
||||
addCriterion("STCD like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotLike(String value) { |
||||
addCriterion("STCD not like", value, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdIn(List<String> values) { |
||||
addCriterion("STCD in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotIn(List<String> values) { |
||||
addCriterion("STCD not in", values, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdBetween(String value1, String value2) { |
||||
addCriterion("STCD between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andStcdNotBetween(String value1, String value2) { |
||||
addCriterion("STCD not between", value1, value2, "stcd"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeIsNull() { |
||||
addCriterion("TIME is null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeIsNotNull() { |
||||
addCriterion("TIME is not null"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeEqualTo(Date value) { |
||||
addCriterion("TIME =", value, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeNotEqualTo(Date value) { |
||||
addCriterion("TIME <>", value, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeGreaterThan(Date value) { |
||||
addCriterion("TIME >", value, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeGreaterThanOrEqualTo(Date value) { |
||||
addCriterion("TIME >=", value, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeLessThan(Date value) { |
||||
addCriterion("TIME <", value, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeLessThanOrEqualTo(Date value) { |
||||
addCriterion("TIME <=", value, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeIn(List<Date> values) { |
||||
addCriterion("TIME in", values, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeNotIn(List<Date> values) { |
||||
addCriterion("TIME not in", values, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeBetween(Date value1, Date value2) { |
||||
addCriterion("TIME between", value1, value2, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
|
||||
public Criteria andTimeNotBetween(Date value1, Date value2) { |
||||
addCriterion("TIME not between", value1, value2, "time"); |
||||
return (Criteria) this; |
||||
} |
||||
} |
||||
|
||||
public static class Criteria extends GeneratedCriteria { |
||||
|
||||
protected Criteria() { |
||||
super(); |
||||
} |
||||
} |
||||
|
||||
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); |
||||
} |
||||
} |
||||
} |
@ -1,105 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
@TableName("image_point") |
||||
public class ImagePoint extends BaseEntity { |
||||
private String stcd; |
||||
|
||||
private Integer pno; |
||||
|
||||
private String stnm; |
||||
|
||||
private Double lgtd; |
||||
|
||||
private Double ltid; |
||||
|
||||
private String address; |
||||
|
||||
private String remark; |
||||
|
||||
private String defaultimagepath; |
||||
|
||||
private Integer open; |
||||
|
||||
public String getStcd() { |
||||
return stcd; |
||||
} |
||||
|
||||
public void setStcd(String stcd) { |
||||
this.stcd = stcd == null ? null : stcd.trim(); |
||||
} |
||||
|
||||
public Integer getOpen() { |
||||
return open; |
||||
} |
||||
|
||||
public void setOpen(Integer open) { |
||||
this.open = open; |
||||
} |
||||
|
||||
public Integer getPno() { |
||||
return pno; |
||||
} |
||||
|
||||
public void setPno(Integer pno) { |
||||
this.pno = pno; |
||||
} |
||||
|
||||
public String getStnm() { |
||||
return stnm; |
||||
} |
||||
|
||||
public void setStnm(String stnm) { |
||||
this.stnm = stnm == null ? null : stnm.trim(); |
||||
} |
||||
|
||||
public Double getLgtd() { |
||||
return lgtd; |
||||
} |
||||
|
||||
public void setLgtd(Double lgtd) { |
||||
if(lgtd!=null){ |
||||
lgtd = new BigDecimal(lgtd).setScale(6,BigDecimal.ROUND_CEILING).doubleValue(); |
||||
} |
||||
this.lgtd = lgtd; |
||||
} |
||||
|
||||
public Double getLtid() { |
||||
return ltid; |
||||
} |
||||
|
||||
public void setLtid(Double ltid) { |
||||
if(ltid!=null){ |
||||
ltid = new BigDecimal(ltid).setScale(6,BigDecimal.ROUND_CEILING).doubleValue(); |
||||
} |
||||
this.ltid = ltid; |
||||
} |
||||
|
||||
public String getAddress() { |
||||
return address; |
||||
} |
||||
|
||||
public void setAddress(String address) { |
||||
this.address = address == null ? null : address.trim(); |
||||
} |
||||
|
||||
public String getRemark() { |
||||
return remark; |
||||
} |
||||
|
||||
public void setRemark(String remark) { |
||||
this.remark = remark == null ? null : remark.trim(); |
||||
} |
||||
|
||||
public String getDefaultimagepath() { |
||||
return defaultimagepath; |
||||
} |
||||
|
||||
public void setDefaultimagepath(String defaultimagepath) { |
||||
this.defaultimagepath = defaultimagepath == null ? null : defaultimagepath.trim(); |
||||
} |
||||
} |
@ -1,34 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.entity; |
||||
|
||||
import java.util.List; |
||||
|
||||
public class ImagePointRelateInfo extends ImagePoint{ |
||||
|
||||
//属性配置
|
||||
private List<ImageConfig> imageConfigs; |
||||
|
||||
//最新快照图片,只有一张
|
||||
private ImageInfo newestImageInfo; |
||||
|
||||
public List<ImageConfig> getImageConfigs() { |
||||
return imageConfigs; |
||||
} |
||||
|
||||
public void setImageConfigs(List<ImageConfig> imageConfigs) { |
||||
this.imageConfigs = imageConfigs; |
||||
} |
||||
|
||||
public ImageInfo getNewestImageInfo() { |
||||
return newestImageInfo; |
||||
} |
||||
|
||||
public void setNewestImageInfo(ImageInfo newestImageInfo) { |
||||
this.newestImageInfo = newestImageInfo; |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} |
@ -1,32 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.util; |
||||
|
||||
public class Constants { |
||||
|
||||
//传入空对象
|
||||
public static final int ERROR_CODE_EMPTY_OBJ = -1000; |
||||
//定义测站设备编码重复
|
||||
public static final int ERROR_CODE_DUPLICATE_STCB = -100; |
||||
//定义测站设备名称重复
|
||||
public static final int ERROR_CODE_DUPLICATE_STNM = -101; |
||||
//定义逻辑删除
|
||||
public static final Boolean DELETED = true; |
||||
//定义逻辑删除
|
||||
public static final Boolean NOT_DELETED = false; |
||||
//定义没有找到删除的记录
|
||||
public static final int ERROR_CODE_DELETE_ITEM_NOT_FOUND = -102; |
||||
//定义给同一个设备配置属性名称重复
|
||||
public static final int ERROR_CODE_DUPLICATE_DEVICE_ATTRIBUTE = -103; |
||||
//定义配置属性数据无效
|
||||
public static final int ERROR_CODE_LACK_NECESSARY_DATA = -104; |
||||
//定义测站属性数据类型
|
||||
public static final String CONSTANT_TYPE = "0"; |
||||
public static final String REAL_DATA_TYPE = "1"; |
||||
//定义更新测站设备不存在
|
||||
public static final int ERROR_CODE_UPDATE_DEVICE_NOT_EXIST = -105; |
||||
//未传递时间参数
|
||||
public static final int ERROR_CODE_NO_TIME = -106; |
||||
//已经存在同一个时刻的手动上传图片
|
||||
public static final int ERROR_CODE_DUPLICATE_MANUAL_TIME = -107; |
||||
|
||||
|
||||
} |
@ -1,43 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.util; |
||||
|
||||
|
||||
public class ConvertUtils { |
||||
|
||||
public static String errorCodeToMsg(int errorCode) { |
||||
String msg = ""; |
||||
switch (errorCode) { |
||||
case Constants.ERROR_CODE_EMPTY_OBJ: |
||||
msg = "空对象操作"; |
||||
break; |
||||
case Constants.ERROR_CODE_DUPLICATE_STCB: |
||||
msg = "设备编号重复"; |
||||
break; |
||||
case Constants.ERROR_CODE_DUPLICATE_STNM: |
||||
msg = "设备名称重复"; |
||||
break; |
||||
case Constants.ERROR_CODE_DELETE_ITEM_NOT_FOUND: |
||||
msg = "删除记录没有找到"; |
||||
break; |
||||
case Constants.ERROR_CODE_DUPLICATE_DEVICE_ATTRIBUTE: |
||||
msg = "配置属性名称重复"; |
||||
break; |
||||
case Constants.ERROR_CODE_LACK_NECESSARY_DATA: |
||||
msg = "缺少必要数据"; |
||||
break; |
||||
case Constants.ERROR_CODE_UPDATE_DEVICE_NOT_EXIST: |
||||
msg = "更新测站设备不存在"; |
||||
break; |
||||
case Constants.ERROR_CODE_NO_TIME: |
||||
msg = "请传入时间参数"; |
||||
break; |
||||
case Constants.ERROR_CODE_DUPLICATE_MANUAL_TIME: |
||||
msg = "已经存在当前时刻的手动上传图片"; |
||||
break; |
||||
default: |
||||
msg = "未知错误"; |
||||
break; |
||||
} |
||||
|
||||
return msg; |
||||
} |
||||
} |
@ -1,12 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.vo; |
||||
|
||||
import lombok.Data; |
||||
import com.hnac.hzims.videoimage.entity.ImageConfig; |
||||
import com.hnac.hzims.videoimage.entity.ImageInfo; |
||||
|
||||
import java.util.List; |
||||
|
||||
@Data |
||||
public class ImageInfoVo extends ImageInfo { |
||||
List<ImageConfig> list; |
||||
} |
@ -1,15 +0,0 @@
|
||||
package com.hnac.hzims.videoimage.vo; |
||||
|
||||
import com.hnac.hzims.videoimage.entity.ImagePoint; |
||||
|
||||
public class ImagePointVo extends ImagePoint { |
||||
private String deptName; |
||||
|
||||
public String getDeptName() { |
||||
return deptName; |
||||
} |
||||
|
||||
public void setDeptName(String deptName) { |
||||
this.deptName = deptName; |
||||
} |
||||
} |
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>hzims-service-api</artifactId> |
||||
<version>4.0.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
<artifactId>water-quality-api</artifactId> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
</project> |
@ -1,24 +0,0 @@
|
||||
package com.hnac.hzims.waterquality.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
*水质监测指标配置 |
||||
*/ |
||||
@Data |
||||
@TableName("wq_config_d") |
||||
public class WqConfigD implements Serializable { |
||||
@ApiModelProperty("测站编码") |
||||
@TableId(type=IdType.INPUT) |
||||
private String stcd; |
||||
@ApiModelProperty("指标类型") |
||||
private String type; |
||||
@ApiModelProperty("指标值") |
||||
private String value; |
||||
} |
@ -1,54 +0,0 @@
|
||||
package com.hnac.hzims.waterquality.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
|
||||
/** |
||||
*水功能区基本信息 |
||||
*/ |
||||
@Data |
||||
@TableName("wq_wfrinf_b") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WqWfrinfB extends BaseEntity { |
||||
@ApiModelProperty("水功能区代码") |
||||
private String wfrcd; |
||||
@ApiModelProperty("水功能区名称") |
||||
private String wfrnm; |
||||
@ApiModelProperty("流域名称") |
||||
private String bsnm; |
||||
@ApiModelProperty("水系名称") |
||||
private String hnnm; |
||||
@ApiModelProperty("河流名称") |
||||
private String rvnm; |
||||
@ApiModelProperty("水功能区起始断面名称") |
||||
private String wfrscsnm; |
||||
@ApiModelProperty("水功能区起始断面经度") |
||||
private Double wfrscslgtd; |
||||
@ApiModelProperty("水功能区起始断面纬度") |
||||
private Double wfrscslttd; |
||||
@ApiModelProperty("水功能区终止断面名称") |
||||
private String wfrecsnm; |
||||
@ApiModelProperty("水功能区终止断面经度") |
||||
private Double wfrecslgtd; |
||||
@ApiModelProperty("水功能区终止断面纬度") |
||||
private Double wfrecslttd; |
||||
|
||||
@ApiModelProperty("行政区划码") |
||||
private String addvcd; |
||||
@ApiModelProperty("水功能区长度") |
||||
private Double wfrln; |
||||
@ApiModelProperty("水功能区库容") |
||||
private Double wfrrc; |
||||
@ApiModelProperty("水功能区面积") |
||||
private Double wfrar; |
||||
@ApiModelProperty("水功能区水质目标") |
||||
private String wfrwqt; |
||||
@ApiModelProperty("水功能区功能排序") |
||||
private String wfrwfo; |
||||
@ApiModelProperty("备注") |
||||
private String nt; |
||||
} |
@ -1,59 +0,0 @@
|
||||
package com.hnac.hzims.waterquality.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
*水质监测站 |
||||
*/ |
||||
@Data |
||||
@TableName("wq_wqsinf_b") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WqWqsinfB extends BaseEntity { |
||||
@ApiModelProperty("测站编码") |
||||
private String stcd; |
||||
@ApiModelProperty("测站名称") |
||||
private String stnm; |
||||
@ApiModelProperty("测站等级") |
||||
private String stgrd; |
||||
@ApiModelProperty("流域名称") |
||||
private String bsnm; |
||||
@ApiModelProperty("水系名称") |
||||
private String hnnm; |
||||
@ApiModelProperty("河流名称") |
||||
private String rvnm; |
||||
@ApiModelProperty("经度") |
||||
private Double lgtd; |
||||
@ApiModelProperty("纬度") |
||||
private Double lttd; |
||||
@ApiModelProperty("站址") |
||||
private String stlc; |
||||
@ApiModelProperty("行政区划码") |
||||
private String addvcd; |
||||
@ApiModelProperty("水资源分区码") |
||||
private String wrrcd; |
||||
@ApiModelProperty("水功能区划码") |
||||
private String wfrcd; |
||||
@ApiModelProperty("管理单位") |
||||
private String adag; |
||||
@ApiModelProperty("监测单位") |
||||
private String mnag; |
||||
@ApiModelProperty("监测频次") |
||||
private Integer mnfrq; |
||||
@ApiModelProperty("自动监测") |
||||
private Integer atmn; |
||||
@ApiModelProperty("建站年月") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date esstym; |
||||
@ApiModelProperty("撤站年月") |
||||
@JsonFormat(pattern = "yyyy-MM-dd") |
||||
private Date wdstym; |
||||
@ApiModelProperty("备注") |
||||
private String nt; |
||||
} |
@ -1,22 +0,0 @@
|
||||
package com.hnac.hzims.waterquality.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
|
||||
/** |
||||
* 水资源分区基本信息 |
||||
*/ |
||||
@Data |
||||
@TableName("wq_wrrinf_b") |
||||
public class WqWrrinfB extends BaseEntity { |
||||
@ApiModelProperty("水资源分区码") |
||||
private String wrrcd; |
||||
@ApiModelProperty("水资源分区名称") |
||||
private String wrrnm; |
||||
@ApiModelProperty("水资源分区面积") |
||||
private Double wrr5r; |
||||
|
||||
} |
@ -1,50 +0,0 @@
|
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* Redistribution and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* Redistributions of source code must retain the above copyright Example, |
||||
* this list of conditions and the following disclaimer. |
||||
* Redistributions in binary form must reproduce the above copyright |
||||
* Example, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the distribution. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package com.hnac.hzims.waterquality.feign; |
||||
|
||||
import com.hnac.hzims.waterquality.vo.WqWqsinfBVo; |
||||
import org.springblade.core.launch.constant.AppConstant; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* Example Feign接口类 |
||||
* |
||||
* @author Chill |
||||
*/ |
||||
@FeignClient( |
||||
value = AppConstant.APPLICATION_DESK_NAME |
||||
) |
||||
public interface IWqWqsinfBClient { |
||||
|
||||
String API_PREFIX = "/wqWqsinfBClient"; |
||||
String LIST = API_PREFIX + "/list"; |
||||
|
||||
/** |
||||
* 获取Example列表 |
||||
* |
||||
* @param number |
||||
* @return |
||||
*/ |
||||
@GetMapping(LIST) |
||||
R<List<WqWqsinfBVo>> list(@RequestParam("number") Integer number); |
||||
|
||||
} |
@ -1,7 +0,0 @@
|
||||
package com.hnac.hzims.waterquality.vo; |
||||
|
||||
|
||||
import com.hnac.hzims.waterquality.entity.WqWqsinfB; |
||||
|
||||
public class WqWqsinfBVo extends WqWqsinfB { |
||||
} |
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>hzims-service-api</artifactId> |
||||
<version>4.0.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
<artifactId>water-rain-api</artifactId> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
</project> |
@ -1,26 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.bo; |
||||
|
||||
|
||||
import com.hnac.hzims.waterrain.entity.StStbprpB; |
||||
|
||||
public class StationResp { |
||||
private StStbprpB stStbprpB; |
||||
|
||||
private Object obj; |
||||
|
||||
public StStbprpB getStStbprpB() { |
||||
return stStbprpB; |
||||
} |
||||
|
||||
public void setStStbprpB(StStbprpB stStbprpB) { |
||||
this.stStbprpB = stStbprpB; |
||||
} |
||||
|
||||
public Object getObj() { |
||||
return obj; |
||||
} |
||||
|
||||
public void setObj(Object obj) { |
||||
this.obj = obj; |
||||
} |
||||
} |
@ -1,13 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.entity; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
@Data |
||||
public class HzStPptnR implements Serializable { |
||||
private String stcd; |
||||
private Date tm; |
||||
private Double drp; |
||||
} |
@ -1,14 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.entity; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
@Data |
||||
public class HzStRiverR implements Serializable { |
||||
private String stcd; |
||||
private Date tm; |
||||
private Double z; |
||||
private Double q; |
||||
} |
@ -1,15 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.entity; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
@Data |
||||
public class HzStRsvrR implements Serializable { |
||||
private String stcd;//测站编码
|
||||
private Date tm;//时间
|
||||
private Double rz; //水位
|
||||
private Double inq;//流量
|
||||
} |
||||
|
@ -1,14 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.entity; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
@Data |
||||
public class ReorganizeData { |
||||
private String yearMonth; |
||||
private String stcd; |
||||
private String sttp; |
||||
private List<Map<String,Object>> data; |
||||
} |
@ -1,13 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.entity; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
@Data |
||||
public class ReorganizeLog implements Serializable { |
||||
private String stcd; |
||||
private String yearMonth; |
||||
private String operateUser; |
||||
private String checkUser; |
||||
} |
@ -1,74 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
/** |
||||
* 水雨情测站信息表 |
||||
*/ |
||||
@Data |
||||
@TableName("st_stbprp_b") |
||||
public class StStbprpB extends BaseEntity { |
||||
@ApiModelProperty("机构id") |
||||
private String orgId; |
||||
@ApiModelProperty("河流id") |
||||
private String rvid; |
||||
@ApiModelProperty("水系id") |
||||
private String hnid; |
||||
@ApiModelProperty("流域id") |
||||
private String bsid; |
||||
@ApiModelProperty("测站编码") |
||||
private String stcd; |
||||
@ApiModelProperty("测站名称") |
||||
private String stnm; |
||||
@ApiModelProperty("河流名称") |
||||
private String rvnm; |
||||
@ApiModelProperty("水系名称") |
||||
private String hnnm; |
||||
@ApiModelProperty("流域名称") |
||||
private String bsnm; |
||||
@ApiModelProperty("经度(度分秒)") |
||||
private String lgtd; |
||||
@ApiModelProperty("纬度(度分秒)") |
||||
private String lttd; |
||||
@ApiModelProperty("站址") |
||||
private String stlc; |
||||
@ApiModelProperty("行政区划码") |
||||
private String addvcd; |
||||
@ApiModelProperty("基面修正基值") |
||||
private Double mdbz; |
||||
@ApiModelProperty("基面修正参数") |
||||
private Double mdpr; |
||||
@ApiModelProperty("基面名称") |
||||
private String dtmnm; |
||||
@ApiModelProperty("基面高程") |
||||
private Double dtmel; |
||||
@ApiModelProperty("站类") |
||||
private String sttp; |
||||
@ApiModelProperty("拍报段次") |
||||
private Double dfrtms; |
||||
@ApiModelProperty("拍报项目") |
||||
private String fritm; |
||||
@ApiModelProperty("报讯等级") |
||||
private String frgrd; |
||||
@ApiModelProperty("始报年月") |
||||
private String bgfrym; |
||||
@ApiModelProperty("截报年月") |
||||
private String edfrym; |
||||
@ApiModelProperty("管理机构") |
||||
private String admauth; |
||||
@ApiModelProperty("测站岸别") |
||||
private String stbk; |
||||
@ApiModelProperty("集水面积") |
||||
private Double drna; |
||||
@ApiModelProperty("拼音码") |
||||
private String phcd; |
||||
@ApiModelProperty("数值经度") |
||||
private Double nlgtd; |
||||
@ApiModelProperty("数值纬度") |
||||
private Double nlttd; |
||||
@ApiModelProperty("水库编码") |
||||
private String rscd; |
||||
} |
@ -1,35 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.enums; |
||||
|
||||
public enum HistoryDataCalcTypeEnum { |
||||
ZERO(0,"整点值/最早值"), |
||||
ONE(1,"最大值"), |
||||
TWO(2,"最小值"), |
||||
THREE(3,"平均值"), |
||||
FOUR(4,"累计值/和值"), |
||||
FIVE(5,"变化值/差值"), |
||||
SIX(6,"最新值"); |
||||
|
||||
Integer strategy; |
||||
String desc; |
||||
|
||||
HistoryDataCalcTypeEnum(Integer strategy, String desc){ |
||||
this.strategy = strategy; |
||||
this.desc = desc; |
||||
} |
||||
|
||||
public Integer getStrategy() { |
||||
return strategy; |
||||
} |
||||
|
||||
public void setStrategy(Integer strategy) { |
||||
this.strategy = strategy; |
||||
} |
||||
|
||||
public String getDesc() { |
||||
return desc; |
||||
} |
||||
|
||||
public void setDesc(String desc) { |
||||
this.desc = desc; |
||||
} |
||||
} |
@ -1,35 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.enums; |
||||
|
||||
public enum WaterFlowRainEnum { |
||||
RR("RR","水库水文站"), |
||||
ZZ("ZZ","河道水位站"), |
||||
ZQ("ZQ","河道水文站"), |
||||
PP("PP","雨量站"), |
||||
|
||||
LEVEL("level","水位"), |
||||
FLOW("flow","流量"), |
||||
RAIN("rain","降水"); |
||||
private String code; |
||||
private String name; |
||||
|
||||
WaterFlowRainEnum(String code,String name){ |
||||
this.code=code; |
||||
this.name=name; |
||||
} |
||||
|
||||
public String getCode() { |
||||
return code; |
||||
} |
||||
|
||||
public void setCode(String code) { |
||||
this.code = code; |
||||
} |
||||
|
||||
public String getName() { |
||||
return name; |
||||
} |
||||
|
||||
public void setName(String name) { |
||||
this.name = name; |
||||
} |
||||
} |
@ -1,28 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.feign; |
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||
import com.hnac.hzims.waterrain.entity.StStbprpB; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
|
||||
import java.util.List; |
||||
|
||||
@FeignClient( |
||||
value = "water-rain-monitor", |
||||
url = "${feign.water-rain-monitor:}" |
||||
) |
||||
public interface IStStbprpBClient { |
||||
String API_PREFIX = "/stStbprpBClient"; |
||||
String DETAIL = API_PREFIX + "/detail"; |
||||
String LIST = API_PREFIX + "/list"; |
||||
|
||||
/** |
||||
* 获取测站详情 |
||||
* @return |
||||
*/ |
||||
@GetMapping(DETAIL) |
||||
StStbprpB detail(LambdaQueryWrapper wrapper); |
||||
|
||||
@GetMapping(LIST) |
||||
List<StStbprpB> list(LambdaQueryWrapper wrapper); |
||||
} |
@ -1,19 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.feign; |
||||
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
|
||||
import java.util.Date; |
||||
import java.util.Map; |
||||
|
||||
@FeignClient( |
||||
value = "water-rain-monitor", |
||||
url = "${feign.water-rain-monitor:}" |
||||
) |
||||
public interface IStStbprpBDataClient { |
||||
String API_PREFIX = "/stStbprpBDataClient"; |
||||
String QUERYMAXORMIN = API_PREFIX + "/queryMaxOrMin"; |
||||
|
||||
@GetMapping(QUERYMAXORMIN) |
||||
Map<String, String> queryMaxOrMin(String deviceCode, Date startTime, Date endTime, Integer calcType,Integer saveTimeType,Integer timeInterval, String col); |
||||
} |
@ -1,9 +0,0 @@
|
||||
package com.hnac.hzims.waterrain.vo; |
||||
|
||||
import com.hnac.hzims.waterrain.entity.StStbprpB; |
||||
import lombok.Data; |
||||
|
||||
@Data |
||||
public class StStbprpBVo extends StStbprpB { |
||||
private String sttpName; |
||||
} |
@ -1,66 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>hzims-service</artifactId> |
||||
<version>4.0.0-SNAPSHOT</version> |
||||
</parent> |
||||
|
||||
<artifactId>base-info</artifactId> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
|
||||
|
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>com.hnac.hzims</groupId> |
||||
<artifactId>base-info-api</artifactId> |
||||
<version>${hzims.project.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springblade</groupId> |
||||
<artifactId>blade-common</artifactId> |
||||
<!-- <version>${bladex.projet.common.version}</version>--> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springblade</groupId> |
||||
<artifactId>blade-core-boot</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springblade</groupId> |
||||
<artifactId>blade-starter-swagger</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springblade</groupId> |
||||
<artifactId>blade-core-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springblade</groupId> |
||||
<artifactId>blade-core-auto</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
|
||||
|
||||
<!--生成代码--> |
||||
<dependency> |
||||
<groupId>com.baomidou</groupId> |
||||
<artifactId>mybatis-plus-generator</artifactId> |
||||
</dependency> |
||||
|
||||
<!-- velocity 模板引擎, Mybatis Plus 代码生成器需要--> |
||||
<dependency> |
||||
<groupId>org.apache.velocity</groupId> |
||||
<artifactId>velocity-engine-core</artifactId> |
||||
<version>2.2</version> |
||||
</dependency> |
||||
</dependencies> |
||||
|
||||
</project> |
@ -1,40 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo; |
||||
|
||||
import org.mybatis.spring.annotation.MapperScan; |
||||
import org.springblade.core.cloud.feign.EnableBladeFeign; |
||||
import org.springblade.core.launch.BladeApplication; |
||||
import org.springframework.boot.builder.SpringApplicationBuilder; |
||||
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
||||
import org.springframework.cloud.client.SpringCloudApplication; |
||||
import org.springframework.context.annotation.ComponentScan; |
||||
import org.springframework.scheduling.annotation.EnableScheduling; |
||||
|
||||
//基础信息模块 电站 水库 大坝信息管理
|
||||
@EnableBladeFeign(basePackages = {"org.springblade", "com.hnac"}) |
||||
@SpringCloudApplication |
||||
@MapperScan("com.hnac.hzims.**.mapper.**") |
||||
@EnableScheduling |
||||
@ComponentScan(basePackages = {"com.hnac.hzims.*"}) |
||||
public class BaseInfoApplication extends SpringBootServletInitializer { |
||||
|
||||
|
||||
static { |
||||
System.setProperty("spring.cloud.nacos.discovery.server-addr", "http://hadoop:8848"); |
||||
System.setProperty("spring.cloud.nacos.config.server-addr", "http://hadoop:8848"); |
||||
System.setProperty("spring.cloud.nacos.username", "nacos"); |
||||
System.setProperty("spring.cloud.nacos.password", "nacos"); |
||||
} |
||||
|
||||
|
||||
public final static String APP_NAME = "base-info"; |
||||
|
||||
public static void main(String[] args) { |
||||
// System.setProperty("nacos.standalone", "true");
|
||||
BladeApplication.run(APP_NAME, BaseInfoApplication.class, args); |
||||
} |
||||
|
||||
@Override |
||||
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { |
||||
return BladeApplication.createSpringApplicationBuilder(builder, APP_NAME, BaseInfoApplication.class); |
||||
} |
||||
} |
@ -1,94 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.controller; |
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.hnac.hzims.baseinfo.entity.IrrBIReach; |
||||
import com.hnac.hzims.baseinfo.service.IrrBIReachService; |
||||
import org.springblade.core.mp.support.Query; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.ModelAttribute; |
||||
import org.springframework.web.bind.annotation.RequestBody; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RequestMethod; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
import org.springframework.web.bind.annotation.ResponseBody; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
|
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
|
||||
@RestController |
||||
@Api(description = "河流控制器") |
||||
@RequestMapping(value = "/area/irrBIReach/info") |
||||
public class IrrBIReachController { |
||||
@Autowired |
||||
private IrrBIReachService irs; |
||||
|
||||
// @ApiOperation(notes = "加载所有河流记录,不区分站点", value = "河流列表接口")
|
||||
// @RequestMapping(value = "bindIrrBIReachs", method = RequestMethod.GET)
|
||||
// @ResponseBody
|
||||
// public R bindIrrBIReachs(@ApiParam(value = "名称") @RequestParam(required = false) String riverName,
|
||||
// @ApiParam(value = "分页参数") @ModelAttribute PageParam pageParam) {
|
||||
// R res = new R();
|
||||
// if(riverName!=null && "".equals(riverName)){
|
||||
// if(riverName.length() > 50){
|
||||
// res.setFailure("名称长度不能大于50","500");
|
||||
// }
|
||||
// }
|
||||
// res.setSuccess(irs.bindIrrBIReachs(riverName, pageParam));
|
||||
// return res;
|
||||
// }
|
||||
|
||||
@ApiOperation(notes = "加载所有河流记录,不区分站点", value = "河流列表接口") |
||||
@RequestMapping(value = "bindIrrBIReachs", method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public R bindIrrBIReachs(@ApiParam(value = "名称") @RequestParam(required = false) String riverName, |
||||
@ApiParam(value = "分页参数") @ModelAttribute Query query) { |
||||
Page<IrrBIReach> page = new Page<>(query.getCurrent(), query.getSize()); |
||||
R res = new R(); |
||||
if(riverName!=null && "".equals(riverName)){ |
||||
if(riverName.length() > 50){ |
||||
res.setMsg("名称长度不能大于50"); |
||||
res.setCode(500); |
||||
} |
||||
} |
||||
res.setData(irs.bindIrrBIReachs(riverName, page)); |
||||
return res; |
||||
} |
||||
|
||||
@ApiOperation(notes = "获取单条河流的信息接口", value = "获取单条河流的信息接口") |
||||
@RequestMapping(value = "getIrrBIReach", method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public R getIrrBIReach(@RequestParam(required = true) @ApiParam(value = "河流编号") String riverCode) { |
||||
R res = new R(); |
||||
res.setData(irs.getIrrBIReach(riverCode)); |
||||
return res; |
||||
} |
||||
|
||||
@ApiOperation(notes = "编辑时编号不能修改", value = "河流信息修改接口") |
||||
@RequestMapping(value = "editIrrBIReach", method = RequestMethod.POST) |
||||
@ResponseBody |
||||
public R editIrrBIReach(@ApiParam(value = "河流") @RequestBody IrrBIReach irrBIReach) { |
||||
return irs.addOrEditIrrBIReach(irrBIReach,"update"); |
||||
} |
||||
|
||||
@ApiOperation(notes = "删除河流接口", value = "删除河流接口") |
||||
@RequestMapping(value = "delIrrBIReach", method = { RequestMethod.GET, RequestMethod.POST }) |
||||
@ResponseBody |
||||
public R delIrrBIReach(@RequestParam(required = true) @ApiParam(value = "河流编号") String riverCode) { |
||||
R res = new R(); |
||||
irs.delIrrBIReach(riverCode); |
||||
res.setMsg("操作成功"); |
||||
return res; |
||||
} |
||||
|
||||
@ApiOperation(notes = " 新增时编号需要做唯一性验证 ", value = "新增河流接口") |
||||
@RequestMapping(value = "addIrrBIReach", method = RequestMethod.POST) |
||||
@ResponseBody |
||||
public R addIrrBIReach(@ApiParam(value = "河流") @RequestBody IrrBIReach vo) { |
||||
return irs.addOrEditIrrBIReach(vo,"add"); |
||||
} |
||||
} |
@ -1,88 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.controller; |
||||
|
||||
|
||||
import com.hnac.hzims.baseinfo.service.ReservoirInfoService; |
||||
import com.hnac.hzims.baseinfo.vo.ReservoirInfoVo; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
import org.springblade.core.mp.support.Query; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.*; |
||||
import sun.reflect.generics.tree.VoidDescriptor; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
@RestController |
||||
@Api(description = "水库档案控制器") |
||||
@RequestMapping(value = "/reservoir/info") |
||||
public class ReservoirInfoController { |
||||
|
||||
@Autowired |
||||
private ReservoirInfoService reservoirInfoService; |
||||
|
||||
|
||||
@ApiOperation(notes = "加载所有水库记录,区分站点", value = "水库列表接口") |
||||
@RequestMapping(value = "bindReservoirs", method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public R bindReservoirs(HttpServletRequest request, |
||||
@ApiParam(value = "名称") @RequestParam(required = false) String name, |
||||
@ApiParam(value = "站点ID") @RequestParam String stationId, |
||||
@ApiParam(value = "区域编码") @RequestParam(required = false) String areaCode, |
||||
@ApiParam(value = "河流编码") @RequestParam(required = false) String riverCode, |
||||
@ApiParam(value = "分页参数") @ModelAttribute Query query) { |
||||
List<String> stationIds = new ArrayList<String>(); |
||||
//查询当前用户下所有站点的水库列表
|
||||
if(stationId.equals("ALL")){ |
||||
|
||||
}else{ |
||||
stationIds.add(stationId); |
||||
} |
||||
|
||||
String tmpAreaCode =""; |
||||
if(areaCode!=null) { |
||||
tmpAreaCode = areaCode.replaceAll("0+$", ""); |
||||
} |
||||
return R.data(reservoirInfoService.bindReservoirList(name,tmpAreaCode,riverCode, stationIds, query)); |
||||
} |
||||
|
||||
|
||||
@ApiOperation(notes = "获取单条水库的信息接口", value = "获取单条水库的信息接口") |
||||
@RequestMapping(value = "getReservoir", method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public R getReservoir(@RequestParam(required = true) @ApiParam(value = "水库编号") String stcd) { |
||||
return R.data(reservoirInfoService.getReservoir(stcd)); |
||||
} |
||||
|
||||
@ApiOperation(notes = "水库信息修改接口", value = "水库信息修改接口") |
||||
@RequestMapping(value = "editReservoir", method = RequestMethod.POST) |
||||
@ResponseBody |
||||
public R editReservoir(@ApiParam(value = "水库信息") @RequestBody ReservoirInfoVo reservoirInfoVo) { |
||||
|
||||
return reservoirInfoService.addOrEditReservoir(reservoirInfoVo,"update"); |
||||
|
||||
} |
||||
|
||||
@ApiOperation(notes = "删除水库接口", value = "删除水库接口") |
||||
@RequestMapping(value = "delReservoir", method = { RequestMethod.GET, RequestMethod.POST }) |
||||
@ResponseBody |
||||
public R delReservoir(@RequestParam(required = true) @ApiParam(value = "水库编号") String stcd) { |
||||
|
||||
return reservoirInfoService.delReservoir(stcd); |
||||
|
||||
} |
||||
|
||||
@ApiOperation(notes = "新增水库接口", value = "新增水库接口") |
||||
@RequestMapping(value = "addReservoir", method = { RequestMethod.POST }) |
||||
@ResponseBody |
||||
public R addReservoir(@ApiParam(value = "水库") @RequestBody ReservoirInfoVo vo) { |
||||
return reservoirInfoService.addOrEditReservoir(vo,"add"); |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
} |
@ -1,35 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.controller; |
||||
|
||||
|
||||
import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; |
||||
import com.hnac.hzims.baseinfo.service.ReservoirRefDataService; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
@RestController |
||||
@Api(description = "水库数据扩展表控制器") |
||||
@RequestMapping(value = "/reservoir/refdata") |
||||
public class ReservoirRefdataController { |
||||
@Autowired |
||||
private ReservoirRefDataService reservoirRefDataService; |
||||
|
||||
@ApiOperation(notes = "stcd必须真实", value = "水库数据扩展配置接口") |
||||
@RequestMapping(value = "configReservoirRefData", method = RequestMethod.POST) |
||||
@ResponseBody |
||||
public R configReservoirRefData( |
||||
@ApiParam(value = "水库信息") @RequestBody ReservoirRefdata reservoirRefdata) { |
||||
reservoirRefDataService.configReservoirRefData(reservoirRefdata); |
||||
return R.success("操作成功"); |
||||
} |
||||
|
||||
@ApiOperation(notes = "stcd必须真实", value = "水库数据扩展获得接口") |
||||
@RequestMapping(value = "getReservoirRefData", method = {RequestMethod.POST, RequestMethod.GET}) |
||||
@ResponseBody |
||||
public R getReservoirRefData(@ApiParam(value = "水库编码") String stcd) { |
||||
return R.data(reservoirRefDataService.getReservoirRefData(stcd)); |
||||
} |
||||
} |
@ -1,72 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.controller; |
||||
|
||||
|
||||
import com.hnac.hzims.baseinfo.entity.StZvarlB; |
||||
import com.hnac.hzims.baseinfo.service.StZvarlBService; |
||||
import com.hnac.hzims.common.utils.Condition; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
import org.springblade.core.mp.support.Query; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
@RestController |
||||
@Api(description = "库(湖)容曲线控制器") |
||||
@RequestMapping(value = "/reservoir/stZvarlB") |
||||
public class StZvarlBController { |
||||
|
||||
@Autowired |
||||
private StZvarlBService stZvarlBService; |
||||
|
||||
|
||||
@ApiOperation(notes = "获取库(湖)容曲线列表数据接口", value = "获取库(湖)容曲线列表数据接口") |
||||
@RequestMapping(value = "bindStZvarlBs", method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public R bindStZvarlBs(@RequestParam(required = true) @ApiParam(value = "水库编号") String stcd, |
||||
@ApiParam(value = "分页参数") @ModelAttribute Query query) { |
||||
return R.data(stZvarlBService.bindStZvarlBs(stcd, Condition.getPage(query))); |
||||
} |
||||
|
||||
@ApiOperation(notes = "新增库(湖)容曲线记录接口", value = "新增库(湖)容曲线记录息接口") |
||||
@RequestMapping(value = "addStZvarlB", method = RequestMethod.POST) |
||||
@ResponseBody |
||||
public R addStZvarlB(@ApiParam(value = "库(湖)曲线对象") @RequestBody StZvarlB stZvarlB) { |
||||
|
||||
return stZvarlBService.addOrEditStZvarlB(stZvarlB); |
||||
|
||||
} |
||||
|
||||
@ApiOperation(notes = "更新库(湖)容曲线记录接口", value = "更新库(湖)容曲线记录接口") |
||||
@RequestMapping(value = "editStZvarlB", method = RequestMethod.POST) |
||||
@ResponseBody |
||||
public R editStZvarlB(@ApiParam(value = "库(湖)曲线对象") @RequestBody StZvarlB stZvarlB) { |
||||
|
||||
return stZvarlBService.addOrEditStZvarlB(stZvarlB); |
||||
|
||||
} |
||||
|
||||
@ApiOperation(notes = "删除库(湖)容曲线记录接口", value = "删除库(湖)容曲线记录接口") |
||||
@RequestMapping(value = "delStZvarlB", method = { RequestMethod.GET, RequestMethod.POST }) |
||||
@ResponseBody |
||||
public R delStZvarlB(@RequestParam(required = true) @ApiParam(value = "ID") Integer id) { |
||||
|
||||
return stZvarlBService.delStZvarlB(id); |
||||
|
||||
} |
||||
|
||||
@ApiOperation(notes = "根据库水位获取库容", value = "根据库水位获取库容") |
||||
@RequestMapping(value = "getWValue", method = { RequestMethod.GET, RequestMethod.POST }) |
||||
@ResponseBody |
||||
public R getWValue(String stcd,String rz) { |
||||
R res = new R(); |
||||
BigDecimal bd=new BigDecimal(rz); |
||||
BigDecimal data=stZvarlBService.getWValue(stcd,bd); |
||||
res.setMsg("操作成功"); |
||||
res.setData(data); |
||||
return res; |
||||
} |
||||
} |
@ -1,94 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.controller; |
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.hnac.hzims.baseinfo.entity.WqLrinfB; |
||||
import com.hnac.hzims.baseinfo.service.WqLrinfBService; |
||||
import org.springblade.core.mp.support.Query; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.ModelAttribute; |
||||
import org.springframework.web.bind.annotation.RequestBody; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RequestMethod; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
import org.springframework.web.bind.annotation.ResponseBody; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
|
||||
@RestController |
||||
@Api(description = "湖库控制器") |
||||
@RequestMapping(value = "/area/wqLrinfB/info") |
||||
public class WqLrinfBController { |
||||
@Autowired |
||||
private WqLrinfBService wbs; |
||||
|
||||
// @ApiOperation(notes = "加载所有湖库记录,不区分站点", value = "湖库列表接口")
|
||||
// @RequestMapping(value = "bindWqLrinfBs", method = RequestMethod.GET)
|
||||
// @ResponseBody
|
||||
// public R bindWqLrinfBs(@ApiParam(value = "名称") @RequestParam(required = false) String lrnm,
|
||||
// @ApiParam(value = "分页参数") @ModelAttribute PageParam pageParam) {
|
||||
// R res = new R();
|
||||
// if(lrnm!=null && "".equals(lrnm)){
|
||||
// if(lrnm.length() > 50){
|
||||
// res.setFailure("名称长度不能大于50","500");
|
||||
// }
|
||||
// }
|
||||
// res.setSuccess(wbs.bindWqLrinfBs(lrnm, pageParam));
|
||||
// return res;
|
||||
// }
|
||||
|
||||
@ApiOperation(notes = "加载所有湖库记录,不区分站点", value = "湖库列表接口") |
||||
@RequestMapping(value = "bindWqLrinfBs", method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public R bindWqLrinfBs(@ApiParam(value = "名称") @RequestParam(required = false) String lrnm, |
||||
@ApiParam(value = "分页参数") @ModelAttribute Query query) { |
||||
Page<WqLrinfB> page = new Page<>(query.getCurrent(), query.getSize()); |
||||
R res = new R(); |
||||
if(lrnm!=null && "".equals(lrnm)){ |
||||
if(lrnm.length() > 50){ |
||||
res.setMsg("名称长度不能大于50"); |
||||
res.setData(500); |
||||
} |
||||
} |
||||
res.setData(wbs.bindWqLrinfBs(lrnm, page)); |
||||
return res; |
||||
} |
||||
|
||||
@ApiOperation(notes = "获取单条湖库的信息接口", value = "获取单条湖库的信息接口") |
||||
@RequestMapping(value = "getWqLrinfB", method = RequestMethod.GET) |
||||
@ResponseBody |
||||
public R getWqLrinfB(@RequestParam(required = true) @ApiParam(value = "湖库编号") String lrcd) { |
||||
R res = new R(); |
||||
res.setData(wbs.getWqLrinfB(lrcd)); |
||||
return res; |
||||
} |
||||
|
||||
@ApiOperation(notes = "编辑时编号不能修改", value = "湖库信息修改接口") |
||||
@RequestMapping(value = "editWqLrinfB", method = RequestMethod.POST) |
||||
@ResponseBody |
||||
public R editWqLrinfB(@ApiParam(value = "湖库信息") @RequestBody WqLrinfB wqLrinfB) { |
||||
|
||||
return wbs.editWqLrinfB(wqLrinfB); |
||||
|
||||
} |
||||
|
||||
@ApiOperation(notes = "删除湖库接口", value = "删除湖库接口") |
||||
@RequestMapping(value = "delWqLrinfB", method = { RequestMethod.GET, RequestMethod.POST }) |
||||
@ResponseBody |
||||
public R delWqLrinfB(@RequestParam @ApiParam(value = "湖库编号") String lrcd) { |
||||
return wbs.delWqLrinfB(lrcd); |
||||
|
||||
} |
||||
|
||||
@ApiOperation(notes = "新增时编号需要做唯一性验证", value = "新增湖库接口") |
||||
@RequestMapping(value = "addWqLrinfB", method = RequestMethod.POST ) |
||||
@ResponseBody |
||||
public R addWqLrinfB(@ApiParam(value = "湖库") @RequestBody WqLrinfB wqLrinfB) { |
||||
|
||||
return wbs.addWqLrinfB(wqLrinfB); |
||||
|
||||
} |
||||
} |
@ -1,14 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; |
||||
import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; |
||||
|
||||
/** |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/8/9 10:41 |
||||
*/ |
||||
public interface FileReservoirInfoMapper extends BaseMapper<FileReservoirInfo> { |
||||
} |
@ -1,13 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; |
||||
|
||||
/** |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/8/9 10:40 |
||||
*/ |
||||
public interface ImageReservoirInfoMapper extends BaseMapper<ImageReservoirInfo> { |
||||
} |
@ -1,26 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.mapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.hnac.hzims.baseinfo.entity.IrrBIReach; |
||||
import com.hnac.hzims.baseinfo.entity.IrrBIReachExample; |
||||
import org.apache.ibatis.annotations.Param; |
||||
|
||||
public interface IrrBIReachMapper { |
||||
int deleteByPrimaryKey(String riverCode); |
||||
|
||||
int insert(IrrBIReach record); |
||||
|
||||
int insertSelective(IrrBIReach record); |
||||
|
||||
List<IrrBIReach> selectByExample(IrrBIReachExample example); |
||||
|
||||
IrrBIReach selectByPrimaryKey(String riverCode); |
||||
|
||||
int updateByPrimaryKeySelective(IrrBIReach record); |
||||
|
||||
int updateByPrimaryKey(IrrBIReach record); |
||||
|
||||
IPage<IrrBIReach> selectByRiverName(@Param("riverName")String riverName, IPage<IrrBIReach> page); |
||||
} |
@ -1,149 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
||||
<mapper namespace="com.hnac.hzims.baseinfo.mapper.IrrBIReachMapper" > |
||||
<resultMap id="BaseResultMap" type="com.hnac.hzims.baseinfo.entity.IrrBIReach" > |
||||
<id column="RIVER_CODE" property="riverCode" jdbcType="CHAR" /> |
||||
<result column="RIVER_NAME" property="riverName" jdbcType="VARCHAR" /> |
||||
<result column="RIVER_WIDTH" property="riverWidth" jdbcType="DECIMAL" /> |
||||
<result column="RIVER_FLUX" property="riverFlux" jdbcType="DECIMAL" /> |
||||
<result column="COORDINATESET" property="coordinateset" jdbcType="VARCHAR" /> |
||||
</resultMap> |
||||
<sql id="Example_Where_Clause" > |
||||
<where > |
||||
<foreach collection="oredCriteria" item="criteria" separator="or" > |
||||
<if test="criteria.valid" > |
||||
<trim prefix="(" suffix=")" prefixOverrides="and" > |
||||
<foreach collection="criteria.criteria" item="criterion" > |
||||
<choose > |
||||
<when test="criterion.noValue" > |
||||
and ${criterion.condition} |
||||
</when> |
||||
<when test="criterion.singleValue" > |
||||
and ${criterion.condition} #{criterion.value} |
||||
</when> |
||||
<when test="criterion.betweenValue" > |
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
||||
</when> |
||||
<when test="criterion.listValue" > |
||||
and ${criterion.condition} |
||||
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," > |
||||
#{listItem} |
||||
</foreach> |
||||
</when> |
||||
</choose> |
||||
</foreach> |
||||
</trim> |
||||
</if> |
||||
</foreach> |
||||
</where> |
||||
</sql> |
||||
<sql id="Base_Column_List" > |
||||
RIVER_CODE, RIVER_NAME, RIVER_WIDTH, RIVER_FLUX, COORDINATESET |
||||
</sql> |
||||
<select id="selectByExample" resultMap="BaseResultMap" |
||||
parameterType="com.hnac.hzims.baseinfo.entity.IrrBIReachExample" > |
||||
select |
||||
<if test="distinct" > |
||||
distinct |
||||
</if> |
||||
<include refid="Base_Column_List" /> |
||||
from irrbireach |
||||
<if test="_parameter != null" > |
||||
<include refid="Example_Where_Clause" /> |
||||
</if> |
||||
<if test="orderByClause != null" > |
||||
order by ${orderByClause} |
||||
</if> |
||||
</select> |
||||
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from irrbireach |
||||
where RIVER_CODE = #{riverCode,jdbcType=CHAR} |
||||
</select> |
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" > |
||||
delete from irrbireach |
||||
where RIVER_CODE = #{riverCode,jdbcType=CHAR} |
||||
</delete> |
||||
<insert id="insert" parameterType="com.hnac.hzims.baseinfo.entity.IrrBIReach" > |
||||
insert into irrbireach (RIVER_CODE, RIVER_NAME, RIVER_WIDTH, |
||||
RIVER_FLUX, COORDINATESET) |
||||
values (#{riverCode,jdbcType=CHAR}, #{riverName,jdbcType=VARCHAR}, #{riverWidth,jdbcType=DECIMAL}, |
||||
#{riverFlux,jdbcType=DECIMAL}, #{coordinateset,jdbcType=VARCHAR}) |
||||
</insert> |
||||
<insert id="insertSelective" parameterType="com.hnac.hzims.baseinfo.entity.IrrBIReach" > |
||||
insert into irrbireach |
||||
<trim prefix="(" suffix=")" suffixOverrides="," > |
||||
<if test="riverCode != null" > |
||||
RIVER_CODE, |
||||
</if> |
||||
<if test="riverName != null" > |
||||
RIVER_NAME, |
||||
</if> |
||||
<if test="riverWidth != null" > |
||||
RIVER_WIDTH, |
||||
</if> |
||||
<if test="riverFlux != null" > |
||||
RIVER_FLUX, |
||||
</if> |
||||
<if test="coordinateset != null" > |
||||
COORDINATESET, |
||||
</if> |
||||
</trim> |
||||
<trim prefix="values (" suffix=")" suffixOverrides="," > |
||||
<if test="riverCode != null" > |
||||
#{riverCode,jdbcType=CHAR}, |
||||
</if> |
||||
<if test="riverName != null" > |
||||
#{riverName,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="riverWidth != null" > |
||||
#{riverWidth,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="riverFlux != null" > |
||||
#{riverFlux,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="coordinateset != null" > |
||||
#{coordinateset,jdbcType=VARCHAR}, |
||||
</if> |
||||
</trim> |
||||
</insert> |
||||
<update id="updateByPrimaryKeySelective" parameterType="com.hnac.hzims.baseinfo.entity.IrrBIReach" > |
||||
update irrbireach |
||||
<set > |
||||
<if test="riverName != null" > |
||||
RIVER_NAME = #{riverName,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="riverWidth != null" > |
||||
RIVER_WIDTH = #{riverWidth,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="riverFlux != null" > |
||||
RIVER_FLUX = #{riverFlux,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="coordinateset != null" > |
||||
COORDINATESET = #{coordinateset,jdbcType=VARCHAR}, |
||||
</if> |
||||
</set> |
||||
where RIVER_CODE = #{riverCode,jdbcType=CHAR} |
||||
</update> |
||||
<update id="updateByPrimaryKey" parameterType="com.hnac.hzims.baseinfo.entity.IrrBIReach" > |
||||
update irrbireach |
||||
set RIVER_NAME = #{riverName,jdbcType=VARCHAR}, |
||||
RIVER_WIDTH = #{riverWidth,jdbcType=DECIMAL}, |
||||
RIVER_FLUX = #{riverFlux,jdbcType=DECIMAL}, |
||||
COORDINATESET = #{coordinateset,jdbcType=VARCHAR} |
||||
where RIVER_CODE = #{riverCode,jdbcType=CHAR} |
||||
</update> |
||||
|
||||
|
||||
<select id="selectByRiverName" resultMap="BaseResultMap"> |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from irrbireach |
||||
where 1=1 |
||||
<if test=" riverName!=null and riverName!='' "> |
||||
and RIVER_NAME like CONCAT('%',#{riverName},'%') |
||||
</if> |
||||
|
||||
</select> |
||||
</mapper> |
@ -1,35 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.baomidou.mybatisplus.core.metadata.PageList; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.hnac.hzims.baseinfo.entity.ReservoirInfo; |
||||
import com.hnac.hzims.baseinfo.entity.ReservoirInfoExample; |
||||
import org.apache.ibatis.annotations.Param; |
||||
|
||||
import java.util.List; |
||||
|
||||
public interface ReservoirInfoMapper { |
||||
int deleteByPrimaryKey(String stcd); |
||||
|
||||
int insert(ReservoirInfo record); |
||||
|
||||
int insertSelective(ReservoirInfo record); |
||||
|
||||
List<ReservoirInfo> selectByExample(ReservoirInfoExample example); |
||||
|
||||
ReservoirInfo selectByPrimaryKey(String stcd); |
||||
|
||||
int updateByPrimaryKeySelective(ReservoirInfo record); |
||||
|
||||
int updateByPrimaryKey(ReservoirInfo record); |
||||
|
||||
IPage<ReservoirInfo> selectByNameAndStationId(@Param("name") String name, |
||||
@Param("areaCode")String areaCode, @Param("riverCode")String riverCode, |
||||
@Param("stationIds") List<String> stationId, |
||||
Page<ReservoirInfo> pageBounds); |
||||
|
||||
IPage<ReservoirInfo> selectByNameAndStationId(@Param("name") String name, |
||||
@Param("areaCode")String areaCode,@Param("riverCode")String riverCode, |
||||
@Param("stationIds") List<String> stationId, IPage<ReservoirInfo> page); |
||||
} |
@ -1,520 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
||||
<mapper namespace="com.hnac.hzims.baseinfo.mapper.ReservoirInfoMapper" > |
||||
<resultMap id="BaseResultMap" type="com.hnac.hzims.baseinfo.entity.ReservoirInfo" > |
||||
<id column="STCD" property="stcd" jdbcType="VARCHAR" /> |
||||
<result column="STATIONID" property="stationid" jdbcType="VARCHAR" /> |
||||
<result column="DISCHARGE" property="discharge" jdbcType="REAL" /> |
||||
<result column="NAME" property="name" jdbcType="VARCHAR" /> |
||||
<result column="LOCATION" property="location" jdbcType="VARCHAR" /> |
||||
<result column="VILLAGE" property="village" jdbcType="VARCHAR" /> |
||||
<result column="ROADLENGTH" property="roadlength" jdbcType="REAL" /> |
||||
<result column="ROADCONDITIION" property="roadconditiion" jdbcType="VARCHAR" /> |
||||
<result column="BUILDDATE" property="builddate" jdbcType="DATE" /> |
||||
<result column="COMPLETEDDATE" property="completeddate" jdbcType="DATE" /> |
||||
<result column="RAINAREA" property="rainarea" jdbcType="REAL" /> |
||||
<result column="DESIGNEDFLOODFLOW" property="designedfloodflow" jdbcType="REAL" /> |
||||
<result column="CHEDKEDFLOODFLOW" property="chedkedfloodflow" jdbcType="REAL" /> |
||||
<result column="DESIGNEDFILLAREA" property="designedfillarea" jdbcType="REAL" /> |
||||
<result column="DESIGNEDTOTALFLOW" property="designedtotalflow" jdbcType="REAL" /> |
||||
<result column="CHECDEDTOTALFLOW" property="checdedtotalflow" jdbcType="REAL" /> |
||||
<result column="AVERAGERAINFALL" property="averagerainfall" jdbcType="REAL" /> |
||||
<result column="DESIGNEDMAXFLOW" property="designedmaxflow" jdbcType="REAL" /> |
||||
<result column="CHECKEDMAXFLOW" property="checkedmaxflow" jdbcType="REAL" /> |
||||
<result column="VOLUME" property="volume" jdbcType="REAL" /> |
||||
<result column="CHECKEDFLOODLEVEL" property="checkedfloodlevel" jdbcType="REAL" /> |
||||
<result column="HISTORICALMAXLEVEL" property="historicalmaxlevel" jdbcType="REAL" /> |
||||
<result column="FLOODCONTROLVOLUME" property="floodcontrolvolume" jdbcType="REAL" /> |
||||
<result column="DESIGNEDFLOODLEVEL" property="designedfloodlevel" jdbcType="REAL" /> |
||||
<result column="MAXLEVELTIME" property="maxleveltime" jdbcType="TIMESTAMP" /> |
||||
<result column="UTILIZABLEVOLUME" property="utilizablevolume" jdbcType="REAL" /> |
||||
<result column="NORRMALLEVEL" property="norrmallevel" jdbcType="REAL" /> |
||||
<result column="FLOODDETENTIONVOLUME" property="flooddetentionvolume" jdbcType="REAL" /> |
||||
<result column="DEADLEVEL" property="deadlevel" jdbcType="REAL" /> |
||||
<result column="AREA_CODE" property="areaCode" jdbcType="VARCHAR" /> |
||||
<result column="LRCD" property="lrcd" jdbcType="VARCHAR" /> |
||||
<result column="SZHLDM" property="szhldm" jdbcType="VARCHAR" /> |
||||
<result column="DONGJ" property="dongj" jdbcType="REAL" /> |
||||
<result column="BEIW" property="beiw" jdbcType="REAL" /> |
||||
<result column="MJFLSSCNWL" property="mjflsscnwl" jdbcType="REAL" /> |
||||
</resultMap> |
||||
<sql id="Example_Where_Clause" > |
||||
<where > |
||||
<foreach collection="oredCriteria" item="criteria" separator="or" > |
||||
<if test="criteria.valid" > |
||||
<trim prefix="(" suffix=")" prefixOverrides="and" > |
||||
<foreach collection="criteria.criteria" item="criterion" > |
||||
<choose > |
||||
<when test="criterion.noValue" > |
||||
and ${criterion.condition} |
||||
</when> |
||||
<when test="criterion.singleValue" > |
||||
and ${criterion.condition} #{criterion.value} |
||||
</when> |
||||
<when test="criterion.betweenValue" > |
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
||||
</when> |
||||
<when test="criterion.listValue" > |
||||
and ${criterion.condition} |
||||
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," > |
||||
#{listItem} |
||||
</foreach> |
||||
</when> |
||||
</choose> |
||||
</foreach> |
||||
</trim> |
||||
</if> |
||||
</foreach> |
||||
</where> |
||||
</sql> |
||||
<sql id="Base_Column_List" > |
||||
STCD, STATIONID, DISCHARGE, NAME, LOCATION, VILLAGE, ROADLENGTH, ROADCONDITIION, |
||||
BUILDDATE, COMPLETEDDATE, RAINAREA, DESIGNEDFLOODFLOW, CHEDKEDFLOODFLOW, DESIGNEDFILLAREA, |
||||
DESIGNEDTOTALFLOW, CHECDEDTOTALFLOW, AVERAGERAINFALL, DESIGNEDMAXFLOW, CHECKEDMAXFLOW, |
||||
VOLUME, CHECKEDFLOODLEVEL, HISTORICALMAXLEVEL, FLOODCONTROLVOLUME, DESIGNEDFLOODLEVEL, |
||||
MAXLEVELTIME, UTILIZABLEVOLUME, NORRMALLEVEL, FLOODDETENTIONVOLUME, DEADLEVEL, AREA_CODE, |
||||
LRCD, SZHLDM, DONGJ, BEIW,MJFLSSCNWL |
||||
</sql> |
||||
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirInfoExample" > |
||||
select |
||||
<if test="distinct" > |
||||
distinct |
||||
</if> |
||||
<include refid="Base_Column_List" /> |
||||
from reservoir_info |
||||
<if test="_parameter != null" > |
||||
<include refid="Example_Where_Clause" /> |
||||
</if> |
||||
<if test="orderByClause != null" > |
||||
order by ${orderByClause} |
||||
</if> |
||||
</select> |
||||
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from reservoir_info |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</select> |
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" > |
||||
delete from reservoir_info |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</delete> |
||||
<insert id="insert" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirInfo" > |
||||
insert into reservoir_info (STCD, STATIONID, DISCHARGE, |
||||
NAME, LOCATION, VILLAGE, |
||||
ROADLENGTH, ROADCONDITIION, BUILDDATE, |
||||
COMPLETEDDATE, RAINAREA, DESIGNEDFLOODFLOW, |
||||
CHEDKEDFLOODFLOW, DESIGNEDFILLAREA, DESIGNEDTOTALFLOW, |
||||
CHECDEDTOTALFLOW, AVERAGERAINFALL, DESIGNEDMAXFLOW, |
||||
CHECKEDMAXFLOW, VOLUME, CHECKEDFLOODLEVEL, |
||||
HISTORICALMAXLEVEL, FLOODCONTROLVOLUME, DESIGNEDFLOODLEVEL, |
||||
MAXLEVELTIME, UTILIZABLEVOLUME, NORRMALLEVEL, |
||||
FLOODDETENTIONVOLUME, DEADLEVEL, AREA_CODE, |
||||
LRCD, SZHLDM, DONGJ, BEIW,MJFLSSCNWL |
||||
) |
||||
values (#{stcd,jdbcType=VARCHAR}, #{stationid,jdbcType=VARCHAR}, #{discharge,jdbcType=REAL}, |
||||
#{name,jdbcType=VARCHAR}, #{location,jdbcType=VARCHAR}, #{village,jdbcType=VARCHAR}, |
||||
#{roadlength,jdbcType=REAL}, #{roadconditiion,jdbcType=VARCHAR}, #{builddate,jdbcType=DATE}, |
||||
#{completeddate,jdbcType=DATE}, #{rainarea,jdbcType=REAL}, #{designedfloodflow,jdbcType=REAL}, |
||||
#{chedkedfloodflow,jdbcType=REAL}, #{designedfillarea,jdbcType=REAL}, #{designedtotalflow,jdbcType=REAL}, |
||||
#{checdedtotalflow,jdbcType=REAL}, #{averagerainfall,jdbcType=REAL}, #{designedmaxflow,jdbcType=REAL}, |
||||
#{checkedmaxflow,jdbcType=REAL}, #{volume,jdbcType=REAL}, #{checkedfloodlevel,jdbcType=REAL}, |
||||
#{historicalmaxlevel,jdbcType=REAL}, #{floodcontrolvolume,jdbcType=REAL}, #{designedfloodlevel,jdbcType=REAL}, |
||||
#{maxleveltime,jdbcType=TIMESTAMP}, #{utilizablevolume,jdbcType=REAL}, #{norrmallevel,jdbcType=REAL}, |
||||
#{flooddetentionvolume,jdbcType=REAL}, #{deadlevel,jdbcType=REAL}, #{areaCode,jdbcType=VARCHAR}, |
||||
#{lrcd,jdbcType=VARCHAR}, #{szhldm,jdbcType=VARCHAR}, #{dongj,jdbcType=REAL}, #{beiw,jdbcType=REAL} |
||||
, #{mjflsscnwl,jdbcType=REAL} |
||||
) |
||||
</insert> |
||||
<insert id="insertSelective" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirInfo" > |
||||
insert into reservoir_info |
||||
<trim prefix="(" suffix=")" suffixOverrides="," > |
||||
<if test="stcd != null" > |
||||
STCD, |
||||
</if> |
||||
<if test="stationid != null" > |
||||
STATIONID, |
||||
</if> |
||||
<if test="discharge != null" > |
||||
DISCHARGE, |
||||
</if> |
||||
<if test="name != null" > |
||||
NAME, |
||||
</if> |
||||
<if test="location != null" > |
||||
LOCATION, |
||||
</if> |
||||
<if test="village != null" > |
||||
VILLAGE, |
||||
</if> |
||||
<if test="roadlength != null" > |
||||
ROADLENGTH, |
||||
</if> |
||||
<if test="roadconditiion != null" > |
||||
ROADCONDITIION, |
||||
</if> |
||||
<if test="builddate != null" > |
||||
BUILDDATE, |
||||
</if> |
||||
<if test="completeddate != null" > |
||||
COMPLETEDDATE, |
||||
</if> |
||||
<if test="rainarea != null" > |
||||
RAINAREA, |
||||
</if> |
||||
<if test="designedfloodflow != null" > |
||||
DESIGNEDFLOODFLOW, |
||||
</if> |
||||
<if test="chedkedfloodflow != null" > |
||||
CHEDKEDFLOODFLOW, |
||||
</if> |
||||
<if test="designedfillarea != null" > |
||||
DESIGNEDFILLAREA, |
||||
</if> |
||||
<if test="designedtotalflow != null" > |
||||
DESIGNEDTOTALFLOW, |
||||
</if> |
||||
<if test="checdedtotalflow != null" > |
||||
CHECDEDTOTALFLOW, |
||||
</if> |
||||
<if test="averagerainfall != null" > |
||||
AVERAGERAINFALL, |
||||
</if> |
||||
<if test="designedmaxflow != null" > |
||||
DESIGNEDMAXFLOW, |
||||
</if> |
||||
<if test="checkedmaxflow != null" > |
||||
CHECKEDMAXFLOW, |
||||
</if> |
||||
<if test="volume != null" > |
||||
VOLUME, |
||||
</if> |
||||
<if test="checkedfloodlevel != null" > |
||||
CHECKEDFLOODLEVEL, |
||||
</if> |
||||
<if test="historicalmaxlevel != null" > |
||||
HISTORICALMAXLEVEL, |
||||
</if> |
||||
<if test="floodcontrolvolume != null" > |
||||
FLOODCONTROLVOLUME, |
||||
</if> |
||||
<if test="designedfloodlevel != null" > |
||||
DESIGNEDFLOODLEVEL, |
||||
</if> |
||||
<if test="maxleveltime != null" > |
||||
MAXLEVELTIME, |
||||
</if> |
||||
<if test="utilizablevolume != null" > |
||||
UTILIZABLEVOLUME, |
||||
</if> |
||||
<if test="norrmallevel != null" > |
||||
NORRMALLEVEL, |
||||
</if> |
||||
<if test="flooddetentionvolume != null" > |
||||
FLOODDETENTIONVOLUME, |
||||
</if> |
||||
<if test="deadlevel != null" > |
||||
DEADLEVEL, |
||||
</if> |
||||
<if test="areaCode != null" > |
||||
AREA_CODE, |
||||
</if> |
||||
<if test="lrcd != null" > |
||||
LRCD, |
||||
</if> |
||||
<if test="szhldm != null" > |
||||
SZHLDM, |
||||
</if> |
||||
<if test="dongj != null" > |
||||
DONGJ, |
||||
</if> |
||||
<if test="beiw != null" > |
||||
BEIW, |
||||
</if> |
||||
<if test="mjflsscnwl != null" > |
||||
MJFLSSCNWL, |
||||
</if> |
||||
</trim> |
||||
<trim prefix="values (" suffix=")" suffixOverrides="," > |
||||
<if test="stcd != null" > |
||||
#{stcd,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="stationid != null" > |
||||
#{stationid,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="discharge != null" > |
||||
#{discharge,jdbcType=REAL}, |
||||
</if> |
||||
<if test="name != null" > |
||||
#{name,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="location != null" > |
||||
#{location,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="village != null" > |
||||
#{village,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="roadlength != null" > |
||||
#{roadlength,jdbcType=REAL}, |
||||
</if> |
||||
<if test="roadconditiion != null" > |
||||
#{roadconditiion,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="builddate != null" > |
||||
#{builddate,jdbcType=DATE}, |
||||
</if> |
||||
<if test="completeddate != null" > |
||||
#{completeddate,jdbcType=DATE}, |
||||
</if> |
||||
<if test="rainarea != null" > |
||||
#{rainarea,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedfloodflow != null" > |
||||
#{designedfloodflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="chedkedfloodflow != null" > |
||||
#{chedkedfloodflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedfillarea != null" > |
||||
#{designedfillarea,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedtotalflow != null" > |
||||
#{designedtotalflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="checdedtotalflow != null" > |
||||
#{checdedtotalflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="averagerainfall != null" > |
||||
#{averagerainfall,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedmaxflow != null" > |
||||
#{designedmaxflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="checkedmaxflow != null" > |
||||
#{checkedmaxflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="volume != null" > |
||||
#{volume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="checkedfloodlevel != null" > |
||||
#{checkedfloodlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="historicalmaxlevel != null" > |
||||
#{historicalmaxlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="floodcontrolvolume != null" > |
||||
#{floodcontrolvolume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedfloodlevel != null" > |
||||
#{designedfloodlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="maxleveltime != null" > |
||||
#{maxleveltime,jdbcType=TIMESTAMP}, |
||||
</if> |
||||
<if test="utilizablevolume != null" > |
||||
#{utilizablevolume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="norrmallevel != null" > |
||||
#{norrmallevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="flooddetentionvolume != null" > |
||||
#{flooddetentionvolume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="deadlevel != null" > |
||||
#{deadlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="areaCode != null" > |
||||
#{areaCode,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="lrcd != null" > |
||||
#{lrcd,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="szhldm != null" > |
||||
#{szhldm,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="dongj != null" > |
||||
#{dongj,jdbcType=REAL}, |
||||
</if> |
||||
<if test="beiw != null" > |
||||
#{beiw,jdbcType=REAL}, |
||||
</if> |
||||
<if test="mjflsscnwl != null" > |
||||
#{mjflsscnwl,jdbcType=REAL}, |
||||
</if> |
||||
</trim> |
||||
</insert> |
||||
<update id="updateByPrimaryKeySelective" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirInfo" > |
||||
update reservoir_info |
||||
<set > |
||||
<if test="stationid != null" > |
||||
STATIONID = #{stationid,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="discharge != null" > |
||||
DISCHARGE = #{discharge,jdbcType=REAL}, |
||||
</if> |
||||
<if test="name != null" > |
||||
NAME = #{name,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="location != null" > |
||||
LOCATION = #{location,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="village != null" > |
||||
VILLAGE = #{village,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="roadlength != null" > |
||||
ROADLENGTH = #{roadlength,jdbcType=REAL}, |
||||
</if> |
||||
<if test="roadconditiion != null" > |
||||
ROADCONDITIION = #{roadconditiion,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="builddate != null" > |
||||
BUILDDATE = #{builddate,jdbcType=DATE}, |
||||
</if> |
||||
<if test="completeddate != null" > |
||||
COMPLETEDDATE = #{completeddate,jdbcType=DATE}, |
||||
</if> |
||||
<if test="rainarea != null" > |
||||
RAINAREA = #{rainarea,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedfloodflow != null" > |
||||
DESIGNEDFLOODFLOW = #{designedfloodflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="chedkedfloodflow != null" > |
||||
CHEDKEDFLOODFLOW = #{chedkedfloodflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedfillarea != null" > |
||||
DESIGNEDFILLAREA = #{designedfillarea,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedtotalflow != null" > |
||||
DESIGNEDTOTALFLOW = #{designedtotalflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="checdedtotalflow != null" > |
||||
CHECDEDTOTALFLOW = #{checdedtotalflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="averagerainfall != null" > |
||||
AVERAGERAINFALL = #{averagerainfall,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedmaxflow != null" > |
||||
DESIGNEDMAXFLOW = #{designedmaxflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="checkedmaxflow != null" > |
||||
CHECKEDMAXFLOW = #{checkedmaxflow,jdbcType=REAL}, |
||||
</if> |
||||
<if test="volume != null" > |
||||
VOLUME = #{volume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="checkedfloodlevel != null" > |
||||
CHECKEDFLOODLEVEL = #{checkedfloodlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="historicalmaxlevel != null" > |
||||
HISTORICALMAXLEVEL = #{historicalmaxlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="floodcontrolvolume != null" > |
||||
FLOODCONTROLVOLUME = #{floodcontrolvolume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="designedfloodlevel != null" > |
||||
DESIGNEDFLOODLEVEL = #{designedfloodlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="maxleveltime != null" > |
||||
MAXLEVELTIME = #{maxleveltime,jdbcType=TIMESTAMP}, |
||||
</if> |
||||
<if test="utilizablevolume != null" > |
||||
UTILIZABLEVOLUME = #{utilizablevolume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="norrmallevel != null" > |
||||
NORRMALLEVEL = #{norrmallevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="flooddetentionvolume != null" > |
||||
FLOODDETENTIONVOLUME = #{flooddetentionvolume,jdbcType=REAL}, |
||||
</if> |
||||
<if test="deadlevel != null" > |
||||
DEADLEVEL = #{deadlevel,jdbcType=REAL}, |
||||
</if> |
||||
<if test="areaCode != null" > |
||||
AREA_CODE = #{areaCode,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="lrcd != null" > |
||||
LRCD = #{lrcd,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="szhldm != null" > |
||||
SZHLDM = #{szhldm,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="dongj != null" > |
||||
DONGJ = #{dongj,jdbcType=REAL}, |
||||
</if> |
||||
<if test="beiw != null" > |
||||
BEIW = #{beiw,jdbcType=REAL}, |
||||
</if> |
||||
<if test="mjflsscnwl != null" > |
||||
MJFLSSCNWL = #{mjflsscnwl,jdbcType=REAL}, |
||||
</if> |
||||
</set> |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</update> |
||||
<update id="updateByPrimaryKey" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirInfo" > |
||||
update reservoir_info |
||||
set STATIONID = #{stationid,jdbcType=VARCHAR}, |
||||
DISCHARGE = #{discharge,jdbcType=REAL}, |
||||
NAME = #{name,jdbcType=VARCHAR}, |
||||
LOCATION = #{location,jdbcType=VARCHAR}, |
||||
VILLAGE = #{village,jdbcType=VARCHAR}, |
||||
ROADLENGTH = #{roadlength,jdbcType=REAL}, |
||||
ROADCONDITIION = #{roadconditiion,jdbcType=VARCHAR}, |
||||
BUILDDATE = #{builddate,jdbcType=DATE}, |
||||
COMPLETEDDATE = #{completeddate,jdbcType=DATE}, |
||||
RAINAREA = #{rainarea,jdbcType=REAL}, |
||||
DESIGNEDFLOODFLOW = #{designedfloodflow,jdbcType=REAL}, |
||||
CHEDKEDFLOODFLOW = #{chedkedfloodflow,jdbcType=REAL}, |
||||
DESIGNEDFILLAREA = #{designedfillarea,jdbcType=REAL}, |
||||
DESIGNEDTOTALFLOW = #{designedtotalflow,jdbcType=REAL}, |
||||
CHECDEDTOTALFLOW = #{checdedtotalflow,jdbcType=REAL}, |
||||
AVERAGERAINFALL = #{averagerainfall,jdbcType=REAL}, |
||||
DESIGNEDMAXFLOW = #{designedmaxflow,jdbcType=REAL}, |
||||
CHECKEDMAXFLOW = #{checkedmaxflow,jdbcType=REAL}, |
||||
VOLUME = #{volume,jdbcType=REAL}, |
||||
CHECKEDFLOODLEVEL = #{checkedfloodlevel,jdbcType=REAL}, |
||||
HISTORICALMAXLEVEL = #{historicalmaxlevel,jdbcType=REAL}, |
||||
FLOODCONTROLVOLUME = #{floodcontrolvolume,jdbcType=REAL}, |
||||
DESIGNEDFLOODLEVEL = #{designedfloodlevel,jdbcType=REAL}, |
||||
MAXLEVELTIME = #{maxleveltime,jdbcType=TIMESTAMP}, |
||||
UTILIZABLEVOLUME = #{utilizablevolume,jdbcType=REAL}, |
||||
NORRMALLEVEL = #{norrmallevel,jdbcType=REAL}, |
||||
FLOODDETENTIONVOLUME = #{flooddetentionvolume,jdbcType=REAL}, |
||||
DEADLEVEL = #{deadlevel,jdbcType=REAL}, |
||||
AREA_CODE = #{areaCode,jdbcType=VARCHAR}, |
||||
LRCD = #{lrcd,jdbcType=VARCHAR}, |
||||
SZHLDM = #{szhldm,jdbcType=VARCHAR}, |
||||
DONGJ = #{dongj,jdbcType=REAL}, |
||||
BEIW = #{beiw,jdbcType=REAL}, |
||||
MJFLSSCNWL = #{mjflsscnwl,jdbcType=REAL} |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</update> |
||||
|
||||
|
||||
|
||||
<select id="selectByNameAndStationId" resultMap="BaseResultMap"> |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from reservoir_info |
||||
where |
||||
1=1 |
||||
<if test="stationIds != null and stationIds.size()>0"> |
||||
and stationId in |
||||
<foreach collection="stationIds" index="index" item="item" |
||||
open="(" separator="," close=")"> |
||||
#{item} |
||||
</foreach> |
||||
</if> |
||||
<if test="name != null and name != ''"> |
||||
and name like CONCAT('%',#{name},'%') |
||||
</if> |
||||
|
||||
<if test="areaCode != null and areaCode != ''"> |
||||
and AREA_CODE like CONCAT('%',#{areaCode},'%') |
||||
</if> |
||||
|
||||
<if test="riverCode != null and riverCode != ''"> |
||||
and SZHLDM = #{riverCode} |
||||
</if> |
||||
</select> |
||||
</mapper> |
@ -1,21 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.mapper; |
||||
|
||||
import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; |
||||
import com.hnac.hzims.baseinfo.entity.ReservoirRefdataExample; |
||||
|
||||
import java.util.List; |
||||
public interface ReservoirRefdataMapper { |
||||
int deleteByPrimaryKey(String stcd); |
||||
|
||||
int insert(ReservoirRefdata record); |
||||
|
||||
int insertSelective(ReservoirRefdata record); |
||||
|
||||
List<ReservoirRefdata> selectByExample(ReservoirRefdataExample example); |
||||
|
||||
ReservoirRefdata selectByPrimaryKey(String stcd); |
||||
|
||||
int updateByPrimaryKeySelective(ReservoirRefdata record); |
||||
|
||||
int updateByPrimaryKey(ReservoirRefdata record); |
||||
} |
@ -1,125 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
||||
<mapper namespace="com.hnac.hzims.baseinfo.mapper.ReservoirRefdataMapper" > |
||||
<resultMap id="BaseResultMap" type="com.hnac.hzims.baseinfo.entity.ReservoirRefdata" > |
||||
<id column="STCD" property="stcd" jdbcType="VARCHAR" /> |
||||
<result column="REFSTCD" property="refstcd" jdbcType="CHAR" /> |
||||
<result column="REFQPOINT" property="refqpoint" jdbcType="VARCHAR" /> |
||||
<result column="REFZPOINT" property="refzpoint" jdbcType="CHAR" /> |
||||
</resultMap> |
||||
<sql id="Example_Where_Clause" > |
||||
<where > |
||||
<foreach collection="oredCriteria" item="criteria" separator="or" > |
||||
<if test="criteria.valid" > |
||||
<trim prefix="(" suffix=")" prefixOverrides="and" > |
||||
<foreach collection="criteria.criteria" item="criterion" > |
||||
<choose > |
||||
<when test="criterion.noValue" > |
||||
and ${criterion.condition} |
||||
</when> |
||||
<when test="criterion.singleValue" > |
||||
and ${criterion.condition} #{criterion.value} |
||||
</when> |
||||
<when test="criterion.betweenValue" > |
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
||||
</when> |
||||
<when test="criterion.listValue" > |
||||
and ${criterion.condition} |
||||
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," > |
||||
#{listItem} |
||||
</foreach> |
||||
</when> |
||||
</choose> |
||||
</foreach> |
||||
</trim> |
||||
</if> |
||||
</foreach> |
||||
</where> |
||||
</sql> |
||||
<sql id="Base_Column_List" > |
||||
STCD, REFSTCD, REFQPOINT, REFZPOINT |
||||
</sql> |
||||
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirRefdataExample" > |
||||
select |
||||
<if test="distinct" > |
||||
distinct |
||||
</if> |
||||
<include refid="Base_Column_List" /> |
||||
from reservoir_refdata |
||||
<if test="_parameter != null" > |
||||
<include refid="Example_Where_Clause" /> |
||||
</if> |
||||
<if test="orderByClause != null" > |
||||
order by ${orderByClause} |
||||
</if> |
||||
</select> |
||||
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from reservoir_refdata |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</select> |
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" > |
||||
delete from reservoir_refdata |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</delete> |
||||
<insert id="insert" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirRefdata" > |
||||
insert into reservoir_refdata (STCD, REFSTCD, REFQPOINT, |
||||
REFZPOINT) |
||||
values (#{stcd,jdbcType=VARCHAR}, #{refstcd,jdbcType=CHAR}, #{refqpoint,jdbcType=VARCHAR}, |
||||
#{refzpoint,jdbcType=CHAR}) |
||||
</insert> |
||||
<insert id="insertSelective" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirRefdata" > |
||||
insert into reservoir_refdata |
||||
<trim prefix="(" suffix=")" suffixOverrides="," > |
||||
<if test="stcd != null" > |
||||
STCD, |
||||
</if> |
||||
<if test="refstcd != null" > |
||||
REFSTCD, |
||||
</if> |
||||
<if test="refqpoint != null" > |
||||
REFQPOINT, |
||||
</if> |
||||
<if test="refzpoint != null" > |
||||
REFZPOINT, |
||||
</if> |
||||
</trim> |
||||
<trim prefix="values (" suffix=")" suffixOverrides="," > |
||||
<if test="stcd != null" > |
||||
#{stcd,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="refstcd != null" > |
||||
#{refstcd,jdbcType=CHAR}, |
||||
</if> |
||||
<if test="refqpoint != null" > |
||||
#{refqpoint,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="refzpoint != null" > |
||||
#{refzpoint,jdbcType=CHAR}, |
||||
</if> |
||||
</trim> |
||||
</insert> |
||||
<update id="updateByPrimaryKeySelective" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirRefdata" > |
||||
update reservoir_refdata |
||||
<set > |
||||
<if test="refstcd != null" > |
||||
REFSTCD = #{refstcd,jdbcType=CHAR}, |
||||
</if> |
||||
<if test="refqpoint != null" > |
||||
REFQPOINT = #{refqpoint,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="refzpoint != null" > |
||||
REFZPOINT = #{refzpoint,jdbcType=CHAR}, |
||||
</if> |
||||
</set> |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</update> |
||||
<update id="updateByPrimaryKey" parameterType="com.hnac.hzims.baseinfo.entity.ReservoirRefdata" > |
||||
update reservoir_refdata |
||||
set REFSTCD = #{refstcd,jdbcType=CHAR}, |
||||
REFQPOINT = #{refqpoint,jdbcType=VARCHAR}, |
||||
REFZPOINT = #{refzpoint,jdbcType=CHAR} |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
</update> |
||||
</mapper> |
@ -1,28 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.hnac.hzims.baseinfo.entity.StZvarlB; |
||||
import com.hnac.hzims.baseinfo.entity.StZvarlBExample; |
||||
import org.apache.ibatis.annotations.Param; |
||||
|
||||
import java.util.List; |
||||
public interface StZvarlBMapper { |
||||
int deleteByPrimaryKey(Integer id); |
||||
|
||||
int insert(StZvarlB record); |
||||
|
||||
int insertSelective(StZvarlB record); |
||||
|
||||
List<StZvarlB> selectByExample(StZvarlBExample example); |
||||
|
||||
StZvarlB selectByPrimaryKey(Integer id); |
||||
|
||||
int updateByPrimaryKeySelective(StZvarlB record); |
||||
|
||||
int updateByPrimaryKey(StZvarlB record); |
||||
IPage<StZvarlB> selectByStcd(@Param("stcd") String stcd, IPage<StZvarlB> page); |
||||
|
||||
List<StZvarlB> selectMaxMin(StZvarlB stZvarlB); |
||||
|
||||
List<StZvarlB> selectStZvarlB(@Param("stcd") String stcd); |
||||
} |
@ -1,192 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
||||
<mapper namespace="com.hnac.hzims.baseinfo.mapper.StZvarlBMapper" > |
||||
<resultMap id="BaseResultMap" type="com.hnac.hzims.baseinfo.entity.StZvarlB" > |
||||
<id column="ID" property="id" jdbcType="INTEGER" /> |
||||
<result column="STCD" property="stcd" jdbcType="VARCHAR" /> |
||||
<result column="MSTM" property="mstm" jdbcType="TIMESTAMP" /> |
||||
<result column="PTNO" property="ptno" jdbcType="INTEGER" /> |
||||
<result column="RZ" property="rz" jdbcType="DECIMAL" /> |
||||
<result column="W" property="w" jdbcType="DECIMAL" /> |
||||
<result column="WSFA" property="wsfa" jdbcType="DECIMAL" /> |
||||
<result column="MODITIME" property="moditime" jdbcType="TIMESTAMP" /> |
||||
</resultMap> |
||||
<sql id="Example_Where_Clause" > |
||||
<where > |
||||
<foreach collection="oredCriteria" item="criteria" separator="or" > |
||||
<if test="criteria.valid" > |
||||
<trim prefix="(" suffix=")" prefixOverrides="and" > |
||||
<foreach collection="criteria.criteria" item="criterion" > |
||||
<choose > |
||||
<when test="criterion.noValue" > |
||||
and ${criterion.condition} |
||||
</when> |
||||
<when test="criterion.singleValue" > |
||||
and ${criterion.condition} #{criterion.value} |
||||
</when> |
||||
<when test="criterion.betweenValue" > |
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
||||
</when> |
||||
<when test="criterion.listValue" > |
||||
and ${criterion.condition} |
||||
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," > |
||||
#{listItem} |
||||
</foreach> |
||||
</when> |
||||
</choose> |
||||
</foreach> |
||||
</trim> |
||||
</if> |
||||
</foreach> |
||||
</where> |
||||
</sql> |
||||
<sql id="Base_Column_List" > |
||||
ID, STCD, MSTM, PTNO, RZ, W, WSFA, MODITIME |
||||
</sql> |
||||
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.hnac.hzims.baseinfo.entity.StZvarlBExample" > |
||||
select |
||||
<if test="distinct" > |
||||
distinct |
||||
</if> |
||||
<include refid="Base_Column_List" /> |
||||
from st_zvarl_b |
||||
<if test="_parameter != null" > |
||||
<include refid="Example_Where_Clause" /> |
||||
</if> |
||||
<if test="orderByClause != null" > |
||||
order by ${orderByClause} |
||||
</if> |
||||
</select> |
||||
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" > |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from st_zvarl_b |
||||
where ID = #{id,jdbcType=INTEGER} |
||||
</select> |
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" > |
||||
delete from st_zvarl_b |
||||
where ID = #{id,jdbcType=INTEGER} |
||||
</delete> |
||||
<insert id="insert" parameterType="com.hnac.hzims.baseinfo.entity.StZvarlB" > |
||||
insert into st_zvarl_b (ID, STCD, MSTM, |
||||
PTNO, RZ, W, WSFA, |
||||
MODITIME) |
||||
values (#{id,jdbcType=INTEGER}, #{stcd,jdbcType=VARCHAR}, #{mstm,jdbcType=TIMESTAMP}, |
||||
#{ptno,jdbcType=INTEGER}, #{rz,jdbcType=DECIMAL}, #{w,jdbcType=DECIMAL}, #{wsfa,jdbcType=DECIMAL}, |
||||
#{moditime,jdbcType=TIMESTAMP}) |
||||
</insert> |
||||
<insert id="insertSelective" parameterType="com.hnac.hzims.baseinfo.entity.StZvarlB" > |
||||
insert into st_zvarl_b |
||||
<trim prefix="(" suffix=")" suffixOverrides="," > |
||||
<if test="id != null" > |
||||
ID, |
||||
</if> |
||||
<if test="stcd != null" > |
||||
STCD, |
||||
</if> |
||||
<if test="mstm != null" > |
||||
MSTM, |
||||
</if> |
||||
<if test="ptno != null" > |
||||
PTNO, |
||||
</if> |
||||
<if test="rz != null" > |
||||
RZ, |
||||
</if> |
||||
<if test="w != null" > |
||||
W, |
||||
</if> |
||||
<if test="wsfa != null" > |
||||
WSFA, |
||||
</if> |
||||
<if test="moditime != null" > |
||||
MODITIME, |
||||
</if> |
||||
</trim> |
||||
<trim prefix="values (" suffix=")" suffixOverrides="," > |
||||
<if test="id != null" > |
||||
#{id,jdbcType=INTEGER}, |
||||
</if> |
||||
<if test="stcd != null" > |
||||
#{stcd,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="mstm != null" > |
||||
#{mstm,jdbcType=TIMESTAMP}, |
||||
</if> |
||||
<if test="ptno != null" > |
||||
#{ptno,jdbcType=INTEGER}, |
||||
</if> |
||||
<if test="rz != null" > |
||||
#{rz,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="w != null" > |
||||
#{w,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="wsfa != null" > |
||||
#{wsfa,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="moditime != null" > |
||||
#{moditime,jdbcType=TIMESTAMP}, |
||||
</if> |
||||
</trim> |
||||
</insert> |
||||
<update id="updateByPrimaryKeySelective" parameterType="com.hnac.hzims.baseinfo.entity.StZvarlB" > |
||||
update st_zvarl_b |
||||
<set > |
||||
<if test="stcd != null" > |
||||
STCD = #{stcd,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="mstm != null" > |
||||
MSTM = #{mstm,jdbcType=TIMESTAMP}, |
||||
</if> |
||||
<if test="ptno != null" > |
||||
PTNO = #{ptno,jdbcType=INTEGER}, |
||||
</if> |
||||
<if test="rz != null" > |
||||
RZ = #{rz,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="w != null" > |
||||
W = #{w,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="wsfa != null" > |
||||
WSFA = #{wsfa,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="moditime != null" > |
||||
MODITIME = #{moditime,jdbcType=TIMESTAMP}, |
||||
</if> |
||||
</set> |
||||
where ID = #{id,jdbcType=INTEGER} |
||||
</update> |
||||
<update id="updateByPrimaryKey" parameterType="com.hnac.hzims.baseinfo.entity.StZvarlB" > |
||||
update st_zvarl_b |
||||
set STCD = #{stcd,jdbcType=VARCHAR}, |
||||
MSTM = #{mstm,jdbcType=TIMESTAMP}, |
||||
PTNO = #{ptno,jdbcType=INTEGER}, |
||||
RZ = #{rz,jdbcType=DECIMAL}, |
||||
W = #{w,jdbcType=DECIMAL}, |
||||
WSFA = #{wsfa,jdbcType=DECIMAL}, |
||||
MODITIME = #{moditime,jdbcType=TIMESTAMP} |
||||
where ID = #{id,jdbcType=INTEGER} |
||||
</update> |
||||
|
||||
<select id="selectMaxMin" resultMap="BaseResultMap" parameterType="com.hnac.hzims.baseinfo.entity.StZvarlB"> |
||||
SELECT * FROM ST_ZVARL_B WHERE W=( |
||||
SELECT MAX(W) FROM ST_ZVARL_B WHERE RZ <= #{rz} AND STCD=#{stcd} ) AND RZ <= #{rz} AND STCD=#{stcd} |
||||
UNION |
||||
SELECT * FROM ST_ZVARL_B WHERE W=( |
||||
SELECT MIN(W) FROM ST_ZVARL_B WHERE RZ > #{rz} AND STCD=#{stcd} ) AND RZ > #{rz} AND STCD=#{stcd}; |
||||
</select> |
||||
|
||||
<select id="selectStZvarlB" resultMap="BaseResultMap"> |
||||
SELECT * FROM ST_ZVARL_B WHERE STCD=#{stcd} order by rz |
||||
</select> |
||||
|
||||
|
||||
<select id="selectByStcd" resultMap="BaseResultMap"> |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from st_zvarl_b |
||||
where STCD = #{stcd,jdbcType=VARCHAR} |
||||
order by stcd,ptno |
||||
</select> |
||||
</mapper> |
@ -1,27 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.mapper; |
||||
|
||||
import java.util.List; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.hnac.hzims.baseinfo.entity.WqLrinfB; |
||||
import com.hnac.hzims.baseinfo.entity.WqLrinfBExample; |
||||
import org.apache.ibatis.annotations.Param; |
||||
|
||||
|
||||
public interface WqLrinfBMapper { |
||||
int deleteByPrimaryKey(String lrcd); |
||||
|
||||
int insert(WqLrinfB record); |
||||
|
||||
int insertSelective(WqLrinfB record); |
||||
|
||||
List<WqLrinfB> selectByExample(WqLrinfBExample example); |
||||
|
||||
WqLrinfB selectByPrimaryKey(String lrcd); |
||||
|
||||
int updateByPrimaryKeySelective(WqLrinfB record); |
||||
|
||||
int updateByPrimaryKey(WqLrinfB record); |
||||
|
||||
IPage<WqLrinfB> selectByLrnm(@Param("lrnm")String lrnm, IPage<WqLrinfB> page); |
||||
} |
@ -1,154 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
||||
<mapper namespace="com.hnac.hzims.baseinfo.mapper.WqLrinfBMapper" > |
||||
<resultMap id="BaseResultMap" type="com.hnac.hzims.baseinfo.entity.WqLrinfB" > |
||||
<id column="LRCD" property="lrcd" jdbcType="CHAR" /> |
||||
<result column="WATP" property="watp" jdbcType="CHAR" /> |
||||
<result column="LRNM" property="lrnm" jdbcType="VARCHAR" /> |
||||
<result column="LRAR" property="lrar" jdbcType="DECIMAL" /> |
||||
<result column="RSCP" property="rscp" jdbcType="DECIMAL" /> |
||||
<result column="COORDINATESET" property="coordinateset" jdbcType="VARCHAR" /> |
||||
</resultMap> |
||||
<sql id="Example_Where_Clause" > |
||||
<where > |
||||
<foreach collection="oredCriteria" item="criteria" separator="or" > |
||||
<if test="criteria.valid" > |
||||
<trim prefix="(" suffix=")" prefixOverrides="and" > |
||||
<foreach collection="criteria.criteria" item="criterion" > |
||||
<choose > |
||||
<when test="criterion.noValue" > |
||||
and ${criterion.condition} |
||||
</when> |
||||
<when test="criterion.singleValue" > |
||||
and ${criterion.condition} #{criterion.value} |
||||
</when> |
||||
<when test="criterion.betweenValue" > |
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
||||
</when> |
||||
<when test="criterion.listValue" > |
||||
and ${criterion.condition} |
||||
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," > |
||||
#{listItem} |
||||
</foreach> |
||||
</when> |
||||
</choose> |
||||
</foreach> |
||||
</trim> |
||||
</if> |
||||
</foreach> |
||||
</where> |
||||
</sql> |
||||
<sql id="Base_Column_List" > |
||||
LRCD, WATP, LRNM, LRAR, RSCP, COORDINATESET |
||||
</sql> |
||||
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.hnac.hzims.baseinfo.entity.WqLrinfBExample" > |
||||
select |
||||
<if test="distinct" > |
||||
distinct |
||||
</if> |
||||
<include refid="Base_Column_List" /> |
||||
from wq_lrinf_b |
||||
<if test="_parameter != null" > |
||||
<include refid="Example_Where_Clause" /> |
||||
</if> |
||||
<if test="orderByClause != null" > |
||||
order by ${orderByClause} |
||||
</if> |
||||
</select> |
||||
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from wq_lrinf_b |
||||
where LRCD = #{lrcd,jdbcType=CHAR} |
||||
</select> |
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String" > |
||||
delete from wq_lrinf_b |
||||
where LRCD = #{lrcd,jdbcType=CHAR} |
||||
</delete> |
||||
<insert id="insert" parameterType="com.hnac.hzims.baseinfo.entity.WqLrinfB" > |
||||
insert into wq_lrinf_b (LRCD, WATP, LRNM, LRAR, |
||||
RSCP, COORDINATESET) |
||||
values (#{lrcd,jdbcType=CHAR}, #{watp,jdbcType=CHAR}, #{lrnm,jdbcType=VARCHAR}, #{lrar,jdbcType=DECIMAL}, |
||||
#{rscp,jdbcType=DECIMAL}, #{coordinateset,jdbcType=VARCHAR}) |
||||
</insert> |
||||
<insert id="insertSelective" parameterType="com.hnac.hzims.baseinfo.entity.WqLrinfB" > |
||||
insert into wq_lrinf_b |
||||
<trim prefix="(" suffix=")" suffixOverrides="," > |
||||
<if test="lrcd != null" > |
||||
LRCD, |
||||
</if> |
||||
<if test="watp != null" > |
||||
WATP, |
||||
</if> |
||||
<if test="lrnm != null" > |
||||
LRNM, |
||||
</if> |
||||
<if test="lrar != null" > |
||||
LRAR, |
||||
</if> |
||||
<if test="rscp != null" > |
||||
RSCP, |
||||
</if> |
||||
<if test="coordinateset != null" > |
||||
COORDINATESET, |
||||
</if> |
||||
</trim> |
||||
<trim prefix="values (" suffix=")" suffixOverrides="," > |
||||
<if test="lrcd != null" > |
||||
#{lrcd,jdbcType=CHAR}, |
||||
</if> |
||||
<if test="watp != null" > |
||||
#{watp,jdbcType=CHAR}, |
||||
</if> |
||||
<if test="lrnm != null" > |
||||
#{lrnm,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="lrar != null" > |
||||
#{lrar,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="rscp != null" > |
||||
#{rscp,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="coordinateset != null" > |
||||
#{coordinateset,jdbcType=VARCHAR}, |
||||
</if> |
||||
</trim> |
||||
</insert> |
||||
<update id="updateByPrimaryKeySelective" parameterType="com.hnac.hzims.baseinfo.entity.WqLrinfB" > |
||||
update wq_lrinf_b |
||||
<set > |
||||
<if test="watp != null" > |
||||
WATP = #{watp,jdbcType=CHAR}, |
||||
</if> |
||||
<if test="lrnm != null" > |
||||
LRNM = #{lrnm,jdbcType=VARCHAR}, |
||||
</if> |
||||
<if test="lrar != null" > |
||||
LRAR = #{lrar,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="rscp != null" > |
||||
RSCP = #{rscp,jdbcType=DECIMAL}, |
||||
</if> |
||||
<if test="coordinateset != null" > |
||||
COORDINATESET = #{coordinateset,jdbcType=VARCHAR}, |
||||
</if> |
||||
</set> |
||||
where LRCD = #{lrcd,jdbcType=CHAR} |
||||
</update> |
||||
<update id="updateByPrimaryKey" parameterType="com.hnac.hzims.baseinfo.entity.WqLrinfB" > |
||||
update wq_lrinf_b |
||||
set WATP = #{watp,jdbcType=CHAR}, |
||||
LRNM = #{lrnm,jdbcType=VARCHAR}, |
||||
LRAR = #{lrar,jdbcType=DECIMAL}, |
||||
RSCP = #{rscp,jdbcType=DECIMAL}, |
||||
COORDINATESET = #{coordinateset,jdbcType=VARCHAR} |
||||
where LRCD = #{lrcd,jdbcType=CHAR} |
||||
</update> |
||||
|
||||
<select id="selectByLrnm" resultMap="BaseResultMap"> |
||||
select |
||||
<include refid="Base_Column_List" /> |
||||
from wq_lrinf_b |
||||
where lrnm like CONCAT('%',#{lrnm},'%') |
||||
</select> |
||||
</mapper> |
@ -1,13 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; |
||||
|
||||
/** |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/8/9 10:42 |
||||
*/ |
||||
public interface FileReservoirInfoService extends IService<FileReservoirInfo> { |
||||
} |
@ -1,13 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.hnac.hzims.baseinfo.entity.ImageReservoirInfo; |
||||
|
||||
/** |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/8/9 10:42 |
||||
*/ |
||||
public interface ImageReservoirInfoService extends IService<ImageReservoirInfo> { |
||||
} |
@ -1,18 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.hnac.hzims.baseinfo.entity.IrrBIReach; |
||||
import org.springblade.core.tool.api.R; |
||||
|
||||
public interface IrrBIReachService { |
||||
|
||||
IPage<IrrBIReach> bindIrrBIReachs(String riverName, Page<IrrBIReach> page); |
||||
|
||||
R addOrEditIrrBIReach(IrrBIReach irrBIReach, String operate); |
||||
|
||||
R delIrrBIReach(String riverCode); |
||||
|
||||
IrrBIReach getIrrBIReach(String riverCode); |
||||
|
||||
} |
@ -1,25 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.hnac.hzims.baseinfo.entity.ReservoirInfo; |
||||
import com.hnac.hzims.baseinfo.vo.ReservoirInfoVo; |
||||
import org.springblade.core.mp.support.Query; |
||||
import org.springblade.core.tool.api.R; |
||||
|
||||
import java.util.List; |
||||
|
||||
public interface ReservoirInfoService { |
||||
|
||||
IPage<ReservoirInfoVo> bindReservoirList(String name, String areaCode, String riverCode, |
||||
List<String> stationIds, Query query); |
||||
|
||||
IPage<ReservoirInfo> bindReservoirList(String name, String areaCode, String riverCode, |
||||
List<String> stationIds, IPage<ReservoirInfo> page); |
||||
|
||||
ReservoirInfoVo getReservoir(String id); |
||||
|
||||
R addOrEditReservoir(ReservoirInfoVo reservoirInfoVo, String operate); |
||||
|
||||
R delReservoir(String id); |
||||
|
||||
} |
@ -1,15 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
import com.hnac.hzims.baseinfo.entity.ReservoirRefdata; |
||||
import com.hnac.hzims.baseinfo.vo.ReservoirRefdataVo; |
||||
import org.springblade.core.tool.api.R; |
||||
|
||||
public interface ReservoirRefDataService { |
||||
|
||||
R configReservoirRefData(ReservoirRefdata reservoirRefdata); |
||||
|
||||
R delReservoirRefData(String rstcd); |
||||
|
||||
ReservoirRefdataVo getReservoirRefData(String stcd); |
||||
|
||||
} |
@ -1,11 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
|
||||
|
||||
import com.hnac.hzims.baseinfo.entity.ReservoirWaterManage; |
||||
|
||||
import java.util.List; |
||||
|
||||
public interface ReservoirWaterManageService { |
||||
List<ReservoirWaterManage> getReservoirWaterManage(String stcd, List<Integer> months); |
||||
} |
@ -1,26 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.hnac.hzims.baseinfo.entity.StZvarlB; |
||||
import org.springblade.core.tool.api.R; |
||||
|
||||
|
||||
import java.math.BigDecimal; |
||||
import java.util.List; |
||||
|
||||
public interface StZvarlBService { |
||||
|
||||
IPage<StZvarlB> bindStZvarlBs(String stcd, IPage<StZvarlB> page); |
||||
|
||||
R addOrEditStZvarlB(StZvarlB stZvarlB); |
||||
|
||||
R delStZvarlB(Integer id); |
||||
|
||||
BigDecimal getWValue(String stcd,BigDecimal rz); |
||||
//根据水库获取库容曲线
|
||||
List<StZvarlB> selectStZvarlB(String stcd); |
||||
//计算库容
|
||||
BigDecimal calcResp(List<StZvarlB> list,BigDecimal rz); |
||||
//计算小于等于rz最大 和 大于rz最小值的 水位与库容关系两个点
|
||||
List<StZvarlB> calcMaxMin(List<StZvarlB> list, BigDecimal rz); |
||||
} |
@ -1,20 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.hnac.hzims.baseinfo.entity.WqLrinfB; |
||||
import org.springblade.core.tool.api.R; |
||||
|
||||
public interface WqLrinfBService { |
||||
|
||||
IPage<WqLrinfB> bindWqLrinfBs(String lrnm, Page<WqLrinfB> page); |
||||
|
||||
WqLrinfB getWqLrinfB(String lrcd); |
||||
|
||||
R delWqLrinfB(String lrcd); |
||||
|
||||
R editWqLrinfB(WqLrinfB wqLrinfB); |
||||
|
||||
R addWqLrinfB(WqLrinfB wqLrinfB); |
||||
|
||||
} |
@ -1,18 +0,0 @@
|
||||
package com.hnac.hzims.baseinfo.service.impl; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.hnac.hzims.baseinfo.entity.FileReservoirInfo; |
||||
import com.hnac.hzims.baseinfo.mapper.FileReservoirInfoMapper; |
||||
import com.hnac.hzims.baseinfo.service.FileReservoirInfoService; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/8/9 10:43 |
||||
*/ |
||||
@Service |
||||
public class FileReservoirInfoServiceImpl extends ServiceImpl<FileReservoirInfoMapper, FileReservoirInfo> |
||||
implements FileReservoirInfoService { |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue