袁野 1 week ago
parent d6617163e4
commit 34200f5271
  1. 34
      service/src/main/java/com/hfkj/dao/EnOilManagementMapper.java
  2. 60
      service/src/main/java/com/hfkj/dao/EnOilManagementSqlProvider.java
  3. 68
      service/src/main/java/com/hfkj/entity/EnOilManagement.java
  4. 226
      service/src/main/java/com/hfkj/entity/EnOilManagementExample.java

@ -41,18 +41,18 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt {
@Insert({ @Insert({
"insert into en_oil_management (`type`, transport_car_id, ", "insert into en_oil_management (`type`, transport_car_id, ",
"transport_car_no, oil_type, ", "transport_car_no, oil_type, ",
"supplier, in_quantity, ", "supplier, num, before_num, ",
"out_quantity, remark, ", "change_num, remark, ",
"`status`, create_user, ", "img, `status`, create_user, ",
"create_user_name, create_time, ", "create_user_name, create_time, ",
"update_user, update_user_name, ", "update_user, update_user_name, ",
"update_time, ext_1, ", "update_time, ext_1, ",
"ext_2, ext_3)", "ext_2, ext_3)",
"values (#{type,jdbcType=INTEGER}, #{transportCarId,jdbcType=BIGINT}, ", "values (#{type,jdbcType=INTEGER}, #{transportCarId,jdbcType=BIGINT}, ",
"#{transportCarNo,jdbcType=VARCHAR}, #{oilType,jdbcType=INTEGER}, ", "#{transportCarNo,jdbcType=VARCHAR}, #{oilType,jdbcType=INTEGER}, ",
"#{supplier,jdbcType=VARCHAR}, #{inQuantity,jdbcType=DECIMAL}, ", "#{supplier,jdbcType=VARCHAR}, #{num,jdbcType=DECIMAL}, #{beforeNum,jdbcType=DECIMAL}, ",
"#{outQuantity,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, ", "#{changeNum,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, ",
"#{status,jdbcType=INTEGER}, #{createUser,jdbcType=BIGINT}, ", "#{img,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createUser,jdbcType=BIGINT}, ",
"#{createUserName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", "#{createUserName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{updateUser,jdbcType=BIGINT}, #{updateUserName,jdbcType=VARCHAR}, ", "#{updateUser,jdbcType=BIGINT}, #{updateUserName,jdbcType=VARCHAR}, ",
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", "#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ",
@ -73,9 +73,11 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt {
@Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR), @Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR),
@Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), @Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER),
@Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), @Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR),
@Result(column="in_quantity", property="inQuantity", jdbcType=JdbcType.DECIMAL), @Result(column="num", property="num", jdbcType=JdbcType.DECIMAL),
@Result(column="out_quantity", property="outQuantity", jdbcType=JdbcType.DECIMAL), @Result(column="before_num", property="beforeNum", jdbcType=JdbcType.DECIMAL),
@Result(column="change_num", property="changeNum", jdbcType=JdbcType.DECIMAL),
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR),
@Result(column="img", property="img", jdbcType=JdbcType.VARCHAR),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), @Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT),
@Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR), @Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR),
@ -91,8 +93,8 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt {
@Select({ @Select({
"select", "select",
"id, `type`, transport_car_id, transport_car_no, oil_type, supplier, in_quantity, ", "id, `type`, transport_car_id, transport_car_no, oil_type, supplier, num, before_num, ",
"out_quantity, remark, `status`, create_user, create_user_name, create_time, ", "change_num, remark, img, `status`, create_user, create_user_name, create_time, ",
"update_user, update_user_name, update_time, ext_1, ext_2, ext_3", "update_user, update_user_name, update_time, ext_1, ext_2, ext_3",
"from en_oil_management", "from en_oil_management",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
@ -104,9 +106,11 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt {
@Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR), @Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR),
@Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), @Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER),
@Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), @Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR),
@Result(column="in_quantity", property="inQuantity", jdbcType=JdbcType.DECIMAL), @Result(column="num", property="num", jdbcType=JdbcType.DECIMAL),
@Result(column="out_quantity", property="outQuantity", jdbcType=JdbcType.DECIMAL), @Result(column="before_num", property="beforeNum", jdbcType=JdbcType.DECIMAL),
@Result(column="change_num", property="changeNum", jdbcType=JdbcType.DECIMAL),
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR),
@Result(column="img", property="img", jdbcType=JdbcType.VARCHAR),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),
@Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), @Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT),
@Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR), @Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR),
@ -136,9 +140,11 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt {
"transport_car_no = #{transportCarNo,jdbcType=VARCHAR},", "transport_car_no = #{transportCarNo,jdbcType=VARCHAR},",
"oil_type = #{oilType,jdbcType=INTEGER},", "oil_type = #{oilType,jdbcType=INTEGER},",
"supplier = #{supplier,jdbcType=VARCHAR},", "supplier = #{supplier,jdbcType=VARCHAR},",
"in_quantity = #{inQuantity,jdbcType=DECIMAL},", "num = #{num,jdbcType=DECIMAL},",
"out_quantity = #{outQuantity,jdbcType=DECIMAL},", "before_num = #{beforeNum,jdbcType=DECIMAL},",
"change_num = #{changeNum,jdbcType=DECIMAL},",
"remark = #{remark,jdbcType=VARCHAR},", "remark = #{remark,jdbcType=VARCHAR},",
"img = #{img,jdbcType=VARCHAR},",
"`status` = #{status,jdbcType=INTEGER},", "`status` = #{status,jdbcType=INTEGER},",
"create_user = #{createUser,jdbcType=BIGINT},", "create_user = #{createUser,jdbcType=BIGINT},",
"create_user_name = #{createUserName,jdbcType=VARCHAR},", "create_user_name = #{createUserName,jdbcType=VARCHAR},",

@ -48,18 +48,26 @@ public class EnOilManagementSqlProvider {
sql.VALUES("supplier", "#{supplier,jdbcType=VARCHAR}"); sql.VALUES("supplier", "#{supplier,jdbcType=VARCHAR}");
} }
if (record.getInQuantity() != null) { if (record.getNum() != null) {
sql.VALUES("in_quantity", "#{inQuantity,jdbcType=DECIMAL}"); sql.VALUES("num", "#{num,jdbcType=DECIMAL}");
} }
if (record.getOutQuantity() != null) { if (record.getBeforeNum() != null) {
sql.VALUES("out_quantity", "#{outQuantity,jdbcType=DECIMAL}"); sql.VALUES("before_num", "#{beforeNum,jdbcType=DECIMAL}");
}
if (record.getChangeNum() != null) {
sql.VALUES("change_num", "#{changeNum,jdbcType=DECIMAL}");
} }
if (record.getRemark() != null) { if (record.getRemark() != null) {
sql.VALUES("remark", "#{remark,jdbcType=VARCHAR}"); sql.VALUES("remark", "#{remark,jdbcType=VARCHAR}");
} }
if (record.getImg() != null) {
sql.VALUES("img", "#{img,jdbcType=VARCHAR}");
}
if (record.getStatus() != null) { if (record.getStatus() != null) {
sql.VALUES("`status`", "#{status,jdbcType=INTEGER}"); sql.VALUES("`status`", "#{status,jdbcType=INTEGER}");
} }
@ -115,9 +123,11 @@ public class EnOilManagementSqlProvider {
sql.SELECT("transport_car_no"); sql.SELECT("transport_car_no");
sql.SELECT("oil_type"); sql.SELECT("oil_type");
sql.SELECT("supplier"); sql.SELECT("supplier");
sql.SELECT("in_quantity"); sql.SELECT("num");
sql.SELECT("out_quantity"); sql.SELECT("before_num");
sql.SELECT("change_num");
sql.SELECT("remark"); sql.SELECT("remark");
sql.SELECT("img");
sql.SELECT("`status`"); sql.SELECT("`status`");
sql.SELECT("create_user"); sql.SELECT("create_user");
sql.SELECT("create_user_name"); sql.SELECT("create_user_name");
@ -169,18 +179,26 @@ public class EnOilManagementSqlProvider {
sql.SET("supplier = #{record.supplier,jdbcType=VARCHAR}"); sql.SET("supplier = #{record.supplier,jdbcType=VARCHAR}");
} }
if (record.getInQuantity() != null) { if (record.getNum() != null) {
sql.SET("in_quantity = #{record.inQuantity,jdbcType=DECIMAL}"); sql.SET("num = #{record.num,jdbcType=DECIMAL}");
}
if (record.getBeforeNum() != null) {
sql.SET("before_num = #{record.beforeNum,jdbcType=DECIMAL}");
} }
if (record.getOutQuantity() != null) { if (record.getChangeNum() != null) {
sql.SET("out_quantity = #{record.outQuantity,jdbcType=DECIMAL}"); sql.SET("change_num = #{record.changeNum,jdbcType=DECIMAL}");
} }
if (record.getRemark() != null) { if (record.getRemark() != null) {
sql.SET("remark = #{record.remark,jdbcType=VARCHAR}"); sql.SET("remark = #{record.remark,jdbcType=VARCHAR}");
} }
if (record.getImg() != null) {
sql.SET("img = #{record.img,jdbcType=VARCHAR}");
}
if (record.getStatus() != null) { if (record.getStatus() != null) {
sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}");
} }
@ -235,9 +253,11 @@ public class EnOilManagementSqlProvider {
sql.SET("transport_car_no = #{record.transportCarNo,jdbcType=VARCHAR}"); sql.SET("transport_car_no = #{record.transportCarNo,jdbcType=VARCHAR}");
sql.SET("oil_type = #{record.oilType,jdbcType=INTEGER}"); sql.SET("oil_type = #{record.oilType,jdbcType=INTEGER}");
sql.SET("supplier = #{record.supplier,jdbcType=VARCHAR}"); sql.SET("supplier = #{record.supplier,jdbcType=VARCHAR}");
sql.SET("in_quantity = #{record.inQuantity,jdbcType=DECIMAL}"); sql.SET("num = #{record.num,jdbcType=DECIMAL}");
sql.SET("out_quantity = #{record.outQuantity,jdbcType=DECIMAL}"); sql.SET("before_num = #{record.beforeNum,jdbcType=DECIMAL}");
sql.SET("change_num = #{record.changeNum,jdbcType=DECIMAL}");
sql.SET("remark = #{record.remark,jdbcType=VARCHAR}"); sql.SET("remark = #{record.remark,jdbcType=VARCHAR}");
sql.SET("img = #{record.img,jdbcType=VARCHAR}");
sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}");
sql.SET("create_user = #{record.createUser,jdbcType=BIGINT}"); sql.SET("create_user = #{record.createUser,jdbcType=BIGINT}");
sql.SET("create_user_name = #{record.createUserName,jdbcType=VARCHAR}"); sql.SET("create_user_name = #{record.createUserName,jdbcType=VARCHAR}");
@ -278,18 +298,26 @@ public class EnOilManagementSqlProvider {
sql.SET("supplier = #{supplier,jdbcType=VARCHAR}"); sql.SET("supplier = #{supplier,jdbcType=VARCHAR}");
} }
if (record.getInQuantity() != null) { if (record.getNum() != null) {
sql.SET("in_quantity = #{inQuantity,jdbcType=DECIMAL}"); sql.SET("num = #{num,jdbcType=DECIMAL}");
}
if (record.getBeforeNum() != null) {
sql.SET("before_num = #{beforeNum,jdbcType=DECIMAL}");
} }
if (record.getOutQuantity() != null) { if (record.getChangeNum() != null) {
sql.SET("out_quantity = #{outQuantity,jdbcType=DECIMAL}"); sql.SET("change_num = #{changeNum,jdbcType=DECIMAL}");
} }
if (record.getRemark() != null) { if (record.getRemark() != null) {
sql.SET("remark = #{remark,jdbcType=VARCHAR}"); sql.SET("remark = #{remark,jdbcType=VARCHAR}");
} }
if (record.getImg() != null) {
sql.SET("img = #{img,jdbcType=VARCHAR}");
}
if (record.getStatus() != null) { if (record.getStatus() != null) {
sql.SET("`status` = #{status,jdbcType=INTEGER}"); sql.SET("`status` = #{status,jdbcType=INTEGER}");
} }

@ -45,20 +45,30 @@ public class EnOilManagement implements Serializable {
private String supplier; private String supplier;
/** /**
* 入库数量 * 数量
*/ */
private BigDecimal inQuantity; private BigDecimal num;
/** /**
* 出库数量 * 变更前数量
*/ */
private BigDecimal outQuantity; private BigDecimal beforeNum;
/**
* 变更后数量
*/
private BigDecimal changeNum;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
/**
* 相关数据照片
*/
private String img;
/** /**
* 状态 * 状态
*/ */
@ -159,20 +169,28 @@ public class EnOilManagement implements Serializable {
this.supplier = supplier; this.supplier = supplier;
} }
public BigDecimal getInQuantity() { public BigDecimal getNum() {
return inQuantity; return num;
}
public void setNum(BigDecimal num) {
this.num = num;
}
public BigDecimal getBeforeNum() {
return beforeNum;
} }
public void setInQuantity(BigDecimal inQuantity) { public void setBeforeNum(BigDecimal beforeNum) {
this.inQuantity = inQuantity; this.beforeNum = beforeNum;
} }
public BigDecimal getOutQuantity() { public BigDecimal getChangeNum() {
return outQuantity; return changeNum;
} }
public void setOutQuantity(BigDecimal outQuantity) { public void setChangeNum(BigDecimal changeNum) {
this.outQuantity = outQuantity; this.changeNum = changeNum;
} }
public String getRemark() { public String getRemark() {
@ -183,6 +201,14 @@ public class EnOilManagement implements Serializable {
this.remark = remark; this.remark = remark;
} }
public String getImg() {
return img;
}
public void setImg(String img) {
this.img = img;
}
public Integer getStatus() { public Integer getStatus() {
return status; return status;
} }
@ -281,9 +307,11 @@ public class EnOilManagement implements Serializable {
&& (this.getTransportCarNo() == null ? other.getTransportCarNo() == null : this.getTransportCarNo().equals(other.getTransportCarNo())) && (this.getTransportCarNo() == null ? other.getTransportCarNo() == null : this.getTransportCarNo().equals(other.getTransportCarNo()))
&& (this.getOilType() == null ? other.getOilType() == null : this.getOilType().equals(other.getOilType())) && (this.getOilType() == null ? other.getOilType() == null : this.getOilType().equals(other.getOilType()))
&& (this.getSupplier() == null ? other.getSupplier() == null : this.getSupplier().equals(other.getSupplier())) && (this.getSupplier() == null ? other.getSupplier() == null : this.getSupplier().equals(other.getSupplier()))
&& (this.getInQuantity() == null ? other.getInQuantity() == null : this.getInQuantity().equals(other.getInQuantity())) && (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum()))
&& (this.getOutQuantity() == null ? other.getOutQuantity() == null : this.getOutQuantity().equals(other.getOutQuantity())) && (this.getBeforeNum() == null ? other.getBeforeNum() == null : this.getBeforeNum().equals(other.getBeforeNum()))
&& (this.getChangeNum() == null ? other.getChangeNum() == null : this.getChangeNum().equals(other.getChangeNum()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())) && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
&& (this.getImg() == null ? other.getImg() == null : this.getImg().equals(other.getImg()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser())) && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
&& (this.getCreateUserName() == null ? other.getCreateUserName() == null : this.getCreateUserName().equals(other.getCreateUserName())) && (this.getCreateUserName() == null ? other.getCreateUserName() == null : this.getCreateUserName().equals(other.getCreateUserName()))
@ -306,9 +334,11 @@ public class EnOilManagement implements Serializable {
result = prime * result + ((getTransportCarNo() == null) ? 0 : getTransportCarNo().hashCode()); result = prime * result + ((getTransportCarNo() == null) ? 0 : getTransportCarNo().hashCode());
result = prime * result + ((getOilType() == null) ? 0 : getOilType().hashCode()); result = prime * result + ((getOilType() == null) ? 0 : getOilType().hashCode());
result = prime * result + ((getSupplier() == null) ? 0 : getSupplier().hashCode()); result = prime * result + ((getSupplier() == null) ? 0 : getSupplier().hashCode());
result = prime * result + ((getInQuantity() == null) ? 0 : getInQuantity().hashCode()); result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode());
result = prime * result + ((getOutQuantity() == null) ? 0 : getOutQuantity().hashCode()); result = prime * result + ((getBeforeNum() == null) ? 0 : getBeforeNum().hashCode());
result = prime * result + ((getChangeNum() == null) ? 0 : getChangeNum().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
result = prime * result + ((getImg() == null) ? 0 : getImg().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode()); result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
result = prime * result + ((getCreateUserName() == null) ? 0 : getCreateUserName().hashCode()); result = prime * result + ((getCreateUserName() == null) ? 0 : getCreateUserName().hashCode());
@ -334,9 +364,11 @@ public class EnOilManagement implements Serializable {
sb.append(", transportCarNo=").append(transportCarNo); sb.append(", transportCarNo=").append(transportCarNo);
sb.append(", oilType=").append(oilType); sb.append(", oilType=").append(oilType);
sb.append(", supplier=").append(supplier); sb.append(", supplier=").append(supplier);
sb.append(", inQuantity=").append(inQuantity); sb.append(", num=").append(num);
sb.append(", outQuantity=").append(outQuantity); sb.append(", beforeNum=").append(beforeNum);
sb.append(", changeNum=").append(changeNum);
sb.append(", remark=").append(remark); sb.append(", remark=").append(remark);
sb.append(", img=").append(img);
sb.append(", status=").append(status); sb.append(", status=").append(status);
sb.append(", createUser=").append(createUser); sb.append(", createUser=").append(createUser);
sb.append(", createUserName=").append(createUserName); sb.append(", createUserName=").append(createUserName);

@ -506,123 +506,183 @@ public class EnOilManagementExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityIsNull() { public Criteria andNumIsNull() {
addCriterion("in_quantity is null"); addCriterion("num is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityIsNotNull() { public Criteria andNumIsNotNull() {
addCriterion("in_quantity is not null"); addCriterion("num is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityEqualTo(BigDecimal value) { public Criteria andNumEqualTo(BigDecimal value) {
addCriterion("in_quantity =", value, "inQuantity"); addCriterion("num =", value, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityNotEqualTo(BigDecimal value) { public Criteria andNumNotEqualTo(BigDecimal value) {
addCriterion("in_quantity <>", value, "inQuantity"); addCriterion("num <>", value, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityGreaterThan(BigDecimal value) { public Criteria andNumGreaterThan(BigDecimal value) {
addCriterion("in_quantity >", value, "inQuantity"); addCriterion("num >", value, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityGreaterThanOrEqualTo(BigDecimal value) { public Criteria andNumGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("in_quantity >=", value, "inQuantity"); addCriterion("num >=", value, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityLessThan(BigDecimal value) { public Criteria andNumLessThan(BigDecimal value) {
addCriterion("in_quantity <", value, "inQuantity"); addCriterion("num <", value, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityLessThanOrEqualTo(BigDecimal value) { public Criteria andNumLessThanOrEqualTo(BigDecimal value) {
addCriterion("in_quantity <=", value, "inQuantity"); addCriterion("num <=", value, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityIn(List<BigDecimal> values) { public Criteria andNumIn(List<BigDecimal> values) {
addCriterion("in_quantity in", values, "inQuantity"); addCriterion("num in", values, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityNotIn(List<BigDecimal> values) { public Criteria andNumNotIn(List<BigDecimal> values) {
addCriterion("in_quantity not in", values, "inQuantity"); addCriterion("num not in", values, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityBetween(BigDecimal value1, BigDecimal value2) { public Criteria andNumBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("in_quantity between", value1, value2, "inQuantity"); addCriterion("num between", value1, value2, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInQuantityNotBetween(BigDecimal value1, BigDecimal value2) { public Criteria andNumNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("in_quantity not between", value1, value2, "inQuantity"); addCriterion("num not between", value1, value2, "num");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityIsNull() { public Criteria andBeforeNumIsNull() {
addCriterion("out_quantity is null"); addCriterion("before_num is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityIsNotNull() { public Criteria andBeforeNumIsNotNull() {
addCriterion("out_quantity is not null"); addCriterion("before_num is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityEqualTo(BigDecimal value) { public Criteria andBeforeNumEqualTo(BigDecimal value) {
addCriterion("out_quantity =", value, "outQuantity"); addCriterion("before_num =", value, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityNotEqualTo(BigDecimal value) { public Criteria andBeforeNumNotEqualTo(BigDecimal value) {
addCriterion("out_quantity <>", value, "outQuantity"); addCriterion("before_num <>", value, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityGreaterThan(BigDecimal value) { public Criteria andBeforeNumGreaterThan(BigDecimal value) {
addCriterion("out_quantity >", value, "outQuantity"); addCriterion("before_num >", value, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityGreaterThanOrEqualTo(BigDecimal value) { public Criteria andBeforeNumGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("out_quantity >=", value, "outQuantity"); addCriterion("before_num >=", value, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityLessThan(BigDecimal value) { public Criteria andBeforeNumLessThan(BigDecimal value) {
addCriterion("out_quantity <", value, "outQuantity"); addCriterion("before_num <", value, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityLessThanOrEqualTo(BigDecimal value) { public Criteria andBeforeNumLessThanOrEqualTo(BigDecimal value) {
addCriterion("out_quantity <=", value, "outQuantity"); addCriterion("before_num <=", value, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityIn(List<BigDecimal> values) { public Criteria andBeforeNumIn(List<BigDecimal> values) {
addCriterion("out_quantity in", values, "outQuantity"); addCriterion("before_num in", values, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityNotIn(List<BigDecimal> values) { public Criteria andBeforeNumNotIn(List<BigDecimal> values) {
addCriterion("out_quantity not in", values, "outQuantity"); addCriterion("before_num not in", values, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityBetween(BigDecimal value1, BigDecimal value2) { public Criteria andBeforeNumBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("out_quantity between", value1, value2, "outQuantity"); addCriterion("before_num between", value1, value2, "beforeNum");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOutQuantityNotBetween(BigDecimal value1, BigDecimal value2) { public Criteria andBeforeNumNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("out_quantity not between", value1, value2, "outQuantity"); addCriterion("before_num not between", value1, value2, "beforeNum");
return (Criteria) this;
}
public Criteria andChangeNumIsNull() {
addCriterion("change_num is null");
return (Criteria) this;
}
public Criteria andChangeNumIsNotNull() {
addCriterion("change_num is not null");
return (Criteria) this;
}
public Criteria andChangeNumEqualTo(BigDecimal value) {
addCriterion("change_num =", value, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumNotEqualTo(BigDecimal value) {
addCriterion("change_num <>", value, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumGreaterThan(BigDecimal value) {
addCriterion("change_num >", value, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("change_num >=", value, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumLessThan(BigDecimal value) {
addCriterion("change_num <", value, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumLessThanOrEqualTo(BigDecimal value) {
addCriterion("change_num <=", value, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumIn(List<BigDecimal> values) {
addCriterion("change_num in", values, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumNotIn(List<BigDecimal> values) {
addCriterion("change_num not in", values, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("change_num between", value1, value2, "changeNum");
return (Criteria) this;
}
public Criteria andChangeNumNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("change_num not between", value1, value2, "changeNum");
return (Criteria) this; return (Criteria) this;
} }
@ -696,6 +756,76 @@ public class EnOilManagementExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andImgIsNull() {
addCriterion("img is null");
return (Criteria) this;
}
public Criteria andImgIsNotNull() {
addCriterion("img is not null");
return (Criteria) this;
}
public Criteria andImgEqualTo(String value) {
addCriterion("img =", value, "img");
return (Criteria) this;
}
public Criteria andImgNotEqualTo(String value) {
addCriterion("img <>", value, "img");
return (Criteria) this;
}
public Criteria andImgGreaterThan(String value) {
addCriterion("img >", value, "img");
return (Criteria) this;
}
public Criteria andImgGreaterThanOrEqualTo(String value) {
addCriterion("img >=", value, "img");
return (Criteria) this;
}
public Criteria andImgLessThan(String value) {
addCriterion("img <", value, "img");
return (Criteria) this;
}
public Criteria andImgLessThanOrEqualTo(String value) {
addCriterion("img <=", value, "img");
return (Criteria) this;
}
public Criteria andImgLike(String value) {
addCriterion("img like", value, "img");
return (Criteria) this;
}
public Criteria andImgNotLike(String value) {
addCriterion("img not like", value, "img");
return (Criteria) this;
}
public Criteria andImgIn(List<String> values) {
addCriterion("img in", values, "img");
return (Criteria) this;
}
public Criteria andImgNotIn(List<String> values) {
addCriterion("img not in", values, "img");
return (Criteria) this;
}
public Criteria andImgBetween(String value1, String value2) {
addCriterion("img between", value1, value2, "img");
return (Criteria) this;
}
public Criteria andImgNotBetween(String value1, String value2) {
addCriterion("img not between", value1, value2, "img");
return (Criteria) this;
}
public Criteria andStatusIsNull() { public Criteria andStatusIsNull() {
addCriterion("`status` is null"); addCriterion("`status` is null");
return (Criteria) this; return (Criteria) this;

Loading…
Cancel
Save