Commit 936b5511 authored by Junling Bu's avatar Junling Bu
Browse files

[litemall-db]: 自动生成代码进行相应调整。

parent 64b74e3b
......@@ -67,7 +67,6 @@
<table tableName="litemall_admin">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride javaType="java.time.LocalDateTime" column="last_login_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="update_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_brand">
......@@ -76,7 +75,7 @@
</table>
<table tableName="litemall_cart">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride column="goods_specification_ids" javaType="java.lang.Integer[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"/>
<columnOverride column="specifications" javaType="java.lang.String[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_category">
......@@ -92,14 +91,6 @@
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
<columnOverride column="pic_urls" javaType="java.lang.String[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
</table>
<table tableName="litemall_coupon">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride javaType="java.time.LocalDateTime" column="send_start"/>
<columnOverride javaType="java.time.LocalDateTime" column="send_end"/>
<columnOverride javaType="java.time.LocalDateTime" column="use_start"/>
<columnOverride javaType="java.time.LocalDateTime" column="use_end"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_footprint">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
......@@ -129,19 +120,18 @@
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="pay_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="ship_start_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="ship_end_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="ship_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="confirm_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="end_time"/>
</table>
<table tableName="litemall_order_goods">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride column="goods_specification_ids" javaType="java.lang.Integer[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"/>
<columnOverride column="specifications" javaType="java.lang.String[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_product">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride column="goods_specification_ids" javaType="java.lang.Integer[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"/>
<columnOverride column="specifications" javaType="java.lang.String[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_region">
......@@ -158,6 +148,7 @@
</table>
<table tableName="litemall_topic">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride column="goods" javaType="java.lang.Integer[]" typeHandler="org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_user">
......@@ -166,12 +157,5 @@
<columnOverride javaType="java.time.LocalDateTime" column="last_login_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_user_coupon">
<generatedKey column="id" sqlStatement="MySql" identity="true" />
<columnOverride javaType="java.time.LocalDateTime" column="used_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
......@@ -78,7 +78,7 @@
<dependency>
<groupId>com.itfsw</groupId>
<artifactId>mybatis-generator-plugin</artifactId>
<version>1.2.3</version>
<version>1.2.6</version>
</dependency>
</dependencies>
</plugin>
......
package org.linlinjava.litemall.db.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallCoupon;
import org.linlinjava.litemall.db.domain.LitemallCouponExample;
public interface LitemallCouponMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
long countByExample(LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int deleteByExample(LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int deleteByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int insert(LitemallCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int insertSelective(LitemallCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectOneByExample(LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectOneByExampleSelective(@Param("example") LitemallCouponExample example, @Param("selective") LitemallCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallCoupon> selectByExampleSelective(@Param("example") LitemallCouponExample example, @Param("selective") LitemallCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
List<LitemallCoupon> selectByExample(LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
LitemallCoupon selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") LitemallCoupon record, @Param("example") LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int updateByExample(@Param("record") LitemallCoupon record, @Param("example") LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(LitemallCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
int updateByPrimaryKey(LitemallCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
package org.linlinjava.litemall.db.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallUserCoupon;
import org.linlinjava.litemall.db.domain.LitemallUserCouponExample;
public interface LitemallUserCouponMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
long countByExample(LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int deleteByExample(LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int deleteByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int insert(LitemallUserCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int insertSelective(LitemallUserCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectOneByExample(LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectOneByExampleSelective(@Param("example") LitemallUserCouponExample example, @Param("selective") LitemallUserCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallUserCoupon> selectByExampleSelective(@Param("example") LitemallUserCouponExample example, @Param("selective") LitemallUserCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
List<LitemallUserCoupon> selectByExample(LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallUserCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
LitemallUserCoupon selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") LitemallUserCoupon record, @Param("example") LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int updateByExample(@Param("record") LitemallUserCoupon record, @Param("example") LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(LitemallUserCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
int updateByPrimaryKey(LitemallUserCoupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallAd {
/**
......@@ -12,16 +14,6 @@ public class LitemallAd {
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
......@@ -31,16 +23,6 @@ public class LitemallAd {
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
......@@ -53,38 +35,38 @@ public class LitemallAd {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.position
* This field corresponds to the database column litemall_ad.name
*
* @mbg.generated
*/
private Integer position;
private String name;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.name
* This field corresponds to the database column litemall_ad.link
*
* @mbg.generated
*/
private String name;
private String link;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.link
* This field corresponds to the database column litemall_ad.url
*
* @mbg.generated
*/
private String link;
private String url;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_ad.url
* This field corresponds to the database column litemall_ad.position
*
* @mbg.generated
*/
private String url;
private Byte position;
/**
*
......@@ -164,30 +146,6 @@ public class LitemallAd {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.position
*
* @return the value of litemall_ad.position
*
* @mbg.generated
*/
public Integer getPosition() {
return position;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_ad.position
*
* @param position the value for litemall_ad.position
*
* @mbg.generated
*/
public void setPosition(Integer position) {
this.position = position;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.name
......@@ -260,6 +218,30 @@ public class LitemallAd {
this.url = url;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.position
*
* @return the value of litemall_ad.position
*
* @mbg.generated
*/
public Byte getPosition() {
return position;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_ad.position
*
* @param position the value for litemall_ad.position
*
* @mbg.generated
*/
public void setPosition(Byte position) {
this.position = position;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.content
......@@ -417,10 +399,10 @@ public class LitemallAd {
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", position=").append(position);
sb.append(", name=").append(name);
sb.append(", link=").append(link);
sb.append(", url=").append(url);
sb.append(", position=").append(position);
sb.append(", content=").append(content);
sb.append(", startTime=").append(startTime);
sb.append(", endTime=").append(endTime);
......@@ -450,10 +432,10 @@ public class LitemallAd {
}
LitemallAd other = (LitemallAd) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getPosition() == null ? other.getPosition() == null : this.getPosition().equals(other.getPosition()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getLink() == null ? other.getLink() == null : this.getLink().equals(other.getLink()))
&& (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl()))
&& (this.getPosition() == null ? other.getPosition() == null : this.getPosition().equals(other.getPosition()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
&& (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
&& (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime()))
......@@ -473,10 +455,10 @@ public class LitemallAd {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getPosition() == null) ? 0 : getPosition().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getLink() == null) ? 0 : getLink().hashCode());
result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode());
result = prime * result + ((getPosition() == null) ? 0 : getPosition().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode());
......@@ -506,10 +488,10 @@ public class LitemallAd {
*/
public enum Column {
id("id", "id", "INTEGER"),
position("position", "position", "INTEGER"),
name("name", "name", "VARCHAR"),
link("link", "link", "VARCHAR"),
url("url", "url", "VARCHAR"),
position("position", "position", "TINYINT"),
content("content", "content", "VARCHAR"),
startTime("start_time", "startTime", "TIMESTAMP"),
endTime("end_time", "endTime", "TIMESTAMP"),
......@@ -622,5 +604,20 @@ public class LitemallAd {
public String asc() {
return this.column + " ASC";
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
if (excludes != null && excludes.length > 0) {
columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
}
return columns.toArray(new Column[]{});
}
}
}
\ No newline at end of file
......@@ -286,66 +286,6 @@ public class LitemallAdExample {
return (Criteria) this;
}
public Criteria andPositionIsNull() {
addCriterion("`position` is null");
return (Criteria) this;
}
public Criteria andPositionIsNotNull() {
addCriterion("`position` is not null");
return (Criteria) this;
}
public Criteria andPositionEqualTo(Integer value) {
addCriterion("`position` =", value, "position");
return (Criteria) this;
}
public Criteria andPositionNotEqualTo(Integer value) {
addCriterion("`position` <>", value, "position");
return (Criteria) this;
}
public Criteria andPositionGreaterThan(Integer value) {
addCriterion("`position` >", value, "position");
return (Criteria) this;
}
public Criteria andPositionGreaterThanOrEqualTo(Integer value) {
addCriterion("`position` >=", value, "position");
return (Criteria) this;
}
public Criteria andPositionLessThan(Integer value) {
addCriterion("`position` <", value, "position");
return (Criteria) this;
}
public Criteria andPositionLessThanOrEqualTo(Integer value) {
addCriterion("`position` <=", value, "position");
return (Criteria) this;
}
public Criteria andPositionIn(List<Integer> values) {
addCriterion("`position` in", values, "position");
return (Criteria) this;
}
public Criteria andPositionNotIn(List<Integer> values) {
addCriterion("`position` not in", values, "position");
return (Criteria) this;
}
public Criteria andPositionBetween(Integer value1, Integer value2) {
addCriterion("`position` between", value1, value2, "position");
return (Criteria) this;
}
public Criteria andPositionNotBetween(Integer value1, Integer value2) {
addCriterion("`position` not between", value1, value2, "position");
return (Criteria) this;
}
public Criteria andNameIsNull() {
addCriterion("`name` is null");
return (Criteria) this;
......@@ -556,6 +496,66 @@ public class LitemallAdExample {
return (Criteria) this;
}
public Criteria andPositionIsNull() {
addCriterion("`position` is null");
return (Criteria) this;
}
public Criteria andPositionIsNotNull() {
addCriterion("`position` is not null");
return (Criteria) this;
}
public Criteria andPositionEqualTo(Byte value) {
addCriterion("`position` =", value, "position");
return (Criteria) this;
}
public Criteria andPositionNotEqualTo(Byte value) {
addCriterion("`position` <>", value, "position");
return (Criteria) this;
}
public Criteria andPositionGreaterThan(Byte value) {
addCriterion("`position` >", value, "position");
return (Criteria) this;
}
public Criteria andPositionGreaterThanOrEqualTo(Byte value) {
addCriterion("`position` >=", value, "position");
return (Criteria) this;
}
public Criteria andPositionLessThan(Byte value) {
addCriterion("`position` <", value, "position");
return (Criteria) this;
}
public Criteria andPositionLessThanOrEqualTo(Byte value) {
addCriterion("`position` <=", value, "position");
return (Criteria) this;
}
public Criteria andPositionIn(List<Byte> values) {
addCriterion("`position` in", values, "position");
return (Criteria) this;
}
public Criteria andPositionNotIn(List<Byte> values) {
addCriterion("`position` not in", values, "position");
return (Criteria) this;
}
public Criteria andPositionBetween(Byte value1, Byte value2) {
addCriterion("`position` between", value1, value2, "position");
return (Criteria) this;
}
public Criteria andPositionNotBetween(Byte value1, Byte value2) {
addCriterion("`position` not between", value1, value2, "position");
return (Criteria) this;
}
public Criteria andContentIsNull() {
addCriterion("content is null");
return (Criteria) this;
......@@ -991,18 +991,6 @@ public class LitemallAdExample {
return deleted ? andDeletedEqualTo(LitemallAd.IS_DELETED) : andDeletedNotEqualTo(LitemallAd.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAd.IS_DELETED) : andDeletedNotEqualTo(LitemallAd.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_ad
......
package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallAddress {
/**
......@@ -12,16 +14,6 @@ public class LitemallAddress {
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
......@@ -31,16 +23,6 @@ public class LitemallAddress {
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
......@@ -622,5 +604,20 @@ public class LitemallAddress {
public String asc() {
return this.column + " ASC";
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
if (excludes != null && excludes.length > 0) {
columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
}
return columns.toArray(new Column[]{});
}
}
}
\ No newline at end of file
......@@ -981,18 +981,6 @@ public class LitemallAddressExample {
return deleted ? andDeletedEqualTo(LitemallAddress.IS_DELETED) : andDeletedNotEqualTo(LitemallAddress.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAddress.IS_DELETED) : andDeletedNotEqualTo(LitemallAddress.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_address
......
package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallAdmin {
/**
......@@ -12,16 +14,6 @@ public class LitemallAdmin {
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
......@@ -31,16 +23,6 @@ public class LitemallAdmin {
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
......@@ -86,15 +68,6 @@ public class LitemallAdmin {
*/
private LocalDateTime lastLoginTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_admin.update_time
*
* @mbg.generated
*/
private LocalDateTime updateTime;
/**
*
* This field was generated by MyBatis Generator.
......@@ -242,30 +215,6 @@ public class LitemallAdmin {
this.lastLoginTime = lastLoginTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_admin.update_time
*
* @return the value of litemall_admin.update_time
*
* @mbg.generated
*/
public LocalDateTime getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_admin.update_time
*
* @param updateTime the value for litemall_admin.update_time
*
* @mbg.generated
*/
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_admin.avatar
......@@ -355,7 +304,6 @@ public class LitemallAdmin {
sb.append(", password=").append(password);
sb.append(", lastLoginIp=").append(lastLoginIp);
sb.append(", lastLoginTime=").append(lastLoginTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", avatar=").append(avatar);
sb.append(", addTime=").append(addTime);
sb.append(", deleted=").append(deleted);
......@@ -386,7 +334,6 @@ public class LitemallAdmin {
&& (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
&& (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()))
&& (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
&& (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
......@@ -407,7 +354,6 @@ public class LitemallAdmin {
result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
......@@ -438,7 +384,6 @@ public class LitemallAdmin {
password("password", "password", "VARCHAR"),
lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR"),
lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP"),
updateTime("update_time", "updateTime", "TIMESTAMP"),
avatar("avatar", "avatar", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
......@@ -548,5 +493,20 @@ public class LitemallAdmin {
public String asc() {
return this.column + " ASC";
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
if (excludes != null && excludes.length > 0) {
columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
}
return columns.toArray(new Column[]{});
}
}
}
\ No newline at end of file
......@@ -556,66 +556,6 @@ public class LitemallAdminExample {
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(LocalDateTime value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(LocalDateTime value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andAvatarIsNull() {
addCriterion("avatar is null");
return (Criteria) this;
......@@ -871,18 +811,6 @@ public class LitemallAdminExample {
return deleted ? andDeletedEqualTo(LitemallAdmin.IS_DELETED) : andDeletedNotEqualTo(LitemallAdmin.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAdmin.IS_DELETED) : andDeletedNotEqualTo(LitemallAdmin.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_admin
......
......@@ -2,6 +2,8 @@ package org.linlinjava.litemall.db.domain;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallBrand {
/**
......@@ -13,16 +15,6 @@ public class LitemallBrand {
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
......@@ -32,16 +24,6 @@ public class LitemallBrand {
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
......@@ -63,20 +45,11 @@ public class LitemallBrand {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.list_pic_url
* This field corresponds to the database column litemall_brand.desc
*
* @mbg.generated
*/
private String listPicUrl;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.simple_desc
*
* @mbg.generated
*/
private String simpleDesc;
private String desc;
/**
*
......@@ -96,15 +69,6 @@ public class LitemallBrand {
*/
private Byte sortOrder;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.is_show
*
* @mbg.generated
*/
private Boolean isShow;
/**
*
* This field was generated by MyBatis Generator.
......@@ -114,42 +78,6 @@ public class LitemallBrand {
*/
private BigDecimal floorPrice;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.app_list_pic_url
*
* @mbg.generated
*/
private String appListPicUrl;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.is_new
*
* @mbg.generated
*/
private Boolean isNew;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.new_pic_url
*
* @mbg.generated
*/
private String newPicUrl;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_brand.new_sort_order
*
* @mbg.generated
*/
private Byte newSortOrder;
/**
*
* This field was generated by MyBatis Generator.
......@@ -218,50 +146,26 @@ public class LitemallBrand {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.list_pic_url
* This method returns the value of the database column litemall_brand.desc
*
* @return the value of litemall_brand.list_pic_url
* @return the value of litemall_brand.desc
*
* @mbg.generated
*/
public String getListPicUrl() {
return listPicUrl;
public String getDesc() {
return desc;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.list_pic_url
* This method sets the value of the database column litemall_brand.desc
*
* @param listPicUrl the value for litemall_brand.list_pic_url
* @param desc the value for litemall_brand.desc
*
* @mbg.generated
*/
public void setListPicUrl(String listPicUrl) {
this.listPicUrl = listPicUrl;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.simple_desc
*
* @return the value of litemall_brand.simple_desc
*
* @mbg.generated
*/
public String getSimpleDesc() {
return simpleDesc;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.simple_desc
*
* @param simpleDesc the value for litemall_brand.simple_desc
*
* @mbg.generated
*/
public void setSimpleDesc(String simpleDesc) {
this.simpleDesc = simpleDesc;
public void setDesc(String desc) {
this.desc = desc;
}
/**
......@@ -312,30 +216,6 @@ public class LitemallBrand {
this.sortOrder = sortOrder;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.is_show
*
* @return the value of litemall_brand.is_show
*
* @mbg.generated
*/
public Boolean getIsShow() {
return isShow;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.is_show
*
* @param isShow the value for litemall_brand.is_show
*
* @mbg.generated
*/
public void setIsShow(Boolean isShow) {
this.isShow = isShow;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.floor_price
......@@ -360,102 +240,6 @@ public class LitemallBrand {
this.floorPrice = floorPrice;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.app_list_pic_url
*
* @return the value of litemall_brand.app_list_pic_url
*
* @mbg.generated
*/
public String getAppListPicUrl() {
return appListPicUrl;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.app_list_pic_url
*
* @param appListPicUrl the value for litemall_brand.app_list_pic_url
*
* @mbg.generated
*/
public void setAppListPicUrl(String appListPicUrl) {
this.appListPicUrl = appListPicUrl;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.is_new
*
* @return the value of litemall_brand.is_new
*
* @mbg.generated
*/
public Boolean getIsNew() {
return isNew;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.is_new
*
* @param isNew the value for litemall_brand.is_new
*
* @mbg.generated
*/
public void setIsNew(Boolean isNew) {
this.isNew = isNew;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.new_pic_url
*
* @return the value of litemall_brand.new_pic_url
*
* @mbg.generated
*/
public String getNewPicUrl() {
return newPicUrl;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.new_pic_url
*
* @param newPicUrl the value for litemall_brand.new_pic_url
*
* @mbg.generated
*/
public void setNewPicUrl(String newPicUrl) {
this.newPicUrl = newPicUrl;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.new_sort_order
*
* @return the value of litemall_brand.new_sort_order
*
* @mbg.generated
*/
public Byte getNewSortOrder() {
return newSortOrder;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_brand.new_sort_order
*
* @param newSortOrder the value for litemall_brand.new_sort_order
*
* @mbg.generated
*/
public void setNewSortOrder(Byte newSortOrder) {
this.newSortOrder = newSortOrder;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.add_time
......@@ -518,16 +302,10 @@ public class LitemallBrand {
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", name=").append(name);
sb.append(", listPicUrl=").append(listPicUrl);
sb.append(", simpleDesc=").append(simpleDesc);
sb.append(", desc=").append(desc);
sb.append(", picUrl=").append(picUrl);
sb.append(", sortOrder=").append(sortOrder);
sb.append(", isShow=").append(isShow);
sb.append(", floorPrice=").append(floorPrice);
sb.append(", appListPicUrl=").append(appListPicUrl);
sb.append(", isNew=").append(isNew);
sb.append(", newPicUrl=").append(newPicUrl);
sb.append(", newSortOrder=").append(newSortOrder);
sb.append(", addTime=").append(addTime);
sb.append(", deleted=").append(deleted);
sb.append("]");
......@@ -554,16 +332,10 @@ public class LitemallBrand {
LitemallBrand other = (LitemallBrand) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getListPicUrl() == null ? other.getListPicUrl() == null : this.getListPicUrl().equals(other.getListPicUrl()))
&& (this.getSimpleDesc() == null ? other.getSimpleDesc() == null : this.getSimpleDesc().equals(other.getSimpleDesc()))
&& (this.getDesc() == null ? other.getDesc() == null : this.getDesc().equals(other.getDesc()))
&& (this.getPicUrl() == null ? other.getPicUrl() == null : this.getPicUrl().equals(other.getPicUrl()))
&& (this.getSortOrder() == null ? other.getSortOrder() == null : this.getSortOrder().equals(other.getSortOrder()))
&& (this.getIsShow() == null ? other.getIsShow() == null : this.getIsShow().equals(other.getIsShow()))
&& (this.getFloorPrice() == null ? other.getFloorPrice() == null : this.getFloorPrice().equals(other.getFloorPrice()))
&& (this.getAppListPicUrl() == null ? other.getAppListPicUrl() == null : this.getAppListPicUrl().equals(other.getAppListPicUrl()))
&& (this.getIsNew() == null ? other.getIsNew() == null : this.getIsNew().equals(other.getIsNew()))
&& (this.getNewPicUrl() == null ? other.getNewPicUrl() == null : this.getNewPicUrl().equals(other.getNewPicUrl()))
&& (this.getNewSortOrder() == null ? other.getNewSortOrder() == null : this.getNewSortOrder().equals(other.getNewSortOrder()))
&& (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
}
......@@ -580,16 +352,10 @@ public class LitemallBrand {
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getListPicUrl() == null) ? 0 : getListPicUrl().hashCode());
result = prime * result + ((getSimpleDesc() == null) ? 0 : getSimpleDesc().hashCode());
result = prime * result + ((getDesc() == null) ? 0 : getDesc().hashCode());
result = prime * result + ((getPicUrl() == null) ? 0 : getPicUrl().hashCode());
result = prime * result + ((getSortOrder() == null) ? 0 : getSortOrder().hashCode());
result = prime * result + ((getIsShow() == null) ? 0 : getIsShow().hashCode());
result = prime * result + ((getFloorPrice() == null) ? 0 : getFloorPrice().hashCode());
result = prime * result + ((getAppListPicUrl() == null) ? 0 : getAppListPicUrl().hashCode());
result = prime * result + ((getIsNew() == null) ? 0 : getIsNew().hashCode());
result = prime * result + ((getNewPicUrl() == null) ? 0 : getNewPicUrl().hashCode());
result = prime * result + ((getNewSortOrder() == null) ? 0 : getNewSortOrder().hashCode());
result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
return result;
......@@ -616,16 +382,10 @@ public class LitemallBrand {
public enum Column {
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
listPicUrl("list_pic_url", "listPicUrl", "VARCHAR"),
simpleDesc("simple_desc", "simpleDesc", "VARCHAR"),
desc("desc", "desc", "VARCHAR"),
picUrl("pic_url", "picUrl", "VARCHAR"),
sortOrder("sort_order", "sortOrder", "TINYINT"),
isShow("is_show", "isShow", "BIT"),
floorPrice("floor_price", "floorPrice", "DECIMAL"),
appListPicUrl("app_list_pic_url", "appListPicUrl", "VARCHAR"),
isNew("is_new", "isNew", "BIT"),
newPicUrl("new_pic_url", "newPicUrl", "VARCHAR"),
newSortOrder("new_sort_order", "newSortOrder", "TINYINT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
......@@ -734,5 +494,20 @@ public class LitemallBrand {
public String asc() {
return this.column + " ASC";
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
if (excludes != null && excludes.length > 0) {
columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
}
return columns.toArray(new Column[]{});
}
}
}
\ No newline at end of file
......@@ -357,143 +357,73 @@ public class LitemallBrandExample {
return (Criteria) this;
}
public Criteria andListPicUrlIsNull() {
addCriterion("list_pic_url is null");
public Criteria andDescIsNull() {
addCriterion("`desc` is null");
return (Criteria) this;
}
public Criteria andListPicUrlIsNotNull() {
addCriterion("list_pic_url is not null");
public Criteria andDescIsNotNull() {
addCriterion("`desc` is not null");
return (Criteria) this;
}
public Criteria andListPicUrlEqualTo(String value) {
addCriterion("list_pic_url =", value, "listPicUrl");
public Criteria andDescEqualTo(String value) {
addCriterion("`desc` =", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlNotEqualTo(String value) {
addCriterion("list_pic_url <>", value, "listPicUrl");
public Criteria andDescNotEqualTo(String value) {
addCriterion("`desc` <>", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlGreaterThan(String value) {
addCriterion("list_pic_url >", value, "listPicUrl");
public Criteria andDescGreaterThan(String value) {
addCriterion("`desc` >", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("list_pic_url >=", value, "listPicUrl");
public Criteria andDescGreaterThanOrEqualTo(String value) {
addCriterion("`desc` >=", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlLessThan(String value) {
addCriterion("list_pic_url <", value, "listPicUrl");
public Criteria andDescLessThan(String value) {
addCriterion("`desc` <", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlLessThanOrEqualTo(String value) {
addCriterion("list_pic_url <=", value, "listPicUrl");
public Criteria andDescLessThanOrEqualTo(String value) {
addCriterion("`desc` <=", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlLike(String value) {
addCriterion("list_pic_url like", value, "listPicUrl");
public Criteria andDescLike(String value) {
addCriterion("`desc` like", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlNotLike(String value) {
addCriterion("list_pic_url not like", value, "listPicUrl");
public Criteria andDescNotLike(String value) {
addCriterion("`desc` not like", value, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlIn(List<String> values) {
addCriterion("list_pic_url in", values, "listPicUrl");
public Criteria andDescIn(List<String> values) {
addCriterion("`desc` in", values, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlNotIn(List<String> values) {
addCriterion("list_pic_url not in", values, "listPicUrl");
public Criteria andDescNotIn(List<String> values) {
addCriterion("`desc` not in", values, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlBetween(String value1, String value2) {
addCriterion("list_pic_url between", value1, value2, "listPicUrl");
public Criteria andDescBetween(String value1, String value2) {
addCriterion("`desc` between", value1, value2, "desc");
return (Criteria) this;
}
public Criteria andListPicUrlNotBetween(String value1, String value2) {
addCriterion("list_pic_url not between", value1, value2, "listPicUrl");
return (Criteria) this;
}
public Criteria andSimpleDescIsNull() {
addCriterion("simple_desc is null");
return (Criteria) this;
}
public Criteria andSimpleDescIsNotNull() {
addCriterion("simple_desc is not null");
return (Criteria) this;
}
public Criteria andSimpleDescEqualTo(String value) {
addCriterion("simple_desc =", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescNotEqualTo(String value) {
addCriterion("simple_desc <>", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescGreaterThan(String value) {
addCriterion("simple_desc >", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescGreaterThanOrEqualTo(String value) {
addCriterion("simple_desc >=", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescLessThan(String value) {
addCriterion("simple_desc <", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescLessThanOrEqualTo(String value) {
addCriterion("simple_desc <=", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescLike(String value) {
addCriterion("simple_desc like", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescNotLike(String value) {
addCriterion("simple_desc not like", value, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescIn(List<String> values) {
addCriterion("simple_desc in", values, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescNotIn(List<String> values) {
addCriterion("simple_desc not in", values, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescBetween(String value1, String value2) {
addCriterion("simple_desc between", value1, value2, "simpleDesc");
return (Criteria) this;
}
public Criteria andSimpleDescNotBetween(String value1, String value2) {
addCriterion("simple_desc not between", value1, value2, "simpleDesc");
public Criteria andDescNotBetween(String value1, String value2) {
addCriterion("`desc` not between", value1, value2, "desc");
return (Criteria) this;
}
......@@ -627,66 +557,6 @@ public class LitemallBrandExample {
return (Criteria) this;
}
public Criteria andIsShowIsNull() {
addCriterion("is_show is null");
return (Criteria) this;
}
public Criteria andIsShowIsNotNull() {
addCriterion("is_show is not null");
return (Criteria) this;
}
public Criteria andIsShowEqualTo(Boolean value) {
addCriterion("is_show =", value, "isShow");
return (Criteria) this;
}
public Criteria andIsShowNotEqualTo(Boolean value) {
addCriterion("is_show <>", value, "isShow");
return (Criteria) this;
}
public Criteria andIsShowGreaterThan(Boolean value) {
addCriterion("is_show >", value, "isShow");
return (Criteria) this;
}
public Criteria andIsShowGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_show >=", value, "isShow");
return (Criteria) this;
}
public Criteria andIsShowLessThan(Boolean value) {
addCriterion("is_show <", value, "isShow");
return (Criteria) this;
}
public Criteria andIsShowLessThanOrEqualTo(Boolean value) {
addCriterion("is_show <=", value, "isShow");
return (Criteria) this;
}
public Criteria andIsShowIn(List<Boolean> values) {
addCriterion("is_show in", values, "isShow");
return (Criteria) this;
}
public Criteria andIsShowNotIn(List<Boolean> values) {
addCriterion("is_show not in", values, "isShow");
return (Criteria) this;
}
public Criteria andIsShowBetween(Boolean value1, Boolean value2) {
addCriterion("is_show between", value1, value2, "isShow");
return (Criteria) this;
}
public Criteria andIsShowNotBetween(Boolean value1, Boolean value2) {
addCriterion("is_show not between", value1, value2, "isShow");
return (Criteria) this;
}
public Criteria andFloorPriceIsNull() {
addCriterion("floor_price is null");
return (Criteria) this;
......@@ -747,266 +617,6 @@ public class LitemallBrandExample {
return (Criteria) this;
}
public Criteria andAppListPicUrlIsNull() {
addCriterion("app_list_pic_url is null");
return (Criteria) this;
}
public Criteria andAppListPicUrlIsNotNull() {
addCriterion("app_list_pic_url is not null");
return (Criteria) this;
}
public Criteria andAppListPicUrlEqualTo(String value) {
addCriterion("app_list_pic_url =", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlNotEqualTo(String value) {
addCriterion("app_list_pic_url <>", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlGreaterThan(String value) {
addCriterion("app_list_pic_url >", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("app_list_pic_url >=", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlLessThan(String value) {
addCriterion("app_list_pic_url <", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlLessThanOrEqualTo(String value) {
addCriterion("app_list_pic_url <=", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlLike(String value) {
addCriterion("app_list_pic_url like", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlNotLike(String value) {
addCriterion("app_list_pic_url not like", value, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlIn(List<String> values) {
addCriterion("app_list_pic_url in", values, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlNotIn(List<String> values) {
addCriterion("app_list_pic_url not in", values, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlBetween(String value1, String value2) {
addCriterion("app_list_pic_url between", value1, value2, "appListPicUrl");
return (Criteria) this;
}
public Criteria andAppListPicUrlNotBetween(String value1, String value2) {
addCriterion("app_list_pic_url not between", value1, value2, "appListPicUrl");
return (Criteria) this;
}
public Criteria andIsNewIsNull() {
addCriterion("is_new is null");
return (Criteria) this;
}
public Criteria andIsNewIsNotNull() {
addCriterion("is_new is not null");
return (Criteria) this;
}
public Criteria andIsNewEqualTo(Boolean value) {
addCriterion("is_new =", value, "isNew");
return (Criteria) this;
}
public Criteria andIsNewNotEqualTo(Boolean value) {
addCriterion("is_new <>", value, "isNew");
return (Criteria) this;
}
public Criteria andIsNewGreaterThan(Boolean value) {
addCriterion("is_new >", value, "isNew");
return (Criteria) this;
}
public Criteria andIsNewGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_new >=", value, "isNew");
return (Criteria) this;
}
public Criteria andIsNewLessThan(Boolean value) {
addCriterion("is_new <", value, "isNew");
return (Criteria) this;
}
public Criteria andIsNewLessThanOrEqualTo(Boolean value) {
addCriterion("is_new <=", value, "isNew");
return (Criteria) this;
}
public Criteria andIsNewIn(List<Boolean> values) {
addCriterion("is_new in", values, "isNew");
return (Criteria) this;
}
public Criteria andIsNewNotIn(List<Boolean> values) {
addCriterion("is_new not in", values, "isNew");
return (Criteria) this;
}
public Criteria andIsNewBetween(Boolean value1, Boolean value2) {
addCriterion("is_new between", value1, value2, "isNew");
return (Criteria) this;
}
public Criteria andIsNewNotBetween(Boolean value1, Boolean value2) {
addCriterion("is_new not between", value1, value2, "isNew");
return (Criteria) this;
}
public Criteria andNewPicUrlIsNull() {
addCriterion("new_pic_url is null");
return (Criteria) this;
}
public Criteria andNewPicUrlIsNotNull() {
addCriterion("new_pic_url is not null");
return (Criteria) this;
}
public Criteria andNewPicUrlEqualTo(String value) {
addCriterion("new_pic_url =", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlNotEqualTo(String value) {
addCriterion("new_pic_url <>", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlGreaterThan(String value) {
addCriterion("new_pic_url >", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("new_pic_url >=", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlLessThan(String value) {
addCriterion("new_pic_url <", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlLessThanOrEqualTo(String value) {
addCriterion("new_pic_url <=", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlLike(String value) {
addCriterion("new_pic_url like", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlNotLike(String value) {
addCriterion("new_pic_url not like", value, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlIn(List<String> values) {
addCriterion("new_pic_url in", values, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlNotIn(List<String> values) {
addCriterion("new_pic_url not in", values, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlBetween(String value1, String value2) {
addCriterion("new_pic_url between", value1, value2, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewPicUrlNotBetween(String value1, String value2) {
addCriterion("new_pic_url not between", value1, value2, "newPicUrl");
return (Criteria) this;
}
public Criteria andNewSortOrderIsNull() {
addCriterion("new_sort_order is null");
return (Criteria) this;
}
public Criteria andNewSortOrderIsNotNull() {
addCriterion("new_sort_order is not null");
return (Criteria) this;
}
public Criteria andNewSortOrderEqualTo(Byte value) {
addCriterion("new_sort_order =", value, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderNotEqualTo(Byte value) {
addCriterion("new_sort_order <>", value, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderGreaterThan(Byte value) {
addCriterion("new_sort_order >", value, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderGreaterThanOrEqualTo(Byte value) {
addCriterion("new_sort_order >=", value, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderLessThan(Byte value) {
addCriterion("new_sort_order <", value, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderLessThanOrEqualTo(Byte value) {
addCriterion("new_sort_order <=", value, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderIn(List<Byte> values) {
addCriterion("new_sort_order in", values, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderNotIn(List<Byte> values) {
addCriterion("new_sort_order not in", values, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderBetween(Byte value1, Byte value2) {
addCriterion("new_sort_order between", value1, value2, "newSortOrder");
return (Criteria) this;
}
public Criteria andNewSortOrderNotBetween(Byte value1, Byte value2) {
addCriterion("new_sort_order not between", value1, value2, "newSortOrder");
return (Criteria) this;
}
public Criteria andAddTimeIsNull() {
addCriterion("add_time is null");
return (Criteria) this;
......@@ -1192,18 +802,6 @@ public class LitemallBrandExample {
return deleted ? andDeletedEqualTo(LitemallBrand.IS_DELETED) : andDeletedNotEqualTo(LitemallBrand.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallBrand.IS_DELETED) : andDeletedNotEqualTo(LitemallBrand.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_brand
......
......@@ -2,6 +2,7 @@ package org.linlinjava.litemall.db.domain;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallCart {
......@@ -14,16 +15,6 @@ public class LitemallCart {
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
......@@ -33,16 +24,6 @@ public class LitemallCart {
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
......@@ -79,15 +60,6 @@ public class LitemallCart {
*/
private String goodsSn;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.product_id
*
* @mbg.generated
*/
private Integer productId;
/**
*
* This field was generated by MyBatis Generator.
......@@ -100,38 +72,38 @@ public class LitemallCart {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.retail_price
* This field corresponds to the database column litemall_cart.product_id
*
* @mbg.generated
*/
private BigDecimal retailPrice;
private Integer productId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.number
* This field corresponds to the database column litemall_cart.price
*
* @mbg.generated
*/
private Short number;
private BigDecimal price;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.goods_specification_values
* This field corresponds to the database column litemall_cart.number
*
* @mbg.generated
*/
private String goodsSpecificationValues;
private Short number;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.goods_specification_ids
* This field corresponds to the database column litemall_cart.specifications
*
* @mbg.generated
*/
private Integer[] goodsSpecificationIds;
private String[] specifications;
/**
*
......@@ -265,30 +237,6 @@ public class LitemallCart {
this.goodsSn = goodsSn;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.product_id
*
* @return the value of litemall_cart.product_id
*
* @mbg.generated
*/
public Integer getProductId() {
return productId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.product_id
*
* @param productId the value for litemall_cart.product_id
*
* @mbg.generated
*/
public void setProductId(Integer productId) {
this.productId = productId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.goods_name
......@@ -315,98 +263,98 @@ public class LitemallCart {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.retail_price
* This method returns the value of the database column litemall_cart.product_id
*
* @return the value of litemall_cart.retail_price
* @return the value of litemall_cart.product_id
*
* @mbg.generated
*/
public BigDecimal getRetailPrice() {
return retailPrice;
public Integer getProductId() {
return productId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.retail_price
* This method sets the value of the database column litemall_cart.product_id
*
* @param retailPrice the value for litemall_cart.retail_price
* @param productId the value for litemall_cart.product_id
*
* @mbg.generated
*/
public void setRetailPrice(BigDecimal retailPrice) {
this.retailPrice = retailPrice;
public void setProductId(Integer productId) {
this.productId = productId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.number
* This method returns the value of the database column litemall_cart.price
*
* @return the value of litemall_cart.number
* @return the value of litemall_cart.price
*
* @mbg.generated
*/
public Short getNumber() {
return number;
public BigDecimal getPrice() {
return price;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.number
* This method sets the value of the database column litemall_cart.price
*
* @param number the value for litemall_cart.number
* @param price the value for litemall_cart.price
*
* @mbg.generated
*/
public void setNumber(Short number) {
this.number = number;
public void setPrice(BigDecimal price) {
this.price = price;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.goods_specification_values
* This method returns the value of the database column litemall_cart.number
*
* @return the value of litemall_cart.goods_specification_values
* @return the value of litemall_cart.number
*
* @mbg.generated
*/
public String getGoodsSpecificationValues() {
return goodsSpecificationValues;
public Short getNumber() {
return number;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.goods_specification_values
* This method sets the value of the database column litemall_cart.number
*
* @param goodsSpecificationValues the value for litemall_cart.goods_specification_values
* @param number the value for litemall_cart.number
*
* @mbg.generated
*/
public void setGoodsSpecificationValues(String goodsSpecificationValues) {
this.goodsSpecificationValues = goodsSpecificationValues;
public void setNumber(Short number) {
this.number = number;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_cart.goods_specification_ids
* This method returns the value of the database column litemall_cart.specifications
*
* @return the value of litemall_cart.goods_specification_ids
* @return the value of litemall_cart.specifications
*
* @mbg.generated
*/
public Integer[] getGoodsSpecificationIds() {
return goodsSpecificationIds;
public String[] getSpecifications() {
return specifications;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_cart.goods_specification_ids
* This method sets the value of the database column litemall_cart.specifications
*
* @param goodsSpecificationIds the value for litemall_cart.goods_specification_ids
* @param specifications the value for litemall_cart.specifications
*
* @mbg.generated
*/
public void setGoodsSpecificationIds(Integer[] goodsSpecificationIds) {
this.goodsSpecificationIds = goodsSpecificationIds;
public void setSpecifications(String[] specifications) {
this.specifications = specifications;
}
/**
......@@ -521,12 +469,11 @@ public class LitemallCart {
sb.append(", userId=").append(userId);
sb.append(", goodsId=").append(goodsId);
sb.append(", goodsSn=").append(goodsSn);
sb.append(", productId=").append(productId);
sb.append(", goodsName=").append(goodsName);
sb.append(", retailPrice=").append(retailPrice);
sb.append(", productId=").append(productId);
sb.append(", price=").append(price);
sb.append(", number=").append(number);
sb.append(", goodsSpecificationValues=").append(goodsSpecificationValues);
sb.append(", goodsSpecificationIds=").append(goodsSpecificationIds);
sb.append(", specifications=").append(specifications);
sb.append(", checked=").append(checked);
sb.append(", picUrl=").append(picUrl);
sb.append(", addTime=").append(addTime);
......@@ -557,12 +504,11 @@ public class LitemallCart {
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getGoodsId() == null ? other.getGoodsId() == null : this.getGoodsId().equals(other.getGoodsId()))
&& (this.getGoodsSn() == null ? other.getGoodsSn() == null : this.getGoodsSn().equals(other.getGoodsSn()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getGoodsName() == null ? other.getGoodsName() == null : this.getGoodsName().equals(other.getGoodsName()))
&& (this.getRetailPrice() == null ? other.getRetailPrice() == null : this.getRetailPrice().equals(other.getRetailPrice()))
&& (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId()))
&& (this.getPrice() == null ? other.getPrice() == null : this.getPrice().equals(other.getPrice()))
&& (this.getNumber() == null ? other.getNumber() == null : this.getNumber().equals(other.getNumber()))
&& (this.getGoodsSpecificationValues() == null ? other.getGoodsSpecificationValues() == null : this.getGoodsSpecificationValues().equals(other.getGoodsSpecificationValues()))
&& (Arrays.equals(this.getGoodsSpecificationIds(), other.getGoodsSpecificationIds()))
&& (Arrays.equals(this.getSpecifications(), other.getSpecifications()))
&& (this.getChecked() == null ? other.getChecked() == null : this.getChecked().equals(other.getChecked()))
&& (this.getPicUrl() == null ? other.getPicUrl() == null : this.getPicUrl().equals(other.getPicUrl()))
&& (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
......@@ -583,12 +529,11 @@ public class LitemallCart {
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getGoodsId() == null) ? 0 : getGoodsId().hashCode());
result = prime * result + ((getGoodsSn() == null) ? 0 : getGoodsSn().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getGoodsName() == null) ? 0 : getGoodsName().hashCode());
result = prime * result + ((getRetailPrice() == null) ? 0 : getRetailPrice().hashCode());
result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode());
result = prime * result + ((getPrice() == null) ? 0 : getPrice().hashCode());
result = prime * result + ((getNumber() == null) ? 0 : getNumber().hashCode());
result = prime * result + ((getGoodsSpecificationValues() == null) ? 0 : getGoodsSpecificationValues().hashCode());
result = prime * result + (Arrays.hashCode(getGoodsSpecificationIds()));
result = prime * result + (Arrays.hashCode(getSpecifications()));
result = prime * result + ((getChecked() == null) ? 0 : getChecked().hashCode());
result = prime * result + ((getPicUrl() == null) ? 0 : getPicUrl().hashCode());
result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
......@@ -619,12 +564,11 @@ public class LitemallCart {
userId("user_id", "userId", "INTEGER"),
goodsId("goods_id", "goodsId", "INTEGER"),
goodsSn("goods_sn", "goodsSn", "VARCHAR"),
productId("product_id", "productId", "INTEGER"),
goodsName("goods_name", "goodsName", "VARCHAR"),
retailPrice("retail_price", "retailPrice", "DECIMAL"),
productId("product_id", "productId", "INTEGER"),
price("price", "price", "DECIMAL"),
number("number", "number", "SMALLINT"),
goodsSpecificationValues("goods_specification_values", "goodsSpecificationValues", "VARCHAR"),
goodsSpecificationIds("goods_specification_ids", "goodsSpecificationIds", "CHAR"),
specifications("specifications", "specifications", "VARCHAR"),
checked("checked", "checked", "BIT"),
picUrl("pic_url", "picUrl", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
......@@ -735,5 +679,20 @@ public class LitemallCart {
public String asc() {
return this.column + " ASC";
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
if (excludes != null && excludes.length > 0) {
columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
}
return columns.toArray(new Column[]{});
}
}
}
\ No newline at end of file
package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallCollect {
/**
......@@ -12,16 +14,6 @@ public class LitemallCollect {
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
......@@ -31,16 +23,6 @@ public class LitemallCollect {
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
......@@ -71,20 +53,11 @@ public class LitemallCollect {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_collect.is_attention
*
* @mbg.generated
*/
private Boolean isAttention;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_collect.type_id
* This field corresponds to the database column litemall_collect.type
*
* @mbg.generated
*/
private Integer typeId;
private Byte type;
/**
*
......@@ -178,50 +151,26 @@ public class LitemallCollect {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_collect.is_attention
*
* @return the value of litemall_collect.is_attention
*
* @mbg.generated
*/
public Boolean getIsAttention() {
return isAttention;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_collect.is_attention
*
* @param isAttention the value for litemall_collect.is_attention
*
* @mbg.generated
*/
public void setIsAttention(Boolean isAttention) {
this.isAttention = isAttention;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_collect.type_id
* This method returns the value of the database column litemall_collect.type
*
* @return the value of litemall_collect.type_id
* @return the value of litemall_collect.type
*
* @mbg.generated
*/
public Integer getTypeId() {
return typeId;
public Byte getType() {
return type;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_collect.type_id
* This method sets the value of the database column litemall_collect.type
*
* @param typeId the value for litemall_collect.type_id
* @param type the value for litemall_collect.type
*
* @mbg.generated
*/
public void setTypeId(Integer typeId) {
this.typeId = typeId;
public void setType(Byte type) {
this.type = type;
}
/**
......@@ -287,8 +236,7 @@ public class LitemallCollect {
sb.append(", id=").append(id);
sb.append(", userId=").append(userId);
sb.append(", valueId=").append(valueId);
sb.append(", isAttention=").append(isAttention);
sb.append(", typeId=").append(typeId);
sb.append(", type=").append(type);
sb.append(", addTime=").append(addTime);
sb.append(", deleted=").append(deleted);
sb.append("]");
......@@ -316,8 +264,7 @@ public class LitemallCollect {
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getValueId() == null ? other.getValueId() == null : this.getValueId().equals(other.getValueId()))
&& (this.getIsAttention() == null ? other.getIsAttention() == null : this.getIsAttention().equals(other.getIsAttention()))
&& (this.getTypeId() == null ? other.getTypeId() == null : this.getTypeId().equals(other.getTypeId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
&& (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
}
......@@ -335,8 +282,7 @@ public class LitemallCollect {
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getValueId() == null) ? 0 : getValueId().hashCode());
result = prime * result + ((getIsAttention() == null) ? 0 : getIsAttention().hashCode());
result = prime * result + ((getTypeId() == null) ? 0 : getTypeId().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
return result;
......@@ -364,8 +310,7 @@ public class LitemallCollect {
id("id", "id", "INTEGER"),
userId("user_id", "userId", "INTEGER"),
valueId("value_id", "valueId", "INTEGER"),
isAttention("is_attention", "isAttention", "BIT"),
typeId("type_id", "typeId", "INTEGER"),
type("type", "type", "TINYINT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
......@@ -474,5 +419,20 @@ public class LitemallCollect {
public String asc() {
return this.column + " ASC";
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
if (excludes != null && excludes.length > 0) {
columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
}
return columns.toArray(new Column[]{});
}
}
}
\ No newline at end of file
......@@ -406,123 +406,63 @@ public class LitemallCollectExample {
return (Criteria) this;
}
public Criteria andIsAttentionIsNull() {
addCriterion("is_attention is null");
public Criteria andTypeIsNull() {
addCriterion("`type` is null");
return (Criteria) this;
}
public Criteria andIsAttentionIsNotNull() {
addCriterion("is_attention is not null");
public Criteria andTypeIsNotNull() {
addCriterion("`type` is not null");
return (Criteria) this;
}
public Criteria andIsAttentionEqualTo(Boolean value) {
addCriterion("is_attention =", value, "isAttention");
public Criteria andTypeEqualTo(Byte value) {
addCriterion("`type` =", value, "type");
return (Criteria) this;
}
public Criteria andIsAttentionNotEqualTo(Boolean value) {
addCriterion("is_attention <>", value, "isAttention");
public Criteria andTypeNotEqualTo(Byte value) {
addCriterion("`type` <>", value, "type");
return (Criteria) this;
}
public Criteria andIsAttentionGreaterThan(Boolean value) {
addCriterion("is_attention >", value, "isAttention");
public Criteria andTypeGreaterThan(Byte value) {
addCriterion("`type` >", value, "type");
return (Criteria) this;
}
public Criteria andIsAttentionGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_attention >=", value, "isAttention");
public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("`type` >=", value, "type");
return (Criteria) this;
}
public Criteria andIsAttentionLessThan(Boolean value) {
addCriterion("is_attention <", value, "isAttention");
public Criteria andTypeLessThan(Byte value) {
addCriterion("`type` <", value, "type");
return (Criteria) this;
}
public Criteria andIsAttentionLessThanOrEqualTo(Boolean value) {
addCriterion("is_attention <=", value, "isAttention");
public Criteria andTypeLessThanOrEqualTo(Byte value) {
addCriterion("`type` <=", value, "type");
return (Criteria) this;
}
public Criteria andIsAttentionIn(List<Boolean> values) {
addCriterion("is_attention in", values, "isAttention");
public Criteria andTypeIn(List<Byte> values) {
addCriterion("`type` in", values, "type");
return (Criteria) this;
}
public Criteria andIsAttentionNotIn(List<Boolean> values) {
addCriterion("is_attention not in", values, "isAttention");
public Criteria andTypeNotIn(List<Byte> values) {
addCriterion("`type` not in", values, "type");
return (Criteria) this;
}
public Criteria andIsAttentionBetween(Boolean value1, Boolean value2) {
addCriterion("is_attention between", value1, value2, "isAttention");
public Criteria andTypeBetween(Byte value1, Byte value2) {
addCriterion("`type` between", value1, value2, "type");
return (Criteria) this;
}
public Criteria andIsAttentionNotBetween(Boolean value1, Boolean value2) {
addCriterion("is_attention not between", value1, value2, "isAttention");
return (Criteria) this;
}
public Criteria andTypeIdIsNull() {
addCriterion("type_id is null");
return (Criteria) this;
}
public Criteria andTypeIdIsNotNull() {
addCriterion("type_id is not null");
return (Criteria) this;
}
public Criteria andTypeIdEqualTo(Integer value) {
addCriterion("type_id =", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdNotEqualTo(Integer value) {
addCriterion("type_id <>", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdGreaterThan(Integer value) {
addCriterion("type_id >", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdGreaterThanOrEqualTo(Integer value) {
addCriterion("type_id >=", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdLessThan(Integer value) {
addCriterion("type_id <", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdLessThanOrEqualTo(Integer value) {
addCriterion("type_id <=", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdIn(List<Integer> values) {
addCriterion("type_id in", values, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdNotIn(List<Integer> values) {
addCriterion("type_id not in", values, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdBetween(Integer value1, Integer value2) {
addCriterion("type_id between", value1, value2, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdNotBetween(Integer value1, Integer value2) {
addCriterion("type_id not between", value1, value2, "typeId");
public Criteria andTypeNotBetween(Byte value1, Byte value2) {
addCriterion("`type` not between", value1, value2, "type");
return (Criteria) this;
}
......@@ -711,18 +651,6 @@ public class LitemallCollectExample {
return deleted ? andDeletedEqualTo(LitemallCollect.IS_DELETED) : andDeletedNotEqualTo(LitemallCollect.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCollect.IS_DELETED) : andDeletedNotEqualTo(LitemallCollect.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_collect
......
package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
public class LitemallComment {
......@@ -13,16 +14,6 @@ public class LitemallComment {
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
......@@ -32,16 +23,6 @@ public class LitemallComment {
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
......@@ -54,20 +35,20 @@ public class LitemallComment {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_comment.type_id
* This field corresponds to the database column litemall_comment.value_id
*
* @mbg.generated
*/
private Byte typeId;
private Integer valueId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_comment.value_id
* This field corresponds to the database column litemall_comment.type
*
* @mbg.generated
*/
private Integer valueId;
private Byte type;
/**
*
......@@ -158,50 +139,50 @@ public class LitemallComment {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_comment.type_id
* This method returns the value of the database column litemall_comment.value_id
*
* @return the value of litemall_comment.type_id
* @return the value of litemall_comment.value_id
*
* @mbg.generated
*/
public Byte getTypeId() {
return typeId;
public Integer getValueId() {
return valueId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_comment.type_id
* This method sets the value of the database column litemall_comment.value_id
*
* @param typeId the value for litemall_comment.type_id
* @param valueId the value for litemall_comment.value_id
*
* @mbg.generated
*/
public void setTypeId(Byte typeId) {
this.typeId = typeId;
public void setValueId(Integer valueId) {
this.valueId = valueId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_comment.value_id
* This method returns the value of the database column litemall_comment.type
*
* @return the value of litemall_comment.value_id
* @return the value of litemall_comment.type
*
* @mbg.generated
*/
public Integer getValueId() {
return valueId;
public Byte getType() {
return type;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column litemall_comment.value_id
* This method sets the value of the database column litemall_comment.type
*
* @param valueId the value for litemall_comment.value_id
* @param type the value for litemall_comment.type
*
* @mbg.generated
*/
public void setValueId(Integer valueId) {
this.valueId = valueId;
public void setType(Byte type) {
this.type = type;
}
/**
......@@ -385,8 +366,8 @@ public class LitemallComment {
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", typeId=").append(typeId);
sb.append(", valueId=").append(valueId);
sb.append(", type=").append(type);
sb.append(", content=").append(content);
sb.append(", userId=").append(userId);
sb.append(", hasPicture=").append(hasPicture);
......@@ -417,8 +398,8 @@ public class LitemallComment {
}
LitemallComment other = (LitemallComment) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTypeId() == null ? other.getTypeId() == null : this.getTypeId().equals(other.getTypeId()))
&& (this.getValueId() == null ? other.getValueId() == null : this.getValueId().equals(other.getValueId()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
&& (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
&& (this.getHasPicture() == null ? other.getHasPicture() == null : this.getHasPicture().equals(other.getHasPicture()))
......@@ -439,8 +420,8 @@ public class LitemallComment {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getTypeId() == null) ? 0 : getTypeId().hashCode());
result = prime * result + ((getValueId() == null) ? 0 : getValueId().hashCode());
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getHasPicture() == null) ? 0 : getHasPicture().hashCode());
......@@ -471,12 +452,12 @@ public class LitemallComment {
*/
public enum Column {
id("id", "id", "INTEGER"),
typeId("type_id", "typeId", "TINYINT"),
valueId("value_id", "valueId", "INTEGER"),
type("type", "type", "TINYINT"),
content("content", "content", "VARCHAR"),
userId("user_id", "userId", "INTEGER"),
hasPicture("has_picture", "hasPicture", "BIT"),
picUrls("pic_urls", "picUrls", "CHAR"),
picUrls("pic_urls", "picUrls", "VARCHAR"),
star("star", "star", "SMALLINT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
......@@ -586,5 +567,20 @@ public class LitemallComment {
public String asc() {
return this.column + " ASC";
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
if (excludes != null && excludes.length > 0) {
columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
}
return columns.toArray(new Column[]{});
}
}
}
\ No newline at end of file
......@@ -320,123 +320,123 @@ public class LitemallCommentExample {
return (Criteria) this;
}
public Criteria andTypeIdIsNull() {
addCriterion("type_id is null");
public Criteria andValueIdIsNull() {
addCriterion("value_id is null");
return (Criteria) this;
}
public Criteria andTypeIdIsNotNull() {
addCriterion("type_id is not null");
public Criteria andValueIdIsNotNull() {
addCriterion("value_id is not null");
return (Criteria) this;
}
public Criteria andTypeIdEqualTo(Byte value) {
addCriterion("type_id =", value, "typeId");
public Criteria andValueIdEqualTo(Integer value) {
addCriterion("value_id =", value, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdNotEqualTo(Byte value) {
addCriterion("type_id <>", value, "typeId");
public Criteria andValueIdNotEqualTo(Integer value) {
addCriterion("value_id <>", value, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdGreaterThan(Byte value) {
addCriterion("type_id >", value, "typeId");
public Criteria andValueIdGreaterThan(Integer value) {
addCriterion("value_id >", value, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdGreaterThanOrEqualTo(Byte value) {
addCriterion("type_id >=", value, "typeId");
public Criteria andValueIdGreaterThanOrEqualTo(Integer value) {
addCriterion("value_id >=", value, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdLessThan(Byte value) {
addCriterion("type_id <", value, "typeId");
public Criteria andValueIdLessThan(Integer value) {
addCriterion("value_id <", value, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdLessThanOrEqualTo(Byte value) {
addCriterion("type_id <=", value, "typeId");
public Criteria andValueIdLessThanOrEqualTo(Integer value) {
addCriterion("value_id <=", value, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdIn(List<Byte> values) {
addCriterion("type_id in", values, "typeId");
public Criteria andValueIdIn(List<Integer> values) {
addCriterion("value_id in", values, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdNotIn(List<Byte> values) {
addCriterion("type_id not in", values, "typeId");
public Criteria andValueIdNotIn(List<Integer> values) {
addCriterion("value_id not in", values, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdBetween(Byte value1, Byte value2) {
addCriterion("type_id between", value1, value2, "typeId");
public Criteria andValueIdBetween(Integer value1, Integer value2) {
addCriterion("value_id between", value1, value2, "valueId");
return (Criteria) this;
}
public Criteria andTypeIdNotBetween(Byte value1, Byte value2) {
addCriterion("type_id not between", value1, value2, "typeId");
public Criteria andValueIdNotBetween(Integer value1, Integer value2) {
addCriterion("value_id not between", value1, value2, "valueId");
return (Criteria) this;
}
public Criteria andValueIdIsNull() {
addCriterion("value_id is null");
public Criteria andTypeIsNull() {
addCriterion("`type` is null");
return (Criteria) this;
}
public Criteria andValueIdIsNotNull() {
addCriterion("value_id is not null");
public Criteria andTypeIsNotNull() {
addCriterion("`type` is not null");
return (Criteria) this;
}
public Criteria andValueIdEqualTo(Integer value) {
addCriterion("value_id =", value, "valueId");
public Criteria andTypeEqualTo(Byte value) {
addCriterion("`type` =", value, "type");
return (Criteria) this;
}
public Criteria andValueIdNotEqualTo(Integer value) {
addCriterion("value_id <>", value, "valueId");
public Criteria andTypeNotEqualTo(Byte value) {
addCriterion("`type` <>", value, "type");
return (Criteria) this;
}
public Criteria andValueIdGreaterThan(Integer value) {
addCriterion("value_id >", value, "valueId");
public Criteria andTypeGreaterThan(Byte value) {
addCriterion("`type` >", value, "type");
return (Criteria) this;
}
public Criteria andValueIdGreaterThanOrEqualTo(Integer value) {
addCriterion("value_id >=", value, "valueId");
public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("`type` >=", value, "type");
return (Criteria) this;
}
public Criteria andValueIdLessThan(Integer value) {
addCriterion("value_id <", value, "valueId");
public Criteria andTypeLessThan(Byte value) {
addCriterion("`type` <", value, "type");
return (Criteria) this;
}
public Criteria andValueIdLessThanOrEqualTo(Integer value) {
addCriterion("value_id <=", value, "valueId");
public Criteria andTypeLessThanOrEqualTo(Byte value) {
addCriterion("`type` <=", value, "type");
return (Criteria) this;
}
public Criteria andValueIdIn(List<Integer> values) {
addCriterion("value_id in", values, "valueId");
public Criteria andTypeIn(List<Byte> values) {
addCriterion("`type` in", values, "type");
return (Criteria) this;
}
public Criteria andValueIdNotIn(List<Integer> values) {
addCriterion("value_id not in", values, "valueId");
public Criteria andTypeNotIn(List<Byte> values) {
addCriterion("`type` not in", values, "type");
return (Criteria) this;
}
public Criteria andValueIdBetween(Integer value1, Integer value2) {
addCriterion("value_id between", value1, value2, "valueId");
public Criteria andTypeBetween(Byte value1, Byte value2) {
addCriterion("`type` between", value1, value2, "type");
return (Criteria) this;
}
public Criteria andValueIdNotBetween(Integer value1, Integer value2) {
addCriterion("value_id not between", value1, value2, "valueId");
public Criteria andTypeNotBetween(Byte value1, Byte value2) {
addCriterion("`type` not between", value1, value2, "type");
return (Criteria) this;
}
......@@ -945,18 +945,6 @@ public class LitemallCommentExample {
return deleted ? andDeletedEqualTo(LitemallComment.IS_DELETED) : andDeletedNotEqualTo(LitemallComment.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallComment.IS_DELETED) : andDeletedNotEqualTo(LitemallComment.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_comment
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment