Commit 8f078bd9 authored by Junling Bu's avatar Junling Bu
Browse files

update[litemall-db]: 更新mybatis generator插件到1.2.3。

1. 设置逻辑删除插件
2. 设置乐观锁插件
parent d006f89f
......@@ -51,8 +51,9 @@ public interface LitemallRegionMapper {
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallRegion> selectByExample(LitemallRegionExample example);
LitemallRegion selectOneByExample(LitemallRegionExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -61,32 +62,33 @@ public interface LitemallRegionMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallRegion> selectByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
LitemallRegion selectOneByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectByPrimaryKey(Integer id);
List<LitemallRegion> selectByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallRegion.Column ... selective);
List<LitemallRegion> selectByExample(LitemallRegionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateByExampleSelective(@Param("record") LitemallRegion record, @Param("example") LitemallRegionExample example);
LitemallRegion selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallRegion.Column ... selective);
/**
* This method was generated by MyBatis Generator.
......@@ -94,7 +96,7 @@ public interface LitemallRegionMapper {
*
* @mbg.generated
*/
int updateByExample(@Param("record") LitemallRegion record, @Param("example") LitemallRegionExample example);
LitemallRegion selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
......@@ -102,7 +104,7 @@ public interface LitemallRegionMapper {
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(LitemallRegion record);
int updateByExampleSelective(@Param("record") LitemallRegion record, @Param("example") LitemallRegionExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -110,23 +112,21 @@ public interface LitemallRegionMapper {
*
* @mbg.generated
*/
int updateByPrimaryKey(LitemallRegion record);
int updateByExample(@Param("record") LitemallRegion record, @Param("example") LitemallRegionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectOneByExample(LitemallRegionExample example);
int updateByPrimaryKeySelective(LitemallRegion record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectOneByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
int updateByPrimaryKey(LitemallRegion record);
}
\ No newline at end of file
......@@ -51,8 +51,18 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallSearchHistory> selectByExample(LitemallSearchHistoryExample example);
LitemallSearchHistory selectOneByExample(LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExampleSelective(@Param("example") LitemallSearchHistoryExample example, @Param("selective") LitemallSearchHistory.Column ... selective);
/**
* This method was generated by MyBatis Generator.
......@@ -69,7 +79,7 @@ public interface LitemallSearchHistoryMapper {
*
* @mbg.generated
*/
LitemallSearchHistory selectByPrimaryKey(Integer id);
List<LitemallSearchHistory> selectByExample(LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -80,6 +90,23 @@ public interface LitemallSearchHistoryMapper {
*/
LitemallSearchHistory selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallSearchHistory.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
*/
LitemallSearchHistory selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
......@@ -119,7 +146,7 @@ public interface LitemallSearchHistoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExample(LitemallSearchHistoryExample example);
int logicalDeleteByExample(@Param("example") LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -128,5 +155,5 @@ public interface LitemallSearchHistoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExampleSelective(@Param("example") LitemallSearchHistoryExample example, @Param("selective") LitemallSearchHistory.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,8 +51,18 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallStorage> selectByExample(LitemallStorageExample example);
LitemallStorage selectOneByExample(LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExampleSelective(@Param("example") LitemallStorageExample example, @Param("selective") LitemallStorage.Column ... selective);
/**
* This method was generated by MyBatis Generator.
......@@ -69,7 +79,7 @@ public interface LitemallStorageMapper {
*
* @mbg.generated
*/
LitemallStorage selectByPrimaryKey(Integer id);
List<LitemallStorage> selectByExample(LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -80,6 +90,23 @@ public interface LitemallStorageMapper {
*/
LitemallStorage selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallStorage.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
*/
LitemallStorage selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
......@@ -119,7 +146,7 @@ public interface LitemallStorageMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExample(LitemallStorageExample example);
int logicalDeleteByExample(@Param("example") LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -128,5 +155,5 @@ public interface LitemallStorageMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExampleSelective(@Param("example") LitemallStorageExample example, @Param("selective") LitemallStorage.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,16 +51,27 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallTopic> selectByExampleWithBLOBs(LitemallTopicExample example);
LitemallTopic selectOneByExample(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallTopic> selectByExample(LitemallTopicExample example);
LitemallTopic selectOneByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleWithBLOBs(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -77,7 +88,15 @@ public interface LitemallTopicMapper {
*
* @mbg.generated
*/
LitemallTopic selectByPrimaryKey(Integer id);
List<LitemallTopic> selectByExampleWithBLOBs(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
*/
List<LitemallTopic> selectByExample(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -94,15 +113,16 @@ public interface LitemallTopicMapper {
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
LitemallTopic selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateByExampleWithBLOBs(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
LitemallTopic selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
......@@ -110,7 +130,7 @@ public interface LitemallTopicMapper {
*
* @mbg.generated
*/
int updateByExample(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
int updateByExampleSelective(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -118,7 +138,7 @@ public interface LitemallTopicMapper {
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(LitemallTopic record);
int updateByExampleWithBLOBs(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -126,7 +146,7 @@ public interface LitemallTopicMapper {
*
* @mbg.generated
*/
int updateByPrimaryKeyWithBLOBs(LitemallTopic record);
int updateByExample(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -134,16 +154,23 @@ public interface LitemallTopicMapper {
*
* @mbg.generated
*/
int updateByPrimaryKey(LitemallTopic record);
int updateByPrimaryKeySelective(LitemallTopic record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExample(LitemallTopicExample example);
int updateByPrimaryKeyWithBLOBs(LitemallTopic record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
*/
int updateByPrimaryKey(LitemallTopic record);
/**
* This method was generated by MyBatis Generator.
......@@ -152,7 +179,7 @@ public interface LitemallTopicMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
int logicalDeleteByExample(@Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -161,5 +188,5 @@ public interface LitemallTopicMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleWithBLOBs(LitemallTopicExample example);
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,8 +51,18 @@ public interface LitemallUserCouponMapper {
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallUserCoupon> selectByExample(LitemallUserCouponExample example);
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.
......@@ -69,7 +79,7 @@ public interface LitemallUserCouponMapper {
*
* @mbg.generated
*/
LitemallUserCoupon selectByPrimaryKey(Integer id);
List<LitemallUserCoupon> selectByExample(LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -80,6 +90,23 @@ public interface LitemallUserCouponMapper {
*/
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
......@@ -119,7 +146,7 @@ public interface LitemallUserCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectOneByExample(LitemallUserCouponExample example);
int logicalDeleteByExample(@Param("example") LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -128,5 +155,5 @@ public interface LitemallUserCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectOneByExampleSelective(@Param("example") LitemallUserCouponExample example, @Param("selective") LitemallUserCoupon.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,8 +51,18 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallUser> selectByExample(LitemallUserExample example);
LitemallUser selectOneByExample(LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExampleSelective(@Param("example") LitemallUserExample example, @Param("selective") LitemallUser.Column ... selective);
/**
* This method was generated by MyBatis Generator.
......@@ -69,7 +79,7 @@ public interface LitemallUserMapper {
*
* @mbg.generated
*/
LitemallUser selectByPrimaryKey(Integer id);
List<LitemallUser> selectByExample(LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -80,6 +90,23 @@ public interface LitemallUserMapper {
*/
LitemallUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallUser.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
*/
LitemallUser selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser 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
......@@ -119,7 +146,7 @@ public interface LitemallUserMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExample(LitemallUserExample example);
int logicalDeleteByExample(@Param("example") LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
......@@ -128,5 +155,5 @@ public interface LitemallUserMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExampleSelective(@Param("example") LitemallUserExample example, @Param("selective") LitemallUser.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallAd {
/**
* 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
*/
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
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
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.
......@@ -448,6 +486,17 @@ public class LitemallAd {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_ad
......@@ -456,17 +505,17 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
position("position"),
name("name"),
link("link"),
url("url"),
content("content"),
startTime("start_time"),
endTime("end_time"),
enabled("enabled"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
position("position", "position", "INTEGER"),
name("name", "name", "VARCHAR"),
link("link", "link", "VARCHAR"),
url("url", "url", "VARCHAR"),
content("content", "content", "VARCHAR"),
startTime("start_time", "startTime", "TIMESTAMP"),
endTime("end_time", "endTime", "TIMESTAMP"),
enabled("enabled", "enabled", "BIT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
......@@ -477,6 +526,24 @@ public class LitemallAd {
*/
private final String column;
/**
* 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
*/
private final String javaProperty;
/**
* 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
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
......@@ -506,8 +573,32 @@ public class LitemallAd {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* 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 String getJdbcType() {
return this.jdbcType;
}
/**
* 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
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**
......
......@@ -116,13 +116,11 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
public LitemallAdExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
......@@ -130,10 +128,18 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
public LitemallAdExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
......@@ -142,10 +148,12 @@ public class LitemallAdExample {
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
......@@ -153,11 +161,10 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
}
/**
......@@ -165,18 +172,11 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
......@@ -980,6 +980,29 @@ public class LitemallAdExample {
return this;
}
/**
* 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 Criteria andLogicalDeleted(boolean deleted) {
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
......
......@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallAddress {
/**
* 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
*/
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
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
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.
......@@ -448,6 +486,17 @@ public class LitemallAddress {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_address
......@@ -456,17 +505,17 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
name("name"),
userId("user_id"),
provinceId("province_id"),
cityId("city_id"),
areaId("area_id"),
address("address"),
mobile("mobile"),
isDefault("is_default"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
userId("user_id", "userId", "INTEGER"),
provinceId("province_id", "provinceId", "INTEGER"),
cityId("city_id", "cityId", "INTEGER"),
areaId("area_id", "areaId", "INTEGER"),
address("address", "address", "VARCHAR"),
mobile("mobile", "mobile", "VARCHAR"),
isDefault("is_default", "isDefault", "BIT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
......@@ -477,6 +526,24 @@ public class LitemallAddress {
*/
private final String column;
/**
* 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
*/
private final String javaProperty;
/**
* 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
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
......@@ -506,8 +573,32 @@ public class LitemallAddress {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* 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 String getJdbcType() {
return this.jdbcType;
}
/**
* 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
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**
......
......@@ -116,13 +116,11 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
public LitemallAddressExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
......@@ -130,10 +128,18 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
public LitemallAddressExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
......@@ -142,10 +148,12 @@ public class LitemallAddressExample {
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
......@@ -153,11 +161,10 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAddressExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
}
/**
......@@ -165,18 +172,11 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAddressExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
......@@ -970,6 +970,29 @@ public class LitemallAddressExample {
return this;
}
/**
* 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 Criteria andLogicalDeleted(boolean deleted) {
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
......
......@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallAdmin {
/**
* 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
*/
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
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
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.
......@@ -376,6 +414,17 @@ public class LitemallAdmin {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_admin
......@@ -384,15 +433,15 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
username("username"),
password("password"),
lastLoginIp("last_login_ip"),
lastLoginTime("last_login_time"),
updateTime("update_time"),
avatar("avatar"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
username("username", "username", "VARCHAR"),
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");
/**
* This field was generated by MyBatis Generator.
......@@ -403,6 +452,24 @@ public class LitemallAdmin {
*/
private final String column;
/**
* 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
*/
private final String javaProperty;
/**
* 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
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
......@@ -432,8 +499,32 @@ public class LitemallAdmin {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* 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 String getJdbcType() {
return this.jdbcType;
}
/**
* 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
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**
......
......@@ -116,13 +116,11 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
public LitemallAdminExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
......@@ -130,10 +128,18 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
public LitemallAdminExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
......@@ -142,10 +148,12 @@ public class LitemallAdminExample {
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
......@@ -153,11 +161,10 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdminExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
}
/**
......@@ -165,18 +172,11 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdminExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
......@@ -860,6 +860,29 @@ public class LitemallAdminExample {
return this;
}
/**
* 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 Criteria andLogicalDeleted(boolean deleted) {
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
......
......@@ -4,6 +4,44 @@ import java.math.BigDecimal;
import java.time.LocalDateTime;
public class LitemallBrand {
/**
* 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
*/
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
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
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.
......@@ -557,6 +595,17 @@ public class LitemallBrand {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_brand
......@@ -565,20 +614,20 @@ public class LitemallBrand {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
name("name"),
listPicUrl("list_pic_url"),
simpleDesc("simple_desc"),
picUrl("pic_url"),
sortOrder("sort_order"),
isShow("is_show"),
floorPrice("floor_price"),
appListPicUrl("app_list_pic_url"),
isNew("is_new"),
newPicUrl("new_pic_url"),
newSortOrder("new_sort_order"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
listPicUrl("list_pic_url", "listPicUrl", "VARCHAR"),
simpleDesc("simple_desc", "simpleDesc", "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");
/**
* This field was generated by MyBatis Generator.
......@@ -589,6 +638,24 @@ public class LitemallBrand {
*/
private final String column;
/**
* 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
*/
private final String javaProperty;
/**
* 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
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
......@@ -618,8 +685,32 @@ public class LitemallBrand {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* 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 String getJdbcType() {
return this.jdbcType;
}
/**
* 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
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**
......
......@@ -117,13 +117,11 @@ public class LitemallBrandExample {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
public LitemallBrandExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
......@@ -131,10 +129,18 @@ public class LitemallBrandExample {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
public LitemallBrandExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
......@@ -143,10 +149,12 @@ public class LitemallBrandExample {
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
......@@ -154,11 +162,10 @@ public class LitemallBrandExample {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallBrandExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
}
/**
......@@ -166,18 +173,11 @@ public class LitemallBrandExample {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallBrandExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
......@@ -1181,6 +1181,29 @@ public class LitemallBrandExample {
return this;
}
/**
* 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 Criteria andLogicalDeleted(boolean deleted) {
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
......
......@@ -5,6 +5,44 @@ import java.time.LocalDateTime;
import java.util.Arrays;
public class LitemallCart {
/**
* 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
*/
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
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
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.
......@@ -558,6 +596,17 @@ public class LitemallCart {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_cart
......@@ -566,20 +615,20 @@ public class LitemallCart {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
userId("user_id"),
goodsId("goods_id"),
goodsSn("goods_sn"),
productId("product_id"),
goodsName("goods_name"),
retailPrice("retail_price"),
number("number"),
goodsSpecificationValues("goods_specification_values"),
goodsSpecificationIds("goods_specification_ids"),
checked("checked"),
picUrl("pic_url"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
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"),
number("number", "number", "SMALLINT"),
goodsSpecificationValues("goods_specification_values", "goodsSpecificationValues", "VARCHAR"),
goodsSpecificationIds("goods_specification_ids", "goodsSpecificationIds", "CHAR"),
checked("checked", "checked", "BIT"),
picUrl("pic_url", "picUrl", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
......@@ -590,6 +639,24 @@ public class LitemallCart {
*/
private final String column;
/**
* 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
*/
private final String javaProperty;
/**
* 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
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
......@@ -619,8 +686,32 @@ public class LitemallCart {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* 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 String getJdbcType() {
return this.jdbcType;
}
/**
* 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
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**
......
......@@ -117,13 +117,11 @@ public class LitemallCartExample {
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
public LitemallCartExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
......@@ -131,10 +129,18 @@ public class LitemallCartExample {
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
public LitemallCartExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
......@@ -143,10 +149,12 @@ public class LitemallCartExample {
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
......@@ -154,11 +162,10 @@ public class LitemallCartExample {
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCartExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
}
/**
......@@ -166,18 +173,11 @@ public class LitemallCartExample {
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCartExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
......@@ -1205,6 +1205,29 @@ public class LitemallCartExample {
return this;
}
/**
* 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 Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCart.IS_DELETED) : andDeletedNotEqualTo(LitemallCart.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCart.IS_DELETED) : andDeletedNotEqualTo(LitemallCart.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_cart
......
......@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallCategory {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @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_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @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.
......@@ -664,6 +702,17 @@ public class LitemallCategory {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_category
......@@ -672,23 +721,23 @@ public class LitemallCategory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
name("name"),
keywords("keywords"),
frontDesc("front_desc"),
parentId("parent_id"),
sortOrder("sort_order"),
showIndex("show_index"),
isShow("is_show"),
bannerUrl("banner_url"),
iconUrl("icon_url"),
imgUrl("img_url"),
wapBannerUrl("wap_banner_url"),
level("level"),
type("type"),
frontName("front_name"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
keywords("keywords", "keywords", "VARCHAR"),
frontDesc("front_desc", "frontDesc", "VARCHAR"),
parentId("parent_id", "parentId", "INTEGER"),
sortOrder("sort_order", "sortOrder", "TINYINT"),
showIndex("show_index", "showIndex", "TINYINT"),
isShow("is_show", "isShow", "BIT"),
bannerUrl("banner_url", "bannerUrl", "VARCHAR"),
iconUrl("icon_url", "iconUrl", "VARCHAR"),
imgUrl("img_url", "imgUrl", "VARCHAR"),
wapBannerUrl("wap_banner_url", "wapBannerUrl", "VARCHAR"),
level("level", "level", "VARCHAR"),
type("type", "type", "INTEGER"),
frontName("front_name", "frontName", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
......@@ -699,6 +748,24 @@ public class LitemallCategory {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
......@@ -728,8 +795,32 @@ public class LitemallCategory {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**
......
......@@ -116,13 +116,11 @@ public class LitemallCategoryExample {
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
public LitemallCategoryExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
......@@ -130,10 +128,18 @@ public class LitemallCategoryExample {
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
public LitemallCategoryExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
......@@ -142,10 +148,12 @@ public class LitemallCategoryExample {
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
......@@ -153,11 +161,10 @@ public class LitemallCategoryExample {
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCategoryExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
}
/**
......@@ -165,18 +172,11 @@ public class LitemallCategoryExample {
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCategoryExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
......@@ -1390,6 +1390,29 @@ public class LitemallCategoryExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCategory.IS_DELETED) : andDeletedNotEqualTo(LitemallCategory.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCategory.IS_DELETED) : andDeletedNotEqualTo(LitemallCategory.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_category
......
......@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallCollect {
/**
* 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
*/
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
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
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.
......@@ -304,6 +342,17 @@ public class LitemallCollect {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_collect
......@@ -312,13 +361,13 @@ public class LitemallCollect {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
userId("user_id"),
valueId("value_id"),
isAttention("is_attention"),
typeId("type_id"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
userId("user_id", "userId", "INTEGER"),
valueId("value_id", "valueId", "INTEGER"),
isAttention("is_attention", "isAttention", "BIT"),
typeId("type_id", "typeId", "INTEGER"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
......@@ -329,6 +378,24 @@ public class LitemallCollect {
*/
private final String column;
/**
* 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
*/
private final String javaProperty;
/**
* 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
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
......@@ -358,8 +425,32 @@ public class LitemallCollect {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* 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 String getJdbcType() {
return this.jdbcType;
}
/**
* 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
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**
......
......@@ -116,13 +116,11 @@ public class LitemallCollectExample {
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
public LitemallCollectExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
......@@ -130,10 +128,18 @@ public class LitemallCollectExample {
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
public LitemallCollectExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
......@@ -142,10 +148,12 @@ public class LitemallCollectExample {
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
......@@ -153,11 +161,10 @@ public class LitemallCollectExample {
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCollectExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this);
return criteria;
}
/**
......@@ -165,18 +172,11 @@ public class LitemallCollectExample {
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCollectExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
......@@ -700,6 +700,29 @@ public class LitemallCollectExample {
return this;
}
/**
* 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 Criteria andLogicalDeleted(boolean deleted) {
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
......
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