提交代码

new-dev
胡锐 2 years ago
parent a56dee6ada
commit db24b32313
  1. 41
      hai-service/src/main/java/com/hai/dao/GoodsDetailMapper.java
  2. 14
      hai-service/src/main/java/com/hai/dao/GoodsDetailSqlProvider.java
  3. 9
      hai-service/src/main/java/com/hai/dao/GoodsReviewMapper.java
  4. 10
      hai-service/src/main/java/com/hai/dao/GoodsReviewSqlProvider.java
  5. 16
      hai-service/src/main/java/com/hai/entity/GoodsDetail.java
  6. 60
      hai-service/src/main/java/com/hai/entity/GoodsDetailExample.java
  7. 16
      hai-service/src/main/java/com/hai/entity/GoodsReview.java
  8. 60
      hai-service/src/main/java/com/hai/entity/GoodsReviewExample.java

@ -39,20 +39,22 @@ public interface GoodsDetailMapper extends GoodsDetailMapperExt {
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
@Insert({ @Insert({
"insert into goods_detail (goods_type, `name`, ", "insert into goods_detail (company_id, goods_type, ",
"list_describe, goods_describe, ", "`name`, list_describe, ",
"list_img, banner_img, ", "goods_describe, list_img, ",
"detail_img, `status`, ", "banner_img, detail_img, ",
"create_time, update_time, ", "`status`, create_time, ",
"op_id, op_name, ext_1, ", "update_time, op_id, ",
"ext_2, ext_3)", "op_name, ext_1, ext_2, ",
"values (#{goodsType,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, ", "ext_3)",
"#{listDescribe,jdbcType=VARCHAR}, #{goodsDescribe,jdbcType=VARCHAR}, ", "values (#{companyId,jdbcType=BIGINT}, #{goodsType,jdbcType=BIGINT}, ",
"#{listImg,jdbcType=VARCHAR}, #{bannerImg,jdbcType=VARCHAR}, ", "#{name,jdbcType=VARCHAR}, #{listDescribe,jdbcType=VARCHAR}, ",
"#{detailImg,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", "#{goodsDescribe,jdbcType=VARCHAR}, #{listImg,jdbcType=VARCHAR}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{bannerImg,jdbcType=VARCHAR}, #{detailImg,jdbcType=VARCHAR}, ",
"#{opId,jdbcType=BIGINT}, #{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", "#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" "#{updateTime,jdbcType=TIMESTAMP}, #{opId,jdbcType=BIGINT}, ",
"#{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ",
"#{ext3,jdbcType=VARCHAR})"
}) })
@Options(useGeneratedKeys=true,keyProperty="id") @Options(useGeneratedKeys=true,keyProperty="id")
int insert(GoodsDetail record); int insert(GoodsDetail record);
@ -64,6 +66,7 @@ public interface GoodsDetailMapper extends GoodsDetailMapperExt {
@SelectProvider(type=GoodsDetailSqlProvider.class, method="selectByExample") @SelectProvider(type=GoodsDetailSqlProvider.class, method="selectByExample")
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true),
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT),
@Result(column="goods_type", property="goodsType", jdbcType=JdbcType.BIGINT), @Result(column="goods_type", property="goodsType", jdbcType=JdbcType.BIGINT),
@Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR),
@Result(column="list_describe", property="listDescribe", jdbcType=JdbcType.VARCHAR), @Result(column="list_describe", property="listDescribe", jdbcType=JdbcType.VARCHAR),
@ -84,14 +87,15 @@ public interface GoodsDetailMapper extends GoodsDetailMapperExt {
@Select({ @Select({
"select", "select",
"id, goods_type, `name`, list_describe, goods_describe, list_img, banner_img, ", "id, company_id, goods_type, `name`, list_describe, goods_describe, list_img, ",
"detail_img, `status`, create_time, update_time, op_id, op_name, ext_1, ext_2, ", "banner_img, detail_img, `status`, create_time, update_time, op_id, op_name, ",
"ext_3", "ext_1, ext_2, ext_3",
"from goods_detail", "from goods_detail",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
}) })
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true),
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT),
@Result(column="goods_type", property="goodsType", jdbcType=JdbcType.BIGINT), @Result(column="goods_type", property="goodsType", jdbcType=JdbcType.BIGINT),
@Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR),
@Result(column="list_describe", property="listDescribe", jdbcType=JdbcType.VARCHAR), @Result(column="list_describe", property="listDescribe", jdbcType=JdbcType.VARCHAR),
@ -121,7 +125,8 @@ public interface GoodsDetailMapper extends GoodsDetailMapperExt {
@Update({ @Update({
"update goods_detail", "update goods_detail",
"set goods_type = #{goodsType,jdbcType=BIGINT},", "set company_id = #{companyId,jdbcType=BIGINT},",
"goods_type = #{goodsType,jdbcType=BIGINT},",
"`name` = #{name,jdbcType=VARCHAR},", "`name` = #{name,jdbcType=VARCHAR},",
"list_describe = #{listDescribe,jdbcType=VARCHAR},", "list_describe = #{listDescribe,jdbcType=VARCHAR},",
"goods_describe = #{goodsDescribe,jdbcType=VARCHAR},", "goods_describe = #{goodsDescribe,jdbcType=VARCHAR},",

@ -28,6 +28,10 @@ public class GoodsDetailSqlProvider {
SQL sql = new SQL(); SQL sql = new SQL();
sql.INSERT_INTO("goods_detail"); sql.INSERT_INTO("goods_detail");
if (record.getCompanyId() != null) {
sql.VALUES("company_id", "#{companyId,jdbcType=BIGINT}");
}
if (record.getGoodsType() != null) { if (record.getGoodsType() != null) {
sql.VALUES("goods_type", "#{goodsType,jdbcType=BIGINT}"); sql.VALUES("goods_type", "#{goodsType,jdbcType=BIGINT}");
} }
@ -98,6 +102,7 @@ public class GoodsDetailSqlProvider {
} else { } else {
sql.SELECT("id"); sql.SELECT("id");
} }
sql.SELECT("company_id");
sql.SELECT("goods_type"); sql.SELECT("goods_type");
sql.SELECT("`name`"); sql.SELECT("`name`");
sql.SELECT("list_describe"); sql.SELECT("list_describe");
@ -134,6 +139,10 @@ public class GoodsDetailSqlProvider {
sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("id = #{record.id,jdbcType=BIGINT}");
} }
if (record.getCompanyId() != null) {
sql.SET("company_id = #{record.companyId,jdbcType=BIGINT}");
}
if (record.getGoodsType() != null) { if (record.getGoodsType() != null) {
sql.SET("goods_type = #{record.goodsType,jdbcType=BIGINT}"); sql.SET("goods_type = #{record.goodsType,jdbcType=BIGINT}");
} }
@ -203,6 +212,7 @@ public class GoodsDetailSqlProvider {
sql.UPDATE("goods_detail"); sql.UPDATE("goods_detail");
sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("id = #{record.id,jdbcType=BIGINT}");
sql.SET("company_id = #{record.companyId,jdbcType=BIGINT}");
sql.SET("goods_type = #{record.goodsType,jdbcType=BIGINT}"); sql.SET("goods_type = #{record.goodsType,jdbcType=BIGINT}");
sql.SET("`name` = #{record.name,jdbcType=VARCHAR}"); sql.SET("`name` = #{record.name,jdbcType=VARCHAR}");
sql.SET("list_describe = #{record.listDescribe,jdbcType=VARCHAR}"); sql.SET("list_describe = #{record.listDescribe,jdbcType=VARCHAR}");
@ -228,6 +238,10 @@ public class GoodsDetailSqlProvider {
SQL sql = new SQL(); SQL sql = new SQL();
sql.UPDATE("goods_detail"); sql.UPDATE("goods_detail");
if (record.getCompanyId() != null) {
sql.SET("company_id = #{companyId,jdbcType=BIGINT}");
}
if (record.getGoodsType() != null) { if (record.getGoodsType() != null) {
sql.SET("goods_type = #{goodsType,jdbcType=BIGINT}"); sql.SET("goods_type = #{goodsType,jdbcType=BIGINT}");
} }

@ -30,14 +30,14 @@ public interface GoodsReviewMapper extends GoodsReviewMapperExt {
int deleteByExample(GoodsReviewExample example); int deleteByExample(GoodsReviewExample example);
@Insert({ @Insert({
"insert into goods_review (user_id, goods_id, ", "insert into goods_review (user_id, order_id, ",
"sku_id, review_describe, ", "goods_id, sku_id, review_describe, ",
"show_img, `status`, ", "show_img, `status`, ",
"create_time, op_id, ", "create_time, op_id, ",
"op_name, ext_1, ext_2, ", "op_name, ext_1, ext_2, ",
"ext_3)", "ext_3)",
"values (#{userId,jdbcType=BIGINT}, #{goodsId,jdbcType=BIGINT}, ", "values (#{userId,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, ",
"#{skuId,jdbcType=BIGINT}, #{reviewDescribe,jdbcType=VARCHAR}, ", "#{goodsId,jdbcType=BIGINT}, #{skuId,jdbcType=BIGINT}, #{reviewDescribe,jdbcType=VARCHAR}, ",
"#{showImg,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", "#{showImg,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{opId,jdbcType=BIGINT}, ", "#{createTime,jdbcType=TIMESTAMP}, #{opId,jdbcType=BIGINT}, ",
"#{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", "#{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ",
@ -54,6 +54,7 @@ public interface GoodsReviewMapper extends GoodsReviewMapperExt {
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT), @Result(column="id", property="id", jdbcType=JdbcType.BIGINT),
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), @Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT),
@Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT),
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), @Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT),
@Result(column="sku_id", property="skuId", jdbcType=JdbcType.BIGINT), @Result(column="sku_id", property="skuId", jdbcType=JdbcType.BIGINT),
@Result(column="review_describe", property="reviewDescribe", jdbcType=JdbcType.VARCHAR), @Result(column="review_describe", property="reviewDescribe", jdbcType=JdbcType.VARCHAR),

@ -32,6 +32,10 @@ public class GoodsReviewSqlProvider {
sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}"); sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}");
} }
if (record.getOrderId() != null) {
sql.VALUES("order_id", "#{orderId,jdbcType=BIGINT}");
}
if (record.getGoodsId() != null) { if (record.getGoodsId() != null) {
sql.VALUES("goods_id", "#{goodsId,jdbcType=BIGINT}"); sql.VALUES("goods_id", "#{goodsId,jdbcType=BIGINT}");
} }
@ -87,6 +91,7 @@ public class GoodsReviewSqlProvider {
sql.SELECT("id"); sql.SELECT("id");
} }
sql.SELECT("user_id"); sql.SELECT("user_id");
sql.SELECT("order_id");
sql.SELECT("goods_id"); sql.SELECT("goods_id");
sql.SELECT("sku_id"); sql.SELECT("sku_id");
sql.SELECT("review_describe"); sql.SELECT("review_describe");
@ -123,6 +128,10 @@ public class GoodsReviewSqlProvider {
sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
} }
if (record.getOrderId() != null) {
sql.SET("order_id = #{record.orderId,jdbcType=BIGINT}");
}
if (record.getGoodsId() != null) { if (record.getGoodsId() != null) {
sql.SET("goods_id = #{record.goodsId,jdbcType=BIGINT}"); sql.SET("goods_id = #{record.goodsId,jdbcType=BIGINT}");
} }
@ -177,6 +186,7 @@ public class GoodsReviewSqlProvider {
sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("id = #{record.id,jdbcType=BIGINT}");
sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
sql.SET("order_id = #{record.orderId,jdbcType=BIGINT}");
sql.SET("goods_id = #{record.goodsId,jdbcType=BIGINT}"); sql.SET("goods_id = #{record.goodsId,jdbcType=BIGINT}");
sql.SET("sku_id = #{record.skuId,jdbcType=BIGINT}"); sql.SET("sku_id = #{record.skuId,jdbcType=BIGINT}");
sql.SET("review_describe = #{record.reviewDescribe,jdbcType=VARCHAR}"); sql.SET("review_describe = #{record.reviewDescribe,jdbcType=VARCHAR}");

@ -18,6 +18,11 @@ public class GoodsDetail implements Serializable {
*/ */
private Long id; private Long id;
/**
* 公司id
*/
private Long companyId;
/** /**
* 商品类型 * 商品类型
*/ */
@ -103,6 +108,14 @@ public class GoodsDetail implements Serializable {
this.id = id; this.id = id;
} }
public Long getCompanyId() {
return companyId;
}
public void setCompanyId(Long companyId) {
this.companyId = companyId;
}
public Long getGoodsType() { public Long getGoodsType() {
return goodsType; return goodsType;
} }
@ -236,6 +249,7 @@ public class GoodsDetail implements Serializable {
} }
GoodsDetail other = (GoodsDetail) that; GoodsDetail other = (GoodsDetail) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getGoodsType() == null ? other.getGoodsType() == null : this.getGoodsType().equals(other.getGoodsType())) && (this.getGoodsType() == null ? other.getGoodsType() == null : this.getGoodsType().equals(other.getGoodsType()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getListDescribe() == null ? other.getListDescribe() == null : this.getListDescribe().equals(other.getListDescribe())) && (this.getListDescribe() == null ? other.getListDescribe() == null : this.getListDescribe().equals(other.getListDescribe()))
@ -258,6 +272,7 @@ public class GoodsDetail implements Serializable {
final int prime = 31; final int prime = 31;
int result = 1; int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getGoodsType() == null) ? 0 : getGoodsType().hashCode()); result = prime * result + ((getGoodsType() == null) ? 0 : getGoodsType().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getListDescribe() == null) ? 0 : getListDescribe().hashCode()); result = prime * result + ((getListDescribe() == null) ? 0 : getListDescribe().hashCode());
@ -283,6 +298,7 @@ public class GoodsDetail implements Serializable {
sb.append(" ["); sb.append(" [");
sb.append("Hash = ").append(hashCode()); sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id); sb.append(", id=").append(id);
sb.append(", companyId=").append(companyId);
sb.append(", goodsType=").append(goodsType); sb.append(", goodsType=").append(goodsType);
sb.append(", name=").append(name); sb.append(", name=").append(name);
sb.append(", listDescribe=").append(listDescribe); sb.append(", listDescribe=").append(listDescribe);

@ -185,6 +185,66 @@ public class GoodsDetailExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCompanyIdIsNull() {
addCriterion("company_id is null");
return (Criteria) this;
}
public Criteria andCompanyIdIsNotNull() {
addCriterion("company_id is not null");
return (Criteria) this;
}
public Criteria andCompanyIdEqualTo(Long value) {
addCriterion("company_id =", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotEqualTo(Long value) {
addCriterion("company_id <>", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThan(Long value) {
addCriterion("company_id >", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdGreaterThanOrEqualTo(Long value) {
addCriterion("company_id >=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThan(Long value) {
addCriterion("company_id <", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdLessThanOrEqualTo(Long value) {
addCriterion("company_id <=", value, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdIn(List<Long> values) {
addCriterion("company_id in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotIn(List<Long> values) {
addCriterion("company_id not in", values, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdBetween(Long value1, Long value2) {
addCriterion("company_id between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andCompanyIdNotBetween(Long value1, Long value2) {
addCriterion("company_id not between", value1, value2, "companyId");
return (Criteria) this;
}
public Criteria andGoodsTypeIsNull() { public Criteria andGoodsTypeIsNull() {
addCriterion("goods_type is null"); addCriterion("goods_type is null");
return (Criteria) this; return (Criteria) this;

@ -23,6 +23,11 @@ public class GoodsReview implements Serializable {
*/ */
private Long userId; private Long userId;
/**
* 订单id
*/
private Long orderId;
/** /**
* 商品id * 商品id
*/ */
@ -96,6 +101,14 @@ public class GoodsReview implements Serializable {
this.userId = userId; this.userId = userId;
} }
public Long getOrderId() {
return orderId;
}
public void setOrderId(Long orderId) {
this.orderId = orderId;
}
public Long getGoodsId() { public Long getGoodsId() {
return goodsId; return goodsId;
} }
@ -198,6 +211,7 @@ public class GoodsReview implements Serializable {
GoodsReview other = (GoodsReview) that; GoodsReview other = (GoodsReview) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
&& (this.getGoodsId() == null ? other.getGoodsId() == null : this.getGoodsId().equals(other.getGoodsId())) && (this.getGoodsId() == null ? other.getGoodsId() == null : this.getGoodsId().equals(other.getGoodsId()))
&& (this.getSkuId() == null ? other.getSkuId() == null : this.getSkuId().equals(other.getSkuId())) && (this.getSkuId() == null ? other.getSkuId() == null : this.getSkuId().equals(other.getSkuId()))
&& (this.getReviewDescribe() == null ? other.getReviewDescribe() == null : this.getReviewDescribe().equals(other.getReviewDescribe())) && (this.getReviewDescribe() == null ? other.getReviewDescribe() == null : this.getReviewDescribe().equals(other.getReviewDescribe()))
@ -217,6 +231,7 @@ public class GoodsReview implements Serializable {
int result = 1; int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
result = prime * result + ((getGoodsId() == null) ? 0 : getGoodsId().hashCode()); result = prime * result + ((getGoodsId() == null) ? 0 : getGoodsId().hashCode());
result = prime * result + ((getSkuId() == null) ? 0 : getSkuId().hashCode()); result = prime * result + ((getSkuId() == null) ? 0 : getSkuId().hashCode());
result = prime * result + ((getReviewDescribe() == null) ? 0 : getReviewDescribe().hashCode()); result = prime * result + ((getReviewDescribe() == null) ? 0 : getReviewDescribe().hashCode());
@ -239,6 +254,7 @@ public class GoodsReview implements Serializable {
sb.append("Hash = ").append(hashCode()); sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id); sb.append(", id=").append(id);
sb.append(", userId=").append(userId); sb.append(", userId=").append(userId);
sb.append(", orderId=").append(orderId);
sb.append(", goodsId=").append(goodsId); sb.append(", goodsId=").append(goodsId);
sb.append(", skuId=").append(skuId); sb.append(", skuId=").append(skuId);
sb.append(", reviewDescribe=").append(reviewDescribe); sb.append(", reviewDescribe=").append(reviewDescribe);

@ -245,6 +245,66 @@ public class GoodsReviewExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOrderIdIsNull() {
addCriterion("order_id is null");
return (Criteria) this;
}
public Criteria andOrderIdIsNotNull() {
addCriterion("order_id is not null");
return (Criteria) this;
}
public Criteria andOrderIdEqualTo(Long value) {
addCriterion("order_id =", value, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdNotEqualTo(Long value) {
addCriterion("order_id <>", value, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdGreaterThan(Long value) {
addCriterion("order_id >", value, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
addCriterion("order_id >=", value, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdLessThan(Long value) {
addCriterion("order_id <", value, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdLessThanOrEqualTo(Long value) {
addCriterion("order_id <=", value, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdIn(List<Long> values) {
addCriterion("order_id in", values, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdNotIn(List<Long> values) {
addCriterion("order_id not in", values, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdBetween(Long value1, Long value2) {
addCriterion("order_id between", value1, value2, "orderId");
return (Criteria) this;
}
public Criteria andOrderIdNotBetween(Long value1, Long value2) {
addCriterion("order_id not between", value1, value2, "orderId");
return (Criteria) this;
}
public Criteria andGoodsIdIsNull() { public Criteria andGoodsIdIsNull() {
addCriterion("goods_id is null"); addCriterion("goods_id is null");
return (Criteria) this; return (Criteria) this;

Loading…
Cancel
Save