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

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

1. 设置逻辑删除插件
2. 设置乐观锁插件
parent d006f89f
...@@ -25,6 +25,18 @@ ...@@ -25,6 +25,18 @@
<plugin type="com.itfsw.mybatis.generator.plugins.ExampleEnhancedPlugin"/> <plugin type="com.itfsw.mybatis.generator.plugins.ExampleEnhancedPlugin"/>
<!-- 数据Model属性对应Column获取插件 --> <!-- 数据Model属性对应Column获取插件 -->
<plugin type="com.itfsw.mybatis.generator.plugins.ModelColumnPlugin"/> <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> <commentGenerator>
<property name="suppressDate" value="true"/> <property name="suppressDate" value="true"/>
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<dependency> <dependency>
<groupId>com.itfsw</groupId> <groupId>com.itfsw</groupId>
<artifactId>mybatis-generator-plugin</artifactId> <artifactId>mybatis-generator-plugin</artifactId>
<version>1.1.2</version> <version>1.2.3</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
......
...@@ -51,8 +51,18 @@ public interface LitemallAdMapper { ...@@ -51,8 +51,18 @@ public interface LitemallAdMapper {
* This method corresponds to the database table litemall_ad * This method corresponds to the database table litemall_ad
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallAdMapper { ...@@ -69,7 +79,7 @@ public interface LitemallAdMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallAd selectByPrimaryKey(Integer id); List<LitemallAd> selectByExample(LitemallAdExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallAdMapper { ...@@ -80,6 +90,23 @@ public interface LitemallAdMapper {
*/ */
LitemallAd selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallAd.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad * This method corresponds to the database table litemall_ad
...@@ -119,7 +146,7 @@ public interface LitemallAdMapper { ...@@ -119,7 +146,7 @@ public interface LitemallAdMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallAdMapper { ...@@ -128,5 +155,5 @@ public interface LitemallAdMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallAd selectOneByExampleSelective(@Param("example") LitemallAdExample example, @Param("selective") LitemallAd.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallAddressMapper { ...@@ -51,8 +51,18 @@ public interface LitemallAddressMapper {
* This method corresponds to the database table litemall_address * This method corresponds to the database table litemall_address
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallAddressMapper { ...@@ -69,7 +79,7 @@ public interface LitemallAddressMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallAddress selectByPrimaryKey(Integer id); List<LitemallAddress> selectByExample(LitemallAddressExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallAddressMapper { ...@@ -80,6 +90,23 @@ public interface LitemallAddressMapper {
*/ */
LitemallAddress selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallAddress.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address * This method corresponds to the database table litemall_address
...@@ -119,7 +146,7 @@ public interface LitemallAddressMapper { ...@@ -119,7 +146,7 @@ public interface LitemallAddressMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallAddressMapper { ...@@ -128,5 +155,5 @@ public interface LitemallAddressMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallAddress selectOneByExampleSelective(@Param("example") LitemallAddressExample example, @Param("selective") LitemallAddress.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallAdminMapper { ...@@ -51,8 +51,18 @@ public interface LitemallAdminMapper {
* This method corresponds to the database table litemall_admin * This method corresponds to the database table litemall_admin
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallAdminMapper { ...@@ -69,7 +79,7 @@ public interface LitemallAdminMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallAdmin selectByPrimaryKey(Integer id); List<LitemallAdmin> selectByExample(LitemallAdminExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallAdminMapper { ...@@ -80,6 +90,23 @@ public interface LitemallAdminMapper {
*/ */
LitemallAdmin selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallAdmin.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin * This method corresponds to the database table litemall_admin
...@@ -119,7 +146,7 @@ public interface LitemallAdminMapper { ...@@ -119,7 +146,7 @@ public interface LitemallAdminMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallAdminMapper { ...@@ -128,5 +155,5 @@ public interface LitemallAdminMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallAdmin selectOneByExampleSelective(@Param("example") LitemallAdminExample example, @Param("selective") LitemallAdmin.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallBrandMapper { ...@@ -51,8 +51,18 @@ public interface LitemallBrandMapper {
* This method corresponds to the database table litemall_brand * This method corresponds to the database table litemall_brand
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallBrandMapper { ...@@ -69,7 +79,7 @@ public interface LitemallBrandMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallBrand selectByPrimaryKey(Integer id); List<LitemallBrand> selectByExample(LitemallBrandExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallBrandMapper { ...@@ -80,6 +90,23 @@ public interface LitemallBrandMapper {
*/ */
LitemallBrand selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallBrand.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand * This method corresponds to the database table litemall_brand
...@@ -119,7 +146,7 @@ public interface LitemallBrandMapper { ...@@ -119,7 +146,7 @@ public interface LitemallBrandMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallBrandMapper { ...@@ -128,5 +155,5 @@ public interface LitemallBrandMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallBrand selectOneByExampleSelective(@Param("example") LitemallBrandExample example, @Param("selective") LitemallBrand.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallCartMapper { ...@@ -51,8 +51,18 @@ public interface LitemallCartMapper {
* This method corresponds to the database table litemall_cart * This method corresponds to the database table litemall_cart
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallCartMapper { ...@@ -69,7 +79,7 @@ public interface LitemallCartMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallCart selectByPrimaryKey(Integer id); List<LitemallCart> selectByExample(LitemallCartExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallCartMapper { ...@@ -80,6 +90,23 @@ public interface LitemallCartMapper {
*/ */
LitemallCart selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCart.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart * This method corresponds to the database table litemall_cart
...@@ -119,7 +146,7 @@ public interface LitemallCartMapper { ...@@ -119,7 +146,7 @@ public interface LitemallCartMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallCartMapper { ...@@ -128,5 +155,5 @@ public interface LitemallCartMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallCart selectOneByExampleSelective(@Param("example") LitemallCartExample example, @Param("selective") LitemallCart.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallCategoryMapper { ...@@ -51,8 +51,18 @@ public interface LitemallCategoryMapper {
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallCategoryMapper { ...@@ -69,7 +79,7 @@ public interface LitemallCategoryMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallCategory selectByPrimaryKey(Integer id); List<LitemallCategory> selectByExample(LitemallCategoryExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallCategoryMapper { ...@@ -80,6 +90,23 @@ public interface LitemallCategoryMapper {
*/ */
LitemallCategory selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCategory.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
...@@ -119,7 +146,7 @@ public interface LitemallCategoryMapper { ...@@ -119,7 +146,7 @@ public interface LitemallCategoryMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallCategoryMapper { ...@@ -128,5 +155,5 @@ public interface LitemallCategoryMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallCategory selectOneByExampleSelective(@Param("example") LitemallCategoryExample example, @Param("selective") LitemallCategory.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallCollectMapper { ...@@ -51,8 +51,18 @@ public interface LitemallCollectMapper {
* This method corresponds to the database table litemall_collect * This method corresponds to the database table litemall_collect
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallCollectMapper { ...@@ -69,7 +79,7 @@ public interface LitemallCollectMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallCollect selectByPrimaryKey(Integer id); List<LitemallCollect> selectByExample(LitemallCollectExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallCollectMapper { ...@@ -80,6 +90,23 @@ public interface LitemallCollectMapper {
*/ */
LitemallCollect selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCollect.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect * This method corresponds to the database table litemall_collect
...@@ -119,7 +146,7 @@ public interface LitemallCollectMapper { ...@@ -119,7 +146,7 @@ public interface LitemallCollectMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallCollectMapper { ...@@ -128,5 +155,5 @@ public interface LitemallCollectMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallCollect selectOneByExampleSelective(@Param("example") LitemallCollectExample example, @Param("selective") LitemallCollect.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallCommentMapper { ...@@ -51,8 +51,18 @@ public interface LitemallCommentMapper {
* This method corresponds to the database table litemall_comment * This method corresponds to the database table litemall_comment
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallCommentMapper { ...@@ -69,7 +79,7 @@ public interface LitemallCommentMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallComment selectByPrimaryKey(Integer id); List<LitemallComment> selectByExample(LitemallCommentExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallCommentMapper { ...@@ -80,6 +90,23 @@ public interface LitemallCommentMapper {
*/ */
LitemallComment selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallComment.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment * This method corresponds to the database table litemall_comment
...@@ -119,7 +146,7 @@ public interface LitemallCommentMapper { ...@@ -119,7 +146,7 @@ public interface LitemallCommentMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallCommentMapper { ...@@ -128,5 +155,5 @@ public interface LitemallCommentMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallComment selectOneByExampleSelective(@Param("example") LitemallCommentExample example, @Param("selective") LitemallComment.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallCouponMapper { ...@@ -51,8 +51,18 @@ public interface LitemallCouponMapper {
* This method corresponds to the database table litemall_coupon * This method corresponds to the database table litemall_coupon
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallCouponMapper { ...@@ -69,7 +79,7 @@ public interface LitemallCouponMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallCoupon selectByPrimaryKey(Integer id); List<LitemallCoupon> selectByExample(LitemallCouponExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallCouponMapper { ...@@ -80,6 +90,23 @@ public interface LitemallCouponMapper {
*/ */
LitemallCoupon selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallCoupon.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon * This method corresponds to the database table litemall_coupon
...@@ -119,7 +146,7 @@ public interface LitemallCouponMapper { ...@@ -119,7 +146,7 @@ public interface LitemallCouponMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallCouponMapper { ...@@ -128,5 +155,5 @@ public interface LitemallCouponMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallCoupon selectOneByExampleSelective(@Param("example") LitemallCouponExample example, @Param("selective") LitemallCoupon.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallFootprintMapper { ...@@ -51,8 +51,18 @@ public interface LitemallFootprintMapper {
* This method corresponds to the database table litemall_footprint * This method corresponds to the database table litemall_footprint
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallFootprintMapper { ...@@ -69,7 +79,7 @@ public interface LitemallFootprintMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallFootprint selectByPrimaryKey(Integer id); List<LitemallFootprint> selectByExample(LitemallFootprintExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallFootprintMapper { ...@@ -80,6 +90,23 @@ public interface LitemallFootprintMapper {
*/ */
LitemallFootprint selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallFootprint.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint * This method corresponds to the database table litemall_footprint
...@@ -119,7 +146,7 @@ public interface LitemallFootprintMapper { ...@@ -119,7 +146,7 @@ public interface LitemallFootprintMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallFootprintMapper { ...@@ -128,5 +155,5 @@ public interface LitemallFootprintMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallFootprint selectOneByExampleSelective(@Param("example") LitemallFootprintExample example, @Param("selective") LitemallFootprint.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallGoodsAttributeMapper { ...@@ -51,8 +51,18 @@ public interface LitemallGoodsAttributeMapper {
* This method corresponds to the database table litemall_goods_attribute * This method corresponds to the database table litemall_goods_attribute
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallGoodsAttributeMapper { ...@@ -69,7 +79,7 @@ public interface LitemallGoodsAttributeMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallGoodsAttribute selectByPrimaryKey(Integer id); List<LitemallGoodsAttribute> selectByExample(LitemallGoodsAttributeExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallGoodsAttributeMapper { ...@@ -80,6 +90,23 @@ public interface LitemallGoodsAttributeMapper {
*/ */
LitemallGoodsAttribute selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoodsAttribute.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute * This method corresponds to the database table litemall_goods_attribute
...@@ -119,7 +146,7 @@ public interface LitemallGoodsAttributeMapper { ...@@ -119,7 +146,7 @@ public interface LitemallGoodsAttributeMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallGoodsAttributeMapper { ...@@ -128,5 +155,5 @@ public interface LitemallGoodsAttributeMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallGoodsAttribute selectOneByExampleSelective(@Param("example") LitemallGoodsAttributeExample example, @Param("selective") LitemallGoodsAttribute.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,16 +51,27 @@ public interface LitemallGoodsMapper { ...@@ -51,16 +51,27 @@ public interface LitemallGoodsMapper {
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
List<LitemallGoods> selectByExampleWithBLOBs(LitemallGoodsExample example); LitemallGoods selectOneByExample(LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
List<LitemallGoods> selectByExample(LitemallGoodsExample example); 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 was generated by MyBatis Generator.
...@@ -77,7 +88,15 @@ public interface LitemallGoodsMapper { ...@@ -77,7 +88,15 @@ public interface LitemallGoodsMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallGoods selectByPrimaryKey(Integer id); List<LitemallGoods> selectByExampleWithBLOBs(LitemallGoodsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
*/
List<LitemallGoods> selectByExample(LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -94,15 +113,16 @@ public interface LitemallGoodsMapper { ...@@ -94,15 +113,16 @@ public interface LitemallGoodsMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByExampleSelective(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example); LitemallGoods selectByPrimaryKey(Integer id);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
int updateByExampleWithBLOBs(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example); LitemallGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -110,7 +130,7 @@ public interface LitemallGoodsMapper { ...@@ -110,7 +130,7 @@ public interface LitemallGoodsMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByExample(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example); int updateByExampleSelective(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -118,7 +138,7 @@ public interface LitemallGoodsMapper { ...@@ -118,7 +138,7 @@ public interface LitemallGoodsMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByPrimaryKeySelective(LitemallGoods record); int updateByExampleWithBLOBs(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -126,7 +146,7 @@ public interface LitemallGoodsMapper { ...@@ -126,7 +146,7 @@ public interface LitemallGoodsMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByPrimaryKeyWithBLOBs(LitemallGoods record); int updateByExample(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -134,16 +154,23 @@ public interface LitemallGoodsMapper { ...@@ -134,16 +154,23 @@ public interface LitemallGoodsMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByPrimaryKey(LitemallGoods record); int updateByPrimaryKeySelective(LitemallGoods record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallGoods selectOneByExample(LitemallGoodsExample example); int updateByPrimaryKeyWithBLOBs(LitemallGoods record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
*/
int updateByPrimaryKey(LitemallGoods record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -152,7 +179,7 @@ public interface LitemallGoodsMapper { ...@@ -152,7 +179,7 @@ public interface LitemallGoodsMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallGoods selectOneByExampleSelective(@Param("example") LitemallGoodsExample example, @Param("selective") LitemallGoods.Column ... selective); int logicalDeleteByExample(@Param("example") LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -161,5 +188,5 @@ public interface LitemallGoodsMapper { ...@@ -161,5 +188,5 @@ public interface LitemallGoodsMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallGoods selectOneByExampleWithBLOBs(LitemallGoodsExample example); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -51,8 +51,18 @@ public interface LitemallGoodsSpecificationMapper {
* This method corresponds to the database table litemall_goods_specification * This method corresponds to the database table litemall_goods_specification
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -69,7 +79,7 @@ public interface LitemallGoodsSpecificationMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallGoodsSpecification selectByPrimaryKey(Integer id); List<LitemallGoodsSpecification> selectByExample(LitemallGoodsSpecificationExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -80,6 +90,23 @@ public interface LitemallGoodsSpecificationMapper {
*/ */
LitemallGoodsSpecification selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoodsSpecification.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification * This method corresponds to the database table litemall_goods_specification
...@@ -119,7 +146,7 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -119,7 +146,7 @@ public interface LitemallGoodsSpecificationMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -128,5 +155,5 @@ public interface LitemallGoodsSpecificationMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallGoodsSpecification selectOneByExampleSelective(@Param("example") LitemallGoodsSpecificationExample example, @Param("selective") LitemallGoodsSpecification.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallIssueMapper { ...@@ -51,8 +51,18 @@ public interface LitemallIssueMapper {
* This method corresponds to the database table litemall_issue * This method corresponds to the database table litemall_issue
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallIssueMapper { ...@@ -69,7 +79,7 @@ public interface LitemallIssueMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallIssue selectByPrimaryKey(Integer id); List<LitemallIssue> selectByExample(LitemallIssueExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallIssueMapper { ...@@ -80,6 +90,23 @@ public interface LitemallIssueMapper {
*/ */
LitemallIssue selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallIssue.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue * This method corresponds to the database table litemall_issue
...@@ -119,7 +146,7 @@ public interface LitemallIssueMapper { ...@@ -119,7 +146,7 @@ public interface LitemallIssueMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallIssueMapper { ...@@ -128,5 +155,5 @@ public interface LitemallIssueMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallIssue selectOneByExampleSelective(@Param("example") LitemallIssueExample example, @Param("selective") LitemallIssue.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallKeywordMapper { ...@@ -51,8 +51,18 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword * This method corresponds to the database table litemall_keyword
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallKeywordMapper { ...@@ -69,7 +79,7 @@ public interface LitemallKeywordMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallKeyword selectByPrimaryKey(Integer id); List<LitemallKeyword> selectByExample(LitemallKeywordExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallKeywordMapper { ...@@ -80,6 +90,23 @@ public interface LitemallKeywordMapper {
*/ */
LitemallKeyword selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallKeyword.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword * This method corresponds to the database table litemall_keyword
...@@ -119,7 +146,7 @@ public interface LitemallKeywordMapper { ...@@ -119,7 +146,7 @@ public interface LitemallKeywordMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallKeywordMapper { ...@@ -128,5 +155,5 @@ public interface LitemallKeywordMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallKeyword selectOneByExampleSelective(@Param("example") LitemallKeywordExample example, @Param("selective") LitemallKeyword.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallOrderGoodsMapper { ...@@ -51,8 +51,18 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods * This method corresponds to the database table litemall_order_goods
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallOrderGoodsMapper { ...@@ -69,7 +79,7 @@ public interface LitemallOrderGoodsMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallOrderGoods selectByPrimaryKey(Integer id); List<LitemallOrderGoods> selectByExample(LitemallOrderGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallOrderGoodsMapper { ...@@ -80,6 +90,23 @@ public interface LitemallOrderGoodsMapper {
*/ */
LitemallOrderGoods selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrderGoods.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods * This method corresponds to the database table litemall_order_goods
...@@ -119,7 +146,7 @@ public interface LitemallOrderGoodsMapper { ...@@ -119,7 +146,7 @@ public interface LitemallOrderGoodsMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallOrderGoodsMapper { ...@@ -128,5 +155,5 @@ public interface LitemallOrderGoodsMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallOrderGoods selectOneByExampleSelective(@Param("example") LitemallOrderGoodsExample example, @Param("selective") LitemallOrderGoods.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallOrderMapper { ...@@ -51,8 +51,18 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order * This method corresponds to the database table litemall_order
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallOrderMapper { ...@@ -69,7 +79,7 @@ public interface LitemallOrderMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallOrder selectByPrimaryKey(Integer id); List<LitemallOrder> selectByExample(LitemallOrderExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallOrderMapper { ...@@ -80,6 +90,23 @@ public interface LitemallOrderMapper {
*/ */
LitemallOrder selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrder.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order * This method corresponds to the database table litemall_order
...@@ -119,7 +146,7 @@ public interface LitemallOrderMapper { ...@@ -119,7 +146,7 @@ public interface LitemallOrderMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallOrderMapper { ...@@ -128,5 +155,5 @@ public interface LitemallOrderMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallOrder selectOneByExampleSelective(@Param("example") LitemallOrderExample example, @Param("selective") LitemallOrder.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
...@@ -51,8 +51,18 @@ public interface LitemallProductMapper { ...@@ -51,8 +51,18 @@ public interface LitemallProductMapper {
* This method corresponds to the database table litemall_product * This method corresponds to the database table litemall_product
* *
* @mbg.generated * @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. * This method was generated by MyBatis Generator.
...@@ -69,7 +79,7 @@ public interface LitemallProductMapper { ...@@ -69,7 +79,7 @@ public interface LitemallProductMapper {
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallProduct selectByPrimaryKey(Integer id); List<LitemallProduct> selectByExample(LitemallProductExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -80,6 +90,23 @@ public interface LitemallProductMapper { ...@@ -80,6 +90,23 @@ public interface LitemallProductMapper {
*/ */
LitemallProduct selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallProduct.Column ... selective); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product * This method corresponds to the database table litemall_product
...@@ -119,7 +146,7 @@ public interface LitemallProductMapper { ...@@ -119,7 +146,7 @@ public interface LitemallProductMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @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. * This method was generated by MyBatis Generator.
...@@ -128,5 +155,5 @@ public interface LitemallProductMapper { ...@@ -128,5 +155,5 @@ public interface LitemallProductMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallProduct selectOneByExampleSelective(@Param("example") LitemallProductExample example, @Param("selective") LitemallProduct.Column ... selective); int logicalDeleteByPrimaryKey(Integer id);
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment