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

1. 设置逻辑删除插件
2. 设置乐观锁插件
This commit is contained in:
Junling Bu
2018-05-16 15:53:43 +08:00
parent d006f89f9b
commit 8f078bd97d
98 changed files with 6290 additions and 1410 deletions

View File

@@ -25,6 +25,18 @@
<plugin type="com.itfsw.mybatis.generator.plugins.ExampleEnhancedPlugin"/>
<!-- 数据Model属性对应Column获取插件 -->
<plugin type="com.itfsw.mybatis.generator.plugins.ModelColumnPlugin"/>
<!-- 逻辑删除插件 -->
<plugin type="com.itfsw.mybatis.generator.plugins.LogicalDeletePlugin">
<!-- 这里配置的是全局逻辑删除列和逻辑删除值当然在table中配置的值会覆盖该全局配置 -->
<!-- 逻辑删除列类型只能为数字、字符串或者布尔类型 -->
<property name="logicalDeleteColumn" value="deleted"/>
<!-- 逻辑删除-已删除值 -->
<property name="logicalDeleteValue" value="1"/>
<!-- 逻辑删除-未删除值 -->
<property name="logicalUnDeleteValue" value="0"/>
</plugin>
<!-- 乐观锁插件 -->
<plugin type="com.itfsw.mybatis.generator.plugins.OptimisticLockerPlugin"/>
<commentGenerator>
<property name="suppressDate" value="true"/>

View File

@@ -62,7 +62,7 @@
<dependency>
<groupId>com.itfsw</groupId>
<artifactId>mybatis-generator-plugin</artifactId>
<version>1.1.2</version>
<version>1.2.3</version>
</dependency>
</dependencies>
</plugin>

View File

@@ -51,8 +51,18 @@ public interface LitemallAdMapper {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallAd> selectByExample(LitemallAdExample example);
LitemallAd selectOneByExample(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
*/
LitemallAd selectOneByExampleSelective(@Param("example") LitemallAdExample example, @Param("selective") LitemallAd.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallAdMapper {
*
* @mbg.generated
*/
LitemallAd selectByPrimaryKey(Integer id);
List<LitemallAd> selectByExample(LitemallAdExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallAdMapper {
*/
LitemallAd selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallAd.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
LitemallAd selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallAdMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAd selectOneByExample(LitemallAdExample example);
int logicalDeleteByExample(@Param("example") LitemallAdExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallAdMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAd selectOneByExampleSelective(@Param("example") LitemallAdExample example, @Param("selective") LitemallAd.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallAddressMapper {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallAddress> selectByExample(LitemallAddressExample example);
LitemallAddress selectOneByExample(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
*/
LitemallAddress selectOneByExampleSelective(@Param("example") LitemallAddressExample example, @Param("selective") LitemallAddress.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallAddressMapper {
*
* @mbg.generated
*/
LitemallAddress selectByPrimaryKey(Integer id);
List<LitemallAddress> selectByExample(LitemallAddressExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallAddressMapper {
*/
LitemallAddress selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallAddress.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
LitemallAddress selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallAddressMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAddress selectOneByExample(LitemallAddressExample example);
int logicalDeleteByExample(@Param("example") LitemallAddressExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallAddressMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAddress selectOneByExampleSelective(@Param("example") LitemallAddressExample example, @Param("selective") LitemallAddress.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallAdminMapper {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallAdmin> selectByExample(LitemallAdminExample example);
LitemallAdmin selectOneByExample(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
*/
LitemallAdmin selectOneByExampleSelective(@Param("example") LitemallAdminExample example, @Param("selective") LitemallAdmin.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallAdminMapper {
*
* @mbg.generated
*/
LitemallAdmin selectByPrimaryKey(Integer id);
List<LitemallAdmin> selectByExample(LitemallAdminExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallAdminMapper {
*/
LitemallAdmin selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallAdmin.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
LitemallAdmin selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallAdminMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAdmin selectOneByExample(LitemallAdminExample example);
int logicalDeleteByExample(@Param("example") LitemallAdminExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallAdminMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAdmin selectOneByExampleSelective(@Param("example") LitemallAdminExample example, @Param("selective") LitemallAdmin.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallBrandMapper {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallBrand> selectByExample(LitemallBrandExample example);
LitemallBrand selectOneByExample(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
*/
LitemallBrand selectOneByExampleSelective(@Param("example") LitemallBrandExample example, @Param("selective") LitemallBrand.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallBrandMapper {
*
* @mbg.generated
*/
LitemallBrand selectByPrimaryKey(Integer id);
List<LitemallBrand> selectByExample(LitemallBrandExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallBrandMapper {
*/
LitemallBrand selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallBrand.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
LitemallBrand selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallBrandMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallBrand selectOneByExample(LitemallBrandExample example);
int logicalDeleteByExample(@Param("example") LitemallBrandExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallBrandMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallBrand selectOneByExampleSelective(@Param("example") LitemallBrandExample example, @Param("selective") LitemallBrand.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallCartMapper {
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallCart> selectByExample(LitemallCartExample example);
LitemallCart selectOneByExample(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
*/
LitemallCart selectOneByExampleSelective(@Param("example") LitemallCartExample example, @Param("selective") LitemallCart.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallCartMapper {
*
* @mbg.generated
*/
LitemallCart selectByPrimaryKey(Integer id);
List<LitemallCart> selectByExample(LitemallCartExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallCartMapper {
*/
LitemallCart selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCart.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
*/
LitemallCart selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallCartMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCart selectOneByExample(LitemallCartExample example);
int logicalDeleteByExample(@Param("example") LitemallCartExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallCartMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCart selectOneByExampleSelective(@Param("example") LitemallCartExample example, @Param("selective") LitemallCart.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallCategoryMapper {
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallCategory> selectByExample(LitemallCategoryExample example);
LitemallCategory selectOneByExample(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
*/
LitemallCategory selectOneByExampleSelective(@Param("example") LitemallCategoryExample example, @Param("selective") LitemallCategory.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallCategoryMapper {
*
* @mbg.generated
*/
LitemallCategory selectByPrimaryKey(Integer id);
List<LitemallCategory> selectByExample(LitemallCategoryExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallCategoryMapper {
*/
LitemallCategory selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCategory.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
*/
LitemallCategory selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallCategoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCategory selectOneByExample(LitemallCategoryExample example);
int logicalDeleteByExample(@Param("example") LitemallCategoryExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallCategoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCategory selectOneByExampleSelective(@Param("example") LitemallCategoryExample example, @Param("selective") LitemallCategory.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallCollectMapper {
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallCollect> selectByExample(LitemallCollectExample example);
LitemallCollect selectOneByExample(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
*/
LitemallCollect selectOneByExampleSelective(@Param("example") LitemallCollectExample example, @Param("selective") LitemallCollect.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallCollectMapper {
*
* @mbg.generated
*/
LitemallCollect selectByPrimaryKey(Integer id);
List<LitemallCollect> selectByExample(LitemallCollectExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallCollectMapper {
*/
LitemallCollect selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCollect.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
*/
LitemallCollect selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallCollectMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCollect selectOneByExample(LitemallCollectExample example);
int logicalDeleteByExample(@Param("example") LitemallCollectExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallCollectMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCollect selectOneByExampleSelective(@Param("example") LitemallCollectExample example, @Param("selective") LitemallCollect.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallCommentMapper {
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallComment> selectByExample(LitemallCommentExample example);
LitemallComment selectOneByExample(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
*/
LitemallComment selectOneByExampleSelective(@Param("example") LitemallCommentExample example, @Param("selective") LitemallComment.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallCommentMapper {
*
* @mbg.generated
*/
LitemallComment selectByPrimaryKey(Integer id);
List<LitemallComment> selectByExample(LitemallCommentExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallCommentMapper {
*/
LitemallComment selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallComment.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
*/
LitemallComment selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallCommentMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallComment selectOneByExample(LitemallCommentExample example);
int logicalDeleteByExample(@Param("example") LitemallCommentExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallCommentMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallComment selectOneByExampleSelective(@Param("example") LitemallCommentExample example, @Param("selective") LitemallComment.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallCouponMapper {
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallCoupon> selectByExample(LitemallCouponExample example);
LitemallCoupon selectOneByExample(LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectOneByExampleSelective(@Param("example") LitemallCouponExample example, @Param("selective") LitemallCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallCouponMapper {
*
* @mbg.generated
*/
LitemallCoupon selectByPrimaryKey(Integer id);
List<LitemallCoupon> selectByExample(LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallCouponMapper {
*/
LitemallCoupon selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
LitemallCoupon selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
@@ -119,7 +146,7 @@ public interface LitemallCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectOneByExample(LitemallCouponExample example);
int logicalDeleteByExample(@Param("example") LitemallCouponExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon selectOneByExampleSelective(@Param("example") LitemallCouponExample example, @Param("selective") LitemallCoupon.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallFootprintMapper {
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallFootprint> selectByExample(LitemallFootprintExample example);
LitemallFootprint selectOneByExample(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
*/
LitemallFootprint selectOneByExampleSelective(@Param("example") LitemallFootprintExample example, @Param("selective") LitemallFootprint.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallFootprintMapper {
*
* @mbg.generated
*/
LitemallFootprint selectByPrimaryKey(Integer id);
List<LitemallFootprint> selectByExample(LitemallFootprintExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallFootprintMapper {
*/
LitemallFootprint selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallFootprint.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
*/
LitemallFootprint selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallFootprintMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallFootprint selectOneByExample(LitemallFootprintExample example);
int logicalDeleteByExample(@Param("example") LitemallFootprintExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallFootprintMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallFootprint selectOneByExampleSelective(@Param("example") LitemallFootprintExample example, @Param("selective") LitemallFootprint.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallGoodsAttributeMapper {
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallGoodsAttribute> selectByExample(LitemallGoodsAttributeExample example);
LitemallGoodsAttribute selectOneByExample(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
*/
LitemallGoodsAttribute selectOneByExampleSelective(@Param("example") LitemallGoodsAttributeExample example, @Param("selective") LitemallGoodsAttribute.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallGoodsAttributeMapper {
*
* @mbg.generated
*/
LitemallGoodsAttribute selectByPrimaryKey(Integer id);
List<LitemallGoodsAttribute> selectByExample(LitemallGoodsAttributeExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallGoodsAttributeMapper {
*/
LitemallGoodsAttribute selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoodsAttribute.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
*/
LitemallGoodsAttribute selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallGoodsAttributeMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsAttribute selectOneByExample(LitemallGoodsAttributeExample example);
int logicalDeleteByExample(@Param("example") LitemallGoodsAttributeExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallGoodsAttributeMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsAttribute selectOneByExampleSelective(@Param("example") LitemallGoodsAttributeExample example, @Param("selective") LitemallGoodsAttribute.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -46,6 +46,42 @@ public interface LitemallGoodsMapper {
*/
int insertSelective(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
*/
LitemallGoods selectOneByExample(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
*/
LitemallGoods selectOneByExampleSelective(@Param("example") LitemallGoodsExample example, @Param("selective") LitemallGoods.Column ... selective);
/**
* 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
*/
LitemallGoods selectOneByExampleWithBLOBs(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
*/
List<LitemallGoods> selectByExampleSelective(@Param("example") LitemallGoodsExample example, @Param("selective") LitemallGoods.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -69,7 +105,7 @@ public interface LitemallGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallGoods> selectByExampleSelective(@Param("example") LitemallGoodsExample example, @Param("selective") LitemallGoods.Column ... selective);
LitemallGoods selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoods.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -86,7 +122,7 @@ public interface LitemallGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoods selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoods.Column ... selective);
LitemallGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
@@ -143,7 +179,7 @@ public interface LitemallGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoods selectOneByExample(LitemallGoodsExample example);
int logicalDeleteByExample(@Param("example") LitemallGoodsExample example);
/**
* This method was generated by MyBatis Generator.
@@ -152,14 +188,5 @@ public interface LitemallGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoods selectOneByExampleSelective(@Param("example") LitemallGoodsExample example, @Param("selective") LitemallGoods.Column ... selective);
/**
* 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
*/
LitemallGoods selectOneByExampleWithBLOBs(LitemallGoodsExample example);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallGoodsSpecificationMapper {
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallGoodsSpecification> selectByExample(LitemallGoodsSpecificationExample example);
LitemallGoodsSpecification selectOneByExample(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
*/
LitemallGoodsSpecification selectOneByExampleSelective(@Param("example") LitemallGoodsSpecificationExample example, @Param("selective") LitemallGoodsSpecification.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallGoodsSpecificationMapper {
*
* @mbg.generated
*/
LitemallGoodsSpecification selectByPrimaryKey(Integer id);
List<LitemallGoodsSpecification> selectByExample(LitemallGoodsSpecificationExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallGoodsSpecificationMapper {
*/
LitemallGoodsSpecification selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoodsSpecification.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
*/
LitemallGoodsSpecification selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallGoodsSpecificationMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsSpecification selectOneByExample(LitemallGoodsSpecificationExample example);
int logicalDeleteByExample(@Param("example") LitemallGoodsSpecificationExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallGoodsSpecificationMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsSpecification selectOneByExampleSelective(@Param("example") LitemallGoodsSpecificationExample example, @Param("selective") LitemallGoodsSpecification.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallIssueMapper {
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallIssue> selectByExample(LitemallIssueExample example);
LitemallIssue selectOneByExample(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
*/
LitemallIssue selectOneByExampleSelective(@Param("example") LitemallIssueExample example, @Param("selective") LitemallIssue.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallIssueMapper {
*
* @mbg.generated
*/
LitemallIssue selectByPrimaryKey(Integer id);
List<LitemallIssue> selectByExample(LitemallIssueExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallIssueMapper {
*/
LitemallIssue selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallIssue.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
*/
LitemallIssue selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallIssueMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallIssue selectOneByExample(LitemallIssueExample example);
int logicalDeleteByExample(@Param("example") LitemallIssueExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallIssueMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallIssue selectOneByExampleSelective(@Param("example") LitemallIssueExample example, @Param("selective") LitemallIssue.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallKeyword> selectByExample(LitemallKeywordExample example);
LitemallKeyword selectOneByExample(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
*/
LitemallKeyword selectOneByExampleSelective(@Param("example") LitemallKeywordExample example, @Param("selective") LitemallKeyword.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallKeywordMapper {
*
* @mbg.generated
*/
LitemallKeyword selectByPrimaryKey(Integer id);
List<LitemallKeyword> selectByExample(LitemallKeywordExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallKeywordMapper {
*/
LitemallKeyword selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallKeyword.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
*/
LitemallKeyword selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallKeywordMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword selectOneByExample(LitemallKeywordExample example);
int logicalDeleteByExample(@Param("example") LitemallKeywordExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallKeywordMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword selectOneByExampleSelective(@Param("example") LitemallKeywordExample example, @Param("selective") LitemallKeyword.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallOrderGoods> selectByExample(LitemallOrderGoodsExample example);
LitemallOrderGoods selectOneByExample(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
*/
LitemallOrderGoods selectOneByExampleSelective(@Param("example") LitemallOrderGoodsExample example, @Param("selective") LitemallOrderGoods.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallOrderGoodsMapper {
*
* @mbg.generated
*/
LitemallOrderGoods selectByPrimaryKey(Integer id);
List<LitemallOrderGoods> selectByExample(LitemallOrderGoodsExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallOrderGoodsMapper {
*/
LitemallOrderGoods selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrderGoods.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
*/
LitemallOrderGoods selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallOrderGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods selectOneByExample(LitemallOrderGoodsExample example);
int logicalDeleteByExample(@Param("example") LitemallOrderGoodsExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallOrderGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods selectOneByExampleSelective(@Param("example") LitemallOrderGoodsExample example, @Param("selective") LitemallOrderGoods.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallOrder> selectByExample(LitemallOrderExample example);
LitemallOrder selectOneByExample(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
*/
LitemallOrder selectOneByExampleSelective(@Param("example") LitemallOrderExample example, @Param("selective") LitemallOrder.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallOrderMapper {
*
* @mbg.generated
*/
LitemallOrder selectByPrimaryKey(Integer id);
List<LitemallOrder> selectByExample(LitemallOrderExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallOrderMapper {
*/
LitemallOrder selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrder.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
*/
LitemallOrder selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallOrderMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder selectOneByExample(LitemallOrderExample example);
int logicalDeleteByExample(@Param("example") LitemallOrderExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallOrderMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder selectOneByExampleSelective(@Param("example") LitemallOrderExample example, @Param("selective") LitemallOrder.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallProductMapper {
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallProduct> selectByExample(LitemallProductExample example);
LitemallProduct selectOneByExample(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
*/
LitemallProduct selectOneByExampleSelective(@Param("example") LitemallProductExample example, @Param("selective") LitemallProduct.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallProductMapper {
*
* @mbg.generated
*/
LitemallProduct selectByPrimaryKey(Integer id);
List<LitemallProduct> selectByExample(LitemallProductExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallProductMapper {
*/
LitemallProduct selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallProduct.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
*/
LitemallProduct selectByPrimaryKey(Integer id);
/**
* 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
*/
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
@@ -119,7 +146,7 @@ public interface LitemallProductMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallProduct selectOneByExample(LitemallProductExample example);
int logicalDeleteByExample(@Param("example") LitemallProductExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallProductMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallProduct selectOneByExampleSelective(@Param("example") LitemallProductExample example, @Param("selective") LitemallProduct.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallRegionMapper {
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallRegion> selectByExample(LitemallRegionExample example);
LitemallRegion selectOneByExample(LitemallRegionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectOneByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallRegionMapper {
*
* @mbg.generated
*/
LitemallRegion selectByPrimaryKey(Integer id);
List<LitemallRegion> selectByExample(LitemallRegionExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,14 @@ public interface LitemallRegionMapper {
*/
LitemallRegion selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallRegion.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
*/
LitemallRegion selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
@@ -111,22 +129,4 @@ public interface LitemallRegionMapper {
* @mbg.generated
*/
int updateByPrimaryKey(LitemallRegion record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectOneByExample(LitemallRegionExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectOneByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallSearchHistory> selectByExample(LitemallSearchHistoryExample example);
LitemallSearchHistory selectOneByExample(LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExampleSelective(@Param("example") LitemallSearchHistoryExample example, @Param("selective") LitemallSearchHistory.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallSearchHistoryMapper {
*
* @mbg.generated
*/
LitemallSearchHistory selectByPrimaryKey(Integer id);
List<LitemallSearchHistory> selectByExample(LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallSearchHistoryMapper {
*/
LitemallSearchHistory selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallSearchHistory.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
*/
LitemallSearchHistory selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
@@ -119,7 +146,7 @@ public interface LitemallSearchHistoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExample(LitemallSearchHistoryExample example);
int logicalDeleteByExample(@Param("example") LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallSearchHistoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExampleSelective(@Param("example") LitemallSearchHistoryExample example, @Param("selective") LitemallSearchHistory.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallStorage> selectByExample(LitemallStorageExample example);
LitemallStorage selectOneByExample(LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExampleSelective(@Param("example") LitemallStorageExample example, @Param("selective") LitemallStorage.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallStorageMapper {
*
* @mbg.generated
*/
LitemallStorage selectByPrimaryKey(Integer id);
List<LitemallStorage> selectByExample(LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallStorageMapper {
*/
LitemallStorage selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallStorage.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
*/
LitemallStorage selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
@@ -119,7 +146,7 @@ public interface LitemallStorageMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExample(LitemallStorageExample example);
int logicalDeleteByExample(@Param("example") LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallStorageMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExampleSelective(@Param("example") LitemallStorageExample example, @Param("selective") LitemallStorage.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -46,6 +46,42 @@ public interface LitemallTopicMapper {
*/
int insertSelective(LitemallTopic record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExample(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleWithBLOBs(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallTopic> selectByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -69,7 +105,7 @@ public interface LitemallTopicMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallTopic> selectByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
LitemallTopic selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallTopic.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -86,7 +122,7 @@ public interface LitemallTopicMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallTopic.Column ... selective);
LitemallTopic selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
@@ -143,7 +179,7 @@ public interface LitemallTopicMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExample(LitemallTopicExample example);
int logicalDeleteByExample(@Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
@@ -152,14 +188,5 @@ public interface LitemallTopicMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleWithBLOBs(LitemallTopicExample example);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallUserCouponMapper {
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallUserCoupon> selectByExample(LitemallUserCouponExample example);
LitemallUserCoupon selectOneByExample(LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectOneByExampleSelective(@Param("example") LitemallUserCouponExample example, @Param("selective") LitemallUserCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallUserCouponMapper {
*
* @mbg.generated
*/
LitemallUserCoupon selectByPrimaryKey(Integer id);
List<LitemallUserCoupon> selectByExample(LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallUserCouponMapper {
*/
LitemallUserCoupon selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallUserCoupon.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
*/
LitemallUserCoupon selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
@@ -119,7 +146,7 @@ public interface LitemallUserCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectOneByExample(LitemallUserCouponExample example);
int logicalDeleteByExample(@Param("example") LitemallUserCouponExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallUserCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserCoupon selectOneByExampleSelective(@Param("example") LitemallUserCouponExample example, @Param("selective") LitemallUserCoupon.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -51,8 +51,18 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallUser> selectByExample(LitemallUserExample example);
LitemallUser selectOneByExample(LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExampleSelective(@Param("example") LitemallUserExample example, @Param("selective") LitemallUser.Column ... selective);
/**
* This method was generated by MyBatis Generator.
@@ -69,7 +79,7 @@ public interface LitemallUserMapper {
*
* @mbg.generated
*/
LitemallUser selectByPrimaryKey(Integer id);
List<LitemallUser> selectByExample(LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
@@ -80,6 +90,23 @@ public interface LitemallUserMapper {
*/
LitemallUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallUser.Column ... selective);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
*/
LitemallUser selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
@@ -119,7 +146,7 @@ public interface LitemallUserMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExample(LitemallUserExample example);
int logicalDeleteByExample(@Param("example") LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
@@ -128,5 +155,5 @@ public interface LitemallUserMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExampleSelective(@Param("example") LitemallUserExample example, @Param("selective") LitemallUser.Column ... selective);
int logicalDeleteByPrimaryKey(Integer id);
}

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallAd {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -448,6 +486,17 @@ public class LitemallAd {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_ad
@@ -456,17 +505,17 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
position("position"),
name("name"),
link("link"),
url("url"),
content("content"),
startTime("start_time"),
endTime("end_time"),
enabled("enabled"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
position("position", "position", "INTEGER"),
name("name", "name", "VARCHAR"),
link("link", "link", "VARCHAR"),
url("url", "url", "VARCHAR"),
content("content", "content", "VARCHAR"),
startTime("start_time", "startTime", "TIMESTAMP"),
endTime("end_time", "endTime", "TIMESTAMP"),
enabled("enabled", "enabled", "BIT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -477,6 +526,24 @@ public class LitemallAd {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
@@ -506,8 +573,32 @@ public class LitemallAd {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallAdExample {
return criteria;
}
/**
* 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 LitemallAdExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
@@ -148,37 +179,6 @@ public class LitemallAdExample {
distinct = false;
}
/**
* 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 LitemallAdExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_ad
@@ -980,6 +980,29 @@ public class LitemallAdExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAd.IS_DELETED) : andDeletedNotEqualTo(LitemallAd.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAd.IS_DELETED) : andDeletedNotEqualTo(LitemallAd.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_ad

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallAddress {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -448,6 +486,17 @@ public class LitemallAddress {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_address
@@ -456,17 +505,17 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
name("name"),
userId("user_id"),
provinceId("province_id"),
cityId("city_id"),
areaId("area_id"),
address("address"),
mobile("mobile"),
isDefault("is_default"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
userId("user_id", "userId", "INTEGER"),
provinceId("province_id", "provinceId", "INTEGER"),
cityId("city_id", "cityId", "INTEGER"),
areaId("area_id", "areaId", "INTEGER"),
address("address", "address", "VARCHAR"),
mobile("mobile", "mobile", "VARCHAR"),
isDefault("is_default", "isDefault", "BIT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -477,6 +526,24 @@ public class LitemallAddress {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
@@ -506,8 +573,32 @@ public class LitemallAddress {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallAddressExample {
return criteria;
}
/**
* 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 LitemallAddressExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAddressExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
@@ -148,37 +179,6 @@ public class LitemallAddressExample {
distinct = false;
}
/**
* 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 LitemallAddressExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAddressExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_address
@@ -970,6 +970,29 @@ public class LitemallAddressExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAddress.IS_DELETED) : andDeletedNotEqualTo(LitemallAddress.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAddress.IS_DELETED) : andDeletedNotEqualTo(LitemallAddress.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_address

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallAdmin {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -376,6 +414,17 @@ public class LitemallAdmin {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_admin
@@ -384,15 +433,15 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
username("username"),
password("password"),
lastLoginIp("last_login_ip"),
lastLoginTime("last_login_time"),
updateTime("update_time"),
avatar("avatar"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
username("username", "username", "VARCHAR"),
password("password", "password", "VARCHAR"),
lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR"),
lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP"),
updateTime("update_time", "updateTime", "TIMESTAMP"),
avatar("avatar", "avatar", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -403,6 +452,24 @@ public class LitemallAdmin {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
@@ -432,8 +499,32 @@ public class LitemallAdmin {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallAdminExample {
return criteria;
}
/**
* 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 LitemallAdminExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdminExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
@@ -148,37 +179,6 @@ public class LitemallAdminExample {
distinct = false;
}
/**
* 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 LitemallAdminExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdminExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_admin
@@ -860,6 +860,29 @@ public class LitemallAdminExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAdmin.IS_DELETED) : andDeletedNotEqualTo(LitemallAdmin.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAdmin.IS_DELETED) : andDeletedNotEqualTo(LitemallAdmin.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_admin

View File

@@ -4,6 +4,44 @@ import java.math.BigDecimal;
import java.time.LocalDateTime;
public class LitemallBrand {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -557,6 +595,17 @@ public class LitemallBrand {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_brand
@@ -565,20 +614,20 @@ public class LitemallBrand {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
name("name"),
listPicUrl("list_pic_url"),
simpleDesc("simple_desc"),
picUrl("pic_url"),
sortOrder("sort_order"),
isShow("is_show"),
floorPrice("floor_price"),
appListPicUrl("app_list_pic_url"),
isNew("is_new"),
newPicUrl("new_pic_url"),
newSortOrder("new_sort_order"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
listPicUrl("list_pic_url", "listPicUrl", "VARCHAR"),
simpleDesc("simple_desc", "simpleDesc", "VARCHAR"),
picUrl("pic_url", "picUrl", "VARCHAR"),
sortOrder("sort_order", "sortOrder", "TINYINT"),
isShow("is_show", "isShow", "BIT"),
floorPrice("floor_price", "floorPrice", "DECIMAL"),
appListPicUrl("app_list_pic_url", "appListPicUrl", "VARCHAR"),
isNew("is_new", "isNew", "BIT"),
newPicUrl("new_pic_url", "newPicUrl", "VARCHAR"),
newSortOrder("new_sort_order", "newSortOrder", "TINYINT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -589,6 +638,24 @@ public class LitemallBrand {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
@@ -618,8 +685,32 @@ public class LitemallBrand {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -112,6 +112,37 @@ public class LitemallBrandExample {
return criteria;
}
/**
* 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 LitemallBrandExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallBrandExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
@@ -149,37 +180,6 @@ public class LitemallBrandExample {
distinct = false;
}
/**
* 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 LitemallBrandExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallBrandExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_brand
@@ -1181,6 +1181,29 @@ public class LitemallBrandExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallBrand.IS_DELETED) : andDeletedNotEqualTo(LitemallBrand.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallBrand.IS_DELETED) : andDeletedNotEqualTo(LitemallBrand.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_brand

View File

@@ -5,6 +5,44 @@ import java.time.LocalDateTime;
import java.util.Arrays;
public class LitemallCart {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -558,6 +596,17 @@ public class LitemallCart {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_cart
@@ -566,20 +615,20 @@ public class LitemallCart {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
userId("user_id"),
goodsId("goods_id"),
goodsSn("goods_sn"),
productId("product_id"),
goodsName("goods_name"),
retailPrice("retail_price"),
number("number"),
goodsSpecificationValues("goods_specification_values"),
goodsSpecificationIds("goods_specification_ids"),
checked("checked"),
picUrl("pic_url"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
userId("user_id", "userId", "INTEGER"),
goodsId("goods_id", "goodsId", "INTEGER"),
goodsSn("goods_sn", "goodsSn", "VARCHAR"),
productId("product_id", "productId", "INTEGER"),
goodsName("goods_name", "goodsName", "VARCHAR"),
retailPrice("retail_price", "retailPrice", "DECIMAL"),
number("number", "number", "SMALLINT"),
goodsSpecificationValues("goods_specification_values", "goodsSpecificationValues", "VARCHAR"),
goodsSpecificationIds("goods_specification_ids", "goodsSpecificationIds", "CHAR"),
checked("checked", "checked", "BIT"),
picUrl("pic_url", "picUrl", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -590,6 +639,24 @@ public class LitemallCart {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
@@ -619,8 +686,32 @@ public class LitemallCart {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -112,6 +112,37 @@ public class LitemallCartExample {
return criteria;
}
/**
* 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 LitemallCartExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCartExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
@@ -149,37 +180,6 @@ public class LitemallCartExample {
distinct = false;
}
/**
* 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 LitemallCartExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCartExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_cart
@@ -1205,6 +1205,29 @@ public class LitemallCartExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCart.IS_DELETED) : andDeletedNotEqualTo(LitemallCart.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCart.IS_DELETED) : andDeletedNotEqualTo(LitemallCart.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_cart

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallCategory {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -664,6 +702,17 @@ public class LitemallCategory {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_category
@@ -672,23 +721,23 @@ public class LitemallCategory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
name("name"),
keywords("keywords"),
frontDesc("front_desc"),
parentId("parent_id"),
sortOrder("sort_order"),
showIndex("show_index"),
isShow("is_show"),
bannerUrl("banner_url"),
iconUrl("icon_url"),
imgUrl("img_url"),
wapBannerUrl("wap_banner_url"),
level("level"),
type("type"),
frontName("front_name"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
keywords("keywords", "keywords", "VARCHAR"),
frontDesc("front_desc", "frontDesc", "VARCHAR"),
parentId("parent_id", "parentId", "INTEGER"),
sortOrder("sort_order", "sortOrder", "TINYINT"),
showIndex("show_index", "showIndex", "TINYINT"),
isShow("is_show", "isShow", "BIT"),
bannerUrl("banner_url", "bannerUrl", "VARCHAR"),
iconUrl("icon_url", "iconUrl", "VARCHAR"),
imgUrl("img_url", "imgUrl", "VARCHAR"),
wapBannerUrl("wap_banner_url", "wapBannerUrl", "VARCHAR"),
level("level", "level", "VARCHAR"),
type("type", "type", "INTEGER"),
frontName("front_name", "frontName", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -699,6 +748,24 @@ public class LitemallCategory {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
@@ -728,8 +795,32 @@ public class LitemallCategory {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallCategoryExample {
return criteria;
}
/**
* 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 LitemallCategoryExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCategoryExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
@@ -148,37 +179,6 @@ public class LitemallCategoryExample {
distinct = false;
}
/**
* 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 LitemallCategoryExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCategoryExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_category
@@ -1390,6 +1390,29 @@ public class LitemallCategoryExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCategory.IS_DELETED) : andDeletedNotEqualTo(LitemallCategory.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCategory.IS_DELETED) : andDeletedNotEqualTo(LitemallCategory.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_category

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallCollect {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -304,6 +342,17 @@ public class LitemallCollect {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_collect
@@ -312,13 +361,13 @@ public class LitemallCollect {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
userId("user_id"),
valueId("value_id"),
isAttention("is_attention"),
typeId("type_id"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
userId("user_id", "userId", "INTEGER"),
valueId("value_id", "valueId", "INTEGER"),
isAttention("is_attention", "isAttention", "BIT"),
typeId("type_id", "typeId", "INTEGER"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -329,6 +378,24 @@ public class LitemallCollect {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
@@ -358,8 +425,32 @@ public class LitemallCollect {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallCollectExample {
return criteria;
}
/**
* 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 LitemallCollectExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCollectExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
@@ -148,37 +179,6 @@ public class LitemallCollectExample {
distinct = false;
}
/**
* 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 LitemallCollectExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCollectExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_collect
@@ -700,6 +700,29 @@ public class LitemallCollectExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCollect.IS_DELETED) : andDeletedNotEqualTo(LitemallCollect.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCollect.IS_DELETED) : andDeletedNotEqualTo(LitemallCollect.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_collect

View File

@@ -4,6 +4,44 @@ import java.time.LocalDateTime;
import java.util.Arrays;
public class LitemallComment {
/**
* 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
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -413,6 +451,17 @@ public class LitemallComment {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_comment
@@ -421,16 +470,16 @@ public class LitemallComment {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
typeId("type_id"),
valueId("value_id"),
content("content"),
userId("user_id"),
hasPicture("has_picture"),
picUrls("pic_urls"),
star("star"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
typeId("type_id", "typeId", "TINYINT"),
valueId("value_id", "valueId", "INTEGER"),
content("content", "content", "VARCHAR"),
userId("user_id", "userId", "INTEGER"),
hasPicture("has_picture", "hasPicture", "BIT"),
picUrls("pic_urls", "picUrls", "CHAR"),
star("star", "star", "SMALLINT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -441,6 +490,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
@@ -470,8 +537,32 @@ public class LitemallComment {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallCommentExample {
return criteria;
}
/**
* 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 LitemallCommentExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallCommentExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
@@ -148,37 +179,6 @@ public class LitemallCommentExample {
distinct = false;
}
/**
* 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 LitemallCommentExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallCommentExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_comment
@@ -934,6 +934,29 @@ public class LitemallCommentExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallComment.IS_DELETED) : andDeletedNotEqualTo(LitemallComment.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallComment.IS_DELETED) : andDeletedNotEqualTo(LitemallComment.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_comment

View File

@@ -4,6 +4,44 @@ import java.math.BigDecimal;
import java.time.LocalDateTime;
public class LitemallCoupon {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -521,6 +559,17 @@ public class LitemallCoupon {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_coupon
@@ -529,19 +578,19 @@ public class LitemallCoupon {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
name("name"),
typeMoney("type_money"),
sendType("send_type"),
minAmount("min_amount"),
maxAmount("max_amount"),
minGoodsAmount("min_goods_amount"),
sendStart("send_start"),
sendEnd("send_end"),
useStart("use_start"),
useEnd("use_end"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
name("name", "name", "VARCHAR"),
typeMoney("type_money", "typeMoney", "DECIMAL"),
sendType("send_type", "sendType", "TINYINT"),
minAmount("min_amount", "minAmount", "DECIMAL"),
maxAmount("max_amount", "maxAmount", "DECIMAL"),
minGoodsAmount("min_goods_amount", "minGoodsAmount", "DECIMAL"),
sendStart("send_start", "sendStart", "TIMESTAMP"),
sendEnd("send_end", "sendEnd", "TIMESTAMP"),
useStart("use_start", "useStart", "TIMESTAMP"),
useEnd("use_end", "useEnd", "TIMESTAMP"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -552,6 +601,24 @@ public class LitemallCoupon {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
@@ -581,8 +648,32 @@ public class LitemallCoupon {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -112,6 +112,37 @@ public class LitemallCouponExample {
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCouponExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCouponExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
@@ -149,37 +180,6 @@ public class LitemallCouponExample {
distinct = false;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCouponExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallCouponExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_coupon
@@ -1071,6 +1071,29 @@ public class LitemallCouponExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCoupon.IS_DELETED) : andDeletedNotEqualTo(LitemallCoupon.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallCoupon.IS_DELETED) : andDeletedNotEqualTo(LitemallCoupon.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_coupon

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallFootprint {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -232,6 +270,17 @@ public class LitemallFootprint {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_footprint
@@ -240,11 +289,11 @@ public class LitemallFootprint {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
userId("user_id"),
goodsId("goods_id"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
userId("user_id", "userId", "INTEGER"),
goodsId("goods_id", "goodsId", "INTEGER"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -255,6 +304,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
@@ -284,8 +351,32 @@ public class LitemallFootprint {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallFootprintExample {
return criteria;
}
/**
* 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 LitemallFootprintExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallFootprintExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
@@ -148,37 +179,6 @@ public class LitemallFootprintExample {
distinct = false;
}
/**
* 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 LitemallFootprintExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallFootprintExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_footprint
@@ -580,6 +580,29 @@ public class LitemallFootprintExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallFootprint.IS_DELETED) : andDeletedNotEqualTo(LitemallFootprint.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallFootprint.IS_DELETED) : andDeletedNotEqualTo(LitemallFootprint.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_footprint

View File

@@ -5,6 +5,44 @@ import java.time.LocalDateTime;
import java.util.Arrays;
public class LitemallGoods {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -774,6 +812,17 @@ public class LitemallGoods {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_goods
@@ -782,26 +831,26 @@ public class LitemallGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
goodsSn("goods_sn"),
name("name"),
categoryId("category_id"),
brandId("brand_id"),
gallery("gallery"),
keywords("keywords"),
goodsBrief("goods_brief"),
isOnSale("is_on_sale"),
sortOrder("sort_order"),
counterPrice("counter_price"),
isNew("is_new"),
primaryPicUrl("primary_pic_url"),
listPicUrl("list_pic_url"),
isHot("is_hot"),
goodsUnit("goods_unit"),
retailPrice("retail_price"),
addTime("add_time"),
deleted("deleted"),
goodsDesc("goods_desc");
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", "CHAR"),
keywords("keywords", "keywords", "VARCHAR"),
goodsBrief("goods_brief", "goodsBrief", "VARCHAR"),
isOnSale("is_on_sale", "isOnSale", "BIT"),
sortOrder("sort_order", "sortOrder", "SMALLINT"),
counterPrice("counter_price", "counterPrice", "DECIMAL"),
isNew("is_new", "isNew", "BIT"),
primaryPicUrl("primary_pic_url", "primaryPicUrl", "VARCHAR"),
listPicUrl("list_pic_url", "listPicUrl", "VARCHAR"),
isHot("is_hot", "isHot", "BIT"),
goodsUnit("goods_unit", "goodsUnit", "VARCHAR"),
retailPrice("retail_price", "retailPrice", "DECIMAL"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT"),
goodsDesc("goods_desc", "goodsDesc", "LONGVARCHAR");
/**
* This field was generated by MyBatis Generator.
@@ -812,6 +861,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -841,8 +908,32 @@ public class LitemallGoods {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallGoodsAttribute {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -268,6 +306,17 @@ public class LitemallGoodsAttribute {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_goods_attribute
@@ -276,12 +325,12 @@ public class LitemallGoodsAttribute {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
goodsId("goods_id"),
value("value"),
attribute("attribute"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
goodsId("goods_id", "goodsId", "INTEGER"),
value("value", "value", "VARCHAR"),
attribute("attribute", "attribute", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -292,6 +341,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
@@ -321,8 +388,32 @@ public class LitemallGoodsAttribute {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallGoodsAttributeExample {
return criteria;
}
/**
* 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 LitemallGoodsAttributeExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallGoodsAttributeExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
@@ -148,37 +179,6 @@ public class LitemallGoodsAttributeExample {
distinct = false;
}
/**
* 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 LitemallGoodsAttributeExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallGoodsAttributeExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_goods_attribute
@@ -660,6 +660,29 @@ public class LitemallGoodsAttributeExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallGoodsAttribute.IS_DELETED) : andDeletedNotEqualTo(LitemallGoodsAttribute.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallGoodsAttribute.IS_DELETED) : andDeletedNotEqualTo(LitemallGoodsAttribute.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_goods_attribute

View File

@@ -112,6 +112,37 @@ public class LitemallGoodsExample {
return criteria;
}
/**
* 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 LitemallGoodsExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallGoodsExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
@@ -149,37 +180,6 @@ public class LitemallGoodsExample {
distinct = false;
}
/**
* 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 LitemallGoodsExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallGoodsExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_goods
@@ -1535,6 +1535,29 @@ public class LitemallGoodsExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallGoods.IS_DELETED) : andDeletedNotEqualTo(LitemallGoods.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallGoods.IS_DELETED) : andDeletedNotEqualTo(LitemallGoods.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_goods

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallGoodsSpecification {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -304,6 +342,17 @@ public class LitemallGoodsSpecification {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_goods_specification
@@ -312,13 +361,13 @@ public class LitemallGoodsSpecification {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
goodsId("goods_id"),
value("value"),
picUrl("pic_url"),
specification("specification"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
goodsId("goods_id", "goodsId", "INTEGER"),
value("value", "value", "VARCHAR"),
picUrl("pic_url", "picUrl", "VARCHAR"),
specification("specification", "specification", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -329,6 +378,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
@@ -358,8 +425,32 @@ public class LitemallGoodsSpecification {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallGoodsSpecificationExample {
return criteria;
}
/**
* 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 LitemallGoodsSpecificationExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallGoodsSpecificationExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
@@ -148,37 +179,6 @@ public class LitemallGoodsSpecificationExample {
distinct = false;
}
/**
* 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 LitemallGoodsSpecificationExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallGoodsSpecificationExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_goods_specification
@@ -730,6 +730,29 @@ public class LitemallGoodsSpecificationExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallGoodsSpecification.IS_DELETED) : andDeletedNotEqualTo(LitemallGoodsSpecification.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallGoodsSpecification.IS_DELETED) : andDeletedNotEqualTo(LitemallGoodsSpecification.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_goods_specification

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallIssue {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -232,6 +270,17 @@ public class LitemallIssue {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_issue
@@ -240,11 +289,11 @@ public class LitemallIssue {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
question("question"),
answer("answer"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
question("question", "question", "VARCHAR"),
answer("answer", "answer", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -255,6 +304,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
@@ -284,8 +351,32 @@ public class LitemallIssue {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallIssueExample {
return criteria;
}
/**
* 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 LitemallIssueExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallIssueExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
@@ -148,37 +179,6 @@ public class LitemallIssueExample {
distinct = false;
}
/**
* 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 LitemallIssueExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallIssueExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_issue
@@ -600,6 +600,29 @@ public class LitemallIssueExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallIssue.IS_DELETED) : andDeletedNotEqualTo(LitemallIssue.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallIssue.IS_DELETED) : andDeletedNotEqualTo(LitemallIssue.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_issue

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallKeyword {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -376,6 +414,17 @@ public class LitemallKeyword {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_keyword
@@ -384,15 +433,15 @@ public class LitemallKeyword {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
keyword("keyword"),
url("url"),
isHot("is_hot"),
isDefault("is_default"),
isShow("is_show"),
sortOrder("sort_order"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
keyword("keyword", "keyword", "VARCHAR"),
url("url", "url", "VARCHAR"),
isHot("is_hot", "isHot", "BIT"),
isDefault("is_default", "isDefault", "BIT"),
isShow("is_show", "isShow", "BIT"),
sortOrder("sort_order", "sortOrder", "INTEGER"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -403,6 +452,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
@@ -432,8 +499,32 @@ public class LitemallKeyword {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallKeywordExample {
return criteria;
}
/**
* 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 LitemallKeywordExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallKeywordExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
@@ -148,37 +179,6 @@ public class LitemallKeywordExample {
distinct = false;
}
/**
* 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 LitemallKeywordExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallKeywordExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_keyword
@@ -840,6 +840,29 @@ public class LitemallKeywordExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallKeyword.IS_DELETED) : andDeletedNotEqualTo(LitemallKeyword.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallKeyword.IS_DELETED) : andDeletedNotEqualTo(LitemallKeyword.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_keyword

View File

@@ -4,6 +4,44 @@ import java.math.BigDecimal;
import java.time.LocalDateTime;
public class LitemallOrder {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -917,6 +955,17 @@ public class LitemallOrder {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_order
@@ -925,30 +974,30 @@ public class LitemallOrder {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
userId("user_id"),
orderSn("order_sn"),
orderStatus("order_status"),
consignee("consignee"),
mobile("mobile"),
address("address"),
goodsPrice("goods_price"),
freightPrice("freight_price"),
couponPrice("coupon_price"),
integralPrice("integral_price"),
orderPrice("order_price"),
actualPrice("actual_price"),
payId("pay_id"),
payStatus("pay_status"),
payTime("pay_time"),
shipSn("ship_sn"),
shipChannel("ship_channel"),
shipStartTime("ship_start_time"),
shipEndTime("ship_end_time"),
confirmTime("confirm_time"),
endTime("end_time"),
addTime("add_time"),
deleted("deleted");
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"),
orderPrice("order_price", "orderPrice", "DECIMAL"),
actualPrice("actual_price", "actualPrice", "DECIMAL"),
payId("pay_id", "payId", "VARCHAR"),
payStatus("pay_status", "payStatus", "SMALLINT"),
payTime("pay_time", "payTime", "TIMESTAMP"),
shipSn("ship_sn", "shipSn", "VARCHAR"),
shipChannel("ship_channel", "shipChannel", "VARCHAR"),
shipStartTime("ship_start_time", "shipStartTime", "TIMESTAMP"),
shipEndTime("ship_end_time", "shipEndTime", "TIMESTAMP"),
confirmTime("confirm_time", "confirmTime", "TIMESTAMP"),
endTime("end_time", "endTime", "TIMESTAMP"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -959,6 +1008,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
@@ -988,8 +1055,32 @@ public class LitemallOrder {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -112,6 +112,37 @@ public class LitemallOrderExample {
return criteria;
}
/**
* 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 LitemallOrderExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallOrderExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
@@ -149,37 +180,6 @@ public class LitemallOrderExample {
distinct = false;
}
/**
* 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 LitemallOrderExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallOrderExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_order
@@ -1791,6 +1791,29 @@ public class LitemallOrderExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallOrder.IS_DELETED) : andDeletedNotEqualTo(LitemallOrder.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallOrder.IS_DELETED) : andDeletedNotEqualTo(LitemallOrder.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_order

View File

@@ -5,6 +5,44 @@ import java.time.LocalDateTime;
import java.util.Arrays;
public class LitemallOrderGoods {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -522,6 +560,17 @@ public class LitemallOrderGoods {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_order_goods
@@ -530,19 +579,19 @@ public class LitemallOrderGoods {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
orderId("order_id"),
goodsId("goods_id"),
goodsName("goods_name"),
goodsSn("goods_sn"),
productId("product_id"),
number("number"),
retailPrice("retail_price"),
goodsSpecificationValues("goods_specification_values"),
goodsSpecificationIds("goods_specification_ids"),
picUrl("pic_url"),
addTime("add_time"),
deleted("deleted");
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"),
retailPrice("retail_price", "retailPrice", "DECIMAL"),
goodsSpecificationValues("goods_specification_values", "goodsSpecificationValues", "VARCHAR"),
goodsSpecificationIds("goods_specification_ids", "goodsSpecificationIds", "CHAR"),
picUrl("pic_url", "picUrl", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -553,6 +602,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
@@ -582,8 +649,32 @@ public class LitemallOrderGoods {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -112,6 +112,37 @@ public class LitemallOrderGoodsExample {
return criteria;
}
/**
* 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 LitemallOrderGoodsExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallOrderGoodsExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
@@ -149,37 +180,6 @@ public class LitemallOrderGoodsExample {
distinct = false;
}
/**
* 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 LitemallOrderGoodsExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallOrderGoodsExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_order_goods
@@ -1145,6 +1145,29 @@ public class LitemallOrderGoodsExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallOrderGoods.IS_DELETED) : andDeletedNotEqualTo(LitemallOrderGoods.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallOrderGoods.IS_DELETED) : andDeletedNotEqualTo(LitemallOrderGoods.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_order_goods

View File

@@ -5,6 +5,44 @@ import java.time.LocalDateTime;
import java.util.Arrays;
public class LitemallProduct {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -342,6 +380,17 @@ public class LitemallProduct {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_product
@@ -350,14 +399,14 @@ public class LitemallProduct {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
goodsId("goods_id"),
goodsSpecificationIds("goods_specification_ids"),
goodsNumber("goods_number"),
retailPrice("retail_price"),
url("url"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
goodsId("goods_id", "goodsId", "INTEGER"),
goodsSpecificationIds("goods_specification_ids", "goodsSpecificationIds", "CHAR"),
goodsNumber("goods_number", "goodsNumber", "INTEGER"),
retailPrice("retail_price", "retailPrice", "DECIMAL"),
url("url", "url", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -368,6 +417,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
@@ -397,8 +464,32 @@ public class LitemallProduct {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -112,6 +112,37 @@ public class LitemallProductExample {
return criteria;
}
/**
* 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 LitemallProductExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallProductExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
@@ -149,37 +180,6 @@ public class LitemallProductExample {
distinct = false;
}
/**
* 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 LitemallProductExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallProductExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_product
@@ -815,6 +815,29 @@ public class LitemallProductExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallProduct.IS_DELETED) : andDeletedNotEqualTo(LitemallProduct.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallProduct.IS_DELETED) : andDeletedNotEqualTo(LitemallProduct.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_product

View File

@@ -238,11 +238,11 @@ public class LitemallRegion {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
pid("pid"),
name("name"),
type("type"),
code("code");
id("id", "id", "INTEGER"),
pid("pid", "pid", "INTEGER"),
name("name", "name", "VARCHAR"),
type("type", "type", "TINYINT"),
code("code", "code", "INTEGER");
/**
* This field was generated by MyBatis Generator.
@@ -253,6 +253,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
@@ -282,8 +300,32 @@ public class LitemallRegion {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -110,6 +110,37 @@ public class LitemallRegionExample {
return criteria;
}
/**
* 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 LitemallRegionExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallRegionExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_region
@@ -147,37 +178,6 @@ public class LitemallRegionExample {
distinct = false;
}
/**
* 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 LitemallRegionExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallRegionExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_region

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallSearchHistory {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -268,6 +306,17 @@ public class LitemallSearchHistory {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_search_history
@@ -276,12 +325,12 @@ public class LitemallSearchHistory {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
userId("user_id"),
keyword("keyword"),
from("from"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
userId("user_id", "userId", "INTEGER"),
keyword("keyword", "keyword", "CHAR"),
from("from", "from", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -292,6 +341,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
@@ -321,8 +388,32 @@ public class LitemallSearchHistory {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallSearchHistoryExample {
return criteria;
}
/**
* 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 LitemallSearchHistoryExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallSearchHistoryExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
@@ -148,37 +179,6 @@ public class LitemallSearchHistoryExample {
distinct = false;
}
/**
* 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 LitemallSearchHistoryExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallSearchHistoryExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_search_history
@@ -660,6 +660,29 @@ public class LitemallSearchHistoryExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallSearchHistory.IS_DELETED) : andDeletedNotEqualTo(LitemallSearchHistory.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallSearchHistory.IS_DELETED) : andDeletedNotEqualTo(LitemallSearchHistory.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_search_history

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallStorage {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -376,6 +414,17 @@ public class LitemallStorage {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_storage
@@ -384,15 +433,15 @@ public class LitemallStorage {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
key("key"),
name("name"),
type("type"),
size("size"),
modified("modified"),
url("url"),
addTime("add_time"),
deleted("deleted");
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");
/**
* This field was generated by MyBatis Generator.
@@ -403,6 +452,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
@@ -432,8 +499,32 @@ public class LitemallStorage {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallStorageExample {
return criteria;
}
/**
* 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 LitemallStorageExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallStorageExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
@@ -148,37 +179,6 @@ public class LitemallStorageExample {
distinct = false;
}
/**
* 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 LitemallStorageExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallStorageExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_storage
@@ -860,6 +860,29 @@ public class LitemallStorageExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallStorage.IS_DELETED) : andDeletedNotEqualTo(LitemallStorage.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallStorage.IS_DELETED) : andDeletedNotEqualTo(LitemallStorage.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_storage

View File

@@ -4,6 +4,44 @@ import java.math.BigDecimal;
import java.time.LocalDateTime;
public class LitemallTopic {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -521,6 +559,17 @@ public class LitemallTopic {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_topic
@@ -529,19 +578,19 @@ public class LitemallTopic {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
title("title"),
avatar("avatar"),
itemPicUrl("item_pic_url"),
subtitle("subtitle"),
priceInfo("price_info"),
readCount("read_count"),
scenePicUrl("scene_pic_url"),
sortOrder("sort_order"),
isShow("is_show"),
addTime("add_time"),
deleted("deleted"),
content("content");
id("id", "id", "INTEGER"),
title("title", "title", "VARCHAR"),
avatar("avatar", "avatar", "VARCHAR"),
itemPicUrl("item_pic_url", "itemPicUrl", "VARCHAR"),
subtitle("subtitle", "subtitle", "VARCHAR"),
priceInfo("price_info", "priceInfo", "DECIMAL"),
readCount("read_count", "readCount", "VARCHAR"),
scenePicUrl("scene_pic_url", "scenePicUrl", "VARCHAR"),
sortOrder("sort_order", "sortOrder", "INTEGER"),
isShow("is_show", "isShow", "BIT"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT"),
content("content", "content", "LONGVARCHAR");
/**
* This field was generated by MyBatis Generator.
@@ -552,6 +601,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -581,8 +648,32 @@ public class LitemallTopic {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -112,6 +112,37 @@ public class LitemallTopicExample {
return criteria;
}
/**
* 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 LitemallTopicExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallTopicExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
@@ -149,37 +180,6 @@ public class LitemallTopicExample {
distinct = false;
}
/**
* 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 LitemallTopicExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallTopicExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_topic
@@ -1061,6 +1061,29 @@ public class LitemallTopicExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallTopic.IS_DELETED) : andDeletedNotEqualTo(LitemallTopic.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallTopic.IS_DELETED) : andDeletedNotEqualTo(LitemallTopic.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_topic

View File

@@ -4,6 +4,44 @@ import java.time.LocalDate;
import java.time.LocalDateTime;
public class LitemallUser {
/**
* 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
*/
public static final Boolean NOT_DELETED = 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
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = 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
*/
public static final Boolean IS_DELETED = true;
/**
* 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
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -629,6 +667,17 @@ public class LitemallUser {
return result;
}
/**
* 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 void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_user
@@ -637,22 +686,22 @@ public class LitemallUser {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
username("username"),
password("password"),
gender("gender"),
birthday("birthday"),
lastLoginTime("last_login_time"),
lastLoginIp("last_login_ip"),
userLevel("user_level"),
nickname("nickname"),
mobile("mobile"),
registerIp("register_ip"),
avatar("avatar"),
weixinOpenid("weixin_openid"),
status("status"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
username("username", "username", "VARCHAR"),
password("password", "password", "VARCHAR"),
gender("gender", "gender", "VARCHAR"),
birthday("birthday", "birthday", "DATE"),
lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP"),
lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR"),
userLevel("user_level", "userLevel", "VARCHAR"),
nickname("nickname", "nickname", "VARCHAR"),
mobile("mobile", "mobile", "VARCHAR"),
registerIp("register_ip", "registerIp", "VARCHAR"),
avatar("avatar", "avatar", "VARCHAR"),
weixinOpenid("weixin_openid", "weixinOpenid", "VARCHAR"),
status("status", "status", "VARCHAR"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -663,6 +712,24 @@ 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 String javaProperty;
/**
* 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 String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
@@ -692,8 +759,32 @@ public class LitemallUser {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -3,6 +3,44 @@ package org.linlinjava.litemall.db.domain;
import java.time.LocalDateTime;
public class LitemallUserCoupon {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_ON = false;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public static final Boolean DEL_FLAG_OFF = true;
/**
*
* This field was generated by MyBatis Generator.
@@ -304,6 +342,17 @@ public class LitemallUserCoupon {
return result;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
}
/**
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_user_coupon
@@ -312,13 +361,13 @@ public class LitemallUserCoupon {
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id"),
couponId("coupon_id"),
userId("user_id"),
orderId("order_id"),
usedTime("used_time"),
addTime("add_time"),
deleted("deleted");
id("id", "id", "INTEGER"),
couponId("coupon_id", "couponId", "INTEGER"),
userId("user_id", "userId", "INTEGER"),
orderId("order_id", "orderId", "INTEGER"),
usedTime("used_time", "usedTime", "TIMESTAMP"),
addTime("add_time", "addTime", "TIMESTAMP"),
deleted("deleted", "deleted", "BIT");
/**
* This field was generated by MyBatis Generator.
@@ -329,6 +378,24 @@ public class LitemallUserCoupon {
*/
private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
@@ -358,8 +425,32 @@ public class LitemallUserCoupon {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column) {
public String getJavaProperty() {
return this.javaProperty;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType) {
this.column = column;
this.javaProperty = javaProperty;
this.jdbcType = jdbcType;
}
/**

View File

@@ -111,6 +111,37 @@ public class LitemallUserCouponExample {
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallUserCouponExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallUserCouponExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
@@ -148,37 +179,6 @@ public class LitemallUserCouponExample {
distinct = false;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallUserCouponExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallUserCouponExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_user_coupon
@@ -700,6 +700,29 @@ public class LitemallUserCouponExample {
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallUserCoupon.IS_DELETED) : andDeletedNotEqualTo(LitemallUserCoupon.IS_DELETED);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallUserCoupon.IS_DELETED) : andDeletedNotEqualTo(LitemallUserCoupon.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_user_coupon

View File

@@ -112,6 +112,37 @@ public class LitemallUserExample {
return criteria;
}
/**
* 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 LitemallUserExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallUserExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
@@ -149,37 +180,6 @@ public class LitemallUserExample {
distinct = false;
}
/**
* 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 LitemallUserExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
return 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 LitemallUserExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < orderByClauses.length; i++) {
sb.append(orderByClauses[i]);
if (i < orderByClauses.length - 1) {
sb.append(" , ");
}
}
this.setOrderByClause(sb.toString());
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_user
@@ -1351,6 +1351,29 @@ public class LitemallUserExample {
return 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 andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallUser.IS_DELETED) : andDeletedNotEqualTo(LitemallUser.IS_DELETED);
}
/**
* 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
*/
@Deprecated
public Criteria andDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallUser.IS_DELETED) : andDeletedNotEqualTo(LitemallUser.IS_DELETED);
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_user

View File

@@ -120,9 +120,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `position`, `name`, link, url, content, start_time, end_time, enabled, add_time,
deleted
</otherwise>
</choose>
from litemall_ad
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -141,6 +149,30 @@
from litemall_ad
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_ad
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -148,9 +180,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `position`, `name`, link, url, content, start_time, end_time, enabled, add_time,
deleted
</otherwise>
</choose>
from litemall_ad
where id = #{id,jdbcType=INTEGER}
</select>
@@ -421,9 +461,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `position`, `name`, link, url, content, start_time, end_time, enabled, add_time,
deleted
</otherwise>
</choose>
from litemall_ad
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -433,4 +481,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_ad set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_ad set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -120,9 +120,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, user_id, province_id, city_id, area_id, address, mobile, is_default,
add_time, deleted
</otherwise>
</choose>
from litemall_address
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -141,6 +149,30 @@
from litemall_address
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_address
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -148,9 +180,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, user_id, province_id, city_id, area_id, address, mobile, is_default,
add_time, deleted
</otherwise>
</choose>
from litemall_address
where id = #{id,jdbcType=INTEGER}
</select>
@@ -421,9 +461,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, user_id, province_id, city_id, area_id, address, mobile, is_default,
add_time, deleted
</otherwise>
</choose>
from litemall_address
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -433,4 +481,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_address set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_address set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -118,9 +118,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, username, `password`, last_login_ip, last_login_time, update_time, avatar, add_time,
deleted
</otherwise>
</choose>
from litemall_admin
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -139,6 +147,30 @@
from litemall_admin
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_admin
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -146,9 +178,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, username, `password`, last_login_ip, last_login_time, update_time, avatar, add_time,
deleted
</otherwise>
</choose>
from litemall_admin
where id = #{id,jdbcType=INTEGER}
</select>
@@ -389,9 +429,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, username, `password`, last_login_ip, last_login_time, update_time, avatar, add_time,
deleted
</otherwise>
</choose>
from litemall_admin
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -401,4 +449,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_admin set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_admin set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -123,9 +123,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, list_pic_url, simple_desc, pic_url, sort_order, is_show, floor_price,
app_list_pic_url, is_new, new_pic_url, new_sort_order, add_time, deleted
</otherwise>
</choose>
from litemall_brand
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -144,6 +152,30 @@
from litemall_brand
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_brand
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -151,9 +183,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, list_pic_url, simple_desc, pic_url, sort_order, is_show, floor_price,
app_list_pic_url, is_new, new_pic_url, new_sort_order, add_time, deleted
</otherwise>
</choose>
from litemall_brand
where id = #{id,jdbcType=INTEGER}
</select>
@@ -468,9 +508,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, list_pic_url, simple_desc, pic_url, sort_order, is_show, floor_price,
app_list_pic_url, is_new, new_pic_url, new_sort_order, add_time, deleted
</otherwise>
</choose>
from litemall_brand
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -480,4 +528,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_brand set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_brand set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -162,9 +162,18 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, goods_id, goods_sn, product_id, goods_name, retail_price, `number`,
goods_specification_values, goods_specification_ids, `checked`, pic_url, add_time,
deleted
</otherwise>
</choose>
from litemall_cart
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -183,6 +192,30 @@
from litemall_cart
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_cart
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -190,9 +223,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, goods_id, goods_sn, product_id, goods_name, retail_price, `number`,
goods_specification_values, goods_specification_ids, `checked`, pic_url, add_time,
deleted
</otherwise>
</choose>
from litemall_cart
where id = #{id,jdbcType=INTEGER}
</select>
@@ -507,9 +549,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, goods_id, goods_sn, product_id, goods_name, retail_price, `number`,
goods_specification_values, goods_specification_ids, `checked`, pic_url, add_time,
deleted
</otherwise>
</choose>
from litemall_cart
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -519,4 +570,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_cart set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_cart set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -126,9 +126,18 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, keywords, front_desc, parent_id, sort_order, show_index, is_show, banner_url,
icon_url, img_url, wap_banner_url, `level`, `type`, front_name, add_time, deleted
</otherwise>
</choose>
from litemall_category
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -147,6 +156,30 @@
from litemall_category
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_category
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -154,9 +187,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, keywords, front_desc, parent_id, sort_order, show_index, is_show, banner_url,
icon_url, img_url, wap_banner_url, `level`, `type`, front_name, add_time, deleted
</otherwise>
</choose>
from litemall_category
where id = #{id,jdbcType=INTEGER}
</select>
@@ -515,9 +557,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, keywords, front_desc, parent_id, sort_order, show_index, is_show, banner_url,
icon_url, img_url, wap_banner_url, `level`, `type`, front_name, add_time, deleted
</otherwise>
</choose>
from litemall_category
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -527,4 +578,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_category set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_category set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -115,9 +115,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, value_id, is_attention, type_id, add_time, deleted
</otherwise>
</choose>
from litemall_collect
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -136,6 +143,30 @@
from litemall_collect
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_collect
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -143,9 +174,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, value_id, is_attention, type_id, add_time, deleted
</otherwise>
</choose>
from litemall_collect
where id = #{id,jdbcType=INTEGER}
</select>
@@ -358,9 +396,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, value_id, is_attention, type_id, add_time, deleted
</otherwise>
</choose>
from litemall_collect
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -370,4 +415,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_collect set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_collect set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -156,9 +156,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, type_id, value_id, content, user_id, has_picture, pic_urls, star, add_time, deleted
</otherwise>
</choose>
from litemall_comment
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -177,6 +185,30 @@
from litemall_comment
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_comment
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -184,9 +216,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, type_id, value_id, content, user_id, has_picture, pic_urls, star, add_time, deleted
</otherwise>
</choose>
from litemall_comment
where id = #{id,jdbcType=INTEGER}
</select>
@@ -443,9 +483,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, type_id, value_id, content, user_id, has_picture, pic_urls, star, add_time, deleted
</otherwise>
</choose>
from litemall_comment
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -455,4 +503,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_comment set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_comment set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -122,9 +122,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, type_money, send_type, min_amount, max_amount, min_goods_amount, send_start,
send_end, use_start, use_end, add_time, deleted
</otherwise>
</choose>
from litemall_coupon
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -143,6 +151,30 @@
from litemall_coupon
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_coupon
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -150,9 +182,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, type_money, send_type, min_amount, max_amount, min_goods_amount, send_start,
send_end, use_start, use_end, add_time, deleted
</otherwise>
</choose>
from litemall_coupon
where id = #{id,jdbcType=INTEGER}
</select>
@@ -453,9 +493,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `name`, type_money, send_type, min_amount, max_amount, min_goods_amount, send_start,
send_end, use_start, use_end, add_time, deleted
</otherwise>
</choose>
from litemall_coupon
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -465,4 +513,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_coupon set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_coupon set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -113,9 +113,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, goods_id, add_time, deleted
</otherwise>
</choose>
from litemall_footprint
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -134,6 +141,30 @@
from litemall_footprint
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_footprint
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -141,9 +172,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, goods_id, add_time, deleted
</otherwise>
</choose>
from litemall_footprint
where id = #{id,jdbcType=INTEGER}
</select>
@@ -326,9 +364,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, goods_id, add_time, deleted
</otherwise>
</choose>
from litemall_footprint
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -338,4 +383,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_footprint set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_footprint set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -114,9 +114,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, `value`, `attribute`, add_time, deleted
</otherwise>
</choose>
from litemall_goods_attribute
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -135,6 +142,30 @@
from litemall_goods_attribute
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_goods_attribute
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -142,9 +173,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, `value`, `attribute`, add_time, deleted
</otherwise>
</choose>
from litemall_goods_attribute
where id = #{id,jdbcType=INTEGER}
</select>
@@ -341,9 +379,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, `value`, `attribute`, add_time, deleted
</otherwise>
</choose>
from litemall_goods_attribute
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -353,4 +398,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_goods_attribute set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_goods_attribute set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -191,7 +191,7 @@
order by ${orderByClause}
</if>
</select>
<select id="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
<select id="selectByExampleSelective" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@@ -201,9 +201,18 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_sn, `name`, category_id, brand_id, gallery, keywords, goods_brief, is_on_sale,
sort_order, counter_price, is_new, primary_pic_url, list_pic_url, is_hot, goods_unit,
retail_price, add_time, deleted, goods_desc
</otherwise>
</choose>
from litemall_goods
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -224,16 +233,51 @@
from litemall_goods
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from litemall_goods
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_sn, `name`, category_id, brand_id, gallery, keywords, goods_brief, is_on_sale,
sort_order, counter_price, is_new, primary_pic_url, list_pic_url, is_hot, goods_unit,
retail_price, add_time, deleted, goods_desc
</otherwise>
</choose>
from litemall_goods
where id = #{id,jdbcType=INTEGER}
</select>
@@ -684,25 +728,6 @@
</if>
limit 1
</select>
<select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
from litemall_goods
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
</select>
<select id="selectOneByExampleWithBLOBs" parameterType="org.linlinjava.litemall.db.domain.LitemallGoodsExample" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
@@ -722,4 +747,52 @@
</if>
limit 1
</select>
<select id="selectOneByExampleSelective" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_sn, `name`, category_id, brand_id, gallery, keywords, goods_brief, is_on_sale,
sort_order, counter_price, is_new, primary_pic_url, list_pic_url, is_hot, goods_unit,
retail_price, add_time, deleted, goods_desc
</otherwise>
</choose>
from litemall_goods
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_goods set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_goods set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -115,9 +115,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, `value`, pic_url, specification, add_time, deleted
</otherwise>
</choose>
from litemall_goods_specification
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -136,6 +143,30 @@
from litemall_goods_specification
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_goods_specification
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -143,9 +174,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, `value`, pic_url, specification, add_time, deleted
</otherwise>
</choose>
from litemall_goods_specification
where id = #{id,jdbcType=INTEGER}
</select>
@@ -358,9 +396,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, `value`, pic_url, specification, add_time, deleted
</otherwise>
</choose>
from litemall_goods_specification
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -370,4 +415,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_goods_specification set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_goods_specification set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -113,9 +113,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, question, answer, add_time, deleted
</otherwise>
</choose>
from litemall_issue
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -134,6 +141,30 @@
from litemall_issue
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_issue
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -141,9 +172,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, question, answer, add_time, deleted
</otherwise>
</choose>
from litemall_issue
where id = #{id,jdbcType=INTEGER}
</select>
@@ -326,9 +364,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, question, answer, add_time, deleted
</otherwise>
</choose>
from litemall_issue
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -338,4 +383,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_issue set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_issue set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -117,9 +117,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, keyword, url, is_hot, is_default, is_show, sort_order, add_time, deleted
</otherwise>
</choose>
from litemall_keyword
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -138,6 +145,30 @@
from litemall_keyword
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_keyword
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -145,9 +176,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, keyword, url, is_hot, is_default, is_show, sort_order, add_time, deleted
</otherwise>
</choose>
from litemall_keyword
where id = #{id,jdbcType=INTEGER}
</select>
@@ -388,9 +426,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, keyword, url, is_hot, is_default, is_show, sort_order, add_time, deleted
</otherwise>
</choose>
from litemall_keyword
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -400,4 +445,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_keyword set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_keyword set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -160,9 +160,18 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, order_id, goods_id, goods_name, goods_sn, product_id, `number`, retail_price,
goods_specification_values, goods_specification_ids, pic_url, add_time, deleted
</otherwise>
</choose>
from litemall_order_goods
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -181,6 +190,30 @@
from litemall_order_goods
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_order_goods
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -188,9 +221,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, order_id, goods_id, goods_name, goods_sn, product_id, `number`, retail_price,
goods_specification_values, goods_specification_ids, pic_url, add_time, deleted
</otherwise>
</choose>
from litemall_order_goods
where id = #{id,jdbcType=INTEGER}
</select>
@@ -493,9 +535,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, order_id, goods_id, goods_name, goods_sn, product_id, `number`, retail_price,
goods_specification_values, goods_specification_ids, pic_url, add_time, deleted
</otherwise>
</choose>
from litemall_order_goods
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -505,4 +556,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_order_goods set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_order_goods set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -135,9 +135,19 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, order_sn, order_status, consignee, mobile, address, goods_price, freight_price,
coupon_price, integral_price, order_price, actual_price, pay_id, pay_status, pay_time,
ship_sn, ship_channel, ship_start_time, ship_end_time, confirm_time, end_time,
add_time, deleted
</otherwise>
</choose>
from litemall_order
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -156,6 +166,30 @@
from litemall_order
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_order
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -163,9 +197,19 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, order_sn, order_status, consignee, mobile, address, goods_price, freight_price,
coupon_price, integral_price, order_price, actual_price, pay_id, pay_status, pay_time,
ship_sn, ship_channel, ship_start_time, ship_end_time, confirm_time, end_time,
add_time, deleted
</otherwise>
</choose>
from litemall_order
where id = #{id,jdbcType=INTEGER}
</select>
@@ -626,9 +670,19 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, order_sn, order_status, consignee, mobile, address, goods_price, freight_price,
coupon_price, integral_price, order_price, actual_price, pay_id, pay_status, pay_time,
ship_sn, ship_channel, ship_start_time, ship_end_time, confirm_time, end_time,
add_time, deleted
</otherwise>
</choose>
from litemall_order
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -638,4 +692,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_order set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_order set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -155,9 +155,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, goods_specification_ids, goods_number, retail_price, url, add_time,
deleted
</otherwise>
</choose>
from litemall_product
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -176,6 +184,30 @@
from litemall_product
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_product
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -183,9 +215,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, goods_specification_ids, goods_number, retail_price, url, add_time,
deleted
</otherwise>
</choose>
from litemall_product
where id = #{id,jdbcType=INTEGER}
</select>
@@ -412,9 +452,17 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, goods_id, goods_specification_ids, goods_number, retail_price, url, add_time,
deleted
</otherwise>
</choose>
from litemall_product
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -424,4 +472,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_product set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_product set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -113,9 +113,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, pid, `name`, `type`, code
</otherwise>
</choose>
from litemall_region
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -141,9 +148,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, pid, `name`, `type`, code
</otherwise>
</choose>
from litemall_region
where id = #{id,jdbcType=INTEGER}
</select>
@@ -326,9 +340,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, pid, `name`, `type`, code
</otherwise>
</choose>
from litemall_region
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />

View File

@@ -114,9 +114,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, keyword, `from`, add_time, deleted
</otherwise>
</choose>
from litemall_search_history
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -135,6 +142,30 @@
from litemall_search_history
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_search_history
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -142,9 +173,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, keyword, `from`, add_time, deleted
</otherwise>
</choose>
from litemall_search_history
where id = #{id,jdbcType=INTEGER}
</select>
@@ -341,9 +379,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, user_id, keyword, `from`, add_time, deleted
</otherwise>
</choose>
from litemall_search_history
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -353,4 +398,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_search_history set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_search_history set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -117,9 +117,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `key`, `name`, `type`, `size`, modified, url, add_time, deleted
</otherwise>
</choose>
from litemall_storage
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -138,6 +145,30 @@
from litemall_storage
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_storage
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -145,9 +176,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `key`, `name`, `type`, `size`, modified, url, add_time, deleted
</otherwise>
</choose>
from litemall_storage
where id = #{id,jdbcType=INTEGER}
</select>
@@ -388,9 +426,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, `key`, `name`, `type`, `size`, modified, url, add_time, deleted
</otherwise>
</choose>
from litemall_storage
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -400,4 +445,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_storage set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_storage set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -145,7 +145,7 @@
order by ${orderByClause}
</if>
</select>
<select id="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
<select id="selectByExampleSelective" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@@ -155,9 +155,17 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, title, avatar, item_pic_url, subtitle, price_info, read_count, scene_pic_url,
sort_order, is_show, add_time, deleted, content
</otherwise>
</choose>
from litemall_topic
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -178,16 +186,50 @@
from litemall_topic
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from litemall_topic
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, title, avatar, item_pic_url, subtitle, price_info, read_count, scene_pic_url,
sort_order, is_show, add_time, deleted, content
</otherwise>
</choose>
from litemall_topic
where id = #{id,jdbcType=INTEGER}
</select>
@@ -522,25 +564,6 @@
</if>
limit 1
</select>
<select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
from litemall_topic
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
</select>
<select id="selectOneByExampleWithBLOBs" parameterType="org.linlinjava.litemall.db.domain.LitemallTopicExample" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
@@ -560,4 +583,51 @@
</if>
limit 1
</select>
<select id="selectOneByExampleSelective" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, title, avatar, item_pic_url, subtitle, price_info, read_count, scene_pic_url,
sort_order, is_show, add_time, deleted, content
</otherwise>
</choose>
from litemall_topic
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
<if test="example.orderByClause != null">
order by ${example.orderByClause}
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_topic set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_topic set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -115,9 +115,16 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, coupon_id, user_id, order_id, used_time, add_time, deleted
</otherwise>
</choose>
from litemall_user_coupon
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -136,6 +143,30 @@
from litemall_user_coupon
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_user_coupon
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -143,9 +174,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, coupon_id, user_id, order_id, used_time, add_time, deleted
</otherwise>
</choose>
from litemall_user_coupon
where id = #{id,jdbcType=INTEGER}
</select>
@@ -358,9 +396,16 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, coupon_id, user_id, order_id, used_time, add_time, deleted
</otherwise>
</choose>
from litemall_user_coupon
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -370,4 +415,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_user_coupon set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_user_coupon set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

View File

@@ -125,9 +125,18 @@
<if test="example.distinct">
distinct
</if>
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, username, `password`, gender, birthday, last_login_time, last_login_ip, user_level,
nickname, mobile, register_ip, avatar, weixin_openid, `status`, add_time, deleted
</otherwise>
</choose>
from litemall_user
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -146,6 +155,30 @@
from litemall_user
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from litemall_user
where id = #{id,jdbcType=INTEGER}
and deleted =
<choose>
<when test="andLogicalDeleted">
'1'
</when>
<otherwise>
'0'
</otherwise>
</choose>
</select>
<select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
@@ -153,9 +186,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, username, `password`, gender, birthday, last_login_time, last_login_ip, user_level,
nickname, mobile, register_ip, avatar, weixin_openid, `status`, add_time, deleted
</otherwise>
</choose>
from litemall_user
where id = #{id,jdbcType=INTEGER}
</select>
@@ -500,9 +542,18 @@
@project https://github.com/itfsw/mybatis-generator-plugin
-->
select
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
<choose>
<when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=",">
${column.value}
</foreach>
</when>
<otherwise>
id, username, `password`, gender, birthday, last_login_time, last_login_ip, user_level,
nickname, mobile, register_ip, avatar, weixin_openid, `status`, add_time, deleted
</otherwise>
</choose>
from litemall_user
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@@ -512,4 +563,24 @@
</if>
limit 1
</select>
<update id="logicalDeleteByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_user set deleted = 1
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="logicalDeleteByPrimaryKey" parameterType="java.lang.Integer">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
update litemall_user set deleted = 1
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>