diff --git a/litemall-db/mybatis-generator/generatorConfig.xml b/litemall-db/mybatis-generator/generatorConfig.xml
index 61e3f4f3..2540c95a 100644
--- a/litemall-db/mybatis-generator/generatorConfig.xml
+++ b/litemall-db/mybatis-generator/generatorConfig.xml
@@ -45,9 +45,9 @@
+ connectionURL="jdbc:mysql://127.0.0.1:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false"
+ userId="litemall"
+ password="litemall123456"/>
@@ -56,71 +56,86 @@
targetProject="src/main/java"/>
diff --git a/litemall-db/pom.xml b/litemall-db/pom.xml
index 5792eaaa..896dd4cc 100644
--- a/litemall-db/pom.xml
+++ b/litemall-db/pom.xml
@@ -62,7 +62,7 @@
com.itfsw
mybatis-generator-plugin
- 1.2.6
+ 1.2.10
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdMapper.java
index 184f60b3..b23c4b89 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdMapper.java
@@ -14,6 +14,15 @@ public interface LitemallAdMapper {
*/
long countByExample(LitemallAdExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallAdExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
@@ -22,6 +31,15 @@ public interface LitemallAdMapper {
*/
int deleteByExample(LitemallAdExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
@@ -107,6 +125,24 @@ public interface LitemallAdMapper {
*/
LitemallAd selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallAd record, @Param("example") LitemallAdExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallAd record, @Param("example") LitemallAdExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
@@ -123,6 +159,24 @@ public interface LitemallAdMapper {
*/
int updateByExample(@Param("record") LitemallAd record, @Param("example") LitemallAdExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallAd record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallAd record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAddressMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAddressMapper.java
index 0c89add9..dd9a7ea1 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAddressMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAddressMapper.java
@@ -14,6 +14,15 @@ public interface LitemallAddressMapper {
*/
long countByExample(LitemallAddressExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallAddressExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
@@ -22,6 +31,15 @@ public interface LitemallAddressMapper {
*/
int deleteByExample(LitemallAddressExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
@@ -107,6 +125,24 @@ public interface LitemallAddressMapper {
*/
LitemallAddress selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
@@ -123,6 +159,24 @@ public interface LitemallAddressMapper {
*/
int updateByExample(@Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallAddress record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallAddress record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdminMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdminMapper.java
index 296be640..34cabeed 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdminMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdminMapper.java
@@ -14,6 +14,15 @@ public interface LitemallAdminMapper {
*/
long countByExample(LitemallAdminExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallAdminExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
@@ -22,6 +31,15 @@ public interface LitemallAdminMapper {
*/
int deleteByExample(LitemallAdminExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
@@ -107,6 +125,24 @@ public interface LitemallAdminMapper {
*/
LitemallAdmin selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
@@ -123,6 +159,24 @@ public interface LitemallAdminMapper {
*/
int updateByExample(@Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallAdmin record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallAdmin record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallBrandMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallBrandMapper.java
index b21ddd4f..df70c88d 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallBrandMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallBrandMapper.java
@@ -14,6 +14,15 @@ public interface LitemallBrandMapper {
*/
long countByExample(LitemallBrandExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallBrandExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
@@ -22,6 +31,15 @@ public interface LitemallBrandMapper {
*/
int deleteByExample(LitemallBrandExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
@@ -107,6 +125,24 @@ public interface LitemallBrandMapper {
*/
LitemallBrand selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
@@ -123,6 +159,24 @@ public interface LitemallBrandMapper {
*/
int updateByExample(@Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallBrand record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallBrand record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCartMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCartMapper.java
index 451d20fa..361103c2 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCartMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCartMapper.java
@@ -14,6 +14,15 @@ public interface LitemallCartMapper {
*/
long countByExample(LitemallCartExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCartExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
@@ -22,6 +31,15 @@ public interface LitemallCartMapper {
*/
int deleteByExample(LitemallCartExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
@@ -107,6 +125,24 @@ public interface LitemallCartMapper {
*/
LitemallCart selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallCart record, @Param("example") LitemallCartExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallCart record, @Param("example") LitemallCartExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
@@ -123,6 +159,24 @@ public interface LitemallCartMapper {
*/
int updateByExample(@Param("record") LitemallCart record, @Param("example") LitemallCartExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallCart record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallCart record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.java
index 0c2c15f6..b3f4a1f6 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.java
@@ -14,6 +14,15 @@ public interface LitemallCategoryMapper {
*/
long countByExample(LitemallCategoryExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCategoryExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
@@ -22,6 +31,15 @@ public interface LitemallCategoryMapper {
*/
int deleteByExample(LitemallCategoryExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
@@ -107,6 +125,24 @@ public interface LitemallCategoryMapper {
*/
LitemallCategory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
@@ -123,6 +159,24 @@ public interface LitemallCategoryMapper {
*/
int updateByExample(@Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallCategory record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallCategory record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCollectMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCollectMapper.java
index 1056e055..8dbfba3b 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCollectMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCollectMapper.java
@@ -14,6 +14,15 @@ public interface LitemallCollectMapper {
*/
long countByExample(LitemallCollectExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCollectExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
@@ -22,6 +31,15 @@ public interface LitemallCollectMapper {
*/
int deleteByExample(LitemallCollectExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
@@ -107,6 +125,24 @@ public interface LitemallCollectMapper {
*/
LitemallCollect selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
@@ -123,6 +159,24 @@ public interface LitemallCollectMapper {
*/
int updateByExample(@Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallCollect record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallCollect record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCommentMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCommentMapper.java
index 3bdafcd1..454a5c96 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCommentMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCommentMapper.java
@@ -14,6 +14,15 @@ public interface LitemallCommentMapper {
*/
long countByExample(LitemallCommentExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCommentExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
@@ -22,6 +31,15 @@ public interface LitemallCommentMapper {
*/
int deleteByExample(LitemallCommentExample example);
+ /**
+ * 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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
@@ -107,6 +125,24 @@ public interface LitemallCommentMapper {
*/
LitemallComment selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
@@ -123,6 +159,24 @@ public interface LitemallCommentMapper {
*/
int updateByExample(@Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallComment record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallComment record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.java
index 98464094..a0f95721 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.java
@@ -14,6 +14,15 @@ public interface LitemallFootprintMapper {
*/
long countByExample(LitemallFootprintExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallFootprintExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
@@ -22,6 +31,15 @@ public interface LitemallFootprintMapper {
*/
int deleteByExample(LitemallFootprintExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
@@ -107,6 +125,24 @@ public interface LitemallFootprintMapper {
*/
LitemallFootprint selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallFootprint record, @Param("example") LitemallFootprintExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallFootprint record, @Param("example") LitemallFootprintExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
@@ -123,6 +159,24 @@ public interface LitemallFootprintMapper {
*/
int updateByExample(@Param("record") LitemallFootprint record, @Param("example") LitemallFootprintExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallFootprint record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallFootprint record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.java
index a6b5d2ed..d9cfb5d7 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.java
@@ -14,6 +14,15 @@ public interface LitemallGoodsAttributeMapper {
*/
long countByExample(LitemallGoodsAttributeExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGoodsAttributeExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
@@ -22,6 +31,15 @@ public interface LitemallGoodsAttributeMapper {
*/
int deleteByExample(LitemallGoodsAttributeExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
@@ -107,6 +125,24 @@ public interface LitemallGoodsAttributeMapper {
*/
LitemallGoodsAttribute selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
@@ -123,6 +159,24 @@ public interface LitemallGoodsAttributeMapper {
*/
int updateByExample(@Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.java
index 3e4194d5..cc0c75a9 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.java
@@ -14,6 +14,15 @@ public interface LitemallGoodsMapper {
*/
long countByExample(LitemallGoodsExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGoodsExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -22,6 +31,15 @@ public interface LitemallGoodsMapper {
*/
int deleteByExample(LitemallGoodsExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -124,6 +142,24 @@ public interface LitemallGoodsMapper {
*/
LitemallGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -132,6 +168,15 @@ public interface LitemallGoodsMapper {
*/
int updateByExampleSelective(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleWithBLOBs(@Param("version") Integer version, @Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -148,6 +193,24 @@ public interface LitemallGoodsMapper {
*/
int updateByExample(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGoods record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGoods record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -156,6 +219,15 @@ public interface LitemallGoodsMapper {
*/
int updateByPrimaryKeySelective(LitemallGoods record);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeyWithBLOBs(@Param("version") Integer version, @Param("record") LitemallGoods record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.java
index fc459271..8310b522 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.java
@@ -14,6 +14,15 @@ public interface LitemallGoodsSpecificationMapper {
*/
long countByExample(LitemallGoodsSpecificationExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGoodsSpecificationExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
@@ -22,6 +31,15 @@ public interface LitemallGoodsSpecificationMapper {
*/
int deleteByExample(LitemallGoodsSpecificationExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
@@ -107,6 +125,24 @@ public interface LitemallGoodsSpecificationMapper {
*/
LitemallGoodsSpecification selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
@@ -123,6 +159,24 @@ public interface LitemallGoodsSpecificationMapper {
*/
int updateByExample(@Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.java
index 51c1bd2e..83d558ab 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.java
@@ -14,6 +14,15 @@ public interface LitemallGrouponMapper {
*/
long countByExample(LitemallGrouponExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGrouponExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
@@ -22,6 +31,15 @@ public interface LitemallGrouponMapper {
*/
int deleteByExample(LitemallGrouponExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
@@ -107,6 +125,24 @@ public interface LitemallGrouponMapper {
*/
LitemallGroupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
@@ -123,6 +159,24 @@ public interface LitemallGrouponMapper {
*/
int updateByExample(@Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGroupon record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGroupon record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.java
index 3fcb2928..e4c6d364 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.java
@@ -14,6 +14,15 @@ public interface LitemallGrouponRulesMapper {
*/
long countByExample(LitemallGrouponRulesExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGrouponRulesExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
@@ -22,6 +31,15 @@ public interface LitemallGrouponRulesMapper {
*/
int deleteByExample(LitemallGrouponRulesExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
@@ -107,6 +125,24 @@ public interface LitemallGrouponRulesMapper {
*/
LitemallGrouponRules selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
@@ -123,6 +159,24 @@ public interface LitemallGrouponRulesMapper {
*/
int updateByExample(@Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGrouponRules record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGrouponRules record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallIssueMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallIssueMapper.java
index 4052fc3e..bb4aae56 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallIssueMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallIssueMapper.java
@@ -14,6 +14,15 @@ public interface LitemallIssueMapper {
*/
long countByExample(LitemallIssueExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallIssueExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
@@ -22,6 +31,15 @@ public interface LitemallIssueMapper {
*/
int deleteByExample(LitemallIssueExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
@@ -107,6 +125,24 @@ public interface LitemallIssueMapper {
*/
LitemallIssue selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallIssue record, @Param("example") LitemallIssueExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallIssue record, @Param("example") LitemallIssueExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
@@ -123,6 +159,24 @@ public interface LitemallIssueMapper {
*/
int updateByExample(@Param("record") LitemallIssue record, @Param("example") LitemallIssueExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallIssue record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallIssue record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.java
index bb7e8dd6..3e4aaa52 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.java
@@ -14,6 +14,15 @@ public interface LitemallKeywordMapper {
*/
long countByExample(LitemallKeywordExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallKeywordExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
@@ -22,6 +31,15 @@ public interface LitemallKeywordMapper {
*/
int deleteByExample(LitemallKeywordExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
@@ -107,6 +125,24 @@ public interface LitemallKeywordMapper {
*/
LitemallKeyword selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
@@ -123,6 +159,24 @@ public interface LitemallKeywordMapper {
*/
int updateByExample(@Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallKeyword record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallKeyword record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.java
index 515549b4..749fae2b 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.java
@@ -14,6 +14,15 @@ public interface LitemallOrderGoodsMapper {
*/
long countByExample(LitemallOrderGoodsExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallOrderGoodsExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
@@ -22,6 +31,15 @@ public interface LitemallOrderGoodsMapper {
*/
int deleteByExample(LitemallOrderGoodsExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
@@ -107,6 +125,24 @@ public interface LitemallOrderGoodsMapper {
*/
LitemallOrderGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallOrderGoods record, @Param("example") LitemallOrderGoodsExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallOrderGoods record, @Param("example") LitemallOrderGoodsExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
@@ -123,6 +159,24 @@ public interface LitemallOrderGoodsMapper {
*/
int updateByExample(@Param("record") LitemallOrderGoods record, @Param("example") LitemallOrderGoodsExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallOrderGoods record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallOrderGoods record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderMapper.java
index 02a65ed2..4d6e9ab0 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderMapper.java
@@ -14,6 +14,15 @@ public interface LitemallOrderMapper {
*/
long countByExample(LitemallOrderExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallOrderExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
@@ -22,6 +31,15 @@ public interface LitemallOrderMapper {
*/
int deleteByExample(LitemallOrderExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
@@ -107,6 +125,24 @@ public interface LitemallOrderMapper {
*/
LitemallOrder selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallOrder record, @Param("example") LitemallOrderExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallOrder record, @Param("example") LitemallOrderExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
@@ -123,6 +159,24 @@ public interface LitemallOrderMapper {
*/
int updateByExample(@Param("record") LitemallOrder record, @Param("example") LitemallOrderExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallOrder record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallOrder record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallProductMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallProductMapper.java
index 48355421..8f529ff2 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallProductMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallProductMapper.java
@@ -14,6 +14,15 @@ public interface LitemallProductMapper {
*/
long countByExample(LitemallProductExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallProductExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
@@ -22,6 +31,15 @@ public interface LitemallProductMapper {
*/
int deleteByExample(LitemallProductExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
@@ -107,6 +125,24 @@ public interface LitemallProductMapper {
*/
LitemallProduct selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallProduct record, @Param("example") LitemallProductExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallProduct record, @Param("example") LitemallProductExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
@@ -123,6 +159,24 @@ public interface LitemallProductMapper {
*/
int updateByExample(@Param("record") LitemallProduct record, @Param("example") LitemallProductExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallProduct record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallProduct record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.java
index b4413d71..d6208913 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.java
@@ -14,6 +14,15 @@ public interface LitemallSearchHistoryMapper {
*/
long countByExample(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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallSearchHistoryExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
@@ -22,6 +31,15 @@ public interface LitemallSearchHistoryMapper {
*/
int deleteByExample(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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
@@ -107,6 +125,24 @@ public interface LitemallSearchHistoryMapper {
*/
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
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallSearchHistory record, @Param("example") 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallSearchHistory record, @Param("example") LitemallSearchHistoryExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
@@ -123,6 +159,24 @@ public interface LitemallSearchHistoryMapper {
*/
int updateByExample(@Param("record") LitemallSearchHistory record, @Param("example") 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallSearchHistory record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallSearchHistory record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallStorageMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallStorageMapper.java
index 668be6f2..ad571c1c 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallStorageMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallStorageMapper.java
@@ -14,6 +14,15 @@ public interface LitemallStorageMapper {
*/
long countByExample(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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallStorageExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
@@ -22,6 +31,15 @@ public interface LitemallStorageMapper {
*/
int deleteByExample(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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
@@ -107,6 +125,24 @@ public interface LitemallStorageMapper {
*/
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
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallStorage record, @Param("example") 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallStorage record, @Param("example") LitemallStorageExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
@@ -123,6 +159,24 @@ public interface LitemallStorageMapper {
*/
int updateByExample(@Param("record") LitemallStorage record, @Param("example") 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallStorage record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallStorage record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSystemMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSystemMapper.java
index 2ac31cd8..46277258 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSystemMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallSystemMapper.java
@@ -14,6 +14,15 @@ public interface LitemallSystemMapper {
*/
long countByExample(LitemallSystemExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallSystemExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
@@ -22,6 +31,15 @@ public interface LitemallSystemMapper {
*/
int deleteByExample(LitemallSystemExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
@@ -107,6 +125,24 @@ public interface LitemallSystemMapper {
*/
LitemallSystem selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
@@ -123,6 +159,24 @@ public interface LitemallSystemMapper {
*/
int updateByExample(@Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallSystem record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallSystem record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallTopicMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallTopicMapper.java
index 79b8def2..4ce6d595 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallTopicMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallTopicMapper.java
@@ -14,6 +14,15 @@ public interface LitemallTopicMapper {
*/
long countByExample(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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallTopicExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -22,6 +31,15 @@ public interface LitemallTopicMapper {
*/
int deleteByExample(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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -124,6 +142,24 @@ public interface LitemallTopicMapper {
*/
LitemallTopic selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
+ /**
+ * 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 updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallTopic record, @Param("example") 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -132,6 +168,15 @@ public interface LitemallTopicMapper {
*/
int updateByExampleSelective(@Param("record") LitemallTopic record, @Param("example") 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
+ */
+ int updateWithVersionByExampleWithBLOBs(@Param("version") Integer version, @Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -148,6 +193,24 @@ public interface LitemallTopicMapper {
*/
int updateByExample(@Param("record") LitemallTopic record, @Param("example") 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallTopic record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -156,6 +219,15 @@ public interface LitemallTopicMapper {
*/
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
+ */
+ int updateWithVersionByPrimaryKeyWithBLOBs(@Param("version") Integer version, @Param("record") LitemallTopic record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.java
index 5b9505fa..3ec4269f 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.java
@@ -14,6 +14,15 @@ public interface LitemallUserFormidMapper {
*/
long countByExample(LitemallUserFormidExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallUserFormidExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
@@ -22,6 +31,15 @@ public interface LitemallUserFormidMapper {
*/
int deleteByExample(LitemallUserFormidExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
@@ -98,6 +116,24 @@ public interface LitemallUserFormidMapper {
*/
LitemallUserFormid selectByPrimaryKey(Integer id);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallUserFormid record, @Param("example") LitemallUserFormidExample example);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallUserFormid record, @Param("example") LitemallUserFormidExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
@@ -114,6 +150,24 @@ public interface LitemallUserFormidMapper {
*/
int updateByExample(@Param("record") LitemallUserFormid record, @Param("example") LitemallUserFormidExample example);
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallUserFormid record);
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallUserFormid record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserMapper.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserMapper.java
index 9b311679..59f47682 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserMapper.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallUserMapper.java
@@ -14,6 +14,15 @@ public interface LitemallUserMapper {
*/
long countByExample(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
+ */
+ int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallUserExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
@@ -22,6 +31,15 @@ public interface LitemallUserMapper {
*/
int deleteByExample(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
+ */
+ int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
@@ -107,6 +125,24 @@ public interface LitemallUserMapper {
*/
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
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallUser record, @Param("example") 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
+ */
+ int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallUser record, @Param("example") LitemallUserExample example);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
@@ -123,6 +159,24 @@ public interface LitemallUserMapper {
*/
int updateByExample(@Param("record") LitemallUser record, @Param("example") 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
+ */
+ int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallUser record);
+
+ /**
+ * 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
+ */
+ int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallUser record);
+
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAd.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAd.java
index f179fe43..443a6932 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAd.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAd.java
@@ -523,18 +523,36 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "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"),
- enabled("enabled", "enabled", "BIT"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ name("name", "name", "VARCHAR", true),
+ link("link", "link", "VARCHAR", false),
+ url("url", "url", "VARCHAR", false),
+ position("position", "position", "TINYINT", true),
+ content("content", "content", "VARCHAR", false),
+ startTime("start_time", "startTime", "TIMESTAMP", false),
+ endTime("end_time", "endTime", "TIMESTAMP", false),
+ enabled("enabled", "enabled", "BIT", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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 static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -545,6 +563,15 @@ 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 boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
@@ -614,10 +641,11 @@ public class LitemallAd {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -628,7 +656,7 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -639,7 +667,7 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -656,5 +684,20 @@ public class LitemallAd {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdExample.java
index 257d4cbf..ba7033c4 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdExample.java
@@ -241,31 +241,103 @@ public class LitemallAdExample {
return (Criteria) 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 andIdEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) 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 andIdNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) 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 andIdGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) 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 andIdGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) 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 andIdLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) 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 andIdLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallAdExample {
return (Criteria) 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 andNameEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameNotEqualTo(String value) {
addCriterion("`name` <>", value, "name");
return (Criteria) 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 andNameNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThan(String value) {
addCriterion("`name` >", value, "name");
return (Criteria) 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 andNameGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("`name` >=", value, "name");
return (Criteria) 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 andNameGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThan(String value) {
addCriterion("`name` <", value, "name");
return (Criteria) 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 andNameLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("`name` <=", value, "name");
return (Criteria) 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 andNameLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLike(String value) {
addCriterion("`name` like", value, "name");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallAdExample {
return (Criteria) 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 andLinkEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("link = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLinkNotEqualTo(String value) {
addCriterion("link <>", value, "link");
return (Criteria) 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 andLinkNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("link <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLinkGreaterThan(String value) {
addCriterion("link >", value, "link");
return (Criteria) 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 andLinkGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("link > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLinkGreaterThanOrEqualTo(String value) {
addCriterion("link >=", value, "link");
return (Criteria) 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 andLinkGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("link >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLinkLessThan(String value) {
addCriterion("link <", value, "link");
return (Criteria) 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 andLinkLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("link < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLinkLessThanOrEqualTo(String value) {
addCriterion("link <=", value, "link");
return (Criteria) 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 andLinkLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("link <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLinkLike(String value) {
addCriterion("link like", value, "link");
return (Criteria) this;
@@ -441,31 +657,103 @@ public class LitemallAdExample {
return (Criteria) 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 andUrlEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlNotEqualTo(String value) {
addCriterion("url <>", value, "url");
return (Criteria) 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 andUrlNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThan(String value) {
addCriterion("url >", value, "url");
return (Criteria) 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 andUrlGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThanOrEqualTo(String value) {
addCriterion("url >=", value, "url");
return (Criteria) 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 andUrlGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThan(String value) {
addCriterion("url <", value, "url");
return (Criteria) 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 andUrlLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThanOrEqualTo(String value) {
addCriterion("url <=", value, "url");
return (Criteria) 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 andUrlLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLike(String value) {
addCriterion("url like", value, "url");
return (Criteria) this;
@@ -511,31 +799,103 @@ public class LitemallAdExample {
return (Criteria) 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 andPositionEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`position` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPositionNotEqualTo(Byte value) {
addCriterion("`position` <>", value, "position");
return (Criteria) 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 andPositionNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`position` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPositionGreaterThan(Byte value) {
addCriterion("`position` >", value, "position");
return (Criteria) 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 andPositionGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`position` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPositionGreaterThanOrEqualTo(Byte value) {
addCriterion("`position` >=", value, "position");
return (Criteria) 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 andPositionGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`position` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPositionLessThan(Byte value) {
addCriterion("`position` <", value, "position");
return (Criteria) 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 andPositionLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`position` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPositionLessThanOrEqualTo(Byte value) {
addCriterion("`position` <=", value, "position");
return (Criteria) 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 andPositionLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("`position` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPositionIn(List values) {
addCriterion("`position` in", values, "position");
return (Criteria) this;
@@ -571,31 +931,103 @@ public class LitemallAdExample {
return (Criteria) 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 andContentEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("content = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentNotEqualTo(String value) {
addCriterion("content <>", value, "content");
return (Criteria) 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 andContentNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("content <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentGreaterThan(String value) {
addCriterion("content >", value, "content");
return (Criteria) 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 andContentGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("content > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentGreaterThanOrEqualTo(String value) {
addCriterion("content >=", value, "content");
return (Criteria) 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 andContentGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("content >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentLessThan(String value) {
addCriterion("content <", value, "content");
return (Criteria) 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 andContentLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("content < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentLessThanOrEqualTo(String value) {
addCriterion("content <=", value, "content");
return (Criteria) 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 andContentLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("content <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentLike(String value) {
addCriterion("content like", value, "content");
return (Criteria) this;
@@ -641,31 +1073,103 @@ public class LitemallAdExample {
return (Criteria) 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 andStartTimeEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("start_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStartTimeNotEqualTo(LocalDateTime value) {
addCriterion("start_time <>", value, "startTime");
return (Criteria) 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 andStartTimeNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("start_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStartTimeGreaterThan(LocalDateTime value) {
addCriterion("start_time >", value, "startTime");
return (Criteria) 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 andStartTimeGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("start_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStartTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("start_time >=", value, "startTime");
return (Criteria) 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 andStartTimeGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("start_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStartTimeLessThan(LocalDateTime value) {
addCriterion("start_time <", value, "startTime");
return (Criteria) 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 andStartTimeLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("start_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStartTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("start_time <=", value, "startTime");
return (Criteria) 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 andStartTimeLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("start_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStartTimeIn(List values) {
addCriterion("start_time in", values, "startTime");
return (Criteria) this;
@@ -701,31 +1205,103 @@ public class LitemallAdExample {
return (Criteria) 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 andEndTimeEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("end_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeNotEqualTo(LocalDateTime value) {
addCriterion("end_time <>", value, "endTime");
return (Criteria) 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 andEndTimeNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("end_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeGreaterThan(LocalDateTime value) {
addCriterion("end_time >", value, "endTime");
return (Criteria) 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 andEndTimeGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("end_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("end_time >=", value, "endTime");
return (Criteria) 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 andEndTimeGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("end_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeLessThan(LocalDateTime value) {
addCriterion("end_time <", value, "endTime");
return (Criteria) 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 andEndTimeLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("end_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("end_time <=", value, "endTime");
return (Criteria) 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 andEndTimeLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("end_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeIn(List values) {
addCriterion("end_time in", values, "endTime");
return (Criteria) this;
@@ -761,31 +1337,103 @@ public class LitemallAdExample {
return (Criteria) 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 andEnabledEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("enabled = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEnabledNotEqualTo(Boolean value) {
addCriterion("enabled <>", value, "enabled");
return (Criteria) 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 andEnabledNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("enabled <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEnabledGreaterThan(Boolean value) {
addCriterion("enabled >", value, "enabled");
return (Criteria) 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 andEnabledGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("enabled > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) {
addCriterion("enabled >=", value, "enabled");
return (Criteria) 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 andEnabledGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("enabled >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEnabledLessThan(Boolean value) {
addCriterion("enabled <", value, "enabled");
return (Criteria) 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 andEnabledLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("enabled < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEnabledLessThanOrEqualTo(Boolean value) {
addCriterion("enabled <=", value, "enabled");
return (Criteria) 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 andEnabledLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("enabled <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEnabledIn(List values) {
addCriterion("enabled in", values, "enabled");
return (Criteria) this;
@@ -821,31 +1469,103 @@ public class LitemallAdExample {
return (Criteria) 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 andAddTimeEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) 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 andAddTimeNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) 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 andAddTimeLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) 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 andAddTimeLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -881,31 +1601,103 @@ public class LitemallAdExample {
return (Criteria) 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 andDeletedEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) 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 andDeletedNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) 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 andDeletedLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) 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 andDeletedLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -941,31 +1733,103 @@ public class LitemallAdExample {
return (Criteria) 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 andVersionEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) 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 andVersionNotEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) 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 andVersionGreaterThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) 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 andVersionGreaterThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) 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 andVersionLessThanColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) 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 andVersionLessThanOrEqualToColumn(LitemallAd.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddress.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddress.java
index 58a7ac9a..2cc3d59d 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddress.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddress.java
@@ -523,18 +523,36 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- 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"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ name("name", "name", "VARCHAR", true),
+ userId("user_id", "userId", "INTEGER", false),
+ provinceId("province_id", "provinceId", "INTEGER", false),
+ cityId("city_id", "cityId", "INTEGER", false),
+ areaId("area_id", "areaId", "INTEGER", false),
+ address("address", "address", "VARCHAR", false),
+ mobile("mobile", "mobile", "VARCHAR", false),
+ isDefault("is_default", "isDefault", "BIT", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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 static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -545,6 +563,15 @@ 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 boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
@@ -614,10 +641,11 @@ public class LitemallAddress {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -628,7 +656,7 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -639,7 +667,7 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -656,5 +684,20 @@ public class LitemallAddress {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddressExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddressExample.java
index c2382b9b..4717118b 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddressExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAddressExample.java
@@ -241,31 +241,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andIdEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) 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 andIdNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) 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 andIdGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) 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 andIdGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) 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 andIdLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) 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 andIdLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andNameEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameNotEqualTo(String value) {
addCriterion("`name` <>", value, "name");
return (Criteria) 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 andNameNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThan(String value) {
addCriterion("`name` >", value, "name");
return (Criteria) 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 andNameGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("`name` >=", value, "name");
return (Criteria) 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 andNameGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThan(String value) {
addCriterion("`name` <", value, "name");
return (Criteria) 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 andNameLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("`name` <=", value, "name");
return (Criteria) 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 andNameLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLike(String value) {
addCriterion("`name` like", value, "name");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andUserIdEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) 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 andUserIdNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) 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 andUserIdGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) 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 andUserIdGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) 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 andUserIdLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) 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 andUserIdLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -431,31 +647,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andProvinceIdEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("province_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProvinceIdNotEqualTo(Integer value) {
addCriterion("province_id <>", value, "provinceId");
return (Criteria) 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 andProvinceIdNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("province_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProvinceIdGreaterThan(Integer value) {
addCriterion("province_id >", value, "provinceId");
return (Criteria) 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 andProvinceIdGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("province_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProvinceIdGreaterThanOrEqualTo(Integer value) {
addCriterion("province_id >=", value, "provinceId");
return (Criteria) 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 andProvinceIdGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("province_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProvinceIdLessThan(Integer value) {
addCriterion("province_id <", value, "provinceId");
return (Criteria) 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 andProvinceIdLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("province_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProvinceIdLessThanOrEqualTo(Integer value) {
addCriterion("province_id <=", value, "provinceId");
return (Criteria) 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 andProvinceIdLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("province_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProvinceIdIn(List values) {
addCriterion("province_id in", values, "provinceId");
return (Criteria) this;
@@ -491,31 +779,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andCityIdEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("city_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCityIdNotEqualTo(Integer value) {
addCriterion("city_id <>", value, "cityId");
return (Criteria) 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 andCityIdNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("city_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCityIdGreaterThan(Integer value) {
addCriterion("city_id >", value, "cityId");
return (Criteria) 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 andCityIdGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("city_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCityIdGreaterThanOrEqualTo(Integer value) {
addCriterion("city_id >=", value, "cityId");
return (Criteria) 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 andCityIdGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("city_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCityIdLessThan(Integer value) {
addCriterion("city_id <", value, "cityId");
return (Criteria) 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 andCityIdLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("city_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCityIdLessThanOrEqualTo(Integer value) {
addCriterion("city_id <=", value, "cityId");
return (Criteria) 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 andCityIdLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("city_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCityIdIn(List values) {
addCriterion("city_id in", values, "cityId");
return (Criteria) this;
@@ -551,31 +911,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andAreaIdEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("area_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAreaIdNotEqualTo(Integer value) {
addCriterion("area_id <>", value, "areaId");
return (Criteria) 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 andAreaIdNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("area_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAreaIdGreaterThan(Integer value) {
addCriterion("area_id >", value, "areaId");
return (Criteria) 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 andAreaIdGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("area_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAreaIdGreaterThanOrEqualTo(Integer value) {
addCriterion("area_id >=", value, "areaId");
return (Criteria) 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 andAreaIdGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("area_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAreaIdLessThan(Integer value) {
addCriterion("area_id <", value, "areaId");
return (Criteria) 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 andAreaIdLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("area_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAreaIdLessThanOrEqualTo(Integer value) {
addCriterion("area_id <=", value, "areaId");
return (Criteria) 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 andAreaIdLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("area_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAreaIdIn(List values) {
addCriterion("area_id in", values, "areaId");
return (Criteria) this;
@@ -611,31 +1043,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andAddressEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("address = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressNotEqualTo(String value) {
addCriterion("address <>", value, "address");
return (Criteria) 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 andAddressNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("address <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressGreaterThan(String value) {
addCriterion("address >", value, "address");
return (Criteria) 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 andAddressGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("address > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressGreaterThanOrEqualTo(String value) {
addCriterion("address >=", value, "address");
return (Criteria) 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 andAddressGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("address >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressLessThan(String value) {
addCriterion("address <", value, "address");
return (Criteria) 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 andAddressLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("address < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressLessThanOrEqualTo(String value) {
addCriterion("address <=", value, "address");
return (Criteria) 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 andAddressLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("address <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressLike(String value) {
addCriterion("address like", value, "address");
return (Criteria) this;
@@ -681,31 +1185,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andMobileEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("mobile = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileNotEqualTo(String value) {
addCriterion("mobile <>", value, "mobile");
return (Criteria) 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 andMobileNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("mobile <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileGreaterThan(String value) {
addCriterion("mobile >", value, "mobile");
return (Criteria) 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 andMobileGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("mobile > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileGreaterThanOrEqualTo(String value) {
addCriterion("mobile >=", value, "mobile");
return (Criteria) 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 andMobileGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("mobile >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLessThan(String value) {
addCriterion("mobile <", value, "mobile");
return (Criteria) 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 andMobileLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("mobile < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLessThanOrEqualTo(String value) {
addCriterion("mobile <=", value, "mobile");
return (Criteria) 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 andMobileLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("mobile <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLike(String value) {
addCriterion("mobile like", value, "mobile");
return (Criteria) this;
@@ -751,31 +1327,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andIsDefaultEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("is_default = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultNotEqualTo(Boolean value) {
addCriterion("is_default <>", value, "isDefault");
return (Criteria) 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 andIsDefaultNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("is_default <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultGreaterThan(Boolean value) {
addCriterion("is_default >", value, "isDefault");
return (Criteria) 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 andIsDefaultGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("is_default > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_default >=", value, "isDefault");
return (Criteria) 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 andIsDefaultGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("is_default >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultLessThan(Boolean value) {
addCriterion("is_default <", value, "isDefault");
return (Criteria) 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 andIsDefaultLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("is_default < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultLessThanOrEqualTo(Boolean value) {
addCriterion("is_default <=", value, "isDefault");
return (Criteria) 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 andIsDefaultLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("is_default <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultIn(List values) {
addCriterion("is_default in", values, "isDefault");
return (Criteria) this;
@@ -811,31 +1459,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andAddTimeEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) 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 andAddTimeNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) 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 andAddTimeLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) 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 andAddTimeLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -871,31 +1591,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andDeletedEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) 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 andDeletedNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) 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 andDeletedLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) 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 andDeletedLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -931,31 +1723,103 @@ public class LitemallAddressExample {
return (Criteria) 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 andVersionEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) 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 andVersionNotEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) 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 andVersionGreaterThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) 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 andVersionGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) 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 andVersionLessThanColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) 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 andVersionLessThanOrEqualToColumn(LitemallAddress.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdmin.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdmin.java
index c32df4ae..32c6faf3 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdmin.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdmin.java
@@ -415,15 +415,33 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- username("username", "username", "VARCHAR"),
- password("password", "password", "VARCHAR"),
- lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR"),
- lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP"),
- avatar("avatar", "avatar", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ username("username", "username", "VARCHAR", false),
+ password("password", "password", "VARCHAR", true),
+ lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR", false),
+ lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP", false),
+ avatar("avatar", "avatar", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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 static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -434,6 +452,15 @@ 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 boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
@@ -503,10 +530,11 @@ public class LitemallAdmin {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -517,7 +545,7 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -528,7 +556,7 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -545,5 +573,20 @@ public class LitemallAdmin {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdminExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdminExample.java
index df9740b9..d5f1a359 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdminExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallAdminExample.java
@@ -241,31 +241,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andIdEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) 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 andIdNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) 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 andIdGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) 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 andIdGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) 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 andIdLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) 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 andIdLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andUsernameEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("username = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameNotEqualTo(String value) {
addCriterion("username <>", value, "username");
return (Criteria) 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 andUsernameNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("username <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameGreaterThan(String value) {
addCriterion("username >", value, "username");
return (Criteria) 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 andUsernameGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("username > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameGreaterThanOrEqualTo(String value) {
addCriterion("username >=", value, "username");
return (Criteria) 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 andUsernameGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("username >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameLessThan(String value) {
addCriterion("username <", value, "username");
return (Criteria) 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 andUsernameLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("username < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameLessThanOrEqualTo(String value) {
addCriterion("username <=", value, "username");
return (Criteria) 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 andUsernameLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("username <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameLike(String value) {
addCriterion("username like", value, "username");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andPasswordEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("`password` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordNotEqualTo(String value) {
addCriterion("`password` <>", value, "password");
return (Criteria) 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 andPasswordNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("`password` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordGreaterThan(String value) {
addCriterion("`password` >", value, "password");
return (Criteria) 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 andPasswordGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("`password` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordGreaterThanOrEqualTo(String value) {
addCriterion("`password` >=", value, "password");
return (Criteria) 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 andPasswordGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("`password` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordLessThan(String value) {
addCriterion("`password` <", value, "password");
return (Criteria) 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 andPasswordLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("`password` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordLessThanOrEqualTo(String value) {
addCriterion("`password` <=", value, "password");
return (Criteria) 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 andPasswordLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("`password` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordLike(String value) {
addCriterion("`password` like", value, "password");
return (Criteria) this;
@@ -441,31 +657,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andLastLoginIpEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_ip = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpNotEqualTo(String value) {
addCriterion("last_login_ip <>", value, "lastLoginIp");
return (Criteria) 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 andLastLoginIpNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_ip <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpGreaterThan(String value) {
addCriterion("last_login_ip >", value, "lastLoginIp");
return (Criteria) 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 andLastLoginIpGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_ip > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpGreaterThanOrEqualTo(String value) {
addCriterion("last_login_ip >=", value, "lastLoginIp");
return (Criteria) 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 andLastLoginIpGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_ip >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpLessThan(String value) {
addCriterion("last_login_ip <", value, "lastLoginIp");
return (Criteria) 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 andLastLoginIpLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_ip < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpLessThanOrEqualTo(String value) {
addCriterion("last_login_ip <=", value, "lastLoginIp");
return (Criteria) 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 andLastLoginIpLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_ip <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpLike(String value) {
addCriterion("last_login_ip like", value, "lastLoginIp");
return (Criteria) this;
@@ -511,31 +799,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andLastLoginTimeEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeNotEqualTo(LocalDateTime value) {
addCriterion("last_login_time <>", value, "lastLoginTime");
return (Criteria) 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 andLastLoginTimeNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeGreaterThan(LocalDateTime value) {
addCriterion("last_login_time >", value, "lastLoginTime");
return (Criteria) 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 andLastLoginTimeGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("last_login_time >=", value, "lastLoginTime");
return (Criteria) 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 andLastLoginTimeGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeLessThan(LocalDateTime value) {
addCriterion("last_login_time <", value, "lastLoginTime");
return (Criteria) 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 andLastLoginTimeLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("last_login_time <=", value, "lastLoginTime");
return (Criteria) 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 andLastLoginTimeLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("last_login_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeIn(List values) {
addCriterion("last_login_time in", values, "lastLoginTime");
return (Criteria) this;
@@ -571,31 +931,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andAvatarEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("avatar = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarNotEqualTo(String value) {
addCriterion("avatar <>", value, "avatar");
return (Criteria) 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 andAvatarNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("avatar <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarGreaterThan(String value) {
addCriterion("avatar >", value, "avatar");
return (Criteria) 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 andAvatarGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("avatar > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarGreaterThanOrEqualTo(String value) {
addCriterion("avatar >=", value, "avatar");
return (Criteria) 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 andAvatarGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("avatar >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarLessThan(String value) {
addCriterion("avatar <", value, "avatar");
return (Criteria) 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 andAvatarLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("avatar < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarLessThanOrEqualTo(String value) {
addCriterion("avatar <=", value, "avatar");
return (Criteria) 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 andAvatarLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("avatar <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarLike(String value) {
addCriterion("avatar like", value, "avatar");
return (Criteria) this;
@@ -641,31 +1073,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andAddTimeEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) 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 andAddTimeNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) 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 andAddTimeLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) 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 andAddTimeLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -701,31 +1205,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andDeletedEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) 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 andDeletedNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) 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 andDeletedLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) 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 andDeletedLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -761,31 +1337,103 @@ public class LitemallAdminExample {
return (Criteria) 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 andVersionEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) 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 andVersionNotEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) 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 andVersionGreaterThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) 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 andVersionGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) 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 andVersionLessThanColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) 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 andVersionLessThanOrEqualToColumn(LitemallAdmin.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrand.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrand.java
index 1403ae6f..acdd0c2a 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrand.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrand.java
@@ -416,15 +416,33 @@ public class LitemallBrand {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- name("name", "name", "VARCHAR"),
- desc("desc", "desc", "VARCHAR"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- sortOrder("sort_order", "sortOrder", "TINYINT"),
- floorPrice("floor_price", "floorPrice", "DECIMAL"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ name("name", "name", "VARCHAR", true),
+ desc("desc", "desc", "VARCHAR", true),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ sortOrder("sort_order", "sortOrder", "TINYINT", false),
+ floorPrice("floor_price", "floorPrice", "DECIMAL", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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 static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -435,6 +453,15 @@ 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 boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
@@ -504,10 +531,11 @@ public class LitemallBrand {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -518,7 +546,7 @@ public class LitemallBrand {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -529,7 +557,7 @@ public class LitemallBrand {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -546,5 +574,20 @@ public class LitemallBrand {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrandExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrandExample.java
index 5d3a5331..223aaa36 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrandExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallBrandExample.java
@@ -242,31 +242,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andIdEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) 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 andIdNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) 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 andIdGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) 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 andIdGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) 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 andIdLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) 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 andIdLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -302,31 +374,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andNameEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameNotEqualTo(String value) {
addCriterion("`name` <>", value, "name");
return (Criteria) 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 andNameNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThan(String value) {
addCriterion("`name` >", value, "name");
return (Criteria) 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 andNameGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("`name` >=", value, "name");
return (Criteria) 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 andNameGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThan(String value) {
addCriterion("`name` <", value, "name");
return (Criteria) 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 andNameLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("`name` <=", value, "name");
return (Criteria) 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 andNameLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLike(String value) {
addCriterion("`name` like", value, "name");
return (Criteria) this;
@@ -372,31 +516,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andDescEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`desc` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescNotEqualTo(String value) {
addCriterion("`desc` <>", value, "desc");
return (Criteria) 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 andDescNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`desc` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescGreaterThan(String value) {
addCriterion("`desc` >", value, "desc");
return (Criteria) 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 andDescGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`desc` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescGreaterThanOrEqualTo(String value) {
addCriterion("`desc` >=", value, "desc");
return (Criteria) 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 andDescGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`desc` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescLessThan(String value) {
addCriterion("`desc` <", value, "desc");
return (Criteria) 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 andDescLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`desc` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescLessThanOrEqualTo(String value) {
addCriterion("`desc` <=", value, "desc");
return (Criteria) 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 andDescLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("`desc` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescLike(String value) {
addCriterion("`desc` like", value, "desc");
return (Criteria) this;
@@ -442,31 +658,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andPicUrlEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) 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 andPicUrlNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) 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 andPicUrlGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) 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 andPicUrlGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) 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 andPicUrlLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) 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 andPicUrlLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -512,31 +800,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andSortOrderEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("sort_order = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderNotEqualTo(Byte value) {
addCriterion("sort_order <>", value, "sortOrder");
return (Criteria) 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 andSortOrderNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("sort_order <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThan(Byte value) {
addCriterion("sort_order >", value, "sortOrder");
return (Criteria) 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 andSortOrderGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("sort_order > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThanOrEqualTo(Byte value) {
addCriterion("sort_order >=", value, "sortOrder");
return (Criteria) 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 andSortOrderGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("sort_order >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThan(Byte value) {
addCriterion("sort_order <", value, "sortOrder");
return (Criteria) 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 andSortOrderLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("sort_order < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThanOrEqualTo(Byte value) {
addCriterion("sort_order <=", value, "sortOrder");
return (Criteria) 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 andSortOrderLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("sort_order <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderIn(List values) {
addCriterion("sort_order in", values, "sortOrder");
return (Criteria) this;
@@ -572,31 +932,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andFloorPriceEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("floor_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFloorPriceNotEqualTo(BigDecimal value) {
addCriterion("floor_price <>", value, "floorPrice");
return (Criteria) 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 andFloorPriceNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("floor_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFloorPriceGreaterThan(BigDecimal value) {
addCriterion("floor_price >", value, "floorPrice");
return (Criteria) 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 andFloorPriceGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("floor_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFloorPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("floor_price >=", value, "floorPrice");
return (Criteria) 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 andFloorPriceGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("floor_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFloorPriceLessThan(BigDecimal value) {
addCriterion("floor_price <", value, "floorPrice");
return (Criteria) 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 andFloorPriceLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("floor_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFloorPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("floor_price <=", value, "floorPrice");
return (Criteria) 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 andFloorPriceLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("floor_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFloorPriceIn(List values) {
addCriterion("floor_price in", values, "floorPrice");
return (Criteria) this;
@@ -632,31 +1064,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andAddTimeEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) 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 andAddTimeNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) 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 andAddTimeLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) 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 andAddTimeLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -692,31 +1196,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andDeletedEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) 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 andDeletedNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) 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 andDeletedLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) 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 andDeletedLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -752,31 +1328,103 @@ public class LitemallBrandExample {
return (Criteria) 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 andVersionEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) 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 andVersionNotEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) 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 andVersionGreaterThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) 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 andVersionGreaterThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) 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 andVersionLessThanColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) 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 andVersionLessThanOrEqualToColumn(LitemallBrand.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCart.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCart.java
index 943bf92e..a1a61b00 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCart.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCart.java
@@ -596,20 +596,38 @@ public class LitemallCart {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- userId("user_id", "userId", "INTEGER"),
- goodsId("goods_id", "goodsId", "INTEGER"),
- goodsSn("goods_sn", "goodsSn", "VARCHAR"),
- goodsName("goods_name", "goodsName", "VARCHAR"),
- productId("product_id", "productId", "INTEGER"),
- price("price", "price", "DECIMAL"),
- number("number", "number", "SMALLINT"),
- specifications("specifications", "specifications", "VARCHAR"),
- checked("checked", "checked", "BIT"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ userId("user_id", "userId", "INTEGER", false),
+ goodsId("goods_id", "goodsId", "INTEGER", false),
+ goodsSn("goods_sn", "goodsSn", "VARCHAR", false),
+ goodsName("goods_name", "goodsName", "VARCHAR", false),
+ productId("product_id", "productId", "INTEGER", false),
+ price("price", "price", "DECIMAL", false),
+ number("number", "number", "SMALLINT", true),
+ specifications("specifications", "specifications", "VARCHAR", false),
+ checked("checked", "checked", "BIT", true),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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 static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -620,6 +638,15 @@ 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 boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
@@ -689,10 +716,11 @@ public class LitemallCart {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -703,7 +731,7 @@ public class LitemallCart {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -714,7 +742,7 @@ public class LitemallCart {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -731,5 +759,20 @@ public class LitemallCart {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCartExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCartExample.java
index 09f8e4b4..00800aa8 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCartExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCartExample.java
@@ -276,31 +276,103 @@ public class LitemallCartExample {
return (Criteria) 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 andIdEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) 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 andIdNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) 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 andIdGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) 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 andIdGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) 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 andIdLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) 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 andIdLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -336,31 +408,103 @@ public class LitemallCartExample {
return (Criteria) 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 andUserIdEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) 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 andUserIdNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) 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 andUserIdGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) 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 andUserIdGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) 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 andUserIdLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) 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 andUserIdLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -396,31 +540,103 @@ public class LitemallCartExample {
return (Criteria) 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 andGoodsIdEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdNotEqualTo(Integer value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) 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 andGoodsIdNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThan(Integer value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) 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 andGoodsIdGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) 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 andGoodsIdGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThan(Integer value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) 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 andGoodsIdLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) 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 andGoodsIdLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdIn(List values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
@@ -456,31 +672,103 @@ public class LitemallCartExample {
return (Criteria) 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 andGoodsSnEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_sn = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnNotEqualTo(String value) {
addCriterion("goods_sn <>", value, "goodsSn");
return (Criteria) 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 andGoodsSnNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_sn <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnGreaterThan(String value) {
addCriterion("goods_sn >", value, "goodsSn");
return (Criteria) 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 andGoodsSnGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_sn > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnGreaterThanOrEqualTo(String value) {
addCriterion("goods_sn >=", value, "goodsSn");
return (Criteria) 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 andGoodsSnGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_sn >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLessThan(String value) {
addCriterion("goods_sn <", value, "goodsSn");
return (Criteria) 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 andGoodsSnLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_sn < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLessThanOrEqualTo(String value) {
addCriterion("goods_sn <=", value, "goodsSn");
return (Criteria) 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 andGoodsSnLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_sn <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLike(String value) {
addCriterion("goods_sn like", value, "goodsSn");
return (Criteria) this;
@@ -526,31 +814,103 @@ public class LitemallCartExample {
return (Criteria) 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 andGoodsNameEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_name = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameNotEqualTo(String value) {
addCriterion("goods_name <>", value, "goodsName");
return (Criteria) 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 andGoodsNameNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_name <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameGreaterThan(String value) {
addCriterion("goods_name >", value, "goodsName");
return (Criteria) 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 andGoodsNameGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_name > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
addCriterion("goods_name >=", value, "goodsName");
return (Criteria) 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 andGoodsNameGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_name >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLessThan(String value) {
addCriterion("goods_name <", value, "goodsName");
return (Criteria) 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 andGoodsNameLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_name < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLessThanOrEqualTo(String value) {
addCriterion("goods_name <=", value, "goodsName");
return (Criteria) 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 andGoodsNameLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("goods_name <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLike(String value) {
addCriterion("goods_name like", value, "goodsName");
return (Criteria) this;
@@ -596,31 +956,103 @@ public class LitemallCartExample {
return (Criteria) 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 andProductIdEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("product_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdNotEqualTo(Integer value) {
addCriterion("product_id <>", value, "productId");
return (Criteria) 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 andProductIdNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("product_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdGreaterThan(Integer value) {
addCriterion("product_id >", value, "productId");
return (Criteria) 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 andProductIdGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("product_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdGreaterThanOrEqualTo(Integer value) {
addCriterion("product_id >=", value, "productId");
return (Criteria) 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 andProductIdGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("product_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdLessThan(Integer value) {
addCriterion("product_id <", value, "productId");
return (Criteria) 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 andProductIdLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("product_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdLessThanOrEqualTo(Integer value) {
addCriterion("product_id <=", value, "productId");
return (Criteria) 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 andProductIdLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("product_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdIn(List values) {
addCriterion("product_id in", values, "productId");
return (Criteria) this;
@@ -656,31 +1088,103 @@ public class LitemallCartExample {
return (Criteria) 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 andPriceEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceNotEqualTo(BigDecimal value) {
addCriterion("price <>", value, "price");
return (Criteria) 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 andPriceNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThan(BigDecimal value) {
addCriterion("price >", value, "price");
return (Criteria) 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 andPriceGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("price >=", value, "price");
return (Criteria) 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 andPriceGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThan(BigDecimal value) {
addCriterion("price <", value, "price");
return (Criteria) 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 andPriceLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("price <=", value, "price");
return (Criteria) 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 andPriceLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceIn(List values) {
addCriterion("price in", values, "price");
return (Criteria) this;
@@ -716,31 +1220,103 @@ public class LitemallCartExample {
return (Criteria) 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 andNumberEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`number` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberNotEqualTo(Short value) {
addCriterion("`number` <>", value, "number");
return (Criteria) 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 andNumberNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`number` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberGreaterThan(Short value) {
addCriterion("`number` >", value, "number");
return (Criteria) 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 andNumberGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`number` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberGreaterThanOrEqualTo(Short value) {
addCriterion("`number` >=", value, "number");
return (Criteria) 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 andNumberGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`number` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberLessThan(Short value) {
addCriterion("`number` <", value, "number");
return (Criteria) 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 andNumberLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`number` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberLessThanOrEqualTo(Short value) {
addCriterion("`number` <=", value, "number");
return (Criteria) 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 andNumberLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`number` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberIn(List values) {
addCriterion("`number` in", values, "number");
return (Criteria) this;
@@ -776,31 +1352,103 @@ public class LitemallCartExample {
return (Criteria) 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 andSpecificationsEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("specifications = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsNotEqualTo(String[] value) {
addSpecificationsCriterion("specifications <>", value, "specifications");
return (Criteria) 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 andSpecificationsNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("specifications <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsGreaterThan(String[] value) {
addSpecificationsCriterion("specifications >", value, "specifications");
return (Criteria) 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 andSpecificationsGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("specifications > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsGreaterThanOrEqualTo(String[] value) {
addSpecificationsCriterion("specifications >=", value, "specifications");
return (Criteria) 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 andSpecificationsGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("specifications >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLessThan(String[] value) {
addSpecificationsCriterion("specifications <", value, "specifications");
return (Criteria) 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 andSpecificationsLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("specifications < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLessThanOrEqualTo(String[] value) {
addSpecificationsCriterion("specifications <=", value, "specifications");
return (Criteria) 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 andSpecificationsLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("specifications <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLike(String[] value) {
addSpecificationsCriterion("specifications like", value, "specifications");
return (Criteria) this;
@@ -846,31 +1494,103 @@ public class LitemallCartExample {
return (Criteria) 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 andCheckedEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`checked` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCheckedNotEqualTo(Boolean value) {
addCriterion("`checked` <>", value, "checked");
return (Criteria) 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 andCheckedNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`checked` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCheckedGreaterThan(Boolean value) {
addCriterion("`checked` >", value, "checked");
return (Criteria) 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 andCheckedGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`checked` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCheckedGreaterThanOrEqualTo(Boolean value) {
addCriterion("`checked` >=", value, "checked");
return (Criteria) 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 andCheckedGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`checked` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCheckedLessThan(Boolean value) {
addCriterion("`checked` <", value, "checked");
return (Criteria) 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 andCheckedLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`checked` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCheckedLessThanOrEqualTo(Boolean value) {
addCriterion("`checked` <=", value, "checked");
return (Criteria) 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 andCheckedLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("`checked` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCheckedIn(List values) {
addCriterion("`checked` in", values, "checked");
return (Criteria) this;
@@ -906,31 +1626,103 @@ public class LitemallCartExample {
return (Criteria) 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 andPicUrlEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) 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 andPicUrlNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) 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 andPicUrlGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) 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 andPicUrlGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) 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 andPicUrlLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) 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 andPicUrlLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -976,31 +1768,103 @@ public class LitemallCartExample {
return (Criteria) 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 andAddTimeEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) 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 andAddTimeNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) 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 andAddTimeLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) 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 andAddTimeLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -1036,31 +1900,103 @@ public class LitemallCartExample {
return (Criteria) 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 andDeletedEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) 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 andDeletedNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) 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 andDeletedLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) 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 andDeletedLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -1096,31 +2032,103 @@ public class LitemallCartExample {
return (Criteria) 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 andVersionEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) 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 andVersionNotEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) 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 andVersionGreaterThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) 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 andVersionGreaterThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) 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 andVersionLessThanColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) 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 andVersionLessThanOrEqualToColumn(LitemallCart.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategory.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategory.java
index c56fdf06..a197c67a 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategory.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategory.java
@@ -523,18 +523,36 @@ public class LitemallCategory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- name("name", "name", "VARCHAR"),
- keywords("keywords", "keywords", "VARCHAR"),
- desc("desc", "desc", "VARCHAR"),
- pid("pid", "pid", "INTEGER"),
- iconUrl("icon_url", "iconUrl", "VARCHAR"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- level("level", "level", "VARCHAR"),
- sortOrder("sort_order", "sortOrder", "TINYINT"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ name("name", "name", "VARCHAR", true),
+ keywords("keywords", "keywords", "VARCHAR", false),
+ desc("desc", "desc", "VARCHAR", true),
+ pid("pid", "pid", "INTEGER", false),
+ iconUrl("icon_url", "iconUrl", "VARCHAR", false),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ level("level", "level", "VARCHAR", true),
+ sortOrder("sort_order", "sortOrder", "TINYINT", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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 static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -545,6 +563,15 @@ 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 boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
@@ -614,10 +641,11 @@ public class LitemallCategory {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -628,7 +656,7 @@ public class LitemallCategory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -639,7 +667,7 @@ public class LitemallCategory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -656,5 +684,20 @@ public class LitemallCategory {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategoryExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategoryExample.java
index c80d3c7a..a5584b1a 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategoryExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCategoryExample.java
@@ -241,31 +241,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andIdEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) 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 andIdNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) 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 andIdGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) 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 andIdGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) 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 andIdLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) 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 andIdLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andNameEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameNotEqualTo(String value) {
addCriterion("`name` <>", value, "name");
return (Criteria) 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 andNameNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThan(String value) {
addCriterion("`name` >", value, "name");
return (Criteria) 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 andNameGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("`name` >=", value, "name");
return (Criteria) 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 andNameGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThan(String value) {
addCriterion("`name` <", value, "name");
return (Criteria) 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 andNameLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("`name` <=", value, "name");
return (Criteria) 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 andNameLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLike(String value) {
addCriterion("`name` like", value, "name");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andKeywordsEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("keywords = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsNotEqualTo(String value) {
addCriterion("keywords <>", value, "keywords");
return (Criteria) 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 andKeywordsNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("keywords <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsGreaterThan(String value) {
addCriterion("keywords >", value, "keywords");
return (Criteria) 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 andKeywordsGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("keywords > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsGreaterThanOrEqualTo(String value) {
addCriterion("keywords >=", value, "keywords");
return (Criteria) 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 andKeywordsGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("keywords >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsLessThan(String value) {
addCriterion("keywords <", value, "keywords");
return (Criteria) 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 andKeywordsLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("keywords < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsLessThanOrEqualTo(String value) {
addCriterion("keywords <=", value, "keywords");
return (Criteria) 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 andKeywordsLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("keywords <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsLike(String value) {
addCriterion("keywords like", value, "keywords");
return (Criteria) this;
@@ -441,31 +657,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andDescEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`desc` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescNotEqualTo(String value) {
addCriterion("`desc` <>", value, "desc");
return (Criteria) 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 andDescNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`desc` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescGreaterThan(String value) {
addCriterion("`desc` >", value, "desc");
return (Criteria) 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 andDescGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`desc` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescGreaterThanOrEqualTo(String value) {
addCriterion("`desc` >=", value, "desc");
return (Criteria) 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 andDescGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`desc` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescLessThan(String value) {
addCriterion("`desc` <", value, "desc");
return (Criteria) 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 andDescLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`desc` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescLessThanOrEqualTo(String value) {
addCriterion("`desc` <=", value, "desc");
return (Criteria) 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 andDescLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`desc` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDescLike(String value) {
addCriterion("`desc` like", value, "desc");
return (Criteria) this;
@@ -511,31 +799,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andPidEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pid = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidNotEqualTo(Integer value) {
addCriterion("pid <>", value, "pid");
return (Criteria) 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 andPidNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pid <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidGreaterThan(Integer value) {
addCriterion("pid >", value, "pid");
return (Criteria) 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 andPidGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pid > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidGreaterThanOrEqualTo(Integer value) {
addCriterion("pid >=", value, "pid");
return (Criteria) 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 andPidGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pid >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidLessThan(Integer value) {
addCriterion("pid <", value, "pid");
return (Criteria) 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 andPidLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pid < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidLessThanOrEqualTo(Integer value) {
addCriterion("pid <=", value, "pid");
return (Criteria) 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 andPidLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pid <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidIn(List values) {
addCriterion("pid in", values, "pid");
return (Criteria) this;
@@ -571,31 +931,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andIconUrlEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("icon_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIconUrlNotEqualTo(String value) {
addCriterion("icon_url <>", value, "iconUrl");
return (Criteria) 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 andIconUrlNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("icon_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIconUrlGreaterThan(String value) {
addCriterion("icon_url >", value, "iconUrl");
return (Criteria) 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 andIconUrlGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("icon_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIconUrlGreaterThanOrEqualTo(String value) {
addCriterion("icon_url >=", value, "iconUrl");
return (Criteria) 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 andIconUrlGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("icon_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIconUrlLessThan(String value) {
addCriterion("icon_url <", value, "iconUrl");
return (Criteria) 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 andIconUrlLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("icon_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIconUrlLessThanOrEqualTo(String value) {
addCriterion("icon_url <=", value, "iconUrl");
return (Criteria) 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 andIconUrlLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("icon_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIconUrlLike(String value) {
addCriterion("icon_url like", value, "iconUrl");
return (Criteria) this;
@@ -641,31 +1073,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andPicUrlEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) 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 andPicUrlNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) 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 andPicUrlGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) 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 andPicUrlGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) 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 andPicUrlLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) 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 andPicUrlLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -711,31 +1215,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andLevelEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`level` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLevelNotEqualTo(String value) {
addCriterion("`level` <>", value, "level");
return (Criteria) 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 andLevelNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`level` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLevelGreaterThan(String value) {
addCriterion("`level` >", value, "level");
return (Criteria) 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 andLevelGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`level` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLevelGreaterThanOrEqualTo(String value) {
addCriterion("`level` >=", value, "level");
return (Criteria) 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 andLevelGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`level` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLevelLessThan(String value) {
addCriterion("`level` <", value, "level");
return (Criteria) 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 andLevelLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`level` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLevelLessThanOrEqualTo(String value) {
addCriterion("`level` <=", value, "level");
return (Criteria) 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 andLevelLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("`level` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLevelLike(String value) {
addCriterion("`level` like", value, "level");
return (Criteria) this;
@@ -781,31 +1357,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andSortOrderEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("sort_order = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderNotEqualTo(Byte value) {
addCriterion("sort_order <>", value, "sortOrder");
return (Criteria) 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 andSortOrderNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("sort_order <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThan(Byte value) {
addCriterion("sort_order >", value, "sortOrder");
return (Criteria) 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 andSortOrderGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("sort_order > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThanOrEqualTo(Byte value) {
addCriterion("sort_order >=", value, "sortOrder");
return (Criteria) 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 andSortOrderGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("sort_order >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThan(Byte value) {
addCriterion("sort_order <", value, "sortOrder");
return (Criteria) 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 andSortOrderLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("sort_order < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThanOrEqualTo(Byte value) {
addCriterion("sort_order <=", value, "sortOrder");
return (Criteria) 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 andSortOrderLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("sort_order <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderIn(List values) {
addCriterion("sort_order in", values, "sortOrder");
return (Criteria) this;
@@ -841,31 +1489,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andAddTimeEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) 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 andAddTimeNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) 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 andAddTimeLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) 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 andAddTimeLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -901,31 +1621,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andDeletedEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) 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 andDeletedNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) 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 andDeletedLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) 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 andDeletedLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -961,31 +1753,103 @@ public class LitemallCategoryExample {
return (Criteria) 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 andVersionEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) 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 andVersionNotEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) 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 andVersionGreaterThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) 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 andVersionGreaterThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) 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 andVersionLessThanColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) 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 andVersionLessThanOrEqualToColumn(LitemallCategory.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollect.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollect.java
index 57463fb7..6ec92f5d 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollect.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollect.java
@@ -343,13 +343,31 @@ public class LitemallCollect {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- userId("user_id", "userId", "INTEGER"),
- valueId("value_id", "valueId", "INTEGER"),
- type("type", "type", "TINYINT"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ userId("user_id", "userId", "INTEGER", false),
+ valueId("value_id", "valueId", "INTEGER", false),
+ type("type", "type", "TINYINT", true),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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 static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -360,6 +378,15 @@ 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 boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
@@ -429,10 +456,11 @@ public class LitemallCollect {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -443,7 +471,7 @@ public class LitemallCollect {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -454,7 +482,7 @@ public class LitemallCollect {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -471,5 +499,20 @@ public class LitemallCollect {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollectExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollectExample.java
index 69aac87f..82ea00aa 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollectExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCollectExample.java
@@ -241,31 +241,103 @@ public class LitemallCollectExample {
return (Criteria) 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 andIdEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) 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 andIdNotEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) 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 andIdGreaterThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) 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 andIdGreaterThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) 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 andIdLessThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) 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 andIdLessThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallCollectExample {
return (Criteria) 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 andUserIdEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) 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 andUserIdNotEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) 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 andUserIdGreaterThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) 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 andUserIdGreaterThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) 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 andUserIdLessThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) 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 andUserIdLessThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -361,31 +505,103 @@ public class LitemallCollectExample {
return (Criteria) 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 andValueIdEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("value_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdNotEqualTo(Integer value) {
addCriterion("value_id <>", value, "valueId");
return (Criteria) 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 andValueIdNotEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("value_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdGreaterThan(Integer value) {
addCriterion("value_id >", value, "valueId");
return (Criteria) 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 andValueIdGreaterThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("value_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdGreaterThanOrEqualTo(Integer value) {
addCriterion("value_id >=", value, "valueId");
return (Criteria) 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 andValueIdGreaterThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("value_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdLessThan(Integer value) {
addCriterion("value_id <", value, "valueId");
return (Criteria) 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 andValueIdLessThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("value_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdLessThanOrEqualTo(Integer value) {
addCriterion("value_id <=", value, "valueId");
return (Criteria) 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 andValueIdLessThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("value_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdIn(List values) {
addCriterion("value_id in", values, "valueId");
return (Criteria) this;
@@ -421,31 +637,103 @@ public class LitemallCollectExample {
return (Criteria) 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 andTypeEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("`type` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeNotEqualTo(Byte value) {
addCriterion("`type` <>", value, "type");
return (Criteria) 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 andTypeNotEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("`type` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThan(Byte value) {
addCriterion("`type` >", value, "type");
return (Criteria) 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 andTypeGreaterThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("`type` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("`type` >=", value, "type");
return (Criteria) 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 andTypeGreaterThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("`type` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThan(Byte value) {
addCriterion("`type` <", value, "type");
return (Criteria) 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 andTypeLessThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("`type` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThanOrEqualTo(Byte value) {
addCriterion("`type` <=", value, "type");
return (Criteria) 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 andTypeLessThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("`type` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeIn(List values) {
addCriterion("`type` in", values, "type");
return (Criteria) this;
@@ -481,31 +769,103 @@ public class LitemallCollectExample {
return (Criteria) 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 andAddTimeEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) 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 andAddTimeNotEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) 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 andAddTimeGreaterThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) 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 andAddTimeLessThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) 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 andAddTimeLessThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -541,31 +901,103 @@ public class LitemallCollectExample {
return (Criteria) 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 andDeletedEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) 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 andDeletedNotEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) 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 andDeletedGreaterThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) 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 andDeletedLessThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) 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 andDeletedLessThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -601,31 +1033,103 @@ public class LitemallCollectExample {
return (Criteria) 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 andVersionEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) 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 andVersionNotEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) 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 andVersionGreaterThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) 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 andVersionGreaterThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) 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 andVersionLessThanColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) 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 andVersionLessThanOrEqualToColumn(LitemallCollect.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallComment.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallComment.java
index 9f7e5623..eee4aa0d 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallComment.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallComment.java
@@ -487,17 +487,35 @@ public class LitemallComment {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- 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", "VARCHAR"),
- star("star", "star", "SMALLINT"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ valueId("value_id", "valueId", "INTEGER", false),
+ type("type", "type", "TINYINT", true),
+ content("content", "content", "VARCHAR", false),
+ userId("user_id", "userId", "INTEGER", false),
+ hasPicture("has_picture", "hasPicture", "BIT", false),
+ picUrls("pic_urls", "picUrls", "VARCHAR", false),
+ star("star", "star", "SMALLINT", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", 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
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * 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
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -508,6 +526,15 @@ public class LitemallComment {
*/
private final String column;
+ /**
+ * 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
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
@@ -577,10 +604,11 @@ public class LitemallComment {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -591,7 +619,7 @@ public class LitemallComment {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -602,7 +630,7 @@ public class LitemallComment {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -619,5 +647,20 @@ public class LitemallComment {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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 String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCommentExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCommentExample.java
index 90c7dba8..fb71baa3 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCommentExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallCommentExample.java
@@ -275,31 +275,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andIdEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andIdNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andIdGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andIdGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andIdLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andIdLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -335,31 +407,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andValueIdEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("value_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdNotEqualTo(Integer value) {
addCriterion("value_id <>", value, "valueId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andValueIdNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("value_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdGreaterThan(Integer value) {
addCriterion("value_id >", value, "valueId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andValueIdGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("value_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdGreaterThanOrEqualTo(Integer value) {
addCriterion("value_id >=", value, "valueId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andValueIdGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("value_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdLessThan(Integer value) {
addCriterion("value_id <", value, "valueId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andValueIdLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("value_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdLessThanOrEqualTo(Integer value) {
addCriterion("value_id <=", value, "valueId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andValueIdLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("value_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueIdIn(List values) {
addCriterion("value_id in", values, "valueId");
return (Criteria) this;
@@ -395,31 +539,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andTypeEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("`type` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeNotEqualTo(Byte value) {
addCriterion("`type` <>", value, "type");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andTypeNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("`type` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThan(Byte value) {
addCriterion("`type` >", value, "type");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andTypeGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("`type` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("`type` >=", value, "type");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andTypeGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("`type` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThan(Byte value) {
addCriterion("`type` <", value, "type");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andTypeLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("`type` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThanOrEqualTo(Byte value) {
addCriterion("`type` <=", value, "type");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andTypeLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("`type` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeIn(List values) {
addCriterion("`type` in", values, "type");
return (Criteria) this;
@@ -455,31 +671,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andContentEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("content = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentNotEqualTo(String value) {
addCriterion("content <>", value, "content");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andContentNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("content <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentGreaterThan(String value) {
addCriterion("content >", value, "content");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andContentGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("content > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentGreaterThanOrEqualTo(String value) {
addCriterion("content >=", value, "content");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andContentGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("content >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentLessThan(String value) {
addCriterion("content <", value, "content");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andContentLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("content < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentLessThanOrEqualTo(String value) {
addCriterion("content <=", value, "content");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andContentLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("content <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andContentLike(String value) {
addCriterion("content like", value, "content");
return (Criteria) this;
@@ -525,31 +813,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andUserIdEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andUserIdNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andUserIdGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andUserIdGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andUserIdLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andUserIdLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -585,31 +945,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andHasPictureEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("has_picture = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andHasPictureNotEqualTo(Boolean value) {
addCriterion("has_picture <>", value, "hasPicture");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andHasPictureNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("has_picture <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andHasPictureGreaterThan(Boolean value) {
addCriterion("has_picture >", value, "hasPicture");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andHasPictureGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("has_picture > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andHasPictureGreaterThanOrEqualTo(Boolean value) {
addCriterion("has_picture >=", value, "hasPicture");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andHasPictureGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("has_picture >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andHasPictureLessThan(Boolean value) {
addCriterion("has_picture <", value, "hasPicture");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andHasPictureLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("has_picture < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andHasPictureLessThanOrEqualTo(Boolean value) {
addCriterion("has_picture <=", value, "hasPicture");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andHasPictureLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("has_picture <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andHasPictureIn(List values) {
addCriterion("has_picture in", values, "hasPicture");
return (Criteria) this;
@@ -645,31 +1077,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andPicUrlsEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("pic_urls = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlsNotEqualTo(String[] value) {
addPicUrlsCriterion("pic_urls <>", value, "picUrls");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andPicUrlsNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("pic_urls <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlsGreaterThan(String[] value) {
addPicUrlsCriterion("pic_urls >", value, "picUrls");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andPicUrlsGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("pic_urls > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlsGreaterThanOrEqualTo(String[] value) {
addPicUrlsCriterion("pic_urls >=", value, "picUrls");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andPicUrlsGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("pic_urls >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlsLessThan(String[] value) {
addPicUrlsCriterion("pic_urls <", value, "picUrls");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andPicUrlsLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("pic_urls < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlsLessThanOrEqualTo(String[] value) {
addPicUrlsCriterion("pic_urls <=", value, "picUrls");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andPicUrlsLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("pic_urls <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlsLike(String[] value) {
addPicUrlsCriterion("pic_urls like", value, "picUrls");
return (Criteria) this;
@@ -715,31 +1219,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andStarEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("star = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStarNotEqualTo(Short value) {
addCriterion("star <>", value, "star");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andStarNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("star <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStarGreaterThan(Short value) {
addCriterion("star >", value, "star");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andStarGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("star > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStarGreaterThanOrEqualTo(Short value) {
addCriterion("star >=", value, "star");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andStarGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("star >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStarLessThan(Short value) {
addCriterion("star <", value, "star");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andStarLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("star < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStarLessThanOrEqualTo(Short value) {
addCriterion("star <=", value, "star");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andStarLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("star <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStarIn(List values) {
addCriterion("star in", values, "star");
return (Criteria) this;
@@ -775,31 +1351,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andAddTimeEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andAddTimeNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andAddTimeGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andAddTimeLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andAddTimeLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -835,31 +1483,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andDeletedEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andDeletedNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andDeletedGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andDeletedGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andDeletedLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andDeletedLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -895,31 +1615,103 @@ public class LitemallCommentExample {
return (Criteria) this;
}
+ /**
+ * 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 Criteria andVersionEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andVersionNotEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andVersionGreaterThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andVersionGreaterThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andVersionLessThanColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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 Criteria andVersionLessThanOrEqualToColumn(LitemallComment.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprint.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprint.java
index 3b26c317..4677cd71 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprint.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprint.java
@@ -307,12 +307,30 @@ public class LitemallFootprint {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- userId("user_id", "userId", "INTEGER"),
- goodsId("goods_id", "goodsId", "INTEGER"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ userId("user_id", "userId", "INTEGER", false),
+ goodsId("goods_id", "goodsId", "INTEGER", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -323,6 +341,15 @@ public class LitemallFootprint {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_footprint
@@ -392,10 +419,11 @@ public class LitemallFootprint {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -406,7 +434,7 @@ public class LitemallFootprint {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -417,7 +445,7 @@ public class LitemallFootprint {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -434,5 +462,20 @@ public class LitemallFootprint {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprintExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprintExample.java
index afa283a2..3ada7d27 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprintExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallFootprintExample.java
@@ -241,31 +241,103 @@ public class LitemallFootprintExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallFootprintExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdNotEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdGreaterThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdGreaterThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdLessThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdLessThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -361,31 +505,103 @@ public class LitemallFootprintExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdNotEqualTo(Integer value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdNotEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThan(Integer value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThan(Integer value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdIn(List values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
@@ -421,31 +637,103 @@ public class LitemallFootprintExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -481,31 +769,103 @@ public class LitemallFootprintExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -541,31 +901,103 @@ public class LitemallFootprintExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_footprint
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallFootprint.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoods.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoods.java
index 2bf44baa..0c23e2d2 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoods.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoods.java
@@ -848,27 +848,45 @@ public class LitemallGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- goodsSn("goods_sn", "goodsSn", "VARCHAR"),
- name("name", "name", "VARCHAR"),
- categoryId("category_id", "categoryId", "INTEGER"),
- brandId("brand_id", "brandId", "INTEGER"),
- gallery("gallery", "gallery", "VARCHAR"),
- keywords("keywords", "keywords", "VARCHAR"),
- brief("brief", "brief", "VARCHAR"),
- isOnSale("is_on_sale", "isOnSale", "BIT"),
- sortOrder("sort_order", "sortOrder", "SMALLINT"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- shareUrl("share_url", "shareUrl", "VARCHAR"),
- isNew("is_new", "isNew", "BIT"),
- isHot("is_hot", "isHot", "BIT"),
- unit("unit", "unit", "VARCHAR"),
- counterPrice("counter_price", "counterPrice", "DECIMAL"),
- retailPrice("retail_price", "retailPrice", "DECIMAL"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER"),
- detail("detail", "detail", "LONGVARCHAR");
+ id("id", "id", "INTEGER", false),
+ goodsSn("goods_sn", "goodsSn", "VARCHAR", false),
+ name("name", "name", "VARCHAR", true),
+ categoryId("category_id", "categoryId", "INTEGER", false),
+ brandId("brand_id", "brandId", "INTEGER", false),
+ gallery("gallery", "gallery", "VARCHAR", false),
+ keywords("keywords", "keywords", "VARCHAR", false),
+ brief("brief", "brief", "VARCHAR", false),
+ isOnSale("is_on_sale", "isOnSale", "BIT", false),
+ sortOrder("sort_order", "sortOrder", "SMALLINT", false),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ shareUrl("share_url", "shareUrl", "VARCHAR", false),
+ isNew("is_new", "isNew", "BIT", false),
+ isHot("is_hot", "isHot", "BIT", false),
+ unit("unit", "unit", "VARCHAR", false),
+ counterPrice("counter_price", "counterPrice", "DECIMAL", false),
+ retailPrice("retail_price", "retailPrice", "DECIMAL", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false),
+ detail("detail", "detail", "LONGVARCHAR", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -879,6 +897,15 @@ public class LitemallGoods {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods
@@ -948,10 +975,11 @@ public class LitemallGoods {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -962,7 +990,7 @@ public class LitemallGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -973,7 +1001,7 @@ public class LitemallGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -990,5 +1018,20 @@ public class LitemallGoods {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttribute.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttribute.java
index b71da65c..ff4ecf4b 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttribute.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttribute.java
@@ -343,13 +343,31 @@ public class LitemallGoodsAttribute {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- goodsId("goods_id", "goodsId", "INTEGER"),
- attribute("attribute", "attribute", "VARCHAR"),
- value("value", "value", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ goodsId("goods_id", "goodsId", "INTEGER", false),
+ attribute("attribute", "attribute", "VARCHAR", true),
+ value("value", "value", "VARCHAR", true),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -360,6 +378,15 @@ public class LitemallGoodsAttribute {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_attribute
@@ -429,10 +456,11 @@ public class LitemallGoodsAttribute {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -443,7 +471,7 @@ public class LitemallGoodsAttribute {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -454,7 +482,7 @@ public class LitemallGoodsAttribute {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -471,5 +499,20 @@ public class LitemallGoodsAttribute {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttributeExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttributeExample.java
index f854ca28..eb3c9fa5 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttributeExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsAttributeExample.java
@@ -241,31 +241,103 @@ public class LitemallGoodsAttributeExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallGoodsAttributeExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdNotEqualTo(Integer value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdNotEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThan(Integer value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThan(Integer value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdIn(List values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
@@ -361,31 +505,103 @@ public class LitemallGoodsAttributeExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAttributeEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`attribute` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAttributeNotEqualTo(String value) {
addCriterion("`attribute` <>", value, "attribute");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAttributeNotEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`attribute` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAttributeGreaterThan(String value) {
addCriterion("`attribute` >", value, "attribute");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAttributeGreaterThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`attribute` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAttributeGreaterThanOrEqualTo(String value) {
addCriterion("`attribute` >=", value, "attribute");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAttributeGreaterThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`attribute` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAttributeLessThan(String value) {
addCriterion("`attribute` <", value, "attribute");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAttributeLessThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`attribute` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAttributeLessThanOrEqualTo(String value) {
addCriterion("`attribute` <=", value, "attribute");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAttributeLessThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`attribute` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAttributeLike(String value) {
addCriterion("`attribute` like", value, "attribute");
return (Criteria) this;
@@ -431,31 +647,103 @@ public class LitemallGoodsAttributeExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`value` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueNotEqualTo(String value) {
addCriterion("`value` <>", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueNotEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`value` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueGreaterThan(String value) {
addCriterion("`value` >", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueGreaterThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`value` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueGreaterThanOrEqualTo(String value) {
addCriterion("`value` >=", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueGreaterThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`value` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueLessThan(String value) {
addCriterion("`value` <", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueLessThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`value` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueLessThanOrEqualTo(String value) {
addCriterion("`value` <=", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueLessThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("`value` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueLike(String value) {
addCriterion("`value` like", value, "value");
return (Criteria) this;
@@ -501,31 +789,103 @@ public class LitemallGoodsAttributeExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -561,31 +921,103 @@ public class LitemallGoodsAttributeExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -621,31 +1053,103 @@ public class LitemallGoodsAttributeExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_attribute
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallGoodsAttribute.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsExample.java
index 47ebc062..b9492ddf 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsExample.java
@@ -276,31 +276,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -336,31 +408,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnNotEqualTo(String value) {
addCriterion("goods_sn <>", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnGreaterThan(String value) {
addCriterion("goods_sn >", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnGreaterThanOrEqualTo(String value) {
addCriterion("goods_sn >=", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLessThan(String value) {
addCriterion("goods_sn <", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLessThanOrEqualTo(String value) {
addCriterion("goods_sn <=", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLike(String value) {
addCriterion("goods_sn like", value, "goodsSn");
return (Criteria) this;
@@ -406,31 +550,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNameEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameNotEqualTo(String value) {
addCriterion("`name` <>", value, "name");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNameNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThan(String value) {
addCriterion("`name` >", value, "name");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNameGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("`name` >=", value, "name");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNameGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThan(String value) {
addCriterion("`name` <", value, "name");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNameLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("`name` <=", value, "name");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNameLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLike(String value) {
addCriterion("`name` like", value, "name");
return (Criteria) this;
@@ -476,31 +692,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCategoryIdEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("category_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCategoryIdNotEqualTo(Integer value) {
addCriterion("category_id <>", value, "categoryId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCategoryIdNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("category_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCategoryIdGreaterThan(Integer value) {
addCriterion("category_id >", value, "categoryId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCategoryIdGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("category_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) {
addCriterion("category_id >=", value, "categoryId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCategoryIdGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("category_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCategoryIdLessThan(Integer value) {
addCriterion("category_id <", value, "categoryId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCategoryIdLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("category_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCategoryIdLessThanOrEqualTo(Integer value) {
addCriterion("category_id <=", value, "categoryId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCategoryIdLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("category_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCategoryIdIn(List values) {
addCriterion("category_id in", values, "categoryId");
return (Criteria) this;
@@ -536,31 +824,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBrandIdEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brand_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBrandIdNotEqualTo(Integer value) {
addCriterion("brand_id <>", value, "brandId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBrandIdNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brand_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBrandIdGreaterThan(Integer value) {
addCriterion("brand_id >", value, "brandId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBrandIdGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brand_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBrandIdGreaterThanOrEqualTo(Integer value) {
addCriterion("brand_id >=", value, "brandId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBrandIdGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brand_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBrandIdLessThan(Integer value) {
addCriterion("brand_id <", value, "brandId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBrandIdLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brand_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBrandIdLessThanOrEqualTo(Integer value) {
addCriterion("brand_id <=", value, "brandId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBrandIdLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brand_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBrandIdIn(List values) {
addCriterion("brand_id in", values, "brandId");
return (Criteria) this;
@@ -596,31 +956,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGalleryEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("gallery = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGalleryNotEqualTo(String[] value) {
addGalleryCriterion("gallery <>", value, "gallery");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGalleryNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("gallery <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGalleryGreaterThan(String[] value) {
addGalleryCriterion("gallery >", value, "gallery");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGalleryGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("gallery > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGalleryGreaterThanOrEqualTo(String[] value) {
addGalleryCriterion("gallery >=", value, "gallery");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGalleryGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("gallery >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGalleryLessThan(String[] value) {
addGalleryCriterion("gallery <", value, "gallery");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGalleryLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("gallery < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGalleryLessThanOrEqualTo(String[] value) {
addGalleryCriterion("gallery <=", value, "gallery");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGalleryLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("gallery <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGalleryLike(String[] value) {
addGalleryCriterion("gallery like", value, "gallery");
return (Criteria) this;
@@ -666,31 +1098,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordsEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("keywords = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsNotEqualTo(String value) {
addCriterion("keywords <>", value, "keywords");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordsNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("keywords <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsGreaterThan(String value) {
addCriterion("keywords >", value, "keywords");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordsGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("keywords > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsGreaterThanOrEqualTo(String value) {
addCriterion("keywords >=", value, "keywords");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordsGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("keywords >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsLessThan(String value) {
addCriterion("keywords <", value, "keywords");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordsLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("keywords < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsLessThanOrEqualTo(String value) {
addCriterion("keywords <=", value, "keywords");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordsLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("keywords <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordsLike(String value) {
addCriterion("keywords like", value, "keywords");
return (Criteria) this;
@@ -736,31 +1240,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBriefEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brief = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBriefNotEqualTo(String value) {
addCriterion("brief <>", value, "brief");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBriefNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brief <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBriefGreaterThan(String value) {
addCriterion("brief >", value, "brief");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBriefGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brief > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBriefGreaterThanOrEqualTo(String value) {
addCriterion("brief >=", value, "brief");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBriefGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brief >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBriefLessThan(String value) {
addCriterion("brief <", value, "brief");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBriefLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brief < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBriefLessThanOrEqualTo(String value) {
addCriterion("brief <=", value, "brief");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andBriefLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("brief <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBriefLike(String value) {
addCriterion("brief like", value, "brief");
return (Criteria) this;
@@ -806,31 +1382,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsOnSaleEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_on_sale = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsOnSaleNotEqualTo(Boolean value) {
addCriterion("is_on_sale <>", value, "isOnSale");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsOnSaleNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_on_sale <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsOnSaleGreaterThan(Boolean value) {
addCriterion("is_on_sale >", value, "isOnSale");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsOnSaleGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_on_sale > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsOnSaleGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_on_sale >=", value, "isOnSale");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsOnSaleGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_on_sale >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsOnSaleLessThan(Boolean value) {
addCriterion("is_on_sale <", value, "isOnSale");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsOnSaleLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_on_sale < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsOnSaleLessThanOrEqualTo(Boolean value) {
addCriterion("is_on_sale <=", value, "isOnSale");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsOnSaleLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_on_sale <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsOnSaleIn(List values) {
addCriterion("is_on_sale in", values, "isOnSale");
return (Criteria) this;
@@ -866,31 +1514,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("sort_order = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderNotEqualTo(Short value) {
addCriterion("sort_order <>", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("sort_order <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThan(Short value) {
addCriterion("sort_order >", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("sort_order > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThanOrEqualTo(Short value) {
addCriterion("sort_order >=", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("sort_order >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThan(Short value) {
addCriterion("sort_order <", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("sort_order < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThanOrEqualTo(Short value) {
addCriterion("sort_order <=", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("sort_order <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderIn(List values) {
addCriterion("sort_order in", values, "sortOrder");
return (Criteria) this;
@@ -926,31 +1646,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -996,31 +1788,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("share_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlNotEqualTo(String value) {
addCriterion("share_url <>", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("share_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlGreaterThan(String value) {
addCriterion("share_url >", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("share_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlGreaterThanOrEqualTo(String value) {
addCriterion("share_url >=", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("share_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlLessThan(String value) {
addCriterion("share_url <", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("share_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlLessThanOrEqualTo(String value) {
addCriterion("share_url <=", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("share_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlLike(String value) {
addCriterion("share_url like", value, "shareUrl");
return (Criteria) this;
@@ -1066,31 +1930,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsNewEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_new = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsNewNotEqualTo(Boolean value) {
addCriterion("is_new <>", value, "isNew");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsNewNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_new <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsNewGreaterThan(Boolean value) {
addCriterion("is_new >", value, "isNew");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsNewGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_new > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsNewGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_new >=", value, "isNew");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsNewGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_new >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsNewLessThan(Boolean value) {
addCriterion("is_new <", value, "isNew");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsNewLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_new < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsNewLessThanOrEqualTo(Boolean value) {
addCriterion("is_new <=", value, "isNew");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsNewLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_new <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsNewIn(List values) {
addCriterion("is_new in", values, "isNew");
return (Criteria) this;
@@ -1126,31 +2062,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_hot = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotNotEqualTo(Boolean value) {
addCriterion("is_hot <>", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_hot <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotGreaterThan(Boolean value) {
addCriterion("is_hot >", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_hot > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_hot >=", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_hot >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotLessThan(Boolean value) {
addCriterion("is_hot <", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_hot < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotLessThanOrEqualTo(Boolean value) {
addCriterion("is_hot <=", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("is_hot <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotIn(List values) {
addCriterion("is_hot in", values, "isHot");
return (Criteria) this;
@@ -1186,31 +2194,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUnitEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("unit = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUnitNotEqualTo(String value) {
addCriterion("unit <>", value, "unit");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUnitNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("unit <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUnitGreaterThan(String value) {
addCriterion("unit >", value, "unit");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUnitGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("unit > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUnitGreaterThanOrEqualTo(String value) {
addCriterion("unit >=", value, "unit");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUnitGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("unit >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUnitLessThan(String value) {
addCriterion("unit <", value, "unit");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUnitLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("unit < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUnitLessThanOrEqualTo(String value) {
addCriterion("unit <=", value, "unit");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUnitLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("unit <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUnitLike(String value) {
addCriterion("unit like", value, "unit");
return (Criteria) this;
@@ -1256,31 +2336,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCounterPriceEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("counter_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCounterPriceNotEqualTo(BigDecimal value) {
addCriterion("counter_price <>", value, "counterPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCounterPriceNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("counter_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCounterPriceGreaterThan(BigDecimal value) {
addCriterion("counter_price >", value, "counterPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCounterPriceGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("counter_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCounterPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("counter_price >=", value, "counterPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCounterPriceGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("counter_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCounterPriceLessThan(BigDecimal value) {
addCriterion("counter_price <", value, "counterPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCounterPriceLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("counter_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCounterPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("counter_price <=", value, "counterPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCounterPriceLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("counter_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCounterPriceIn(List values) {
addCriterion("counter_price in", values, "counterPrice");
return (Criteria) this;
@@ -1316,31 +2468,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRetailPriceEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("retail_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRetailPriceNotEqualTo(BigDecimal value) {
addCriterion("retail_price <>", value, "retailPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRetailPriceNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("retail_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRetailPriceGreaterThan(BigDecimal value) {
addCriterion("retail_price >", value, "retailPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRetailPriceGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("retail_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRetailPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("retail_price >=", value, "retailPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRetailPriceGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("retail_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRetailPriceLessThan(BigDecimal value) {
addCriterion("retail_price <", value, "retailPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRetailPriceLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("retail_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRetailPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("retail_price <=", value, "retailPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRetailPriceLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("retail_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRetailPriceIn(List values) {
addCriterion("retail_price in", values, "retailPrice");
return (Criteria) this;
@@ -1376,31 +2600,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -1436,31 +2732,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -1496,31 +2864,103 @@ public class LitemallGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallGoods.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecification.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecification.java
index 40a02342..fd05cdb7 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecification.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecification.java
@@ -379,14 +379,32 @@ public class LitemallGoodsSpecification {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- goodsId("goods_id", "goodsId", "INTEGER"),
- specification("specification", "specification", "VARCHAR"),
- value("value", "value", "VARCHAR"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ goodsId("goods_id", "goodsId", "INTEGER", false),
+ specification("specification", "specification", "VARCHAR", false),
+ value("value", "value", "VARCHAR", true),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -397,6 +415,15 @@ public class LitemallGoodsSpecification {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_goods_specification
@@ -466,10 +493,11 @@ public class LitemallGoodsSpecification {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -480,7 +508,7 @@ public class LitemallGoodsSpecification {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -491,7 +519,7 @@ public class LitemallGoodsSpecification {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -508,5 +536,20 @@ public class LitemallGoodsSpecification {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecificationExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecificationExample.java
index eb560967..fd4f8a24 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecificationExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGoodsSpecificationExample.java
@@ -241,31 +241,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdNotEqualTo(Integer value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThan(Integer value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThan(Integer value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdIn(List values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
@@ -361,31 +505,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("specification = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationNotEqualTo(String value) {
addCriterion("specification <>", value, "specification");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("specification <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationGreaterThan(String value) {
addCriterion("specification >", value, "specification");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("specification > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationGreaterThanOrEqualTo(String value) {
addCriterion("specification >=", value, "specification");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("specification >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationLessThan(String value) {
addCriterion("specification <", value, "specification");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("specification < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationLessThanOrEqualTo(String value) {
addCriterion("specification <=", value, "specification");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("specification <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationLike(String value) {
addCriterion("specification like", value, "specification");
return (Criteria) this;
@@ -431,31 +647,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("`value` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueNotEqualTo(String value) {
addCriterion("`value` <>", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("`value` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueGreaterThan(String value) {
addCriterion("`value` >", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("`value` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueGreaterThanOrEqualTo(String value) {
addCriterion("`value` >=", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("`value` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueLessThan(String value) {
addCriterion("`value` <", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("`value` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueLessThanOrEqualTo(String value) {
addCriterion("`value` <=", value, "value");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andValueLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("`value` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andValueLike(String value) {
addCriterion("`value` like", value, "value");
return (Criteria) this;
@@ -501,31 +789,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -571,31 +931,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -631,31 +1063,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -691,31 +1195,103 @@ public class LitemallGoodsSpecificationExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_goods_specification
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallGoodsSpecification.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGroupon.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGroupon.java
index b03e978e..c715864a 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGroupon.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGroupon.java
@@ -487,17 +487,35 @@ public class LitemallGroupon {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- orderId("order_id", "orderId", "INTEGER"),
- grouponId("groupon_id", "grouponId", "INTEGER"),
- rulesId("rules_id", "rulesId", "INTEGER"),
- userId("user_id", "userId", "INTEGER"),
- creatorUserId("creator_user_id", "creatorUserId", "INTEGER"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- shareUrl("share_url", "shareUrl", "VARCHAR"),
- payed("payed", "payed", "BIT"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ orderId("order_id", "orderId", "INTEGER", false),
+ grouponId("groupon_id", "grouponId", "INTEGER", false),
+ rulesId("rules_id", "rulesId", "INTEGER", false),
+ userId("user_id", "userId", "INTEGER", false),
+ creatorUserId("creator_user_id", "creatorUserId", "INTEGER", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ shareUrl("share_url", "shareUrl", "VARCHAR", false),
+ payed("payed", "payed", "BIT", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -508,6 +526,15 @@ public class LitemallGroupon {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_groupon
@@ -577,10 +604,11 @@ public class LitemallGroupon {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -591,7 +619,7 @@ public class LitemallGroupon {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -602,7 +630,7 @@ public class LitemallGroupon {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -619,5 +647,20 @@ public class LitemallGroupon {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponExample.java
index a7c7a704..d6b668ff 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponExample.java
@@ -241,31 +241,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("order_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdNotEqualTo(Integer value) {
addCriterion("order_id <>", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("order_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdGreaterThan(Integer value) {
addCriterion("order_id >", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("order_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
addCriterion("order_id >=", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("order_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdLessThan(Integer value) {
addCriterion("order_id <", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("order_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
addCriterion("order_id <=", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("order_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdIn(List values) {
addCriterion("order_id in", values, "orderId");
return (Criteria) this;
@@ -361,31 +505,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponIdEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("groupon_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponIdNotEqualTo(Integer value) {
addCriterion("groupon_id <>", value, "grouponId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponIdNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("groupon_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponIdGreaterThan(Integer value) {
addCriterion("groupon_id >", value, "grouponId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponIdGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("groupon_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponIdGreaterThanOrEqualTo(Integer value) {
addCriterion("groupon_id >=", value, "grouponId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponIdGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("groupon_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponIdLessThan(Integer value) {
addCriterion("groupon_id <", value, "grouponId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponIdLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("groupon_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponIdLessThanOrEqualTo(Integer value) {
addCriterion("groupon_id <=", value, "grouponId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponIdLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("groupon_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponIdIn(List values) {
addCriterion("groupon_id in", values, "grouponId");
return (Criteria) this;
@@ -421,31 +637,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRulesIdEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("rules_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRulesIdNotEqualTo(Integer value) {
addCriterion("rules_id <>", value, "rulesId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRulesIdNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("rules_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRulesIdGreaterThan(Integer value) {
addCriterion("rules_id >", value, "rulesId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRulesIdGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("rules_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRulesIdGreaterThanOrEqualTo(Integer value) {
addCriterion("rules_id >=", value, "rulesId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRulesIdGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("rules_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRulesIdLessThan(Integer value) {
addCriterion("rules_id <", value, "rulesId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRulesIdLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("rules_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRulesIdLessThanOrEqualTo(Integer value) {
addCriterion("rules_id <=", value, "rulesId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andRulesIdLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("rules_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andRulesIdIn(List values) {
addCriterion("rules_id in", values, "rulesId");
return (Criteria) this;
@@ -481,31 +769,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -541,31 +901,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCreatorUserIdEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("creator_user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCreatorUserIdNotEqualTo(Integer value) {
addCriterion("creator_user_id <>", value, "creatorUserId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCreatorUserIdNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("creator_user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCreatorUserIdGreaterThan(Integer value) {
addCriterion("creator_user_id >", value, "creatorUserId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCreatorUserIdGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("creator_user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCreatorUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("creator_user_id >=", value, "creatorUserId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCreatorUserIdGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("creator_user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCreatorUserIdLessThan(Integer value) {
addCriterion("creator_user_id <", value, "creatorUserId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCreatorUserIdLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("creator_user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCreatorUserIdLessThanOrEqualTo(Integer value) {
addCriterion("creator_user_id <=", value, "creatorUserId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCreatorUserIdLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("creator_user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCreatorUserIdIn(List values) {
addCriterion("creator_user_id in", values, "creatorUserId");
return (Criteria) this;
@@ -601,31 +1033,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -661,31 +1165,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("share_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlNotEqualTo(String value) {
addCriterion("share_url <>", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("share_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlGreaterThan(String value) {
addCriterion("share_url >", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("share_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlGreaterThanOrEqualTo(String value) {
addCriterion("share_url >=", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("share_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlLessThan(String value) {
addCriterion("share_url <", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("share_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlLessThanOrEqualTo(String value) {
addCriterion("share_url <=", value, "shareUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShareUrlLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("share_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShareUrlLike(String value) {
addCriterion("share_url like", value, "shareUrl");
return (Criteria) this;
@@ -731,31 +1307,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayedEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("payed = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayedNotEqualTo(Boolean value) {
addCriterion("payed <>", value, "payed");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayedNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("payed <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayedGreaterThan(Boolean value) {
addCriterion("payed >", value, "payed");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayedGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("payed > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayedGreaterThanOrEqualTo(Boolean value) {
addCriterion("payed >=", value, "payed");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayedGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("payed >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayedLessThan(Boolean value) {
addCriterion("payed <", value, "payed");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayedLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("payed < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayedLessThanOrEqualTo(Boolean value) {
addCriterion("payed <=", value, "payed");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayedLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("payed <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayedIn(List values) {
addCriterion("payed in", values, "payed");
return (Criteria) this;
@@ -791,31 +1439,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -851,31 +1571,103 @@ public class LitemallGrouponExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallGroupon.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRules.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRules.java
index 8e4f1f9e..1e2ba0e8 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRules.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRules.java
@@ -452,16 +452,34 @@ public class LitemallGrouponRules {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- goodsId("goods_id", "goodsId", "INTEGER"),
- goodsName("goods_name", "goodsName", "VARCHAR"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- discount("discount", "discount", "DECIMAL"),
- discountMember("discount_member", "discountMember", "INTEGER"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- expireTime("expire_time", "expireTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ goodsId("goods_id", "goodsId", "INTEGER", false),
+ goodsName("goods_name", "goodsName", "VARCHAR", false),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ discount("discount", "discount", "DECIMAL", false),
+ discountMember("discount_member", "discountMember", "INTEGER", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ expireTime("expire_time", "expireTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -472,6 +490,15 @@ public class LitemallGrouponRules {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_groupon_rules
@@ -541,10 +568,11 @@ public class LitemallGrouponRules {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -555,7 +583,7 @@ public class LitemallGrouponRules {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -566,7 +594,7 @@ public class LitemallGrouponRules {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -583,5 +611,20 @@ public class LitemallGrouponRules {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRulesExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRulesExample.java
index 71b3a262..d102443a 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRulesExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallGrouponRulesExample.java
@@ -242,31 +242,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -302,31 +374,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdNotEqualTo(Integer value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThan(Integer value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThan(Integer value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdIn(List values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
@@ -362,31 +506,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_name = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameNotEqualTo(String value) {
addCriterion("goods_name <>", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_name <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameGreaterThan(String value) {
addCriterion("goods_name >", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_name > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
addCriterion("goods_name >=", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_name >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLessThan(String value) {
addCriterion("goods_name <", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_name < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLessThanOrEqualTo(String value) {
addCriterion("goods_name <=", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("goods_name <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLike(String value) {
addCriterion("goods_name like", value, "goodsName");
return (Criteria) this;
@@ -432,31 +648,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -502,31 +790,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountNotEqualTo(BigDecimal value) {
addCriterion("discount <>", value, "discount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountGreaterThan(BigDecimal value) {
addCriterion("discount >", value, "discount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("discount >=", value, "discount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountLessThan(BigDecimal value) {
addCriterion("discount <", value, "discount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountLessThanOrEqualTo(BigDecimal value) {
addCriterion("discount <=", value, "discount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountIn(List values) {
addCriterion("discount in", values, "discount");
return (Criteria) this;
@@ -562,31 +922,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountMemberEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount_member = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountMemberNotEqualTo(Integer value) {
addCriterion("discount_member <>", value, "discountMember");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountMemberNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount_member <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountMemberGreaterThan(Integer value) {
addCriterion("discount_member >", value, "discountMember");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountMemberGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount_member > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountMemberGreaterThanOrEqualTo(Integer value) {
addCriterion("discount_member >=", value, "discountMember");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountMemberGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount_member >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountMemberLessThan(Integer value) {
addCriterion("discount_member <", value, "discountMember");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountMemberLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount_member < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountMemberLessThanOrEqualTo(Integer value) {
addCriterion("discount_member <=", value, "discountMember");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDiscountMemberLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("discount_member <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDiscountMemberIn(List values) {
addCriterion("discount_member in", values, "discountMember");
return (Criteria) this;
@@ -622,31 +1054,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -682,31 +1186,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("expire_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeNotEqualTo(LocalDateTime value) {
addCriterion("expire_time <>", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("expire_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeGreaterThan(LocalDateTime value) {
addCriterion("expire_time >", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("expire_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("expire_time >=", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("expire_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeLessThan(LocalDateTime value) {
addCriterion("expire_time <", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("expire_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("expire_time <=", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("expire_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeIn(List values) {
addCriterion("expire_time in", values, "expireTime");
return (Criteria) this;
@@ -742,31 +1318,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -802,31 +1450,103 @@ public class LitemallGrouponRulesExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_groupon_rules
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallGrouponRules.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssue.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssue.java
index ef7bb79e..170f6055 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssue.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssue.java
@@ -307,12 +307,30 @@ public class LitemallIssue {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- question("question", "question", "VARCHAR"),
- answer("answer", "answer", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ question("question", "question", "VARCHAR", false),
+ answer("answer", "answer", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -323,6 +341,15 @@ public class LitemallIssue {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_issue
@@ -392,10 +419,11 @@ public class LitemallIssue {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -406,7 +434,7 @@ public class LitemallIssue {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -417,7 +445,7 @@ public class LitemallIssue {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -434,5 +462,20 @@ public class LitemallIssue {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssueExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssueExample.java
index ddfe23f4..43b0b38e 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssueExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallIssueExample.java
@@ -241,31 +241,103 @@ public class LitemallIssueExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallIssueExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andQuestionEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("question = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andQuestionNotEqualTo(String value) {
addCriterion("question <>", value, "question");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andQuestionNotEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("question <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andQuestionGreaterThan(String value) {
addCriterion("question >", value, "question");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andQuestionGreaterThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("question > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andQuestionGreaterThanOrEqualTo(String value) {
addCriterion("question >=", value, "question");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andQuestionGreaterThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("question >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andQuestionLessThan(String value) {
addCriterion("question <", value, "question");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andQuestionLessThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("question < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andQuestionLessThanOrEqualTo(String value) {
addCriterion("question <=", value, "question");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andQuestionLessThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("question <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andQuestionLike(String value) {
addCriterion("question like", value, "question");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallIssueExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAnswerEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("answer = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAnswerNotEqualTo(String value) {
addCriterion("answer <>", value, "answer");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAnswerNotEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("answer <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAnswerGreaterThan(String value) {
addCriterion("answer >", value, "answer");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAnswerGreaterThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("answer > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAnswerGreaterThanOrEqualTo(String value) {
addCriterion("answer >=", value, "answer");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAnswerGreaterThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("answer >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAnswerLessThan(String value) {
addCriterion("answer <", value, "answer");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAnswerLessThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("answer < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAnswerLessThanOrEqualTo(String value) {
addCriterion("answer <=", value, "answer");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAnswerLessThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("answer <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAnswerLike(String value) {
addCriterion("answer like", value, "answer");
return (Criteria) this;
@@ -441,31 +657,103 @@ public class LitemallIssueExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -501,31 +789,103 @@ public class LitemallIssueExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -561,31 +921,103 @@ public class LitemallIssueExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_issue
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallIssue.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeyword.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeyword.java
index 1f614446..b9b8dc09 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeyword.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeyword.java
@@ -415,15 +415,33 @@ public class LitemallKeyword {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- keyword("keyword", "keyword", "VARCHAR"),
- url("url", "url", "VARCHAR"),
- isHot("is_hot", "isHot", "BIT"),
- isDefault("is_default", "isDefault", "BIT"),
- sortOrder("sort_order", "sortOrder", "INTEGER"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ keyword("keyword", "keyword", "VARCHAR", false),
+ url("url", "url", "VARCHAR", false),
+ isHot("is_hot", "isHot", "BIT", false),
+ isDefault("is_default", "isDefault", "BIT", false),
+ sortOrder("sort_order", "sortOrder", "INTEGER", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -434,6 +452,15 @@ public class LitemallKeyword {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_keyword
@@ -503,10 +530,11 @@ public class LitemallKeyword {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -517,7 +545,7 @@ public class LitemallKeyword {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -528,7 +556,7 @@ public class LitemallKeyword {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -545,5 +573,20 @@ public class LitemallKeyword {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeywordExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeywordExample.java
index 55978fcd..24ad1081 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeywordExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallKeywordExample.java
@@ -241,31 +241,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("keyword = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordNotEqualTo(String value) {
addCriterion("keyword <>", value, "keyword");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("keyword <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordGreaterThan(String value) {
addCriterion("keyword >", value, "keyword");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("keyword > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordGreaterThanOrEqualTo(String value) {
addCriterion("keyword >=", value, "keyword");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("keyword >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordLessThan(String value) {
addCriterion("keyword <", value, "keyword");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("keyword < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordLessThanOrEqualTo(String value) {
addCriterion("keyword <=", value, "keyword");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeywordLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("keyword <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordLike(String value) {
addCriterion("keyword like", value, "keyword");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlNotEqualTo(String value) {
addCriterion("url <>", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThan(String value) {
addCriterion("url >", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThanOrEqualTo(String value) {
addCriterion("url >=", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThan(String value) {
addCriterion("url <", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThanOrEqualTo(String value) {
addCriterion("url <=", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLike(String value) {
addCriterion("url like", value, "url");
return (Criteria) this;
@@ -441,31 +657,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_hot = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotNotEqualTo(Boolean value) {
addCriterion("is_hot <>", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_hot <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotGreaterThan(Boolean value) {
addCriterion("is_hot >", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_hot > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_hot >=", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_hot >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotLessThan(Boolean value) {
addCriterion("is_hot <", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_hot < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotLessThanOrEqualTo(Boolean value) {
addCriterion("is_hot <=", value, "isHot");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsHotLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_hot <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsHotIn(List values) {
addCriterion("is_hot in", values, "isHot");
return (Criteria) this;
@@ -501,31 +789,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsDefaultEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_default = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultNotEqualTo(Boolean value) {
addCriterion("is_default <>", value, "isDefault");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsDefaultNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_default <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultGreaterThan(Boolean value) {
addCriterion("is_default >", value, "isDefault");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsDefaultGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_default > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultGreaterThanOrEqualTo(Boolean value) {
addCriterion("is_default >=", value, "isDefault");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsDefaultGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_default >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultLessThan(Boolean value) {
addCriterion("is_default <", value, "isDefault");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsDefaultLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_default < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultLessThanOrEqualTo(Boolean value) {
addCriterion("is_default <=", value, "isDefault");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsDefaultLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("is_default <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsDefaultIn(List values) {
addCriterion("is_default in", values, "isDefault");
return (Criteria) this;
@@ -561,31 +921,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("sort_order = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderNotEqualTo(Integer value) {
addCriterion("sort_order <>", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("sort_order <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThan(Integer value) {
addCriterion("sort_order >", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("sort_order > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThanOrEqualTo(Integer value) {
addCriterion("sort_order >=", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("sort_order >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThan(Integer value) {
addCriterion("sort_order <", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("sort_order < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThanOrEqualTo(Integer value) {
addCriterion("sort_order <=", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSortOrderLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("sort_order <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderIn(List values) {
addCriterion("sort_order in", values, "sortOrder");
return (Criteria) this;
@@ -621,31 +1053,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -681,31 +1185,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -741,31 +1317,103 @@ public class LitemallKeywordExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_keyword
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallKeyword.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrder.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrder.java
index 866cee3d..47d9feae 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrder.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrder.java
@@ -956,30 +956,48 @@ public class LitemallOrder {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- userId("user_id", "userId", "INTEGER"),
- orderSn("order_sn", "orderSn", "VARCHAR"),
- orderStatus("order_status", "orderStatus", "SMALLINT"),
- consignee("consignee", "consignee", "VARCHAR"),
- mobile("mobile", "mobile", "VARCHAR"),
- address("address", "address", "VARCHAR"),
- goodsPrice("goods_price", "goodsPrice", "DECIMAL"),
- freightPrice("freight_price", "freightPrice", "DECIMAL"),
- couponPrice("coupon_price", "couponPrice", "DECIMAL"),
- integralPrice("integral_price", "integralPrice", "DECIMAL"),
- grouponPrice("groupon_price", "grouponPrice", "DECIMAL"),
- orderPrice("order_price", "orderPrice", "DECIMAL"),
- actualPrice("actual_price", "actualPrice", "DECIMAL"),
- payId("pay_id", "payId", "VARCHAR"),
- payTime("pay_time", "payTime", "TIMESTAMP"),
- shipSn("ship_sn", "shipSn", "VARCHAR"),
- shipChannel("ship_channel", "shipChannel", "VARCHAR"),
- shipTime("ship_time", "shipTime", "TIMESTAMP"),
- confirmTime("confirm_time", "confirmTime", "TIMESTAMP"),
- endTime("end_time", "endTime", "TIMESTAMP"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ userId("user_id", "userId", "INTEGER", false),
+ orderSn("order_sn", "orderSn", "VARCHAR", false),
+ orderStatus("order_status", "orderStatus", "SMALLINT", false),
+ consignee("consignee", "consignee", "VARCHAR", false),
+ mobile("mobile", "mobile", "VARCHAR", false),
+ address("address", "address", "VARCHAR", false),
+ goodsPrice("goods_price", "goodsPrice", "DECIMAL", false),
+ freightPrice("freight_price", "freightPrice", "DECIMAL", false),
+ couponPrice("coupon_price", "couponPrice", "DECIMAL", false),
+ integralPrice("integral_price", "integralPrice", "DECIMAL", false),
+ grouponPrice("groupon_price", "grouponPrice", "DECIMAL", false),
+ orderPrice("order_price", "orderPrice", "DECIMAL", false),
+ actualPrice("actual_price", "actualPrice", "DECIMAL", false),
+ payId("pay_id", "payId", "VARCHAR", false),
+ payTime("pay_time", "payTime", "TIMESTAMP", false),
+ shipSn("ship_sn", "shipSn", "VARCHAR", false),
+ shipChannel("ship_channel", "shipChannel", "VARCHAR", false),
+ shipTime("ship_time", "shipTime", "TIMESTAMP", false),
+ confirmTime("confirm_time", "confirmTime", "TIMESTAMP", false),
+ endTime("end_time", "endTime", "TIMESTAMP", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -990,6 +1008,15 @@ public class LitemallOrder {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order
@@ -1059,10 +1086,11 @@ public class LitemallOrder {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -1073,7 +1101,7 @@ public class LitemallOrder {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -1084,7 +1112,7 @@ public class LitemallOrder {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -1101,5 +1129,20 @@ public class LitemallOrder {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderExample.java
index feb33e78..e08bd381 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderExample.java
@@ -242,31 +242,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -302,31 +374,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUserIdLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -362,31 +506,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderSnEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_sn = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderSnNotEqualTo(String value) {
addCriterion("order_sn <>", value, "orderSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderSnNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_sn <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderSnGreaterThan(String value) {
addCriterion("order_sn >", value, "orderSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderSnGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_sn > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderSnGreaterThanOrEqualTo(String value) {
addCriterion("order_sn >=", value, "orderSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderSnGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_sn >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderSnLessThan(String value) {
addCriterion("order_sn <", value, "orderSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderSnLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_sn < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderSnLessThanOrEqualTo(String value) {
addCriterion("order_sn <=", value, "orderSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderSnLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_sn <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderSnLike(String value) {
addCriterion("order_sn like", value, "orderSn");
return (Criteria) this;
@@ -432,31 +648,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderStatusEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_status = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderStatusNotEqualTo(Short value) {
addCriterion("order_status <>", value, "orderStatus");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderStatusNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_status <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderStatusGreaterThan(Short value) {
addCriterion("order_status >", value, "orderStatus");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderStatusGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_status > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderStatusGreaterThanOrEqualTo(Short value) {
addCriterion("order_status >=", value, "orderStatus");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderStatusGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_status >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderStatusLessThan(Short value) {
addCriterion("order_status <", value, "orderStatus");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderStatusLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_status < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderStatusLessThanOrEqualTo(Short value) {
addCriterion("order_status <=", value, "orderStatus");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderStatusLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_status <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderStatusIn(List values) {
addCriterion("order_status in", values, "orderStatus");
return (Criteria) this;
@@ -492,31 +780,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConsigneeEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("consignee = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConsigneeNotEqualTo(String value) {
addCriterion("consignee <>", value, "consignee");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConsigneeNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("consignee <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConsigneeGreaterThan(String value) {
addCriterion("consignee >", value, "consignee");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConsigneeGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("consignee > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConsigneeGreaterThanOrEqualTo(String value) {
addCriterion("consignee >=", value, "consignee");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConsigneeGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("consignee >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConsigneeLessThan(String value) {
addCriterion("consignee <", value, "consignee");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConsigneeLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("consignee < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConsigneeLessThanOrEqualTo(String value) {
addCriterion("consignee <=", value, "consignee");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConsigneeLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("consignee <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConsigneeLike(String value) {
addCriterion("consignee like", value, "consignee");
return (Criteria) this;
@@ -562,31 +922,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andMobileEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("mobile = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileNotEqualTo(String value) {
addCriterion("mobile <>", value, "mobile");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andMobileNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("mobile <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileGreaterThan(String value) {
addCriterion("mobile >", value, "mobile");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andMobileGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("mobile > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileGreaterThanOrEqualTo(String value) {
addCriterion("mobile >=", value, "mobile");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andMobileGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("mobile >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLessThan(String value) {
addCriterion("mobile <", value, "mobile");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andMobileLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("mobile < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLessThanOrEqualTo(String value) {
addCriterion("mobile <=", value, "mobile");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andMobileLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("mobile <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLike(String value) {
addCriterion("mobile like", value, "mobile");
return (Criteria) this;
@@ -632,31 +1064,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddressEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("address = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressNotEqualTo(String value) {
addCriterion("address <>", value, "address");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddressNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("address <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressGreaterThan(String value) {
addCriterion("address >", value, "address");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddressGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("address > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressGreaterThanOrEqualTo(String value) {
addCriterion("address >=", value, "address");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddressGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("address >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressLessThan(String value) {
addCriterion("address <", value, "address");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddressLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("address < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressLessThanOrEqualTo(String value) {
addCriterion("address <=", value, "address");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddressLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("address <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddressLike(String value) {
addCriterion("address like", value, "address");
return (Criteria) this;
@@ -702,31 +1206,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsPriceEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("goods_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsPriceNotEqualTo(BigDecimal value) {
addCriterion("goods_price <>", value, "goodsPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsPriceNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("goods_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsPriceGreaterThan(BigDecimal value) {
addCriterion("goods_price >", value, "goodsPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsPriceGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("goods_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("goods_price >=", value, "goodsPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsPriceGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("goods_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsPriceLessThan(BigDecimal value) {
addCriterion("goods_price <", value, "goodsPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsPriceLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("goods_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("goods_price <=", value, "goodsPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsPriceLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("goods_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsPriceIn(List values) {
addCriterion("goods_price in", values, "goodsPrice");
return (Criteria) this;
@@ -762,31 +1338,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFreightPriceEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("freight_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFreightPriceNotEqualTo(BigDecimal value) {
addCriterion("freight_price <>", value, "freightPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFreightPriceNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("freight_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFreightPriceGreaterThan(BigDecimal value) {
addCriterion("freight_price >", value, "freightPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFreightPriceGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("freight_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFreightPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("freight_price >=", value, "freightPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFreightPriceGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("freight_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFreightPriceLessThan(BigDecimal value) {
addCriterion("freight_price <", value, "freightPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFreightPriceLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("freight_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFreightPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("freight_price <=", value, "freightPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFreightPriceLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("freight_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFreightPriceIn(List values) {
addCriterion("freight_price in", values, "freightPrice");
return (Criteria) this;
@@ -822,31 +1470,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCouponPriceEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("coupon_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCouponPriceNotEqualTo(BigDecimal value) {
addCriterion("coupon_price <>", value, "couponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCouponPriceNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("coupon_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCouponPriceGreaterThan(BigDecimal value) {
addCriterion("coupon_price >", value, "couponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCouponPriceGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("coupon_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCouponPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("coupon_price >=", value, "couponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCouponPriceGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("coupon_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCouponPriceLessThan(BigDecimal value) {
addCriterion("coupon_price <", value, "couponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCouponPriceLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("coupon_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCouponPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("coupon_price <=", value, "couponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andCouponPriceLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("coupon_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCouponPriceIn(List values) {
addCriterion("coupon_price in", values, "couponPrice");
return (Criteria) this;
@@ -882,31 +1602,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIntegralPriceEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("integral_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIntegralPriceNotEqualTo(BigDecimal value) {
addCriterion("integral_price <>", value, "integralPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIntegralPriceNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("integral_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIntegralPriceGreaterThan(BigDecimal value) {
addCriterion("integral_price >", value, "integralPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIntegralPriceGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("integral_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIntegralPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("integral_price >=", value, "integralPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIntegralPriceGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("integral_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIntegralPriceLessThan(BigDecimal value) {
addCriterion("integral_price <", value, "integralPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIntegralPriceLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("integral_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIntegralPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("integral_price <=", value, "integralPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIntegralPriceLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("integral_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIntegralPriceIn(List values) {
addCriterion("integral_price in", values, "integralPrice");
return (Criteria) this;
@@ -942,31 +1734,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponPriceEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("groupon_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponPriceNotEqualTo(BigDecimal value) {
addCriterion("groupon_price <>", value, "grouponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponPriceNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("groupon_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponPriceGreaterThan(BigDecimal value) {
addCriterion("groupon_price >", value, "grouponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponPriceGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("groupon_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("groupon_price >=", value, "grouponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponPriceGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("groupon_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponPriceLessThan(BigDecimal value) {
addCriterion("groupon_price <", value, "grouponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponPriceLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("groupon_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("groupon_price <=", value, "grouponPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGrouponPriceLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("groupon_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGrouponPriceIn(List values) {
addCriterion("groupon_price in", values, "grouponPrice");
return (Criteria) this;
@@ -1002,31 +1866,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderPriceEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderPriceNotEqualTo(BigDecimal value) {
addCriterion("order_price <>", value, "orderPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderPriceNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderPriceGreaterThan(BigDecimal value) {
addCriterion("order_price >", value, "orderPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderPriceGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("order_price >=", value, "orderPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderPriceGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderPriceLessThan(BigDecimal value) {
addCriterion("order_price <", value, "orderPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderPriceLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("order_price <=", value, "orderPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderPriceLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("order_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderPriceIn(List values) {
addCriterion("order_price in", values, "orderPrice");
return (Criteria) this;
@@ -1062,31 +1998,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andActualPriceEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("actual_price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andActualPriceNotEqualTo(BigDecimal value) {
addCriterion("actual_price <>", value, "actualPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andActualPriceNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("actual_price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andActualPriceGreaterThan(BigDecimal value) {
addCriterion("actual_price >", value, "actualPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andActualPriceGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("actual_price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andActualPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("actual_price >=", value, "actualPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andActualPriceGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("actual_price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andActualPriceLessThan(BigDecimal value) {
addCriterion("actual_price <", value, "actualPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andActualPriceLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("actual_price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andActualPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("actual_price <=", value, "actualPrice");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andActualPriceLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("actual_price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andActualPriceIn(List values) {
addCriterion("actual_price in", values, "actualPrice");
return (Criteria) this;
@@ -1122,31 +2130,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayIdEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayIdNotEqualTo(String value) {
addCriterion("pay_id <>", value, "payId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayIdNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayIdGreaterThan(String value) {
addCriterion("pay_id >", value, "payId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayIdGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayIdGreaterThanOrEqualTo(String value) {
addCriterion("pay_id >=", value, "payId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayIdGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayIdLessThan(String value) {
addCriterion("pay_id <", value, "payId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayIdLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayIdLessThanOrEqualTo(String value) {
addCriterion("pay_id <=", value, "payId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayIdLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayIdLike(String value) {
addCriterion("pay_id like", value, "payId");
return (Criteria) this;
@@ -1192,31 +2272,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayTimeEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayTimeNotEqualTo(LocalDateTime value) {
addCriterion("pay_time <>", value, "payTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayTimeNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayTimeGreaterThan(LocalDateTime value) {
addCriterion("pay_time >", value, "payTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayTimeGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("pay_time >=", value, "payTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayTimeGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayTimeLessThan(LocalDateTime value) {
addCriterion("pay_time <", value, "payTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayTimeLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("pay_time <=", value, "payTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPayTimeLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("pay_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPayTimeIn(List values) {
addCriterion("pay_time in", values, "payTime");
return (Criteria) this;
@@ -1252,31 +2404,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipSnEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_sn = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipSnNotEqualTo(String value) {
addCriterion("ship_sn <>", value, "shipSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipSnNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_sn <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipSnGreaterThan(String value) {
addCriterion("ship_sn >", value, "shipSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipSnGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_sn > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipSnGreaterThanOrEqualTo(String value) {
addCriterion("ship_sn >=", value, "shipSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipSnGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_sn >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipSnLessThan(String value) {
addCriterion("ship_sn <", value, "shipSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipSnLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_sn < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipSnLessThanOrEqualTo(String value) {
addCriterion("ship_sn <=", value, "shipSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipSnLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_sn <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipSnLike(String value) {
addCriterion("ship_sn like", value, "shipSn");
return (Criteria) this;
@@ -1322,31 +2546,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipChannelEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_channel = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipChannelNotEqualTo(String value) {
addCriterion("ship_channel <>", value, "shipChannel");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipChannelNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_channel <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipChannelGreaterThan(String value) {
addCriterion("ship_channel >", value, "shipChannel");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipChannelGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_channel > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipChannelGreaterThanOrEqualTo(String value) {
addCriterion("ship_channel >=", value, "shipChannel");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipChannelGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_channel >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipChannelLessThan(String value) {
addCriterion("ship_channel <", value, "shipChannel");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipChannelLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_channel < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipChannelLessThanOrEqualTo(String value) {
addCriterion("ship_channel <=", value, "shipChannel");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipChannelLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_channel <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipChannelLike(String value) {
addCriterion("ship_channel like", value, "shipChannel");
return (Criteria) this;
@@ -1392,31 +2688,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipTimeEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipTimeNotEqualTo(LocalDateTime value) {
addCriterion("ship_time <>", value, "shipTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipTimeNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipTimeGreaterThan(LocalDateTime value) {
addCriterion("ship_time >", value, "shipTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipTimeGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("ship_time >=", value, "shipTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipTimeGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipTimeLessThan(LocalDateTime value) {
addCriterion("ship_time <", value, "shipTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipTimeLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("ship_time <=", value, "shipTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andShipTimeLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("ship_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andShipTimeIn(List values) {
addCriterion("ship_time in", values, "shipTime");
return (Criteria) this;
@@ -1452,31 +2820,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConfirmTimeEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("confirm_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConfirmTimeNotEqualTo(LocalDateTime value) {
addCriterion("confirm_time <>", value, "confirmTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConfirmTimeNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("confirm_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConfirmTimeGreaterThan(LocalDateTime value) {
addCriterion("confirm_time >", value, "confirmTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConfirmTimeGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("confirm_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConfirmTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("confirm_time >=", value, "confirmTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConfirmTimeGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("confirm_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConfirmTimeLessThan(LocalDateTime value) {
addCriterion("confirm_time <", value, "confirmTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConfirmTimeLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("confirm_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConfirmTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("confirm_time <=", value, "confirmTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andConfirmTimeLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("confirm_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andConfirmTimeIn(List values) {
addCriterion("confirm_time in", values, "confirmTime");
return (Criteria) this;
@@ -1512,31 +2952,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andEndTimeEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("end_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeNotEqualTo(LocalDateTime value) {
addCriterion("end_time <>", value, "endTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andEndTimeNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("end_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeGreaterThan(LocalDateTime value) {
addCriterion("end_time >", value, "endTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andEndTimeGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("end_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("end_time >=", value, "endTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andEndTimeGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("end_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeLessThan(LocalDateTime value) {
addCriterion("end_time <", value, "endTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andEndTimeLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("end_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("end_time <=", value, "endTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andEndTimeLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("end_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andEndTimeIn(List values) {
addCriterion("end_time in", values, "endTime");
return (Criteria) this;
@@ -1572,31 +3084,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -1632,31 +3216,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -1692,31 +3348,103 @@ public class LitemallOrderExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallOrder.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoods.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoods.java
index 06d51994..265d29c4 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoods.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoods.java
@@ -560,19 +560,37 @@ public class LitemallOrderGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- orderId("order_id", "orderId", "INTEGER"),
- goodsId("goods_id", "goodsId", "INTEGER"),
- goodsName("goods_name", "goodsName", "VARCHAR"),
- goodsSn("goods_sn", "goodsSn", "VARCHAR"),
- productId("product_id", "productId", "INTEGER"),
- number("number", "number", "SMALLINT"),
- price("price", "price", "DECIMAL"),
- specifications("specifications", "specifications", "VARCHAR"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ orderId("order_id", "orderId", "INTEGER", false),
+ goodsId("goods_id", "goodsId", "INTEGER", false),
+ goodsName("goods_name", "goodsName", "VARCHAR", false),
+ goodsSn("goods_sn", "goodsSn", "VARCHAR", false),
+ productId("product_id", "productId", "INTEGER", false),
+ number("number", "number", "SMALLINT", true),
+ price("price", "price", "DECIMAL", false),
+ specifications("specifications", "specifications", "VARCHAR", false),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -583,6 +601,15 @@ public class LitemallOrderGoods {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_order_goods
@@ -652,10 +679,11 @@ public class LitemallOrderGoods {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -666,7 +694,7 @@ public class LitemallOrderGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -677,7 +705,7 @@ public class LitemallOrderGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -694,5 +722,20 @@ public class LitemallOrderGoods {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoodsExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoodsExample.java
index 4de179cd..e141a6aa 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoodsExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallOrderGoodsExample.java
@@ -276,31 +276,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -336,31 +408,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("order_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdNotEqualTo(Integer value) {
addCriterion("order_id <>", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("order_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdGreaterThan(Integer value) {
addCriterion("order_id >", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("order_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
addCriterion("order_id >=", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("order_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdLessThan(Integer value) {
addCriterion("order_id <", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("order_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
addCriterion("order_id <=", value, "orderId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOrderIdLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("order_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOrderIdIn(List values) {
addCriterion("order_id in", values, "orderId");
return (Criteria) this;
@@ -396,31 +540,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdNotEqualTo(Integer value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThan(Integer value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThan(Integer value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdIn(List values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
@@ -456,31 +672,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_name = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameNotEqualTo(String value) {
addCriterion("goods_name <>", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_name <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameGreaterThan(String value) {
addCriterion("goods_name >", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_name > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
addCriterion("goods_name >=", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_name >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLessThan(String value) {
addCriterion("goods_name <", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_name < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLessThanOrEqualTo(String value) {
addCriterion("goods_name <=", value, "goodsName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsNameLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_name <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNameLike(String value) {
addCriterion("goods_name like", value, "goodsName");
return (Criteria) this;
@@ -526,31 +814,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnNotEqualTo(String value) {
addCriterion("goods_sn <>", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnGreaterThan(String value) {
addCriterion("goods_sn >", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnGreaterThanOrEqualTo(String value) {
addCriterion("goods_sn >=", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLessThan(String value) {
addCriterion("goods_sn <", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLessThanOrEqualTo(String value) {
addCriterion("goods_sn <=", value, "goodsSn");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsSnLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("goods_sn <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsSnLike(String value) {
addCriterion("goods_sn like", value, "goodsSn");
return (Criteria) this;
@@ -596,31 +956,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andProductIdEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("product_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdNotEqualTo(Integer value) {
addCriterion("product_id <>", value, "productId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andProductIdNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("product_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdGreaterThan(Integer value) {
addCriterion("product_id >", value, "productId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andProductIdGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("product_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdGreaterThanOrEqualTo(Integer value) {
addCriterion("product_id >=", value, "productId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andProductIdGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("product_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdLessThan(Integer value) {
addCriterion("product_id <", value, "productId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andProductIdLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("product_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdLessThanOrEqualTo(Integer value) {
addCriterion("product_id <=", value, "productId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andProductIdLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("product_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andProductIdIn(List values) {
addCriterion("product_id in", values, "productId");
return (Criteria) this;
@@ -656,31 +1088,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("`number` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberNotEqualTo(Short value) {
addCriterion("`number` <>", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("`number` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberGreaterThan(Short value) {
addCriterion("`number` >", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("`number` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberGreaterThanOrEqualTo(Short value) {
addCriterion("`number` >=", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("`number` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberLessThan(Short value) {
addCriterion("`number` <", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("`number` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberLessThanOrEqualTo(Short value) {
addCriterion("`number` <=", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("`number` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberIn(List values) {
addCriterion("`number` in", values, "number");
return (Criteria) this;
@@ -716,31 +1220,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceNotEqualTo(BigDecimal value) {
addCriterion("price <>", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThan(BigDecimal value) {
addCriterion("price >", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("price >=", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThan(BigDecimal value) {
addCriterion("price <", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("price <=", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceIn(List values) {
addCriterion("price in", values, "price");
return (Criteria) this;
@@ -776,31 +1352,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("specifications = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsNotEqualTo(String[] value) {
addSpecificationsCriterion("specifications <>", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("specifications <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsGreaterThan(String[] value) {
addSpecificationsCriterion("specifications >", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("specifications > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsGreaterThanOrEqualTo(String[] value) {
addSpecificationsCriterion("specifications >=", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("specifications >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLessThan(String[] value) {
addSpecificationsCriterion("specifications <", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("specifications < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLessThanOrEqualTo(String[] value) {
addSpecificationsCriterion("specifications <=", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("specifications <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLike(String[] value) {
addSpecificationsCriterion("specifications like", value, "specifications");
return (Criteria) this;
@@ -846,31 +1494,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPicUrlLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -916,31 +1636,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -976,31 +1768,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -1036,31 +1900,103 @@ public class LitemallOrderGoodsExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_order_goods
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallOrderGoods.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProduct.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProduct.java
index 7336bd2e..5a189775 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProduct.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProduct.java
@@ -416,15 +416,33 @@ public class LitemallProduct {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- goodsId("goods_id", "goodsId", "INTEGER"),
- specifications("specifications", "specifications", "VARCHAR"),
- price("price", "price", "DECIMAL"),
- number("number", "number", "INTEGER"),
- url("url", "url", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ goodsId("goods_id", "goodsId", "INTEGER", false),
+ specifications("specifications", "specifications", "VARCHAR", false),
+ price("price", "price", "DECIMAL", false),
+ number("number", "number", "INTEGER", true),
+ url("url", "url", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -435,6 +453,15 @@ public class LitemallProduct {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_product
@@ -504,10 +531,11 @@ public class LitemallProduct {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -518,7 +546,7 @@ public class LitemallProduct {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -529,7 +557,7 @@ public class LitemallProduct {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -546,5 +574,20 @@ public class LitemallProduct {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProductExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProductExample.java
index 738ee200..7e262938 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProductExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallProductExample.java
@@ -276,31 +276,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -336,31 +408,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdNotEqualTo(Integer value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThan(Integer value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThan(Integer value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andGoodsIdLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsIdIn(List values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
@@ -396,31 +540,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("specifications = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsNotEqualTo(String[] value) {
addSpecificationsCriterion("specifications <>", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("specifications <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsGreaterThan(String[] value) {
addSpecificationsCriterion("specifications >", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("specifications > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsGreaterThanOrEqualTo(String[] value) {
addSpecificationsCriterion("specifications >=", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("specifications >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLessThan(String[] value) {
addSpecificationsCriterion("specifications <", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("specifications < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLessThanOrEqualTo(String[] value) {
addSpecificationsCriterion("specifications <=", value, "specifications");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andSpecificationsLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("specifications <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSpecificationsLike(String[] value) {
addSpecificationsCriterion("specifications like", value, "specifications");
return (Criteria) this;
@@ -466,31 +682,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceNotEqualTo(BigDecimal value) {
addCriterion("price <>", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThan(BigDecimal value) {
addCriterion("price >", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("price >=", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThan(BigDecimal value) {
addCriterion("price <", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("price <=", value, "price");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andPriceLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceIn(List values) {
addCriterion("price in", values, "price");
return (Criteria) this;
@@ -526,31 +814,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("`number` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberNotEqualTo(Integer value) {
addCriterion("`number` <>", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("`number` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberGreaterThan(Integer value) {
addCriterion("`number` >", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("`number` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberGreaterThanOrEqualTo(Integer value) {
addCriterion("`number` >=", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("`number` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberLessThan(Integer value) {
addCriterion("`number` <", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("`number` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberLessThanOrEqualTo(Integer value) {
addCriterion("`number` <=", value, "number");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andNumberLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("`number` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNumberIn(List values) {
addCriterion("`number` in", values, "number");
return (Criteria) this;
@@ -586,31 +946,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlNotEqualTo(String value) {
addCriterion("url <>", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThan(String value) {
addCriterion("url >", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThanOrEqualTo(String value) {
addCriterion("url >=", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThan(String value) {
addCriterion("url <", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThanOrEqualTo(String value) {
addCriterion("url <=", value, "url");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUrlLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLike(String value) {
addCriterion("url like", value, "url");
return (Criteria) this;
@@ -656,31 +1088,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -716,31 +1220,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -776,31 +1352,103 @@ public class LitemallProductExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_product
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallProduct.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegion.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegion.java
index 75fbe704..1b2f81fc 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegion.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegion.java
@@ -241,11 +241,29 @@ public class LitemallRegion {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- pid("pid", "pid", "INTEGER"),
- name("name", "name", "VARCHAR"),
- type("type", "type", "TINYINT"),
- code("code", "code", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ pid("pid", "pid", "INTEGER", false),
+ name("name", "name", "VARCHAR", true),
+ type("type", "type", "TINYINT", true),
+ code("code", "code", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_region
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_region
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -256,6 +274,15 @@ public class LitemallRegion {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_region
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_region
@@ -325,10 +352,11 @@ public class LitemallRegion {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -339,7 +367,7 @@ public class LitemallRegion {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -350,7 +378,7 @@ public class LitemallRegion {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -367,5 +395,20 @@ public class LitemallRegion {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegionExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegionExample.java
index f3ccdb0d..7f138fdb 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegionExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallRegionExample.java
@@ -240,31 +240,103 @@ public class LitemallRegionExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdNotEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -300,31 +372,103 @@ public class LitemallRegionExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPidEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("pid = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidNotEqualTo(Integer value) {
addCriterion("pid <>", value, "pid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPidNotEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("pid <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidGreaterThan(Integer value) {
addCriterion("pid >", value, "pid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPidGreaterThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("pid > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidGreaterThanOrEqualTo(Integer value) {
addCriterion("pid >=", value, "pid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPidGreaterThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("pid >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidLessThan(Integer value) {
addCriterion("pid <", value, "pid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPidLessThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("pid < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidLessThanOrEqualTo(Integer value) {
addCriterion("pid <=", value, "pid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPidLessThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("pid <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPidIn(List values) {
addCriterion("pid in", values, "pid");
return (Criteria) this;
@@ -360,31 +504,103 @@ public class LitemallRegionExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameNotEqualTo(String value) {
addCriterion("`name` <>", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameNotEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThan(String value) {
addCriterion("`name` >", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameGreaterThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("`name` >=", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameGreaterThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThan(String value) {
addCriterion("`name` <", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameLessThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("`name` <=", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameLessThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLike(String value) {
addCriterion("`name` like", value, "name");
return (Criteria) this;
@@ -430,31 +646,103 @@ public class LitemallRegionExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`type` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeNotEqualTo(Byte value) {
addCriterion("`type` <>", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeNotEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`type` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThan(Byte value) {
addCriterion("`type` >", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeGreaterThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`type` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("`type` >=", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeGreaterThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`type` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThan(Byte value) {
addCriterion("`type` <", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeLessThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`type` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThanOrEqualTo(Byte value) {
addCriterion("`type` <=", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeLessThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("`type` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeIn(List values) {
addCriterion("`type` in", values, "type");
return (Criteria) this;
@@ -490,31 +778,103 @@ public class LitemallRegionExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andCodeEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("code = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCodeNotEqualTo(Integer value) {
addCriterion("code <>", value, "code");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andCodeNotEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("code <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCodeGreaterThan(Integer value) {
addCriterion("code >", value, "code");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andCodeGreaterThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("code > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCodeGreaterThanOrEqualTo(Integer value) {
addCriterion("code >=", value, "code");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andCodeGreaterThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("code >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCodeLessThan(Integer value) {
addCriterion("code <", value, "code");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andCodeLessThanColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("code < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCodeLessThanOrEqualTo(Integer value) {
addCriterion("code <=", value, "code");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andCodeLessThanOrEqualToColumn(LitemallRegion.Column column) {
+ addCriterion(new StringBuilder("code <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andCodeIn(List values) {
addCriterion("code in", values, "code");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistory.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistory.java
index 1ab52461..c543fcd4 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistory.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistory.java
@@ -343,13 +343,31 @@ public class LitemallSearchHistory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- userId("user_id", "userId", "INTEGER"),
- keyword("keyword", "keyword", "VARCHAR"),
- from("from", "from", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ userId("user_id", "userId", "INTEGER", false),
+ keyword("keyword", "keyword", "VARCHAR", false),
+ from("from", "from", "VARCHAR", true),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_search_history
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_search_history
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -360,6 +378,15 @@ public class LitemallSearchHistory {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_search_history
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_search_history
@@ -429,10 +456,11 @@ public class LitemallSearchHistory {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -443,7 +471,7 @@ public class LitemallSearchHistory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -454,7 +482,7 @@ public class LitemallSearchHistory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -471,5 +499,20 @@ public class LitemallSearchHistory {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistoryExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistoryExample.java
index 628680dd..6dd7ffda 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistoryExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSearchHistoryExample.java
@@ -241,31 +241,103 @@ public class LitemallSearchHistoryExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdNotEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallSearchHistoryExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserIdEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserIdNotEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserIdGreaterThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserIdGreaterThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserIdLessThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserIdLessThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserIdIn(List values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
@@ -361,31 +505,103 @@ public class LitemallSearchHistoryExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeywordEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("keyword = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordNotEqualTo(String value) {
addCriterion("keyword <>", value, "keyword");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeywordNotEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("keyword <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordGreaterThan(String value) {
addCriterion("keyword >", value, "keyword");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeywordGreaterThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("keyword > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordGreaterThanOrEqualTo(String value) {
addCriterion("keyword >=", value, "keyword");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeywordGreaterThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("keyword >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordLessThan(String value) {
addCriterion("keyword <", value, "keyword");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeywordLessThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("keyword < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordLessThanOrEqualTo(String value) {
addCriterion("keyword <=", value, "keyword");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeywordLessThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("keyword <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeywordLike(String value) {
addCriterion("keyword like", value, "keyword");
return (Criteria) this;
@@ -431,31 +647,103 @@ public class LitemallSearchHistoryExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andFromEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("`from` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFromNotEqualTo(String value) {
addCriterion("`from` <>", value, "from");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andFromNotEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("`from` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFromGreaterThan(String value) {
addCriterion("`from` >", value, "from");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andFromGreaterThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("`from` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFromGreaterThanOrEqualTo(String value) {
addCriterion("`from` >=", value, "from");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andFromGreaterThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("`from` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFromLessThan(String value) {
addCriterion("`from` <", value, "from");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andFromLessThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("`from` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFromLessThanOrEqualTo(String value) {
addCriterion("`from` <=", value, "from");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andFromLessThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("`from` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFromLike(String value) {
addCriterion("`from` like", value, "from");
return (Criteria) this;
@@ -501,31 +789,103 @@ public class LitemallSearchHistoryExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -561,31 +921,103 @@ public class LitemallSearchHistoryExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -621,31 +1053,103 @@ public class LitemallSearchHistoryExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallSearchHistory.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorage.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorage.java
index 10fd4832..c2c9303a 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorage.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorage.java
@@ -451,16 +451,34 @@ public class LitemallStorage {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- key("key", "key", "VARCHAR"),
- name("name", "name", "VARCHAR"),
- type("type", "type", "VARCHAR"),
- size("size", "size", "INTEGER"),
- modified("modified", "modified", "TIMESTAMP"),
- url("url", "url", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ key("key", "key", "VARCHAR", true),
+ name("name", "name", "VARCHAR", true),
+ type("type", "type", "VARCHAR", true),
+ size("size", "size", "INTEGER", true),
+ modified("modified", "modified", "TIMESTAMP", false),
+ url("url", "url", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_storage
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_storage
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -471,6 +489,15 @@ public class LitemallStorage {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_storage
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_storage
@@ -540,10 +567,11 @@ public class LitemallStorage {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -554,7 +582,7 @@ public class LitemallStorage {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -565,7 +593,7 @@ public class LitemallStorage {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -582,5 +610,20 @@ public class LitemallStorage {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorageExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorageExample.java
index 0ba95094..a708f929 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorageExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallStorageExample.java
@@ -241,31 +241,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeyEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`key` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyNotEqualTo(String value) {
addCriterion("`key` <>", value, "key");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeyNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`key` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyGreaterThan(String value) {
addCriterion("`key` >", value, "key");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeyGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`key` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyGreaterThanOrEqualTo(String value) {
addCriterion("`key` >=", value, "key");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeyGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`key` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyLessThan(String value) {
addCriterion("`key` <", value, "key");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeyLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`key` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyLessThanOrEqualTo(String value) {
addCriterion("`key` <=", value, "key");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andKeyLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`key` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyLike(String value) {
addCriterion("`key` like", value, "key");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameNotEqualTo(String value) {
addCriterion("`name` <>", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThan(String value) {
addCriterion("`name` >", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("`name` >=", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThan(String value) {
addCriterion("`name` <", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("`name` <=", value, "name");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNameLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNameLike(String value) {
addCriterion("`name` like", value, "name");
return (Criteria) this;
@@ -441,31 +657,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`type` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeNotEqualTo(String value) {
addCriterion("`type` <>", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`type` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThan(String value) {
addCriterion("`type` >", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`type` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeGreaterThanOrEqualTo(String value) {
addCriterion("`type` >=", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`type` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThan(String value) {
addCriterion("`type` <", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`type` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLessThanOrEqualTo(String value) {
addCriterion("`type` <=", value, "type");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTypeLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`type` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTypeLike(String value) {
addCriterion("`type` like", value, "type");
return (Criteria) this;
@@ -511,31 +799,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSizeEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`size` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSizeNotEqualTo(Integer value) {
addCriterion("`size` <>", value, "size");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSizeNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`size` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSizeGreaterThan(Integer value) {
addCriterion("`size` >", value, "size");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSizeGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`size` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSizeGreaterThanOrEqualTo(Integer value) {
addCriterion("`size` >=", value, "size");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSizeGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`size` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSizeLessThan(Integer value) {
addCriterion("`size` <", value, "size");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSizeLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`size` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSizeLessThanOrEqualTo(Integer value) {
addCriterion("`size` <=", value, "size");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSizeLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("`size` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSizeIn(List values) {
addCriterion("`size` in", values, "size");
return (Criteria) this;
@@ -571,31 +931,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andModifiedEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("modified = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andModifiedNotEqualTo(LocalDateTime value) {
addCriterion("modified <>", value, "modified");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andModifiedNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("modified <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andModifiedGreaterThan(LocalDateTime value) {
addCriterion("modified >", value, "modified");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andModifiedGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("modified > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andModifiedGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("modified >=", value, "modified");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andModifiedGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("modified >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andModifiedLessThan(LocalDateTime value) {
addCriterion("modified <", value, "modified");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andModifiedLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("modified < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andModifiedLessThanOrEqualTo(LocalDateTime value) {
addCriterion("modified <=", value, "modified");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andModifiedLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("modified <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andModifiedIn(List values) {
addCriterion("modified in", values, "modified");
return (Criteria) this;
@@ -631,31 +1063,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUrlEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlNotEqualTo(String value) {
addCriterion("url <>", value, "url");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUrlNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThan(String value) {
addCriterion("url >", value, "url");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUrlGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlGreaterThanOrEqualTo(String value) {
addCriterion("url >=", value, "url");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUrlGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThan(String value) {
addCriterion("url <", value, "url");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUrlLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLessThanOrEqualTo(String value) {
addCriterion("url <=", value, "url");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUrlLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUrlLike(String value) {
addCriterion("url like", value, "url");
return (Criteria) this;
@@ -701,31 +1205,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -761,31 +1337,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -821,31 +1469,103 @@ public class LitemallStorageExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallStorage.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystem.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystem.java
index 2a7577f0..d5964ef6 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystem.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystem.java
@@ -270,11 +270,29 @@ public class LitemallSystem {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- keyName("key_name", "keyName", "VARCHAR"),
- keyValue("key_value", "keyValue", "VARCHAR"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ keyName("key_name", "keyName", "VARCHAR", false),
+ keyValue("key_value", "keyValue", "VARCHAR", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -285,6 +303,15 @@ public class LitemallSystem {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_system
@@ -354,10 +381,11 @@ public class LitemallSystem {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -368,7 +396,7 @@ public class LitemallSystem {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -379,7 +407,7 @@ public class LitemallSystem {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -396,5 +424,20 @@ public class LitemallSystem {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystemExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystemExample.java
index 8da6a11f..1843ae0c 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystemExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallSystemExample.java
@@ -240,31 +240,103 @@ public class LitemallSystemExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -300,31 +372,103 @@ public class LitemallSystemExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyNameEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_name = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyNameNotEqualTo(String value) {
addCriterion("key_name <>", value, "keyName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyNameNotEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_name <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyNameGreaterThan(String value) {
addCriterion("key_name >", value, "keyName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyNameGreaterThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_name > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyNameGreaterThanOrEqualTo(String value) {
addCriterion("key_name >=", value, "keyName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyNameGreaterThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_name >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyNameLessThan(String value) {
addCriterion("key_name <", value, "keyName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyNameLessThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_name < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyNameLessThanOrEqualTo(String value) {
addCriterion("key_name <=", value, "keyName");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyNameLessThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_name <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyNameLike(String value) {
addCriterion("key_name like", value, "keyName");
return (Criteria) this;
@@ -370,31 +514,103 @@ public class LitemallSystemExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyValueEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_value = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyValueNotEqualTo(String value) {
addCriterion("key_value <>", value, "keyValue");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyValueNotEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_value <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyValueGreaterThan(String value) {
addCriterion("key_value >", value, "keyValue");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyValueGreaterThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_value > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyValueGreaterThanOrEqualTo(String value) {
addCriterion("key_value >=", value, "keyValue");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyValueGreaterThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_value >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyValueLessThan(String value) {
addCriterion("key_value <", value, "keyValue");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyValueLessThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_value < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyValueLessThanOrEqualTo(String value) {
addCriterion("key_value <=", value, "keyValue");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andKeyValueLessThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("key_value <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andKeyValueLike(String value) {
addCriterion("key_value like", value, "keyValue");
return (Criteria) this;
@@ -440,31 +656,103 @@ public class LitemallSystemExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -500,31 +788,103 @@ public class LitemallSystemExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_system
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallSystem.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopic.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopic.java
index 114eba88..0a3a0838 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopic.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopic.java
@@ -524,18 +524,36 @@ public class LitemallTopic {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- title("title", "title", "VARCHAR"),
- subtitle("subtitle", "subtitle", "VARCHAR"),
- price("price", "price", "DECIMAL"),
- readCount("read_count", "readCount", "VARCHAR"),
- picUrl("pic_url", "picUrl", "VARCHAR"),
- sortOrder("sort_order", "sortOrder", "INTEGER"),
- goods("goods", "goods", "VARCHAR"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER"),
- content("content", "content", "LONGVARCHAR");
+ id("id", "id", "INTEGER", false),
+ title("title", "title", "VARCHAR", false),
+ subtitle("subtitle", "subtitle", "VARCHAR", false),
+ price("price", "price", "DECIMAL", false),
+ readCount("read_count", "readCount", "VARCHAR", false),
+ picUrl("pic_url", "picUrl", "VARCHAR", false),
+ sortOrder("sort_order", "sortOrder", "INTEGER", false),
+ goods("goods", "goods", "VARCHAR", false),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false),
+ content("content", "content", "LONGVARCHAR", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_topic
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_topic
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -546,6 +564,15 @@ public class LitemallTopic {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_topic
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_topic
@@ -615,10 +642,11 @@ public class LitemallTopic {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -629,7 +657,7 @@ public class LitemallTopic {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -640,7 +668,7 @@ public class LitemallTopic {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -657,5 +685,20 @@ public class LitemallTopic {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopicExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopicExample.java
index ba91a9bb..d23f9cfd 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopicExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallTopicExample.java
@@ -276,31 +276,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -336,31 +408,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTitleEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("title = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTitleNotEqualTo(String value) {
addCriterion("title <>", value, "title");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTitleNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("title <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTitleGreaterThan(String value) {
addCriterion("title >", value, "title");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTitleGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("title > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTitleGreaterThanOrEqualTo(String value) {
addCriterion("title >=", value, "title");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTitleGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("title >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTitleLessThan(String value) {
addCriterion("title <", value, "title");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTitleLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("title < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTitleLessThanOrEqualTo(String value) {
addCriterion("title <=", value, "title");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andTitleLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("title <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andTitleLike(String value) {
addCriterion("title like", value, "title");
return (Criteria) this;
@@ -406,31 +550,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSubtitleEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("subtitle = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSubtitleNotEqualTo(String value) {
addCriterion("subtitle <>", value, "subtitle");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSubtitleNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("subtitle <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSubtitleGreaterThan(String value) {
addCriterion("subtitle >", value, "subtitle");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSubtitleGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("subtitle > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSubtitleGreaterThanOrEqualTo(String value) {
addCriterion("subtitle >=", value, "subtitle");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSubtitleGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("subtitle >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSubtitleLessThan(String value) {
addCriterion("subtitle <", value, "subtitle");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSubtitleLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("subtitle < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSubtitleLessThanOrEqualTo(String value) {
addCriterion("subtitle <=", value, "subtitle");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSubtitleLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("subtitle <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSubtitleLike(String value) {
addCriterion("subtitle like", value, "subtitle");
return (Criteria) this;
@@ -476,31 +692,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPriceEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("price = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceNotEqualTo(BigDecimal value) {
addCriterion("price <>", value, "price");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPriceNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("price <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThan(BigDecimal value) {
addCriterion("price >", value, "price");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPriceGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("price > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("price >=", value, "price");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPriceGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("price >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThan(BigDecimal value) {
addCriterion("price <", value, "price");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPriceLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("price < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
addCriterion("price <=", value, "price");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPriceLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("price <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPriceIn(List values) {
addCriterion("price in", values, "price");
return (Criteria) this;
@@ -536,31 +824,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andReadCountEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("read_count = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andReadCountNotEqualTo(String value) {
addCriterion("read_count <>", value, "readCount");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andReadCountNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("read_count <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andReadCountGreaterThan(String value) {
addCriterion("read_count >", value, "readCount");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andReadCountGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("read_count > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andReadCountGreaterThanOrEqualTo(String value) {
addCriterion("read_count >=", value, "readCount");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andReadCountGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("read_count >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andReadCountLessThan(String value) {
addCriterion("read_count <", value, "readCount");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andReadCountLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("read_count < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andReadCountLessThanOrEqualTo(String value) {
addCriterion("read_count <=", value, "readCount");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andReadCountLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("read_count <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andReadCountLike(String value) {
addCriterion("read_count like", value, "readCount");
return (Criteria) this;
@@ -606,31 +966,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPicUrlEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("pic_url = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlNotEqualTo(String value) {
addCriterion("pic_url <>", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPicUrlNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("pic_url <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThan(String value) {
addCriterion("pic_url >", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPicUrlGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("pic_url > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
addCriterion("pic_url >=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPicUrlGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("pic_url >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThan(String value) {
addCriterion("pic_url <", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPicUrlLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("pic_url < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLessThanOrEqualTo(String value) {
addCriterion("pic_url <=", value, "picUrl");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPicUrlLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("pic_url <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPicUrlLike(String value) {
addCriterion("pic_url like", value, "picUrl");
return (Criteria) this;
@@ -676,31 +1108,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSortOrderEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("sort_order = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderNotEqualTo(Integer value) {
addCriterion("sort_order <>", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSortOrderNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("sort_order <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThan(Integer value) {
addCriterion("sort_order >", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSortOrderGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("sort_order > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderGreaterThanOrEqualTo(Integer value) {
addCriterion("sort_order >=", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSortOrderGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("sort_order >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThan(Integer value) {
addCriterion("sort_order <", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSortOrderLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("sort_order < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderLessThanOrEqualTo(Integer value) {
addCriterion("sort_order <=", value, "sortOrder");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andSortOrderLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("sort_order <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andSortOrderIn(List values) {
addCriterion("sort_order in", values, "sortOrder");
return (Criteria) this;
@@ -736,31 +1240,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGoodsEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("goods = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsNotEqualTo(Integer[] value) {
addGoodsCriterion("goods <>", value, "goods");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGoodsNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("goods <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsGreaterThan(Integer[] value) {
addGoodsCriterion("goods >", value, "goods");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGoodsGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("goods > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsGreaterThanOrEqualTo(Integer[] value) {
addGoodsCriterion("goods >=", value, "goods");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGoodsGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("goods >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsLessThan(Integer[] value) {
addGoodsCriterion("goods <", value, "goods");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGoodsLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("goods < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsLessThanOrEqualTo(Integer[] value) {
addGoodsCriterion("goods <=", value, "goods");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGoodsLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("goods <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGoodsLike(Integer[] value) {
addGoodsCriterion("goods like", value, "goods");
return (Criteria) this;
@@ -806,31 +1382,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -866,31 +1514,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -926,31 +1646,103 @@ public class LitemallTopicExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallTopic.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUser.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUser.java
index 19b2ba2b..85880daa 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUser.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUser.java
@@ -668,22 +668,40 @@ public class LitemallUser {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- username("username", "username", "VARCHAR"),
- password("password", "password", "VARCHAR"),
- gender("gender", "gender", "TINYINT"),
- birthday("birthday", "birthday", "DATE"),
- lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP"),
- lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR"),
- userLevel("user_level", "userLevel", "TINYINT"),
- nickname("nickname", "nickname", "VARCHAR"),
- mobile("mobile", "mobile", "VARCHAR"),
- avatar("avatar", "avatar", "VARCHAR"),
- weixinOpenid("weixin_openid", "weixinOpenid", "VARCHAR"),
- status("status", "status", "TINYINT"),
- addTime("add_time", "addTime", "TIMESTAMP"),
- deleted("deleted", "deleted", "BIT"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ username("username", "username", "VARCHAR", false),
+ password("password", "password", "VARCHAR", true),
+ gender("gender", "gender", "TINYINT", false),
+ birthday("birthday", "birthday", "DATE", false),
+ lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP", false),
+ lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR", false),
+ userLevel("user_level", "userLevel", "TINYINT", false),
+ nickname("nickname", "nickname", "VARCHAR", false),
+ mobile("mobile", "mobile", "VARCHAR", false),
+ avatar("avatar", "avatar", "VARCHAR", false),
+ weixinOpenid("weixin_openid", "weixinOpenid", "VARCHAR", false),
+ status("status", "status", "TINYINT", true),
+ addTime("add_time", "addTime", "TIMESTAMP", false),
+ deleted("deleted", "deleted", "BIT", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_user
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_user
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -694,6 +712,15 @@ public class LitemallUser {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_user
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user
@@ -763,10 +790,11 @@ public class LitemallUser {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -777,7 +805,7 @@ public class LitemallUser {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -788,7 +816,7 @@ public class LitemallUser {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -805,5 +833,20 @@ public class LitemallUser {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * 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
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserExample.java
index f8c0fa88..5aec7834 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserExample.java
@@ -242,31 +242,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -302,31 +374,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUsernameEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("username = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameNotEqualTo(String value) {
addCriterion("username <>", value, "username");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUsernameNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("username <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameGreaterThan(String value) {
addCriterion("username >", value, "username");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUsernameGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("username > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameGreaterThanOrEqualTo(String value) {
addCriterion("username >=", value, "username");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUsernameGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("username >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameLessThan(String value) {
addCriterion("username <", value, "username");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUsernameLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("username < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameLessThanOrEqualTo(String value) {
addCriterion("username <=", value, "username");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUsernameLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("username <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUsernameLike(String value) {
addCriterion("username like", value, "username");
return (Criteria) this;
@@ -372,31 +516,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPasswordEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`password` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordNotEqualTo(String value) {
addCriterion("`password` <>", value, "password");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPasswordNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`password` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordGreaterThan(String value) {
addCriterion("`password` >", value, "password");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPasswordGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`password` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordGreaterThanOrEqualTo(String value) {
addCriterion("`password` >=", value, "password");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPasswordGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`password` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordLessThan(String value) {
addCriterion("`password` <", value, "password");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPasswordLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`password` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordLessThanOrEqualTo(String value) {
addCriterion("`password` <=", value, "password");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andPasswordLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`password` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andPasswordLike(String value) {
addCriterion("`password` like", value, "password");
return (Criteria) this;
@@ -442,31 +658,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGenderEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("gender = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGenderNotEqualTo(Byte value) {
addCriterion("gender <>", value, "gender");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGenderNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("gender <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGenderGreaterThan(Byte value) {
addCriterion("gender >", value, "gender");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGenderGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("gender > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGenderGreaterThanOrEqualTo(Byte value) {
addCriterion("gender >=", value, "gender");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGenderGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("gender >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGenderLessThan(Byte value) {
addCriterion("gender <", value, "gender");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGenderLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("gender < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGenderLessThanOrEqualTo(Byte value) {
addCriterion("gender <=", value, "gender");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andGenderLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("gender <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andGenderIn(List values) {
addCriterion("gender in", values, "gender");
return (Criteria) this;
@@ -502,31 +790,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andBirthdayEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("birthday = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBirthdayNotEqualTo(LocalDate value) {
addCriterion("birthday <>", value, "birthday");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andBirthdayNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("birthday <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBirthdayGreaterThan(LocalDate value) {
addCriterion("birthday >", value, "birthday");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andBirthdayGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("birthday > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBirthdayGreaterThanOrEqualTo(LocalDate value) {
addCriterion("birthday >=", value, "birthday");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andBirthdayGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("birthday >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBirthdayLessThan(LocalDate value) {
addCriterion("birthday <", value, "birthday");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andBirthdayLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("birthday < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBirthdayLessThanOrEqualTo(LocalDate value) {
addCriterion("birthday <=", value, "birthday");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andBirthdayLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("birthday <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andBirthdayIn(List values) {
addCriterion("birthday in", values, "birthday");
return (Criteria) this;
@@ -562,31 +922,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginTimeEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeNotEqualTo(LocalDateTime value) {
addCriterion("last_login_time <>", value, "lastLoginTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginTimeNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeGreaterThan(LocalDateTime value) {
addCriterion("last_login_time >", value, "lastLoginTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginTimeGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("last_login_time >=", value, "lastLoginTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginTimeGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeLessThan(LocalDateTime value) {
addCriterion("last_login_time <", value, "lastLoginTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginTimeLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("last_login_time <=", value, "lastLoginTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginTimeLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginTimeIn(List values) {
addCriterion("last_login_time in", values, "lastLoginTime");
return (Criteria) this;
@@ -622,31 +1054,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginIpEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_ip = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpNotEqualTo(String value) {
addCriterion("last_login_ip <>", value, "lastLoginIp");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginIpNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_ip <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpGreaterThan(String value) {
addCriterion("last_login_ip >", value, "lastLoginIp");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginIpGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_ip > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpGreaterThanOrEqualTo(String value) {
addCriterion("last_login_ip >=", value, "lastLoginIp");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginIpGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_ip >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpLessThan(String value) {
addCriterion("last_login_ip <", value, "lastLoginIp");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginIpLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_ip < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpLessThanOrEqualTo(String value) {
addCriterion("last_login_ip <=", value, "lastLoginIp");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andLastLoginIpLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("last_login_ip <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andLastLoginIpLike(String value) {
addCriterion("last_login_ip like", value, "lastLoginIp");
return (Criteria) this;
@@ -692,31 +1196,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserLevelEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("user_level = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserLevelNotEqualTo(Byte value) {
addCriterion("user_level <>", value, "userLevel");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserLevelNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("user_level <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserLevelGreaterThan(Byte value) {
addCriterion("user_level >", value, "userLevel");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserLevelGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("user_level > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserLevelGreaterThanOrEqualTo(Byte value) {
addCriterion("user_level >=", value, "userLevel");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserLevelGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("user_level >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserLevelLessThan(Byte value) {
addCriterion("user_level <", value, "userLevel");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserLevelLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("user_level < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserLevelLessThanOrEqualTo(Byte value) {
addCriterion("user_level <=", value, "userLevel");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andUserLevelLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("user_level <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUserLevelIn(List values) {
addCriterion("user_level in", values, "userLevel");
return (Criteria) this;
@@ -752,31 +1328,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNicknameEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("nickname = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNicknameNotEqualTo(String value) {
addCriterion("nickname <>", value, "nickname");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNicknameNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("nickname <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNicknameGreaterThan(String value) {
addCriterion("nickname >", value, "nickname");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNicknameGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("nickname > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNicknameGreaterThanOrEqualTo(String value) {
addCriterion("nickname >=", value, "nickname");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNicknameGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("nickname >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNicknameLessThan(String value) {
addCriterion("nickname <", value, "nickname");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNicknameLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("nickname < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNicknameLessThanOrEqualTo(String value) {
addCriterion("nickname <=", value, "nickname");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andNicknameLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("nickname <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andNicknameLike(String value) {
addCriterion("nickname like", value, "nickname");
return (Criteria) this;
@@ -822,31 +1470,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andMobileEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("mobile = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileNotEqualTo(String value) {
addCriterion("mobile <>", value, "mobile");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andMobileNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("mobile <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileGreaterThan(String value) {
addCriterion("mobile >", value, "mobile");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andMobileGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("mobile > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileGreaterThanOrEqualTo(String value) {
addCriterion("mobile >=", value, "mobile");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andMobileGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("mobile >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLessThan(String value) {
addCriterion("mobile <", value, "mobile");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andMobileLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("mobile < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLessThanOrEqualTo(String value) {
addCriterion("mobile <=", value, "mobile");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andMobileLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("mobile <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andMobileLike(String value) {
addCriterion("mobile like", value, "mobile");
return (Criteria) this;
@@ -892,31 +1612,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAvatarEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("avatar = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarNotEqualTo(String value) {
addCriterion("avatar <>", value, "avatar");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAvatarNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("avatar <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarGreaterThan(String value) {
addCriterion("avatar >", value, "avatar");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAvatarGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("avatar > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarGreaterThanOrEqualTo(String value) {
addCriterion("avatar >=", value, "avatar");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAvatarGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("avatar >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarLessThan(String value) {
addCriterion("avatar <", value, "avatar");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAvatarLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("avatar < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarLessThanOrEqualTo(String value) {
addCriterion("avatar <=", value, "avatar");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAvatarLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("avatar <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAvatarLike(String value) {
addCriterion("avatar like", value, "avatar");
return (Criteria) this;
@@ -962,31 +1754,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andWeixinOpenidEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("weixin_openid = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andWeixinOpenidNotEqualTo(String value) {
addCriterion("weixin_openid <>", value, "weixinOpenid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andWeixinOpenidNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("weixin_openid <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andWeixinOpenidGreaterThan(String value) {
addCriterion("weixin_openid >", value, "weixinOpenid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andWeixinOpenidGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("weixin_openid > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andWeixinOpenidGreaterThanOrEqualTo(String value) {
addCriterion("weixin_openid >=", value, "weixinOpenid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andWeixinOpenidGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("weixin_openid >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andWeixinOpenidLessThan(String value) {
addCriterion("weixin_openid <", value, "weixinOpenid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andWeixinOpenidLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("weixin_openid < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andWeixinOpenidLessThanOrEqualTo(String value) {
addCriterion("weixin_openid <=", value, "weixinOpenid");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andWeixinOpenidLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("weixin_openid <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andWeixinOpenidLike(String value) {
addCriterion("weixin_openid like", value, "weixinOpenid");
return (Criteria) this;
@@ -1032,31 +1896,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andStatusEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`status` = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStatusNotEqualTo(Byte value) {
addCriterion("`status` <>", value, "status");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andStatusNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`status` <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStatusGreaterThan(Byte value) {
addCriterion("`status` >", value, "status");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andStatusGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`status` > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
addCriterion("`status` >=", value, "status");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andStatusGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`status` >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStatusLessThan(Byte value) {
addCriterion("`status` <", value, "status");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andStatusLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`status` < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStatusLessThanOrEqualTo(Byte value) {
addCriterion("`status` <=", value, "status");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andStatusLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("`status` <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andStatusIn(List values) {
addCriterion("`status` in", values, "status");
return (Criteria) this;
@@ -1092,31 +2028,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
addCriterion("add_time <>", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThan(LocalDateTime value) {
addCriterion("add_time >", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time >=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThan(LocalDateTime value) {
addCriterion("add_time <", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("add_time <=", value, "addTime");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andAddTimeLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andAddTimeIn(List values) {
addCriterion("add_time in", values, "addTime");
return (Criteria) this;
@@ -1152,31 +2160,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedNotEqualTo(Boolean value) {
addCriterion("deleted <>", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThan(Boolean value) {
addCriterion("deleted >", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
addCriterion("deleted >=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThan(Boolean value) {
addCriterion("deleted <", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
addCriterion("deleted <=", value, "deleted");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andDeletedLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andDeletedIn(List values) {
addCriterion("deleted in", values, "deleted");
return (Criteria) this;
@@ -1212,31 +2292,103 @@ public class LitemallUserExample {
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * 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
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallUser.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormid.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormid.java
index 2d06ab4f..9f57e1a3 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormid.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormid.java
@@ -314,13 +314,31 @@ public class LitemallUserFormid {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
- id("id", "id", "INTEGER"),
- formid("formId", "formid", "VARCHAR"),
- isprepay("isprepay", "isprepay", "BIT"),
- useamount("useAmount", "useamount", "INTEGER"),
- expireTime("expire_time", "expireTime", "TIMESTAMP"),
- openid("openId", "openid", "VARCHAR"),
- version("version", "version", "INTEGER");
+ id("id", "id", "INTEGER", false),
+ formid("formId", "formid", "VARCHAR", false),
+ isprepay("isprepay", "isprepay", "BIT", false),
+ useamount("useAmount", "useamount", "INTEGER", false),
+ expireTime("expire_time", "expireTime", "TIMESTAMP", false),
+ openid("openId", "openid", "VARCHAR", false),
+ version("version", "version", "INTEGER", false);
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String BEGINNING_DELIMITER = "`";
+
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private static final String ENDING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
@@ -331,6 +349,15 @@ public class LitemallUserFormid {
*/
private final String column;
+ /**
+ * This field was generated by MyBatis Generator.
+ * This field corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ private final boolean isColumnNameDelimited;
+
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user_formid
@@ -400,10 +427,11 @@ public class LitemallUserFormid {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
- Column(String column, String javaProperty, String jdbcType) {
+ Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
+ this.isColumnNameDelimited = isColumnNameDelimited;
}
/**
@@ -414,7 +442,7 @@ public class LitemallUserFormid {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
- return this.column + " DESC";
+ return this.getEscapedColumnName() + " DESC";
}
/**
@@ -425,7 +453,7 @@ public class LitemallUserFormid {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
- return this.column + " ASC";
+ return this.getEscapedColumnName() + " ASC";
}
/**
@@ -442,5 +470,20 @@ public class LitemallUserFormid {
}
return columns.toArray(new Column[]{});
}
+
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public String getEscapedColumnName() {
+ if (this.isColumnNameDelimited) {
+ return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+ } else {
+ return this.column;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormidExample.java b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormidExample.java
index 99e41241..930ed393 100644
--- a/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormidExample.java
+++ b/litemall-db/src/main/java/org/linlinjava/litemall/db/domain/LitemallUserFormidExample.java
@@ -241,31 +241,103 @@ public class LitemallUserFormidExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdNotEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdGreaterThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIdLessThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIdIn(List values) {
addCriterion("id in", values, "id");
return (Criteria) this;
@@ -301,31 +373,103 @@ public class LitemallUserFormidExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFormidEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("formId = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFormidNotEqualTo(String value) {
addCriterion("formId <>", value, "formid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFormidNotEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("formId <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFormidGreaterThan(String value) {
addCriterion("formId >", value, "formid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFormidGreaterThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("formId > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFormidGreaterThanOrEqualTo(String value) {
addCriterion("formId >=", value, "formid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFormidGreaterThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("formId >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFormidLessThan(String value) {
addCriterion("formId <", value, "formid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFormidLessThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("formId < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFormidLessThanOrEqualTo(String value) {
addCriterion("formId <=", value, "formid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andFormidLessThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("formId <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andFormidLike(String value) {
addCriterion("formId like", value, "formid");
return (Criteria) this;
@@ -371,31 +515,103 @@ public class LitemallUserFormidExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsprepayEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("isprepay = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsprepayNotEqualTo(Boolean value) {
addCriterion("isprepay <>", value, "isprepay");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsprepayNotEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("isprepay <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsprepayGreaterThan(Boolean value) {
addCriterion("isprepay >", value, "isprepay");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsprepayGreaterThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("isprepay > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsprepayGreaterThanOrEqualTo(Boolean value) {
addCriterion("isprepay >=", value, "isprepay");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsprepayGreaterThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("isprepay >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsprepayLessThan(Boolean value) {
addCriterion("isprepay <", value, "isprepay");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsprepayLessThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("isprepay < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsprepayLessThanOrEqualTo(Boolean value) {
addCriterion("isprepay <=", value, "isprepay");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andIsprepayLessThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("isprepay <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andIsprepayIn(List values) {
addCriterion("isprepay in", values, "isprepay");
return (Criteria) this;
@@ -431,31 +647,103 @@ public class LitemallUserFormidExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUseamountEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("useAmount = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUseamountNotEqualTo(Integer value) {
addCriterion("useAmount <>", value, "useamount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUseamountNotEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("useAmount <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUseamountGreaterThan(Integer value) {
addCriterion("useAmount >", value, "useamount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUseamountGreaterThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("useAmount > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUseamountGreaterThanOrEqualTo(Integer value) {
addCriterion("useAmount >=", value, "useamount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUseamountGreaterThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("useAmount >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUseamountLessThan(Integer value) {
addCriterion("useAmount <", value, "useamount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUseamountLessThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("useAmount < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUseamountLessThanOrEqualTo(Integer value) {
addCriterion("useAmount <=", value, "useamount");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andUseamountLessThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("useAmount <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andUseamountIn(List values) {
addCriterion("useAmount in", values, "useamount");
return (Criteria) this;
@@ -491,31 +779,103 @@ public class LitemallUserFormidExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("expire_time = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeNotEqualTo(LocalDateTime value) {
addCriterion("expire_time <>", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeNotEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("expire_time <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeGreaterThan(LocalDateTime value) {
addCriterion("expire_time >", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeGreaterThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("expire_time > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeGreaterThanOrEqualTo(LocalDateTime value) {
addCriterion("expire_time >=", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeGreaterThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("expire_time >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeLessThan(LocalDateTime value) {
addCriterion("expire_time <", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeLessThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("expire_time < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeLessThanOrEqualTo(LocalDateTime value) {
addCriterion("expire_time <=", value, "expireTime");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andExpireTimeLessThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("expire_time <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andExpireTimeIn(List values) {
addCriterion("expire_time in", values, "expireTime");
return (Criteria) this;
@@ -551,31 +911,103 @@ public class LitemallUserFormidExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOpenidEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("openId = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOpenidNotEqualTo(String value) {
addCriterion("openId <>", value, "openid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOpenidNotEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("openId <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOpenidGreaterThan(String value) {
addCriterion("openId >", value, "openid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOpenidGreaterThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("openId > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOpenidGreaterThanOrEqualTo(String value) {
addCriterion("openId >=", value, "openid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOpenidGreaterThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("openId >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOpenidLessThan(String value) {
addCriterion("openId <", value, "openid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOpenidLessThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("openId < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOpenidLessThanOrEqualTo(String value) {
addCriterion("openId <=", value, "openid");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andOpenidLessThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("openId <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andOpenidLike(String value) {
addCriterion("openId like", value, "openid");
return (Criteria) this;
@@ -621,31 +1053,103 @@ public class LitemallUserFormidExample {
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("version = ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionNotEqualTo(Integer value) {
addCriterion("version <>", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionNotEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("version <> ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThan(Integer value) {
addCriterion("version >", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("version > ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
addCriterion("version >=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionGreaterThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("version >= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThan(Integer value) {
addCriterion("version <", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("version < ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionLessThanOrEqualTo(Integer value) {
addCriterion("version <=", value, "version");
return (Criteria) this;
}
+ /**
+ * This method was generated by MyBatis Generator.
+ * This method corresponds to the database table litemall_user_formid
+ *
+ * @mbg.generated
+ * @project https://github.com/itfsw/mybatis-generator-plugin
+ */
+ public Criteria andVersionLessThanOrEqualToColumn(LitemallUserFormid.Column column) {
+ addCriterion(new StringBuilder("version <= ").append(column.getEscapedColumnName()).toString());
+ return (Criteria) this;
+ }
+
public Criteria andVersionIn(List values) {
addCriterion("version in", values, "version");
return (Criteria) this;
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdMapper.xml
index 87b6ac56..4be10ec8 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdMapper.xml
@@ -58,7 +58,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -85,6 +85,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_ad
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_ad
+
+
+
+
+
+
+ update litemall_ad
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ link = #{record.link,jdbcType=VARCHAR},
+ url = #{record.url,jdbcType=VARCHAR},
+ `position` = #{record.position,jdbcType=TINYINT},
+ content = #{record.content,jdbcType=VARCHAR},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ enabled = #{record.enabled,jdbcType=BIT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_ad
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ link = #{record.link,jdbcType=VARCHAR},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ `position` = #{record.position,jdbcType=TINYINT},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ enabled = #{record.enabled,jdbcType=BIT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_ad
+ set version = version + 1,
+ `name` = #{record.name,jdbcType=VARCHAR},
+ link = #{record.link,jdbcType=VARCHAR},
+ url = #{record.url,jdbcType=VARCHAR},
+ `position` = #{record.position,jdbcType=TINYINT},
+ content = #{record.content,jdbcType=VARCHAR},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ enabled = #{record.enabled,jdbcType=BIT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_ad
+
+
+ version = version + 1,
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ link = #{record.link,jdbcType=VARCHAR},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ `position` = #{record.position,jdbcType=TINYINT},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ enabled = #{record.enabled,jdbcType=BIT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAddressMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAddressMapper.xml
index a4cf9380..daf23d6a 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAddressMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAddressMapper.xml
@@ -58,7 +58,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -85,6 +85,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_address
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_address
+
+
+
+
+
+
+ update litemall_address
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ province_id = #{record.provinceId,jdbcType=INTEGER},
+ city_id = #{record.cityId,jdbcType=INTEGER},
+ area_id = #{record.areaId,jdbcType=INTEGER},
+ address = #{record.address,jdbcType=VARCHAR},
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+ is_default = #{record.isDefault,jdbcType=BIT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_address
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ province_id = #{record.provinceId,jdbcType=INTEGER},
+
+
+ city_id = #{record.cityId,jdbcType=INTEGER},
+
+
+ area_id = #{record.areaId,jdbcType=INTEGER},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+
+
+ is_default = #{record.isDefault,jdbcType=BIT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_address
+ set version = version + 1,
+ `name` = #{record.name,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ province_id = #{record.provinceId,jdbcType=INTEGER},
+ city_id = #{record.cityId,jdbcType=INTEGER},
+ area_id = #{record.areaId,jdbcType=INTEGER},
+ address = #{record.address,jdbcType=VARCHAR},
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+ is_default = #{record.isDefault,jdbcType=BIT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_address
+
+
+ version = version + 1,
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ province_id = #{record.provinceId,jdbcType=INTEGER},
+
+
+ city_id = #{record.cityId,jdbcType=INTEGER},
+
+
+ area_id = #{record.areaId,jdbcType=INTEGER},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+
+
+ is_default = #{record.isDefault,jdbcType=BIT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdminMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdminMapper.xml
index ad01cc96..e60a5e63 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdminMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallAdminMapper.xml
@@ -55,7 +55,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -82,6 +82,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_admin
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_admin
+
+
+
+
+
+
+ update litemall_admin
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ username = #{record.username,jdbcType=VARCHAR},
+ `password` = #{record.password,jdbcType=VARCHAR},
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_admin
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ `password` = #{record.password,jdbcType=VARCHAR},
+
+
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+
+
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+
+
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_admin
+ set version = version + 1,
+ username = #{record.username,jdbcType=VARCHAR},
+ `password` = #{record.password,jdbcType=VARCHAR},
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_admin
+
+
+ version = version + 1,
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ `password` = #{record.password,jdbcType=VARCHAR},
+
+
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+
+
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+
+
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallBrandMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallBrandMapper.xml
index 24379c4e..ef73677c 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallBrandMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallBrandMapper.xml
@@ -55,7 +55,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -82,6 +82,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_brand
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_brand
+
+
+
+
+
+
+ update litemall_brand
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+ floor_price = #{record.floorPrice,jdbcType=DECIMAL},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_brand
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+
+
+ floor_price = #{record.floorPrice,jdbcType=DECIMAL},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_brand
+ set version = version + 1,
+ `name` = #{record.name,jdbcType=VARCHAR},
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+ floor_price = #{record.floorPrice,jdbcType=DECIMAL},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_brand
+
+
+ version = version + 1,
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+
+
+ floor_price = #{record.floorPrice,jdbcType=DECIMAL},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCartMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCartMapper.xml
index 75450b10..c41adcea 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCartMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCartMapper.xml
@@ -79,7 +79,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -125,6 +125,62 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler} and #{criterion.secondValue,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition}
+
+ #{listItem,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_cart
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_cart
+
+
+
+
+
+
+ update litemall_cart
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+ product_id = #{record.productId,jdbcType=INTEGER},
+ price = #{record.price,jdbcType=DECIMAL},
+ `number` = #{record.number,jdbcType=SMALLINT},
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ `checked` = #{record.checked,jdbcType=BIT},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_cart
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+
+
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+
+
+ product_id = #{record.productId,jdbcType=INTEGER},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ `number` = #{record.number,jdbcType=SMALLINT},
+
+
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ `checked` = #{record.checked,jdbcType=BIT},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_cart
+ set version = version + 1,
+ user_id = #{record.userId,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+ product_id = #{record.productId,jdbcType=INTEGER},
+ price = #{record.price,jdbcType=DECIMAL},
+ `number` = #{record.number,jdbcType=SMALLINT},
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ `checked` = #{record.checked,jdbcType=BIT},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_cart
+
+
+ version = version + 1,
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+
+
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+
+
+ product_id = #{record.productId,jdbcType=INTEGER},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ `number` = #{record.number,jdbcType=SMALLINT},
+
+
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ `checked` = #{record.checked,jdbcType=BIT},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.xml
index d09a04d3..cce9457c 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.xml
@@ -58,7 +58,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -85,6 +85,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_category
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_category
+
+
+
+
+
+
+ update litemall_category
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+ pid = #{record.pid,jdbcType=INTEGER},
+ icon_url = #{record.iconUrl,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ `level` = #{record.level,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_category
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+
+
+ pid = #{record.pid,jdbcType=INTEGER},
+
+
+ icon_url = #{record.iconUrl,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ `level` = #{record.level,jdbcType=VARCHAR},
+
+
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_category
+ set version = version + 1,
+ `name` = #{record.name,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+ pid = #{record.pid,jdbcType=INTEGER},
+ icon_url = #{record.iconUrl,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ `level` = #{record.level,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_category
+
+
+ version = version + 1,
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ `desc` = #{record.desc,jdbcType=VARCHAR},
+
+
+ pid = #{record.pid,jdbcType=INTEGER},
+
+
+ icon_url = #{record.iconUrl,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ `level` = #{record.level,jdbcType=VARCHAR},
+
+
+ sort_order = #{record.sortOrder,jdbcType=TINYINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCollectMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCollectMapper.xml
index 536c88f1..17a6824a 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCollectMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCollectMapper.xml
@@ -53,7 +53,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -80,6 +80,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_collect
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_collect
+
+
+
+
+
+
+ update litemall_collect
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ value_id = #{record.valueId,jdbcType=INTEGER},
+ `type` = #{record.type,jdbcType=TINYINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_collect
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ value_id = #{record.valueId,jdbcType=INTEGER},
+
+
+ `type` = #{record.type,jdbcType=TINYINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_collect
+ set version = version + 1,
+ user_id = #{record.userId,jdbcType=INTEGER},
+ value_id = #{record.valueId,jdbcType=INTEGER},
+ `type` = #{record.type,jdbcType=TINYINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_collect
+
+
+ version = version + 1,
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ value_id = #{record.valueId,jdbcType=INTEGER},
+
+
+ `type` = #{record.type,jdbcType=TINYINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCommentMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCommentMapper.xml
index d2a97946..195b0b9e 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCommentMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallCommentMapper.xml
@@ -76,7 +76,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -122,6 +122,62 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler} and #{criterion.secondValue,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition}
+
+ #{listItem,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_comment
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_comment
+
+
+
+
+
+
+ update litemall_comment
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ value_id = #{record.valueId,jdbcType=INTEGER},
+ `type` = #{record.type,jdbcType=TINYINT},
+ content = #{record.content,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ has_picture = #{record.hasPicture,jdbcType=BIT},
+ pic_urls = #{record.picUrls,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ star = #{record.star,jdbcType=SMALLINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_comment
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ value_id = #{record.valueId,jdbcType=INTEGER},
+
+
+ `type` = #{record.type,jdbcType=TINYINT},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ has_picture = #{record.hasPicture,jdbcType=BIT},
+
+
+ pic_urls = #{record.picUrls,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ star = #{record.star,jdbcType=SMALLINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_comment
+ set version = version + 1,
+ value_id = #{record.valueId,jdbcType=INTEGER},
+ `type` = #{record.type,jdbcType=TINYINT},
+ content = #{record.content,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ has_picture = #{record.hasPicture,jdbcType=BIT},
+ pic_urls = #{record.picUrls,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ star = #{record.star,jdbcType=SMALLINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_comment
+
+
+ version = version + 1,
+
+ value_id = #{record.valueId,jdbcType=INTEGER},
+
+
+ `type` = #{record.type,jdbcType=TINYINT},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ has_picture = #{record.hasPicture,jdbcType=BIT},
+
+
+ pic_urls = #{record.picUrls,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ star = #{record.star,jdbcType=SMALLINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.xml
index 5191de77..3fd8895d 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.xml
@@ -52,7 +52,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -79,6 +79,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_footprint
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_footprint
+
+
+
+
+
+
+ update litemall_footprint
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_footprint
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_footprint
+ set version = version + 1,
+ user_id = #{record.userId,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_footprint
+
+
+ version = version + 1,
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.xml
index 3b18c743..f73227e0 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.xml
@@ -53,7 +53,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -80,6 +80,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_goods_attribute
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_goods_attribute
+
+
+
+
+
+
+ update litemall_goods_attribute
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ `attribute` = #{record.attribute,jdbcType=VARCHAR},
+ `value` = #{record.value,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_goods_attribute
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ `attribute` = #{record.attribute,jdbcType=VARCHAR},
+
+
+ `value` = #{record.value,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_goods_attribute
+ set version = version + 1,
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ `attribute` = #{record.attribute,jdbcType=VARCHAR},
+ `value` = #{record.value,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_goods_attribute
+
+
+ version = version + 1,
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ `attribute` = #{record.attribute,jdbcType=VARCHAR},
+
+
+ `value` = #{record.value,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.xml
index d602e5d8..a2b5cae7 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.xml
@@ -92,7 +92,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -138,6 +138,62 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler} and #{criterion.secondValue,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition}
+
+ #{listItem,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_goods
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_goods
+
+
+
+
+
+
+ update litemall_goods
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ category_id = #{record.categoryId,jdbcType=INTEGER},
+ brand_id = #{record.brandId,jdbcType=INTEGER},
+ gallery = #{record.gallery,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ brief = #{record.brief,jdbcType=VARCHAR},
+ is_on_sale = #{record.isOnSale,jdbcType=BIT},
+ sort_order = #{record.sortOrder,jdbcType=SMALLINT},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+ is_new = #{record.isNew,jdbcType=BIT},
+ is_hot = #{record.isHot,jdbcType=BIT},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ counter_price = #{record.counterPrice,jdbcType=DECIMAL},
+ retail_price = #{record.retailPrice,jdbcType=DECIMAL},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_goods
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ category_id = #{record.categoryId,jdbcType=INTEGER},
+
+
+ brand_id = #{record.brandId,jdbcType=INTEGER},
+
+
+ gallery = #{record.gallery,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ brief = #{record.brief,jdbcType=VARCHAR},
+
+
+ is_on_sale = #{record.isOnSale,jdbcType=BIT},
+
+
+ sort_order = #{record.sortOrder,jdbcType=SMALLINT},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+
+
+ is_new = #{record.isNew,jdbcType=BIT},
+
+
+ is_hot = #{record.isHot,jdbcType=BIT},
+
+
+ unit = #{record.unit,jdbcType=VARCHAR},
+
+
+ counter_price = #{record.counterPrice,jdbcType=DECIMAL},
+
+
+ retail_price = #{record.retailPrice,jdbcType=DECIMAL},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+ detail = #{record.detail,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+
+
+ update litemall_goods
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ category_id = #{record.categoryId,jdbcType=INTEGER},
+ brand_id = #{record.brandId,jdbcType=INTEGER},
+ gallery = #{record.gallery,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ brief = #{record.brief,jdbcType=VARCHAR},
+ is_on_sale = #{record.isOnSale,jdbcType=BIT},
+ sort_order = #{record.sortOrder,jdbcType=SMALLINT},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+ is_new = #{record.isNew,jdbcType=BIT},
+ is_hot = #{record.isHot,jdbcType=BIT},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ counter_price = #{record.counterPrice,jdbcType=DECIMAL},
+ retail_price = #{record.retailPrice,jdbcType=DECIMAL},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT},
+ detail = #{record.detail,jdbcType=LONGVARCHAR}
+
+
+
+
+
+
+ update litemall_goods
+ set version = version + 1,
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ category_id = #{record.categoryId,jdbcType=INTEGER},
+ brand_id = #{record.brandId,jdbcType=INTEGER},
+ gallery = #{record.gallery,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ brief = #{record.brief,jdbcType=VARCHAR},
+ is_on_sale = #{record.isOnSale,jdbcType=BIT},
+ sort_order = #{record.sortOrder,jdbcType=SMALLINT},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+ is_new = #{record.isNew,jdbcType=BIT},
+ is_hot = #{record.isHot,jdbcType=BIT},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ counter_price = #{record.counterPrice,jdbcType=DECIMAL},
+ retail_price = #{record.retailPrice,jdbcType=DECIMAL},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_goods
+
+
+ version = version + 1,
+
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ category_id = #{record.categoryId,jdbcType=INTEGER},
+
+
+ brand_id = #{record.brandId,jdbcType=INTEGER},
+
+
+ gallery = #{record.gallery,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ brief = #{record.brief,jdbcType=VARCHAR},
+
+
+ is_on_sale = #{record.isOnSale,jdbcType=BIT},
+
+
+ sort_order = #{record.sortOrder,jdbcType=SMALLINT},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+
+
+ is_new = #{record.isNew,jdbcType=BIT},
+
+
+ is_hot = #{record.isHot,jdbcType=BIT},
+
+
+ unit = #{record.unit,jdbcType=VARCHAR},
+
+
+ counter_price = #{record.counterPrice,jdbcType=DECIMAL},
+
+
+ retail_price = #{record.retailPrice,jdbcType=DECIMAL},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+ detail = #{record.detail,jdbcType=LONGVARCHAR},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_goods
+ set version = version + 1,
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ category_id = #{record.categoryId,jdbcType=INTEGER},
+ brand_id = #{record.brandId,jdbcType=INTEGER},
+ gallery = #{record.gallery,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ brief = #{record.brief,jdbcType=VARCHAR},
+ is_on_sale = #{record.isOnSale,jdbcType=BIT},
+ sort_order = #{record.sortOrder,jdbcType=SMALLINT},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+ is_new = #{record.isNew,jdbcType=BIT},
+ is_hot = #{record.isHot,jdbcType=BIT},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ counter_price = #{record.counterPrice,jdbcType=DECIMAL},
+ retail_price = #{record.retailPrice,jdbcType=DECIMAL},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT},
+ detail = #{record.detail,jdbcType=LONGVARCHAR}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.xml
index f6be7690..d4e8de7c 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.xml
@@ -54,7 +54,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -81,6 +81,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_goods_specification
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_goods_specification
+
+
+
+
+
+
+ update litemall_goods_specification
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ specification = #{record.specification,jdbcType=VARCHAR},
+ `value` = #{record.value,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_goods_specification
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ specification = #{record.specification,jdbcType=VARCHAR},
+
+
+ `value` = #{record.value,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_goods_specification
+ set version = version + 1,
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ specification = #{record.specification,jdbcType=VARCHAR},
+ `value` = #{record.value,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_goods_specification
+
+
+ version = version + 1,
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ specification = #{record.specification,jdbcType=VARCHAR},
+
+
+ `value` = #{record.value,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.xml
index 8a651538..95039bf1 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponMapper.xml
@@ -57,7 +57,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -84,6 +84,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_groupon
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_groupon
+
+
+
+
+
+
+ update litemall_groupon
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ order_id = #{record.orderId,jdbcType=INTEGER},
+ groupon_id = #{record.grouponId,jdbcType=INTEGER},
+ rules_id = #{record.rulesId,jdbcType=INTEGER},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ creator_user_id = #{record.creatorUserId,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+ payed = #{record.payed,jdbcType=BIT},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_groupon
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ order_id = #{record.orderId,jdbcType=INTEGER},
+
+
+ groupon_id = #{record.grouponId,jdbcType=INTEGER},
+
+
+ rules_id = #{record.rulesId,jdbcType=INTEGER},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ creator_user_id = #{record.creatorUserId,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+
+
+ payed = #{record.payed,jdbcType=BIT},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_groupon
+ set version = version + 1,
+ order_id = #{record.orderId,jdbcType=INTEGER},
+ groupon_id = #{record.grouponId,jdbcType=INTEGER},
+ rules_id = #{record.rulesId,jdbcType=INTEGER},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ creator_user_id = #{record.creatorUserId,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+ payed = #{record.payed,jdbcType=BIT},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_groupon
+
+
+ version = version + 1,
+
+ order_id = #{record.orderId,jdbcType=INTEGER},
+
+
+ groupon_id = #{record.grouponId,jdbcType=INTEGER},
+
+
+ rules_id = #{record.rulesId,jdbcType=INTEGER},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ creator_user_id = #{record.creatorUserId,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ share_url = #{record.shareUrl,jdbcType=VARCHAR},
+
+
+ payed = #{record.payed,jdbcType=BIT},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.xml
index ff8ccc81..128d6051 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallGrouponRulesMapper.xml
@@ -56,7 +56,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -83,6 +83,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_groupon_rules
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_groupon_rules
+
+
+
+
+
+
+ update litemall_groupon_rules
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ discount = #{record.discount,jdbcType=DECIMAL},
+ discount_member = #{record.discountMember,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_groupon_rules
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ discount = #{record.discount,jdbcType=DECIMAL},
+
+
+ discount_member = #{record.discountMember,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_groupon_rules
+ set version = version + 1,
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ discount = #{record.discount,jdbcType=DECIMAL},
+ discount_member = #{record.discountMember,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_groupon_rules
+
+
+ version = version + 1,
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ discount = #{record.discount,jdbcType=DECIMAL},
+
+
+ discount_member = #{record.discountMember,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallIssueMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallIssueMapper.xml
index 176300a4..8215021c 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallIssueMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallIssueMapper.xml
@@ -52,7 +52,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -79,6 +79,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_issue
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_issue
+
+
+
+
+
+
+ update litemall_issue
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ question = #{record.question,jdbcType=VARCHAR},
+ answer = #{record.answer,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_issue
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ question = #{record.question,jdbcType=VARCHAR},
+
+
+ answer = #{record.answer,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_issue
+ set version = version + 1,
+ question = #{record.question,jdbcType=VARCHAR},
+ answer = #{record.answer,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_issue
+
+
+ version = version + 1,
+
+ question = #{record.question,jdbcType=VARCHAR},
+
+
+ answer = #{record.answer,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.xml
index 45350270..5df839bd 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.xml
@@ -55,7 +55,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -82,6 +82,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_keyword
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_keyword
+
+
+
+
+
+
+ update litemall_keyword
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+ url = #{record.url,jdbcType=VARCHAR},
+ is_hot = #{record.isHot,jdbcType=BIT},
+ is_default = #{record.isDefault,jdbcType=BIT},
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_keyword
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ is_hot = #{record.isHot,jdbcType=BIT},
+
+
+ is_default = #{record.isDefault,jdbcType=BIT},
+
+
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_keyword
+ set version = version + 1,
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+ url = #{record.url,jdbcType=VARCHAR},
+ is_hot = #{record.isHot,jdbcType=BIT},
+ is_default = #{record.isDefault,jdbcType=BIT},
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_keyword
+
+
+ version = version + 1,
+
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ is_hot = #{record.isHot,jdbcType=BIT},
+
+
+ is_default = #{record.isDefault,jdbcType=BIT},
+
+
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.xml
index 06a453cd..754b4cd8 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.xml
@@ -78,7 +78,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -124,6 +124,62 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler} and #{criterion.secondValue,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition}
+
+ #{listItem,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_order_goods
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_order_goods
+
+
+
+
+
+
+ update litemall_order_goods
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ order_id = #{record.orderId,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ product_id = #{record.productId,jdbcType=INTEGER},
+ `number` = #{record.number,jdbcType=SMALLINT},
+ price = #{record.price,jdbcType=DECIMAL},
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_order_goods
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ order_id = #{record.orderId,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+
+
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+
+
+ product_id = #{record.productId,jdbcType=INTEGER},
+
+
+ `number` = #{record.number,jdbcType=SMALLINT},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_order_goods
+ set version = version + 1,
+ order_id = #{record.orderId,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+ product_id = #{record.productId,jdbcType=INTEGER},
+ `number` = #{record.number,jdbcType=SMALLINT},
+ price = #{record.price,jdbcType=DECIMAL},
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_order_goods
+
+
+ version = version + 1,
+
+ order_id = #{record.orderId,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ goods_name = #{record.goodsName,jdbcType=VARCHAR},
+
+
+ goods_sn = #{record.goodsSn,jdbcType=VARCHAR},
+
+
+ product_id = #{record.productId,jdbcType=INTEGER},
+
+
+ `number` = #{record.number,jdbcType=SMALLINT},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderMapper.xml
index 017a4ade..84d2f403 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallOrderMapper.xml
@@ -70,7 +70,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -97,6 +97,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_order
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_order
+
+
+
+
+
+
+ update litemall_order
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ order_status = #{record.orderStatus,jdbcType=SMALLINT},
+ consignee = #{record.consignee,jdbcType=VARCHAR},
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+ address = #{record.address,jdbcType=VARCHAR},
+ goods_price = #{record.goodsPrice,jdbcType=DECIMAL},
+ freight_price = #{record.freightPrice,jdbcType=DECIMAL},
+ coupon_price = #{record.couponPrice,jdbcType=DECIMAL},
+ integral_price = #{record.integralPrice,jdbcType=DECIMAL},
+ groupon_price = #{record.grouponPrice,jdbcType=DECIMAL},
+ order_price = #{record.orderPrice,jdbcType=DECIMAL},
+ actual_price = #{record.actualPrice,jdbcType=DECIMAL},
+ pay_id = #{record.payId,jdbcType=VARCHAR},
+ pay_time = #{record.payTime,jdbcType=TIMESTAMP},
+ ship_sn = #{record.shipSn,jdbcType=VARCHAR},
+ ship_channel = #{record.shipChannel,jdbcType=VARCHAR},
+ ship_time = #{record.shipTime,jdbcType=TIMESTAMP},
+ confirm_time = #{record.confirmTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_order
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ order_status = #{record.orderStatus,jdbcType=SMALLINT},
+
+
+ consignee = #{record.consignee,jdbcType=VARCHAR},
+
+
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ goods_price = #{record.goodsPrice,jdbcType=DECIMAL},
+
+
+ freight_price = #{record.freightPrice,jdbcType=DECIMAL},
+
+
+ coupon_price = #{record.couponPrice,jdbcType=DECIMAL},
+
+
+ integral_price = #{record.integralPrice,jdbcType=DECIMAL},
+
+
+ groupon_price = #{record.grouponPrice,jdbcType=DECIMAL},
+
+
+ order_price = #{record.orderPrice,jdbcType=DECIMAL},
+
+
+ actual_price = #{record.actualPrice,jdbcType=DECIMAL},
+
+
+ pay_id = #{record.payId,jdbcType=VARCHAR},
+
+
+ pay_time = #{record.payTime,jdbcType=TIMESTAMP},
+
+
+ ship_sn = #{record.shipSn,jdbcType=VARCHAR},
+
+
+ ship_channel = #{record.shipChannel,jdbcType=VARCHAR},
+
+
+ ship_time = #{record.shipTime,jdbcType=TIMESTAMP},
+
+
+ confirm_time = #{record.confirmTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_order
+ set version = version + 1,
+ user_id = #{record.userId,jdbcType=INTEGER},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ order_status = #{record.orderStatus,jdbcType=SMALLINT},
+ consignee = #{record.consignee,jdbcType=VARCHAR},
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+ address = #{record.address,jdbcType=VARCHAR},
+ goods_price = #{record.goodsPrice,jdbcType=DECIMAL},
+ freight_price = #{record.freightPrice,jdbcType=DECIMAL},
+ coupon_price = #{record.couponPrice,jdbcType=DECIMAL},
+ integral_price = #{record.integralPrice,jdbcType=DECIMAL},
+ groupon_price = #{record.grouponPrice,jdbcType=DECIMAL},
+ order_price = #{record.orderPrice,jdbcType=DECIMAL},
+ actual_price = #{record.actualPrice,jdbcType=DECIMAL},
+ pay_id = #{record.payId,jdbcType=VARCHAR},
+ pay_time = #{record.payTime,jdbcType=TIMESTAMP},
+ ship_sn = #{record.shipSn,jdbcType=VARCHAR},
+ ship_channel = #{record.shipChannel,jdbcType=VARCHAR},
+ ship_time = #{record.shipTime,jdbcType=TIMESTAMP},
+ confirm_time = #{record.confirmTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_order
+
+
+ version = version + 1,
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ order_status = #{record.orderStatus,jdbcType=SMALLINT},
+
+
+ consignee = #{record.consignee,jdbcType=VARCHAR},
+
+
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ goods_price = #{record.goodsPrice,jdbcType=DECIMAL},
+
+
+ freight_price = #{record.freightPrice,jdbcType=DECIMAL},
+
+
+ coupon_price = #{record.couponPrice,jdbcType=DECIMAL},
+
+
+ integral_price = #{record.integralPrice,jdbcType=DECIMAL},
+
+
+ groupon_price = #{record.grouponPrice,jdbcType=DECIMAL},
+
+
+ order_price = #{record.orderPrice,jdbcType=DECIMAL},
+
+
+ actual_price = #{record.actualPrice,jdbcType=DECIMAL},
+
+
+ pay_id = #{record.payId,jdbcType=VARCHAR},
+
+
+ pay_time = #{record.payTime,jdbcType=TIMESTAMP},
+
+
+ ship_sn = #{record.shipSn,jdbcType=VARCHAR},
+
+
+ ship_channel = #{record.shipChannel,jdbcType=VARCHAR},
+
+
+ ship_time = #{record.shipTime,jdbcType=TIMESTAMP},
+
+
+ confirm_time = #{record.confirmTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallProductMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallProductMapper.xml
index 76398fff..552eb379 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallProductMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallProductMapper.xml
@@ -74,7 +74,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -120,6 +120,62 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler} and #{criterion.secondValue,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+ and ${criterion.condition}
+
+ #{listItem,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_product
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_product
+
+
+
+
+
+
+ update litemall_product
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ price = #{record.price,jdbcType=DECIMAL},
+ `number` = #{record.number,jdbcType=INTEGER},
+ url = #{record.url,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_product
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ `number` = #{record.number,jdbcType=INTEGER},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_product
+ set version = version + 1,
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+ price = #{record.price,jdbcType=DECIMAL},
+ `number` = #{record.number,jdbcType=INTEGER},
+ url = #{record.url,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_product
+
+
+ version = version + 1,
+
+ goods_id = #{record.goodsId,jdbcType=INTEGER},
+
+
+ specifications = #{record.specifications,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ `number` = #{record.number,jdbcType=INTEGER},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallRegionMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallRegionMapper.xml
index 5f2e2e84..908fef9e 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallRegionMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallRegionMapper.xml
@@ -116,7 +116,7 @@
- ${column.value}
+ ${column.escapedColumnName}
@@ -151,7 +151,7 @@
- ${column.value}
+ ${column.escapedColumnName}
@@ -343,7 +343,7 @@
- ${column.value}
+ ${column.escapedColumnName}
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.xml
index bad4f300..421bd4c1 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSearchHistoryMapper.xml
@@ -53,7 +53,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -80,6 +80,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_search_history
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_search_history
+
+
+
+
+
+
+ update litemall_search_history
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ user_id = #{record.userId,jdbcType=INTEGER},
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+ `from` = #{record.from,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_search_history
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+
+
+ `from` = #{record.from,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_search_history
+ set version = version + 1,
+ user_id = #{record.userId,jdbcType=INTEGER},
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+ `from` = #{record.from,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_search_history
+
+
+ version = version + 1,
+
+ user_id = #{record.userId,jdbcType=INTEGER},
+
+
+ keyword = #{record.keyword,jdbcType=VARCHAR},
+
+
+ `from` = #{record.from,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallStorageMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallStorageMapper.xml
index eb186ecb..08848337 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallStorageMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallStorageMapper.xml
@@ -56,7 +56,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -83,6 +83,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_storage
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_storage
+
+
+
+
+
+
+ update litemall_storage
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ `key` = #{record.key,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ `type` = #{record.type,jdbcType=VARCHAR},
+ `size` = #{record.size,jdbcType=INTEGER},
+ modified = #{record.modified,jdbcType=TIMESTAMP},
+ url = #{record.url,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_storage
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ `key` = #{record.key,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ `type` = #{record.type,jdbcType=VARCHAR},
+
+
+ `size` = #{record.size,jdbcType=INTEGER},
+
+
+ modified = #{record.modified,jdbcType=TIMESTAMP},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_storage
+ set version = version + 1,
+ `key` = #{record.key,jdbcType=VARCHAR},
+ `name` = #{record.name,jdbcType=VARCHAR},
+ `type` = #{record.type,jdbcType=VARCHAR},
+ `size` = #{record.size,jdbcType=INTEGER},
+ modified = #{record.modified,jdbcType=TIMESTAMP},
+ url = #{record.url,jdbcType=VARCHAR},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_storage
+
+
+ version = version + 1,
+
+ `key` = #{record.key,jdbcType=VARCHAR},
+
+
+ `name` = #{record.name,jdbcType=VARCHAR},
+
+
+ `type` = #{record.type,jdbcType=VARCHAR},
+
+
+ `size` = #{record.size,jdbcType=INTEGER},
+
+
+ modified = #{record.modified,jdbcType=TIMESTAMP},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSystemMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSystemMapper.xml
index bc2fd5ed..584b6d42 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSystemMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallSystemMapper.xml
@@ -51,7 +51,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -78,6 +78,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_system
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_system
+
+
+
+
+
+
+ update litemall_system
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ key_name = #{record.keyName,jdbcType=VARCHAR},
+ key_value = #{record.keyValue,jdbcType=VARCHAR},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_system
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ key_name = #{record.keyName,jdbcType=VARCHAR},
+
+
+ key_value = #{record.keyValue,jdbcType=VARCHAR},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_system
+ set version = version + 1,
+ key_name = #{record.keyName,jdbcType=VARCHAR},
+ key_value = #{record.keyValue,jdbcType=VARCHAR},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_system
+
+
+ version = version + 1,
+
+ key_name = #{record.keyName,jdbcType=VARCHAR},
+
+
+ key_value = #{record.keyValue,jdbcType=VARCHAR},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallTopicMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallTopicMapper.xml
index ae14f9a6..806c0502 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallTopicMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallTopicMapper.xml
@@ -83,7 +83,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -129,6 +129,62 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler}
+
+
+ and ${criterion.condition} #{criterion.value,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler} and #{criterion.secondValue,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler}
+
+
+ and ${criterion.condition}
+
+ #{listItem,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_topic
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_topic
+
+
+
+
+
+
+ update litemall_topic
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ title = #{record.title,jdbcType=VARCHAR},
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
+ price = #{record.price,jdbcType=DECIMAL},
+ read_count = #{record.readCount,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+ goods = #{record.goods,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_topic
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ read_count = #{record.readCount,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+
+
+ goods = #{record.goods,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+
+
+ update litemall_topic
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ title = #{record.title,jdbcType=VARCHAR},
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
+ price = #{record.price,jdbcType=DECIMAL},
+ read_count = #{record.readCount,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+ goods = #{record.goods,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+
+ update litemall_topic
+ set version = version + 1,
+ title = #{record.title,jdbcType=VARCHAR},
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
+ price = #{record.price,jdbcType=DECIMAL},
+ read_count = #{record.readCount,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+ goods = #{record.goods,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_topic
+
+
+ version = version + 1,
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ read_count = #{record.readCount,jdbcType=VARCHAR},
+
+
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+
+
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+
+
+ goods = #{record.goods,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_topic
+ set version = version + 1,
+ title = #{record.title,jdbcType=VARCHAR},
+ subtitle = #{record.subtitle,jdbcType=VARCHAR},
+ price = #{record.price,jdbcType=DECIMAL},
+ read_count = #{record.readCount,jdbcType=VARCHAR},
+ pic_url = #{record.picUrl,jdbcType=VARCHAR},
+ sort_order = #{record.sortOrder,jdbcType=INTEGER},
+ goods = #{record.goods,jdbcType=VARCHAR,typeHandler=org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.xml
index 3d03c304..366fc7ed 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserFormidMapper.xml
@@ -53,7 +53,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -80,6 +80,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_user_formid
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_user_formid
+
+
+
+
+
+
+ update litemall_user_formid
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ formId = #{record.formid,jdbcType=VARCHAR},
+ isprepay = #{record.isprepay,jdbcType=BIT},
+ useAmount = #{record.useamount,jdbcType=INTEGER},
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+ openId = #{record.openid,jdbcType=VARCHAR}
+
+
+
+
+
+
+ update litemall_user_formid
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ formId = #{record.formid,jdbcType=VARCHAR},
+
+
+ isprepay = #{record.isprepay,jdbcType=BIT},
+
+
+ useAmount = #{record.useamount,jdbcType=INTEGER},
+
+
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+
+
+ openId = #{record.openid,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+
+
+ update litemall_user_formid
+ set version = version + 1,
+ formId = #{record.formid,jdbcType=VARCHAR},
+ isprepay = #{record.isprepay,jdbcType=BIT},
+ useAmount = #{record.useamount,jdbcType=INTEGER},
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+ openId = #{record.openid,jdbcType=VARCHAR}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_user_formid
+
+
+ version = version + 1,
+
+ formId = #{record.formid,jdbcType=VARCHAR},
+
+
+ isprepay = #{record.isprepay,jdbcType=BIT},
+
+
+ useAmount = #{record.useamount,jdbcType=INTEGER},
+
+
+ expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
+
+
+ openId = #{record.openid,jdbcType=VARCHAR},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserMapper.xml b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserMapper.xml
index 6a7ee0fc..733c1626 100644
--- a/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserMapper.xml
+++ b/litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/LitemallUserMapper.xml
@@ -62,7 +62,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
-
+
@@ -89,6 +89,43 @@
+
+
+
+ version = #{version,jdbcType=INTEGER}
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ delete from litemall_user
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{key,jdbcType=INTEGER}
+
+
+
+ delete from litemall_user
+
+
+
+
+
+
+ update litemall_user
+ set version = version + 1,
+ id = #{record.id,jdbcType=INTEGER},
+ username = #{record.username,jdbcType=VARCHAR},
+ `password` = #{record.password,jdbcType=VARCHAR},
+ gender = #{record.gender,jdbcType=TINYINT},
+ birthday = #{record.birthday,jdbcType=DATE},
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+ user_level = #{record.userLevel,jdbcType=TINYINT},
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+ weixin_openid = #{record.weixinOpenid,jdbcType=VARCHAR},
+ `status` = #{record.status,jdbcType=TINYINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+
+
+
+
+
+
+ update litemall_user
+
+
+ version = version + 1,
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ `password` = #{record.password,jdbcType=VARCHAR},
+
+
+ gender = #{record.gender,jdbcType=TINYINT},
+
+
+ birthday = #{record.birthday,jdbcType=DATE},
+
+
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+
+
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+
+
+ user_level = #{record.userLevel,jdbcType=TINYINT},
+
+
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+
+
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+
+
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+
+
+ weixin_openid = #{record.weixinOpenid,jdbcType=VARCHAR},
+
+
+ `status` = #{record.status,jdbcType=TINYINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+
+
+
+
+
+
+ update litemall_user
+ set version = version + 1,
+ username = #{record.username,jdbcType=VARCHAR},
+ `password` = #{record.password,jdbcType=VARCHAR},
+ gender = #{record.gender,jdbcType=TINYINT},
+ birthday = #{record.birthday,jdbcType=DATE},
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+ user_level = #{record.userLevel,jdbcType=TINYINT},
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+ weixin_openid = #{record.weixinOpenid,jdbcType=VARCHAR},
+ `status` = #{record.status,jdbcType=TINYINT},
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+ deleted = #{record.deleted,jdbcType=BIT}
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
+
+
+ update litemall_user
+
+
+ version = version + 1,
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ `password` = #{record.password,jdbcType=VARCHAR},
+
+
+ gender = #{record.gender,jdbcType=TINYINT},
+
+
+ birthday = #{record.birthday,jdbcType=DATE},
+
+
+ last_login_time = #{record.lastLoginTime,jdbcType=TIMESTAMP},
+
+
+ last_login_ip = #{record.lastLoginIp,jdbcType=VARCHAR},
+
+
+ user_level = #{record.userLevel,jdbcType=TINYINT},
+
+
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+
+
+ mobile = #{record.mobile,jdbcType=VARCHAR},
+
+
+ avatar = #{record.avatar,jdbcType=VARCHAR},
+
+
+ weixin_openid = #{record.weixinOpenid,jdbcType=VARCHAR},
+
+
+ `status` = #{record.status,jdbcType=TINYINT},
+
+
+ add_time = #{record.addTime,jdbcType=TIMESTAMP},
+
+
+ deleted = #{record.deleted,jdbcType=BIT},
+
+
+
+ where version = #{version,jdbcType=INTEGER}
+ and id = #{record.id,jdbcType=INTEGER}
+
\ No newline at end of file