Commit 94463c26 authored by Junling Bu's avatar Junling Bu
Browse files

litemall-db模块更新:

1. mybatis generator更新1.3.7
2. mybatis-generator-plugin更新1.2.12
3. 更新所有自动生成代码
4. OrderMapper,实现基于update_time的乐观锁更新
parent d4b95ef2
...@@ -35,8 +35,6 @@ ...@@ -35,8 +35,6 @@
<!-- 逻辑删除-未删除值 --> <!-- 逻辑删除-未删除值 -->
<property name="logicalUnDeleteValue" value="0"/> <property name="logicalUnDeleteValue" value="0"/>
</plugin> </plugin>
<!-- 乐观锁插件 -->
<plugin type="com.itfsw.mybatis.generator.plugins.OptimisticLockerPlugin"/>
<commentGenerator> <commentGenerator>
<property name="suppressDate" value="true"/> <property name="suppressDate" value="true"/>
...@@ -49,6 +47,9 @@ ...@@ -49,6 +47,9 @@
userId="litemall" userId="litemall"
password="litemall123456"/> password="litemall123456"/>
<javaTypeResolver>
<property name="useJSR310Types" value="true"/>
</javaTypeResolver>
<javaModelGenerator targetPackage="org.linlinjava.litemall.db.domain" targetProject="src/main/java"/> <javaModelGenerator targetPackage="org.linlinjava.litemall.db.domain" targetProject="src/main/java"/>
<sqlMapGenerator targetPackage="org.linlinjava.litemall.db.dao" targetProject="src/main/resources"/> <sqlMapGenerator targetPackage="org.linlinjava.litemall.db.dao" targetProject="src/main/resources"/>
...@@ -56,165 +57,106 @@ ...@@ -56,165 +57,106 @@
targetProject="src/main/java"/> targetProject="src/main/java"/>
<!--表名--> <!--表名-->
<table tableName="litemall_ad"> <table tableName="litemall_ad">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="start_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="end_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_address"> <table tableName="litemall_address">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_admin"> <table tableName="litemall_admin">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="last_login_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_brand"> <table tableName="litemall_brand">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_cart"> <table tableName="litemall_cart">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride column="specifications" javaType="java.lang.String[]" <columnOverride column="specifications" javaType="java.lang.String[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/> typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_category"> <table tableName="litemall_category">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_collect"> <table tableName="litemall_collect">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_comment"> <table tableName="litemall_comment">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
<columnOverride column="pic_urls" javaType="java.lang.String[]" <columnOverride column="pic_urls" javaType="java.lang.String[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/> typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
</table> </table>
<table tableName="litemall_feedback"> <table tableName="litemall_feedback">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
<columnOverride column="pic_urls" javaType="java.lang.String[]" <columnOverride column="pic_urls" javaType="java.lang.String[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/> typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
</table> </table>
<table tableName="litemall_footprint"> <table tableName="litemall_footprint">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_goods"> <table tableName="litemall_goods">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
<columnOverride column="gallery" javaType="java.lang.String[]" <columnOverride column="gallery" javaType="java.lang.String[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/> typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
</table> </table>
<table tableName="litemall_goods_attribute"> <table tableName="litemall_goods_attribute">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_goods_specification"> <table tableName="litemall_goods_specification">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/> </table>
<table tableName="litemall_goods_product">
<generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride column="specifications" javaType="java.lang.String[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
</table> </table>
<table tableName="litemall_issue"> <table tableName="litemall_issue">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_keyword"> <table tableName="litemall_keyword">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_order"> <table tableName="litemall_order">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="pay_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="ship_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="confirm_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="end_time"/>
</table> </table>
<table tableName="litemall_order_goods"> <table tableName="litemall_order_goods">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride column="specifications" javaType="java.lang.String[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table>
<table tableName="litemall_product">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride column="specifications" javaType="java.lang.String[]" <columnOverride column="specifications" javaType="java.lang.String[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/> typeHandler="org.linlinjava.litemall.db.mybatis.JsonStringArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/> <columnOverride column="comments" javaType="java.lang.Integer[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"/>
</table> </table>
<table tableName="litemall_region"> <table tableName="litemall_region">
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
</table> </table>
<table tableName="litemall_search_history"> <table tableName="litemall_search_history">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_storage"> <table tableName="litemall_storage">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="modified"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_topic"> <table tableName="litemall_topic">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride column="goods" javaType="java.lang.Integer[]" <columnOverride column="goods" javaType="java.lang.Integer[]"
typeHandler="org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"/> typeHandler="org.linlinjava.litemall.db.mybatis.JsonIntegerArrayTypeHandler"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_user"> <table tableName="litemall_user">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDate" column="birthday"/>
<columnOverride javaType="java.time.LocalDateTime" column="last_login_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
<table tableName="litemall_system"> <table tableName="litemall_system">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
</table> </table>
<table tableName="litemall_user_formid"> <table tableName="litemall_user_formid">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="expire_time"/>
</table> </table>
<table tableName="litemall_groupon_rules"> <table tableName="litemall_groupon_rules">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
<columnOverride javaType="java.time.LocalDateTime" column="expire_time"/>
</table> </table>
<table tableName="litemall_groupon"> <table tableName="litemall_groupon">
<property name="versionColumn" value="version"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/> <generatedKey column="id" sqlStatement="MySql" identity="true"/>
<columnOverride javaType="java.time.LocalDateTime" column="add_time"/>
</table> </table>
</context> </context>
</generatorConfiguration> </generatorConfiguration>
\ No newline at end of file
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<plugin> <plugin>
<groupId>org.mybatis.generator</groupId> <groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId> <artifactId>mybatis-generator-maven-plugin</artifactId>
<version>1.3.6</version> <version>1.3.7</version>
<configuration> <configuration>
<configurationFile> <configurationFile>
mybatis-generator/generatorConfig.xml mybatis-generator/generatorConfig.xml
...@@ -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.2.10</version> <version>1.2.12</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
......
...@@ -14,15 +14,6 @@ public interface LitemallAdMapper { ...@@ -14,15 +14,6 @@ public interface LitemallAdMapper {
*/ */
long countByExample(LitemallAdExample example); long countByExample(LitemallAdExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallAdExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad * This method corresponds to the database table litemall_ad
...@@ -31,15 +22,6 @@ public interface LitemallAdMapper { ...@@ -31,15 +22,6 @@ public interface LitemallAdMapper {
*/ */
int deleteByExample(LitemallAdExample example); int deleteByExample(LitemallAdExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad * This method corresponds to the database table litemall_ad
...@@ -125,24 +107,6 @@ public interface LitemallAdMapper { ...@@ -125,24 +107,6 @@ public interface LitemallAdMapper {
*/ */
LitemallAd selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallAd selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallAd record, @Param("example") LitemallAdExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallAd record, @Param("example") LitemallAdExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad * This method corresponds to the database table litemall_ad
...@@ -159,24 +123,6 @@ public interface LitemallAdMapper { ...@@ -159,24 +123,6 @@ public interface LitemallAdMapper {
*/ */
int updateByExample(@Param("record") LitemallAd record, @Param("example") LitemallAdExample example); int updateByExample(@Param("record") LitemallAd record, @Param("example") LitemallAdExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallAd record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallAd record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad * This method corresponds to the database table litemall_ad
......
...@@ -14,15 +14,6 @@ public interface LitemallAddressMapper { ...@@ -14,15 +14,6 @@ public interface LitemallAddressMapper {
*/ */
long countByExample(LitemallAddressExample example); long countByExample(LitemallAddressExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallAddressExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address * This method corresponds to the database table litemall_address
...@@ -31,15 +22,6 @@ public interface LitemallAddressMapper { ...@@ -31,15 +22,6 @@ public interface LitemallAddressMapper {
*/ */
int deleteByExample(LitemallAddressExample example); int deleteByExample(LitemallAddressExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address * This method corresponds to the database table litemall_address
...@@ -125,24 +107,6 @@ public interface LitemallAddressMapper { ...@@ -125,24 +107,6 @@ public interface LitemallAddressMapper {
*/ */
LitemallAddress selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallAddress selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address * This method corresponds to the database table litemall_address
...@@ -159,24 +123,6 @@ public interface LitemallAddressMapper { ...@@ -159,24 +123,6 @@ public interface LitemallAddressMapper {
*/ */
int updateByExample(@Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example); int updateByExample(@Param("record") LitemallAddress record, @Param("example") LitemallAddressExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallAddress record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallAddress record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address * This method corresponds to the database table litemall_address
......
...@@ -14,15 +14,6 @@ public interface LitemallAdminMapper { ...@@ -14,15 +14,6 @@ public interface LitemallAdminMapper {
*/ */
long countByExample(LitemallAdminExample example); long countByExample(LitemallAdminExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallAdminExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin * This method corresponds to the database table litemall_admin
...@@ -31,15 +22,6 @@ public interface LitemallAdminMapper { ...@@ -31,15 +22,6 @@ public interface LitemallAdminMapper {
*/ */
int deleteByExample(LitemallAdminExample example); int deleteByExample(LitemallAdminExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin * This method corresponds to the database table litemall_admin
...@@ -125,24 +107,6 @@ public interface LitemallAdminMapper { ...@@ -125,24 +107,6 @@ public interface LitemallAdminMapper {
*/ */
LitemallAdmin selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallAdmin selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin * This method corresponds to the database table litemall_admin
...@@ -159,24 +123,6 @@ public interface LitemallAdminMapper { ...@@ -159,24 +123,6 @@ public interface LitemallAdminMapper {
*/ */
int updateByExample(@Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example); int updateByExample(@Param("record") LitemallAdmin record, @Param("example") LitemallAdminExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallAdmin record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallAdmin record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin * This method corresponds to the database table litemall_admin
......
...@@ -14,15 +14,6 @@ public interface LitemallBrandMapper { ...@@ -14,15 +14,6 @@ public interface LitemallBrandMapper {
*/ */
long countByExample(LitemallBrandExample example); long countByExample(LitemallBrandExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallBrandExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand * This method corresponds to the database table litemall_brand
...@@ -31,15 +22,6 @@ public interface LitemallBrandMapper { ...@@ -31,15 +22,6 @@ public interface LitemallBrandMapper {
*/ */
int deleteByExample(LitemallBrandExample example); int deleteByExample(LitemallBrandExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand * This method corresponds to the database table litemall_brand
...@@ -125,24 +107,6 @@ public interface LitemallBrandMapper { ...@@ -125,24 +107,6 @@ public interface LitemallBrandMapper {
*/ */
LitemallBrand selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallBrand selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand * This method corresponds to the database table litemall_brand
...@@ -159,24 +123,6 @@ public interface LitemallBrandMapper { ...@@ -159,24 +123,6 @@ public interface LitemallBrandMapper {
*/ */
int updateByExample(@Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example); int updateByExample(@Param("record") LitemallBrand record, @Param("example") LitemallBrandExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallBrand record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallBrand record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand * This method corresponds to the database table litemall_brand
......
...@@ -14,15 +14,6 @@ public interface LitemallCartMapper { ...@@ -14,15 +14,6 @@ public interface LitemallCartMapper {
*/ */
long countByExample(LitemallCartExample example); long countByExample(LitemallCartExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCartExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart * This method corresponds to the database table litemall_cart
...@@ -31,15 +22,6 @@ public interface LitemallCartMapper { ...@@ -31,15 +22,6 @@ public interface LitemallCartMapper {
*/ */
int deleteByExample(LitemallCartExample example); int deleteByExample(LitemallCartExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart * This method corresponds to the database table litemall_cart
...@@ -125,24 +107,6 @@ public interface LitemallCartMapper { ...@@ -125,24 +107,6 @@ public interface LitemallCartMapper {
*/ */
LitemallCart selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallCart selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallCart record, @Param("example") LitemallCartExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallCart record, @Param("example") LitemallCartExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart * This method corresponds to the database table litemall_cart
...@@ -159,24 +123,6 @@ public interface LitemallCartMapper { ...@@ -159,24 +123,6 @@ public interface LitemallCartMapper {
*/ */
int updateByExample(@Param("record") LitemallCart record, @Param("example") LitemallCartExample example); int updateByExample(@Param("record") LitemallCart record, @Param("example") LitemallCartExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallCart record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallCart record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart * This method corresponds to the database table litemall_cart
......
...@@ -14,15 +14,6 @@ public interface LitemallCategoryMapper { ...@@ -14,15 +14,6 @@ public interface LitemallCategoryMapper {
*/ */
long countByExample(LitemallCategoryExample example); long countByExample(LitemallCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCategoryExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
...@@ -31,15 +22,6 @@ public interface LitemallCategoryMapper { ...@@ -31,15 +22,6 @@ public interface LitemallCategoryMapper {
*/ */
int deleteByExample(LitemallCategoryExample example); int deleteByExample(LitemallCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
...@@ -125,24 +107,6 @@ public interface LitemallCategoryMapper { ...@@ -125,24 +107,6 @@ public interface LitemallCategoryMapper {
*/ */
LitemallCategory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallCategory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
...@@ -159,24 +123,6 @@ public interface LitemallCategoryMapper { ...@@ -159,24 +123,6 @@ public interface LitemallCategoryMapper {
*/ */
int updateByExample(@Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example); int updateByExample(@Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallCategory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallCategory record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
......
...@@ -14,15 +14,6 @@ public interface LitemallCollectMapper { ...@@ -14,15 +14,6 @@ public interface LitemallCollectMapper {
*/ */
long countByExample(LitemallCollectExample example); long countByExample(LitemallCollectExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCollectExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect * This method corresponds to the database table litemall_collect
...@@ -31,15 +22,6 @@ public interface LitemallCollectMapper { ...@@ -31,15 +22,6 @@ public interface LitemallCollectMapper {
*/ */
int deleteByExample(LitemallCollectExample example); int deleteByExample(LitemallCollectExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect * This method corresponds to the database table litemall_collect
...@@ -125,24 +107,6 @@ public interface LitemallCollectMapper { ...@@ -125,24 +107,6 @@ public interface LitemallCollectMapper {
*/ */
LitemallCollect selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallCollect selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect * This method corresponds to the database table litemall_collect
...@@ -159,24 +123,6 @@ public interface LitemallCollectMapper { ...@@ -159,24 +123,6 @@ public interface LitemallCollectMapper {
*/ */
int updateByExample(@Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example); int updateByExample(@Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallCollect record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallCollect record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect * This method corresponds to the database table litemall_collect
......
...@@ -14,15 +14,6 @@ public interface LitemallCommentMapper { ...@@ -14,15 +14,6 @@ public interface LitemallCommentMapper {
*/ */
long countByExample(LitemallCommentExample example); long countByExample(LitemallCommentExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallCommentExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment * This method corresponds to the database table litemall_comment
...@@ -31,15 +22,6 @@ public interface LitemallCommentMapper { ...@@ -31,15 +22,6 @@ public interface LitemallCommentMapper {
*/ */
int deleteByExample(LitemallCommentExample example); int deleteByExample(LitemallCommentExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment * This method corresponds to the database table litemall_comment
...@@ -125,24 +107,6 @@ public interface LitemallCommentMapper { ...@@ -125,24 +107,6 @@ public interface LitemallCommentMapper {
*/ */
LitemallComment selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallComment selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment * This method corresponds to the database table litemall_comment
...@@ -159,24 +123,6 @@ public interface LitemallCommentMapper { ...@@ -159,24 +123,6 @@ public interface LitemallCommentMapper {
*/ */
int updateByExample(@Param("record") LitemallComment record, @Param("example") LitemallCommentExample example); int updateByExample(@Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallComment record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallComment record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment * This method corresponds to the database table litemall_comment
......
package org.linlinjava.litemall.db.dao; package org.linlinjava.litemall.db.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallFeedback; import org.linlinjava.litemall.db.domain.LitemallFeedback;
import org.linlinjava.litemall.db.domain.LitemallFeedbackExample; import org.linlinjava.litemall.db.domain.LitemallFeedbackExample;
import java.util.List;
public interface LitemallFeedbackMapper { public interface LitemallFeedbackMapper {
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -15,15 +14,6 @@ public interface LitemallFeedbackMapper { ...@@ -15,15 +14,6 @@ public interface LitemallFeedbackMapper {
*/ */
long countByExample(LitemallFeedbackExample example); long countByExample(LitemallFeedbackExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallFeedbackExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback * This method corresponds to the database table litemall_feedback
...@@ -32,15 +22,6 @@ public interface LitemallFeedbackMapper { ...@@ -32,15 +22,6 @@ public interface LitemallFeedbackMapper {
*/ */
int deleteByExample(LitemallFeedbackExample example); int deleteByExample(LitemallFeedbackExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback * This method corresponds to the database table litemall_feedback
...@@ -81,7 +62,7 @@ public interface LitemallFeedbackMapper { ...@@ -81,7 +62,7 @@ public interface LitemallFeedbackMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallFeedback selectOneByExampleSelective(@Param("example") LitemallFeedbackExample example, @Param("selective") LitemallFeedback.Column... selective); LitemallFeedback selectOneByExampleSelective(@Param("example") LitemallFeedbackExample example, @Param("selective") LitemallFeedback.Column ... selective);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -90,7 +71,7 @@ public interface LitemallFeedbackMapper { ...@@ -90,7 +71,7 @@ public interface LitemallFeedbackMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
List<LitemallFeedback> selectByExampleSelective(@Param("example") LitemallFeedbackExample example, @Param("selective") LitemallFeedback.Column... selective); List<LitemallFeedback> selectByExampleSelective(@Param("example") LitemallFeedbackExample example, @Param("selective") LitemallFeedback.Column ... selective);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -107,7 +88,7 @@ public interface LitemallFeedbackMapper { ...@@ -107,7 +88,7 @@ public interface LitemallFeedbackMapper {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallFeedback selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallFeedback.Column... selective); LitemallFeedback selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallFeedback.Column ... selective);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
...@@ -126,24 +107,6 @@ public interface LitemallFeedbackMapper { ...@@ -126,24 +107,6 @@ public interface LitemallFeedbackMapper {
*/ */
LitemallFeedback selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallFeedback selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallFeedback record, @Param("example") LitemallFeedbackExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallFeedback record, @Param("example") LitemallFeedbackExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback * This method corresponds to the database table litemall_feedback
...@@ -160,24 +123,6 @@ public interface LitemallFeedbackMapper { ...@@ -160,24 +123,6 @@ public interface LitemallFeedbackMapper {
*/ */
int updateByExample(@Param("record") LitemallFeedback record, @Param("example") LitemallFeedbackExample example); int updateByExample(@Param("record") LitemallFeedback record, @Param("example") LitemallFeedbackExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallFeedback record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallFeedback record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_feedback * This method corresponds to the database table litemall_feedback
......
...@@ -14,15 +14,6 @@ public interface LitemallFootprintMapper { ...@@ -14,15 +14,6 @@ public interface LitemallFootprintMapper {
*/ */
long countByExample(LitemallFootprintExample example); long countByExample(LitemallFootprintExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallFootprintExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint * This method corresponds to the database table litemall_footprint
...@@ -31,15 +22,6 @@ public interface LitemallFootprintMapper { ...@@ -31,15 +22,6 @@ public interface LitemallFootprintMapper {
*/ */
int deleteByExample(LitemallFootprintExample example); int deleteByExample(LitemallFootprintExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint * This method corresponds to the database table litemall_footprint
...@@ -125,24 +107,6 @@ public interface LitemallFootprintMapper { ...@@ -125,24 +107,6 @@ public interface LitemallFootprintMapper {
*/ */
LitemallFootprint selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallFootprint selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallFootprint record, @Param("example") LitemallFootprintExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallFootprint record, @Param("example") LitemallFootprintExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint * This method corresponds to the database table litemall_footprint
...@@ -159,24 +123,6 @@ public interface LitemallFootprintMapper { ...@@ -159,24 +123,6 @@ public interface LitemallFootprintMapper {
*/ */
int updateByExample(@Param("record") LitemallFootprint record, @Param("example") LitemallFootprintExample example); int updateByExample(@Param("record") LitemallFootprint record, @Param("example") LitemallFootprintExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallFootprint record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallFootprint record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint * This method corresponds to the database table litemall_footprint
......
...@@ -14,15 +14,6 @@ public interface LitemallGoodsAttributeMapper { ...@@ -14,15 +14,6 @@ public interface LitemallGoodsAttributeMapper {
*/ */
long countByExample(LitemallGoodsAttributeExample example); long countByExample(LitemallGoodsAttributeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGoodsAttributeExample example);
/** /**
* This method was generated by MyBatis Generator. * This method 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
...@@ -31,15 +22,6 @@ public interface LitemallGoodsAttributeMapper { ...@@ -31,15 +22,6 @@ public interface LitemallGoodsAttributeMapper {
*/ */
int deleteByExample(LitemallGoodsAttributeExample example); int deleteByExample(LitemallGoodsAttributeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method 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
...@@ -125,24 +107,6 @@ public interface LitemallGoodsAttributeMapper { ...@@ -125,24 +107,6 @@ public interface LitemallGoodsAttributeMapper {
*/ */
LitemallGoodsAttribute selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallGoodsAttribute selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);
/** /**
* This method was generated by MyBatis Generator. * This method 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
...@@ -159,24 +123,6 @@ public interface LitemallGoodsAttributeMapper { ...@@ -159,24 +123,6 @@ public interface LitemallGoodsAttributeMapper {
*/ */
int updateByExample(@Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example); int updateByExample(@Param("record") LitemallGoodsAttribute record, @Param("example") LitemallGoodsAttributeExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGoodsAttribute record);
/** /**
* This method was generated by MyBatis Generator. * This method 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
......
...@@ -14,15 +14,6 @@ public interface LitemallGoodsMapper { ...@@ -14,15 +14,6 @@ public interface LitemallGoodsMapper {
*/ */
long countByExample(LitemallGoodsExample example); long countByExample(LitemallGoodsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
...@@ -31,15 +22,6 @@ public interface LitemallGoodsMapper { ...@@ -31,15 +22,6 @@ public interface LitemallGoodsMapper {
*/ */
int deleteByExample(LitemallGoodsExample example); int deleteByExample(LitemallGoodsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
...@@ -142,24 +124,6 @@ public interface LitemallGoodsMapper { ...@@ -142,24 +124,6 @@ public interface LitemallGoodsMapper {
*/ */
LitemallGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
...@@ -168,15 +132,6 @@ public interface LitemallGoodsMapper { ...@@ -168,15 +132,6 @@ public interface LitemallGoodsMapper {
*/ */
int updateByExampleSelective(@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 corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleWithBLOBs(@Param("version") Integer version, @Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
...@@ -193,24 +148,6 @@ public interface LitemallGoodsMapper { ...@@ -193,24 +148,6 @@ public interface LitemallGoodsMapper {
*/ */
int updateByExample(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example); int updateByExample(@Param("record") LitemallGoods record, @Param("example") LitemallGoodsExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGoods record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGoods record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
...@@ -219,15 +156,6 @@ public interface LitemallGoodsMapper { ...@@ -219,15 +156,6 @@ public interface LitemallGoodsMapper {
*/ */
int updateByPrimaryKeySelective(LitemallGoods record); int updateByPrimaryKeySelective(LitemallGoods record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeyWithBLOBs(@Param("version") Integer version, @Param("record") LitemallGoods record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods * This method corresponds to the database table litemall_goods
......
...@@ -2,47 +2,29 @@ package org.linlinjava.litemall.db.dao; ...@@ -2,47 +2,29 @@ package org.linlinjava.litemall.db.dao;
import java.util.List; import java.util.List;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallProduct; import org.linlinjava.litemall.db.domain.LitemallGoodsProduct;
import org.linlinjava.litemall.db.domain.LitemallProductExample; import org.linlinjava.litemall.db.domain.LitemallGoodsProductExample;
public interface LitemallProductMapper { public interface LitemallGoodsProductMapper {
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
*/ */
long countByExample(LitemallProductExample example); long countByExample(LitemallGoodsProductExample example);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallProductExample example); int deleteByExample(LitemallGoodsProductExample example);
/** /**
* 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_goods_product
*
* @mbg.generated
*/
int deleteByExample(LitemallProductExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
* *
* @mbg.generated * @mbg.generated
*/ */
...@@ -50,161 +32,125 @@ public interface LitemallProductMapper { ...@@ -50,161 +32,125 @@ public interface LitemallProductMapper {
/** /**
* 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_goods_product
*
* @mbg.generated
*/
int insert(LitemallProduct record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
* *
* @mbg.generated * @mbg.generated
*/ */
int insertSelective(LitemallProduct record); int insert(LitemallGoodsProduct record);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallProduct selectOneByExample(LitemallProductExample example); int insertSelective(LitemallGoodsProduct record);
/** /**
* 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_goods_product
* *
* @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); LitemallGoodsProduct selectOneByExample(LitemallGoodsProductExample example);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
List<LitemallProduct> selectByExampleSelective(@Param("example") LitemallProductExample example, @Param("selective") LitemallProduct.Column ... selective); LitemallGoodsProduct selectOneByExampleSelective(@Param("example") LitemallGoodsProductExample example, @Param("selective") LitemallGoodsProduct.Column ... selective);
/** /**
* 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_goods_product
*
* @mbg.generated
*/
List<LitemallProduct> selectByExample(LitemallProductExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallProduct selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallProduct.Column ... selective); List<LitemallGoodsProduct> selectByExampleSelective(@Param("example") LitemallGoodsProductExample example, @Param("selective") LitemallGoodsProduct.Column ... selective);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
*/ */
LitemallProduct selectByPrimaryKey(Integer id); List<LitemallGoodsProduct> selectByExample(LitemallGoodsProductExample example);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
LitemallProduct selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallGoodsProduct selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallGoodsProduct.Column ... selective);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallProduct record, @Param("example") LitemallProductExample example); LitemallGoodsProduct 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_product * This method corresponds to the database table litemall_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallProduct record, @Param("example") LitemallProductExample example); LitemallGoodsProduct 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_goods_product
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByExampleSelective(@Param("record") LitemallProduct record, @Param("example") LitemallProductExample example); int updateByExampleSelective(@Param("record") LitemallGoodsProduct record, @Param("example") LitemallGoodsProductExample example);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByExample(@Param("record") LitemallProduct record, @Param("example") LitemallProductExample example); int updateByExample(@Param("record") LitemallGoodsProduct record, @Param("example") LitemallGoodsProductExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallProduct record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallProduct record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product * This method corresponds to the database table litemall_goods_product
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByPrimaryKeySelective(LitemallProduct record); int updateByPrimaryKeySelective(LitemallGoodsProduct record);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
*/ */
int updateByPrimaryKey(LitemallProduct record); int updateByPrimaryKey(LitemallGoodsProduct record);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
int logicalDeleteByExample(@Param("example") LitemallProductExample example); int logicalDeleteByExample(@Param("example") LitemallGoodsProductExample example);
/** /**
* 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_goods_product
* *
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
......
...@@ -14,15 +14,6 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -14,15 +14,6 @@ public interface LitemallGoodsSpecificationMapper {
*/ */
long countByExample(LitemallGoodsSpecificationExample example); long countByExample(LitemallGoodsSpecificationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGoodsSpecificationExample example);
/** /**
* This method was generated by MyBatis Generator. * This method 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
...@@ -31,15 +22,6 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -31,15 +22,6 @@ public interface LitemallGoodsSpecificationMapper {
*/ */
int deleteByExample(LitemallGoodsSpecificationExample example); int deleteByExample(LitemallGoodsSpecificationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method 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
...@@ -125,24 +107,6 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -125,24 +107,6 @@ public interface LitemallGoodsSpecificationMapper {
*/ */
LitemallGoodsSpecification selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallGoodsSpecification selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);
/** /**
* This method was generated by MyBatis Generator. * This method 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
...@@ -159,24 +123,6 @@ public interface LitemallGoodsSpecificationMapper { ...@@ -159,24 +123,6 @@ public interface LitemallGoodsSpecificationMapper {
*/ */
int updateByExample(@Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example); int updateByExample(@Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGoodsSpecification record);
/** /**
* This method was generated by MyBatis Generator. * This method 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
......
...@@ -14,15 +14,6 @@ public interface LitemallGrouponMapper { ...@@ -14,15 +14,6 @@ public interface LitemallGrouponMapper {
*/ */
long countByExample(LitemallGrouponExample example); long countByExample(LitemallGrouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGrouponExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon * This method corresponds to the database table litemall_groupon
...@@ -31,15 +22,6 @@ public interface LitemallGrouponMapper { ...@@ -31,15 +22,6 @@ public interface LitemallGrouponMapper {
*/ */
int deleteByExample(LitemallGrouponExample example); int deleteByExample(LitemallGrouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon * This method corresponds to the database table litemall_groupon
...@@ -125,24 +107,6 @@ public interface LitemallGrouponMapper { ...@@ -125,24 +107,6 @@ public interface LitemallGrouponMapper {
*/ */
LitemallGroupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallGroupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon * This method corresponds to the database table litemall_groupon
...@@ -159,24 +123,6 @@ public interface LitemallGrouponMapper { ...@@ -159,24 +123,6 @@ public interface LitemallGrouponMapper {
*/ */
int updateByExample(@Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example); int updateByExample(@Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGroupon record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGroupon record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon * This method corresponds to the database table litemall_groupon
......
...@@ -14,15 +14,6 @@ public interface LitemallGrouponRulesMapper { ...@@ -14,15 +14,6 @@ public interface LitemallGrouponRulesMapper {
*/ */
long countByExample(LitemallGrouponRulesExample example); long countByExample(LitemallGrouponRulesExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallGrouponRulesExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules * This method corresponds to the database table litemall_groupon_rules
...@@ -31,15 +22,6 @@ public interface LitemallGrouponRulesMapper { ...@@ -31,15 +22,6 @@ public interface LitemallGrouponRulesMapper {
*/ */
int deleteByExample(LitemallGrouponRulesExample example); int deleteByExample(LitemallGrouponRulesExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules * This method corresponds to the database table litemall_groupon_rules
...@@ -125,24 +107,6 @@ public interface LitemallGrouponRulesMapper { ...@@ -125,24 +107,6 @@ public interface LitemallGrouponRulesMapper {
*/ */
LitemallGrouponRules selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallGrouponRules selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules * This method corresponds to the database table litemall_groupon_rules
...@@ -159,24 +123,6 @@ public interface LitemallGrouponRulesMapper { ...@@ -159,24 +123,6 @@ public interface LitemallGrouponRulesMapper {
*/ */
int updateByExample(@Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example); int updateByExample(@Param("record") LitemallGrouponRules record, @Param("example") LitemallGrouponRulesExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallGrouponRules record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallGrouponRules record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_groupon_rules * This method corresponds to the database table litemall_groupon_rules
......
...@@ -14,15 +14,6 @@ public interface LitemallIssueMapper { ...@@ -14,15 +14,6 @@ public interface LitemallIssueMapper {
*/ */
long countByExample(LitemallIssueExample example); long countByExample(LitemallIssueExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallIssueExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue * This method corresponds to the database table litemall_issue
...@@ -31,15 +22,6 @@ public interface LitemallIssueMapper { ...@@ -31,15 +22,6 @@ public interface LitemallIssueMapper {
*/ */
int deleteByExample(LitemallIssueExample example); int deleteByExample(LitemallIssueExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue * This method corresponds to the database table litemall_issue
...@@ -125,24 +107,6 @@ public interface LitemallIssueMapper { ...@@ -125,24 +107,6 @@ public interface LitemallIssueMapper {
*/ */
LitemallIssue selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallIssue selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallIssue record, @Param("example") LitemallIssueExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallIssue record, @Param("example") LitemallIssueExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue * This method corresponds to the database table litemall_issue
...@@ -159,24 +123,6 @@ public interface LitemallIssueMapper { ...@@ -159,24 +123,6 @@ public interface LitemallIssueMapper {
*/ */
int updateByExample(@Param("record") LitemallIssue record, @Param("example") LitemallIssueExample example); int updateByExample(@Param("record") LitemallIssue record, @Param("example") LitemallIssueExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallIssue record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallIssue record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue * This method corresponds to the database table litemall_issue
......
...@@ -14,15 +14,6 @@ public interface LitemallKeywordMapper { ...@@ -14,15 +14,6 @@ public interface LitemallKeywordMapper {
*/ */
long countByExample(LitemallKeywordExample example); long countByExample(LitemallKeywordExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallKeywordExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword * This method corresponds to the database table litemall_keyword
...@@ -31,15 +22,6 @@ public interface LitemallKeywordMapper { ...@@ -31,15 +22,6 @@ public interface LitemallKeywordMapper {
*/ */
int deleteByExample(LitemallKeywordExample example); int deleteByExample(LitemallKeywordExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword * This method corresponds to the database table litemall_keyword
...@@ -125,24 +107,6 @@ public interface LitemallKeywordMapper { ...@@ -125,24 +107,6 @@ public interface LitemallKeywordMapper {
*/ */
LitemallKeyword selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallKeyword selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword * This method corresponds to the database table litemall_keyword
...@@ -159,24 +123,6 @@ public interface LitemallKeywordMapper { ...@@ -159,24 +123,6 @@ public interface LitemallKeywordMapper {
*/ */
int updateByExample(@Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example); int updateByExample(@Param("record") LitemallKeyword record, @Param("example") LitemallKeywordExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallKeyword record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallKeyword record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword * This method corresponds to the database table litemall_keyword
......
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