From 34200f527127e9474e42687630d5d648d5d159d0 Mon Sep 17 00:00:00 2001 From: YuanYe <418471657@qq.com> Date: Mon, 14 Jul 2025 15:16:45 +0800 Subject: [PATCH] 1 --- .../com/hfkj/dao/EnOilManagementMapper.java | 34 +-- .../hfkj/dao/EnOilManagementSqlProvider.java | 60 +++-- .../java/com/hfkj/entity/EnOilManagement.java | 68 ++++-- .../hfkj/entity/EnOilManagementExample.java | 226 ++++++++++++++---- 4 files changed, 292 insertions(+), 96 deletions(-) diff --git a/service/src/main/java/com/hfkj/dao/EnOilManagementMapper.java b/service/src/main/java/com/hfkj/dao/EnOilManagementMapper.java index 2e22a3b..5bf01f5 100644 --- a/service/src/main/java/com/hfkj/dao/EnOilManagementMapper.java +++ b/service/src/main/java/com/hfkj/dao/EnOilManagementMapper.java @@ -41,18 +41,18 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt { @Insert({ "insert into en_oil_management (`type`, transport_car_id, ", "transport_car_no, oil_type, ", - "supplier, in_quantity, ", - "out_quantity, remark, ", - "`status`, create_user, ", + "supplier, num, before_num, ", + "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)", "values (#{type,jdbcType=INTEGER}, #{transportCarId,jdbcType=BIGINT}, ", "#{transportCarNo,jdbcType=VARCHAR}, #{oilType,jdbcType=INTEGER}, ", - "#{supplier,jdbcType=VARCHAR}, #{inQuantity,jdbcType=DECIMAL}, ", - "#{outQuantity,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, ", - "#{status,jdbcType=INTEGER}, #{createUser,jdbcType=BIGINT}, ", + "#{supplier,jdbcType=VARCHAR}, #{num,jdbcType=DECIMAL}, #{beforeNum,jdbcType=DECIMAL}, ", + "#{changeNum,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, ", + "#{img,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createUser,jdbcType=BIGINT}, ", "#{createUserName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", "#{updateUser,jdbcType=BIGINT}, #{updateUserName,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="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), @Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), - @Result(column="in_quantity", property="inQuantity", jdbcType=JdbcType.DECIMAL), - @Result(column="out_quantity", property="outQuantity", jdbcType=JdbcType.DECIMAL), + @Result(column="num", property="num", 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="img", property="img", jdbcType=JdbcType.VARCHAR), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), @Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR), @@ -91,8 +93,8 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt { @Select({ "select", - "id, `type`, transport_car_id, transport_car_no, oil_type, supplier, in_quantity, ", - "out_quantity, remark, `status`, create_user, create_user_name, create_time, ", + "id, `type`, transport_car_id, transport_car_no, oil_type, supplier, num, before_num, ", + "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", "from en_oil_management", "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="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), @Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), - @Result(column="in_quantity", property="inQuantity", jdbcType=JdbcType.DECIMAL), - @Result(column="out_quantity", property="outQuantity", jdbcType=JdbcType.DECIMAL), + @Result(column="num", property="num", 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="img", property="img", jdbcType=JdbcType.VARCHAR), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), @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},", "oil_type = #{oilType,jdbcType=INTEGER},", "supplier = #{supplier,jdbcType=VARCHAR},", - "in_quantity = #{inQuantity,jdbcType=DECIMAL},", - "out_quantity = #{outQuantity,jdbcType=DECIMAL},", + "num = #{num,jdbcType=DECIMAL},", + "before_num = #{beforeNum,jdbcType=DECIMAL},", + "change_num = #{changeNum,jdbcType=DECIMAL},", "remark = #{remark,jdbcType=VARCHAR},", + "img = #{img,jdbcType=VARCHAR},", "`status` = #{status,jdbcType=INTEGER},", "create_user = #{createUser,jdbcType=BIGINT},", "create_user_name = #{createUserName,jdbcType=VARCHAR},", diff --git a/service/src/main/java/com/hfkj/dao/EnOilManagementSqlProvider.java b/service/src/main/java/com/hfkj/dao/EnOilManagementSqlProvider.java index 38a3484..29715f4 100644 --- a/service/src/main/java/com/hfkj/dao/EnOilManagementSqlProvider.java +++ b/service/src/main/java/com/hfkj/dao/EnOilManagementSqlProvider.java @@ -48,18 +48,26 @@ public class EnOilManagementSqlProvider { sql.VALUES("supplier", "#{supplier,jdbcType=VARCHAR}"); } - if (record.getInQuantity() != null) { - sql.VALUES("in_quantity", "#{inQuantity,jdbcType=DECIMAL}"); + if (record.getNum() != null) { + sql.VALUES("num", "#{num,jdbcType=DECIMAL}"); } - if (record.getOutQuantity() != null) { - sql.VALUES("out_quantity", "#{outQuantity,jdbcType=DECIMAL}"); + if (record.getBeforeNum() != null) { + sql.VALUES("before_num", "#{beforeNum,jdbcType=DECIMAL}"); + } + + if (record.getChangeNum() != null) { + sql.VALUES("change_num", "#{changeNum,jdbcType=DECIMAL}"); } if (record.getRemark() != null) { sql.VALUES("remark", "#{remark,jdbcType=VARCHAR}"); } + if (record.getImg() != null) { + sql.VALUES("img", "#{img,jdbcType=VARCHAR}"); + } + if (record.getStatus() != null) { sql.VALUES("`status`", "#{status,jdbcType=INTEGER}"); } @@ -115,9 +123,11 @@ public class EnOilManagementSqlProvider { sql.SELECT("transport_car_no"); sql.SELECT("oil_type"); sql.SELECT("supplier"); - sql.SELECT("in_quantity"); - sql.SELECT("out_quantity"); + sql.SELECT("num"); + sql.SELECT("before_num"); + sql.SELECT("change_num"); sql.SELECT("remark"); + sql.SELECT("img"); sql.SELECT("`status`"); sql.SELECT("create_user"); sql.SELECT("create_user_name"); @@ -169,18 +179,26 @@ public class EnOilManagementSqlProvider { sql.SET("supplier = #{record.supplier,jdbcType=VARCHAR}"); } - if (record.getInQuantity() != null) { - sql.SET("in_quantity = #{record.inQuantity,jdbcType=DECIMAL}"); + if (record.getNum() != null) { + sql.SET("num = #{record.num,jdbcType=DECIMAL}"); + } + + if (record.getBeforeNum() != null) { + sql.SET("before_num = #{record.beforeNum,jdbcType=DECIMAL}"); } - if (record.getOutQuantity() != null) { - sql.SET("out_quantity = #{record.outQuantity,jdbcType=DECIMAL}"); + if (record.getChangeNum() != null) { + sql.SET("change_num = #{record.changeNum,jdbcType=DECIMAL}"); } if (record.getRemark() != null) { sql.SET("remark = #{record.remark,jdbcType=VARCHAR}"); } + if (record.getImg() != null) { + sql.SET("img = #{record.img,jdbcType=VARCHAR}"); + } + if (record.getStatus() != null) { 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("oil_type = #{record.oilType,jdbcType=INTEGER}"); sql.SET("supplier = #{record.supplier,jdbcType=VARCHAR}"); - sql.SET("in_quantity = #{record.inQuantity,jdbcType=DECIMAL}"); - sql.SET("out_quantity = #{record.outQuantity,jdbcType=DECIMAL}"); + sql.SET("num = #{record.num,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("img = #{record.img,jdbcType=VARCHAR}"); sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("create_user = #{record.createUser,jdbcType=BIGINT}"); sql.SET("create_user_name = #{record.createUserName,jdbcType=VARCHAR}"); @@ -278,18 +298,26 @@ public class EnOilManagementSqlProvider { sql.SET("supplier = #{supplier,jdbcType=VARCHAR}"); } - if (record.getInQuantity() != null) { - sql.SET("in_quantity = #{inQuantity,jdbcType=DECIMAL}"); + if (record.getNum() != null) { + sql.SET("num = #{num,jdbcType=DECIMAL}"); + } + + if (record.getBeforeNum() != null) { + sql.SET("before_num = #{beforeNum,jdbcType=DECIMAL}"); } - if (record.getOutQuantity() != null) { - sql.SET("out_quantity = #{outQuantity,jdbcType=DECIMAL}"); + if (record.getChangeNum() != null) { + sql.SET("change_num = #{changeNum,jdbcType=DECIMAL}"); } if (record.getRemark() != null) { sql.SET("remark = #{remark,jdbcType=VARCHAR}"); } + if (record.getImg() != null) { + sql.SET("img = #{img,jdbcType=VARCHAR}"); + } + if (record.getStatus() != null) { sql.SET("`status` = #{status,jdbcType=INTEGER}"); } diff --git a/service/src/main/java/com/hfkj/entity/EnOilManagement.java b/service/src/main/java/com/hfkj/entity/EnOilManagement.java index 91267d9..0eff27e 100644 --- a/service/src/main/java/com/hfkj/entity/EnOilManagement.java +++ b/service/src/main/java/com/hfkj/entity/EnOilManagement.java @@ -45,20 +45,30 @@ public class EnOilManagement implements Serializable { private String supplier; /** - * 入库数量 + * 数量 */ - private BigDecimal inQuantity; + private BigDecimal num; /** - * 出库数量 + * 变更前数量 */ - private BigDecimal outQuantity; + private BigDecimal beforeNum; + + /** + * 变更后数量 + */ + private BigDecimal changeNum; /** * 备注 */ private String remark; + /** + * 相关数据照片 + */ + private String img; + /** * 状态 */ @@ -159,20 +169,28 @@ public class EnOilManagement implements Serializable { this.supplier = supplier; } - public BigDecimal getInQuantity() { - return inQuantity; + public BigDecimal getNum() { + return num; + } + + public void setNum(BigDecimal num) { + this.num = num; + } + + public BigDecimal getBeforeNum() { + return beforeNum; } - public void setInQuantity(BigDecimal inQuantity) { - this.inQuantity = inQuantity; + public void setBeforeNum(BigDecimal beforeNum) { + this.beforeNum = beforeNum; } - public BigDecimal getOutQuantity() { - return outQuantity; + public BigDecimal getChangeNum() { + return changeNum; } - public void setOutQuantity(BigDecimal outQuantity) { - this.outQuantity = outQuantity; + public void setChangeNum(BigDecimal changeNum) { + this.changeNum = changeNum; } public String getRemark() { @@ -183,6 +201,14 @@ public class EnOilManagement implements Serializable { this.remark = remark; } + public String getImg() { + return img; + } + + public void setImg(String img) { + this.img = img; + } + public Integer getStatus() { return status; } @@ -281,9 +307,11 @@ public class EnOilManagement implements Serializable { && (this.getTransportCarNo() == null ? other.getTransportCarNo() == null : this.getTransportCarNo().equals(other.getTransportCarNo())) && (this.getOilType() == null ? other.getOilType() == null : this.getOilType().equals(other.getOilType())) && (this.getSupplier() == null ? other.getSupplier() == null : this.getSupplier().equals(other.getSupplier())) - && (this.getInQuantity() == null ? other.getInQuantity() == null : this.getInQuantity().equals(other.getInQuantity())) - && (this.getOutQuantity() == null ? other.getOutQuantity() == null : this.getOutQuantity().equals(other.getOutQuantity())) + && (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum())) + && (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.getImg() == null ? other.getImg() == null : this.getImg().equals(other.getImg())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser())) && (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 + ((getOilType() == null) ? 0 : getOilType().hashCode()); result = prime * result + ((getSupplier() == null) ? 0 : getSupplier().hashCode()); - result = prime * result + ((getInQuantity() == null) ? 0 : getInQuantity().hashCode()); - result = prime * result + ((getOutQuantity() == null) ? 0 : getOutQuantity().hashCode()); + result = prime * result + ((getNum() == null) ? 0 : getNum().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 + ((getImg() == null) ? 0 : getImg().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().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(", oilType=").append(oilType); sb.append(", supplier=").append(supplier); - sb.append(", inQuantity=").append(inQuantity); - sb.append(", outQuantity=").append(outQuantity); + sb.append(", num=").append(num); + sb.append(", beforeNum=").append(beforeNum); + sb.append(", changeNum=").append(changeNum); sb.append(", remark=").append(remark); + sb.append(", img=").append(img); sb.append(", status=").append(status); sb.append(", createUser=").append(createUser); sb.append(", createUserName=").append(createUserName); diff --git a/service/src/main/java/com/hfkj/entity/EnOilManagementExample.java b/service/src/main/java/com/hfkj/entity/EnOilManagementExample.java index 6e9d186..d458ac8 100644 --- a/service/src/main/java/com/hfkj/entity/EnOilManagementExample.java +++ b/service/src/main/java/com/hfkj/entity/EnOilManagementExample.java @@ -506,123 +506,183 @@ public class EnOilManagementExample { return (Criteria) this; } - public Criteria andInQuantityIsNull() { - addCriterion("in_quantity is null"); + public Criteria andNumIsNull() { + addCriterion("num is null"); return (Criteria) this; } - public Criteria andInQuantityIsNotNull() { - addCriterion("in_quantity is not null"); + public Criteria andNumIsNotNull() { + addCriterion("num is not null"); return (Criteria) this; } - public Criteria andInQuantityEqualTo(BigDecimal value) { - addCriterion("in_quantity =", value, "inQuantity"); + public Criteria andNumEqualTo(BigDecimal value) { + addCriterion("num =", value, "num"); return (Criteria) this; } - public Criteria andInQuantityNotEqualTo(BigDecimal value) { - addCriterion("in_quantity <>", value, "inQuantity"); + public Criteria andNumNotEqualTo(BigDecimal value) { + addCriterion("num <>", value, "num"); return (Criteria) this; } - public Criteria andInQuantityGreaterThan(BigDecimal value) { - addCriterion("in_quantity >", value, "inQuantity"); + public Criteria andNumGreaterThan(BigDecimal value) { + addCriterion("num >", value, "num"); return (Criteria) this; } - public Criteria andInQuantityGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("in_quantity >=", value, "inQuantity"); + public Criteria andNumGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("num >=", value, "num"); return (Criteria) this; } - public Criteria andInQuantityLessThan(BigDecimal value) { - addCriterion("in_quantity <", value, "inQuantity"); + public Criteria andNumLessThan(BigDecimal value) { + addCriterion("num <", value, "num"); return (Criteria) this; } - public Criteria andInQuantityLessThanOrEqualTo(BigDecimal value) { - addCriterion("in_quantity <=", value, "inQuantity"); + public Criteria andNumLessThanOrEqualTo(BigDecimal value) { + addCriterion("num <=", value, "num"); return (Criteria) this; } - public Criteria andInQuantityIn(List values) { - addCriterion("in_quantity in", values, "inQuantity"); + public Criteria andNumIn(List values) { + addCriterion("num in", values, "num"); return (Criteria) this; } - public Criteria andInQuantityNotIn(List values) { - addCriterion("in_quantity not in", values, "inQuantity"); + public Criteria andNumNotIn(List values) { + addCriterion("num not in", values, "num"); return (Criteria) this; } - public Criteria andInQuantityBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("in_quantity between", value1, value2, "inQuantity"); + public Criteria andNumBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("num between", value1, value2, "num"); return (Criteria) this; } - public Criteria andInQuantityNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("in_quantity not between", value1, value2, "inQuantity"); + public Criteria andNumNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("num not between", value1, value2, "num"); return (Criteria) this; } - public Criteria andOutQuantityIsNull() { - addCriterion("out_quantity is null"); + public Criteria andBeforeNumIsNull() { + addCriterion("before_num is null"); return (Criteria) this; } - public Criteria andOutQuantityIsNotNull() { - addCriterion("out_quantity is not null"); + public Criteria andBeforeNumIsNotNull() { + addCriterion("before_num is not null"); return (Criteria) this; } - public Criteria andOutQuantityEqualTo(BigDecimal value) { - addCriterion("out_quantity =", value, "outQuantity"); + public Criteria andBeforeNumEqualTo(BigDecimal value) { + addCriterion("before_num =", value, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityNotEqualTo(BigDecimal value) { - addCriterion("out_quantity <>", value, "outQuantity"); + public Criteria andBeforeNumNotEqualTo(BigDecimal value) { + addCriterion("before_num <>", value, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityGreaterThan(BigDecimal value) { - addCriterion("out_quantity >", value, "outQuantity"); + public Criteria andBeforeNumGreaterThan(BigDecimal value) { + addCriterion("before_num >", value, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("out_quantity >=", value, "outQuantity"); + public Criteria andBeforeNumGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("before_num >=", value, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityLessThan(BigDecimal value) { - addCriterion("out_quantity <", value, "outQuantity"); + public Criteria andBeforeNumLessThan(BigDecimal value) { + addCriterion("before_num <", value, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityLessThanOrEqualTo(BigDecimal value) { - addCriterion("out_quantity <=", value, "outQuantity"); + public Criteria andBeforeNumLessThanOrEqualTo(BigDecimal value) { + addCriterion("before_num <=", value, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityIn(List values) { - addCriterion("out_quantity in", values, "outQuantity"); + public Criteria andBeforeNumIn(List values) { + addCriterion("before_num in", values, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityNotIn(List values) { - addCriterion("out_quantity not in", values, "outQuantity"); + public Criteria andBeforeNumNotIn(List values) { + addCriterion("before_num not in", values, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("out_quantity between", value1, value2, "outQuantity"); + public Criteria andBeforeNumBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("before_num between", value1, value2, "beforeNum"); return (Criteria) this; } - public Criteria andOutQuantityNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("out_quantity not between", value1, value2, "outQuantity"); + public Criteria andBeforeNumNotBetween(BigDecimal value1, BigDecimal value2) { + 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 values) { + addCriterion("change_num in", values, "changeNum"); + return (Criteria) this; + } + + public Criteria andChangeNumNotIn(List 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; } @@ -696,6 +756,76 @@ public class EnOilManagementExample { 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 values) { + addCriterion("img in", values, "img"); + return (Criteria) this; + } + + public Criteria andImgNotIn(List 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() { addCriterion("`status` is null"); return (Criteria) this;