Commit c6ed4cb4 authored by Junling Bu's avatar Junling Bu
Browse files

chore: mybatis第三方插件更新到1.2.10

parent 6e20baa0
...@@ -14,6 +14,15 @@ public interface LitemallProductMapper { ...@@ -14,6 +14,15 @@ public interface LitemallProductMapper {
*/ */
long countByExample(LitemallProductExample example); long countByExample(LitemallProductExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallProductExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product * This method corresponds to the database table litemall_product
...@@ -22,6 +31,15 @@ public interface LitemallProductMapper { ...@@ -22,6 +31,15 @@ public interface LitemallProductMapper {
*/ */
int deleteByExample(LitemallProductExample example); 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 was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product * This method corresponds to the database table litemall_product
...@@ -107,6 +125,24 @@ public interface LitemallProductMapper { ...@@ -107,6 +125,24 @@ public interface LitemallProductMapper {
*/ */
LitemallProduct selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallProduct selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallProduct record, @Param("example") LitemallProductExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallProduct record, @Param("example") LitemallProductExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product * This method corresponds to the database table litemall_product
...@@ -123,6 +159,24 @@ public interface LitemallProductMapper { ...@@ -123,6 +159,24 @@ public interface LitemallProductMapper {
*/ */
int updateByExample(@Param("record") LitemallProduct record, @Param("example") LitemallProductExample example); int updateByExample(@Param("record") LitemallProduct record, @Param("example") LitemallProductExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallProduct record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallProduct record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product * This method corresponds to the database table litemall_product
......
...@@ -14,6 +14,15 @@ public interface LitemallSearchHistoryMapper { ...@@ -14,6 +14,15 @@ public interface LitemallSearchHistoryMapper {
*/ */
long countByExample(LitemallSearchHistoryExample example); long countByExample(LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallSearchHistoryExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history * This method corresponds to the database table litemall_search_history
...@@ -22,6 +31,15 @@ public interface LitemallSearchHistoryMapper { ...@@ -22,6 +31,15 @@ public interface LitemallSearchHistoryMapper {
*/ */
int deleteByExample(LitemallSearchHistoryExample example); int deleteByExample(LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history * This method corresponds to the database table litemall_search_history
...@@ -107,6 +125,24 @@ public interface LitemallSearchHistoryMapper { ...@@ -107,6 +125,24 @@ public interface LitemallSearchHistoryMapper {
*/ */
LitemallSearchHistory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallSearchHistory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallSearchHistory record, @Param("example") LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallSearchHistory record, @Param("example") LitemallSearchHistoryExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history * This method corresponds to the database table litemall_search_history
...@@ -123,6 +159,24 @@ public interface LitemallSearchHistoryMapper { ...@@ -123,6 +159,24 @@ public interface LitemallSearchHistoryMapper {
*/ */
int updateByExample(@Param("record") LitemallSearchHistory record, @Param("example") LitemallSearchHistoryExample example); int updateByExample(@Param("record") LitemallSearchHistory record, @Param("example") LitemallSearchHistoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallSearchHistory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallSearchHistory record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_search_history * This method corresponds to the database table litemall_search_history
......
...@@ -14,6 +14,15 @@ public interface LitemallStorageMapper { ...@@ -14,6 +14,15 @@ public interface LitemallStorageMapper {
*/ */
long countByExample(LitemallStorageExample example); long countByExample(LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallStorageExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage * This method corresponds to the database table litemall_storage
...@@ -22,6 +31,15 @@ public interface LitemallStorageMapper { ...@@ -22,6 +31,15 @@ public interface LitemallStorageMapper {
*/ */
int deleteByExample(LitemallStorageExample example); int deleteByExample(LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage * This method corresponds to the database table litemall_storage
...@@ -107,6 +125,24 @@ public interface LitemallStorageMapper { ...@@ -107,6 +125,24 @@ public interface LitemallStorageMapper {
*/ */
LitemallStorage selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallStorage selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallStorage record, @Param("example") LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallStorage record, @Param("example") LitemallStorageExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage * This method corresponds to the database table litemall_storage
...@@ -123,6 +159,24 @@ public interface LitemallStorageMapper { ...@@ -123,6 +159,24 @@ public interface LitemallStorageMapper {
*/ */
int updateByExample(@Param("record") LitemallStorage record, @Param("example") LitemallStorageExample example); int updateByExample(@Param("record") LitemallStorage record, @Param("example") LitemallStorageExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallStorage record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallStorage record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_storage * This method corresponds to the database table litemall_storage
......
...@@ -14,6 +14,15 @@ public interface LitemallSystemMapper { ...@@ -14,6 +14,15 @@ public interface LitemallSystemMapper {
*/ */
long countByExample(LitemallSystemExample example); long countByExample(LitemallSystemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallSystemExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system * This method corresponds to the database table litemall_system
...@@ -22,6 +31,15 @@ public interface LitemallSystemMapper { ...@@ -22,6 +31,15 @@ public interface LitemallSystemMapper {
*/ */
int deleteByExample(LitemallSystemExample example); int deleteByExample(LitemallSystemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system * This method corresponds to the database table litemall_system
...@@ -107,6 +125,24 @@ public interface LitemallSystemMapper { ...@@ -107,6 +125,24 @@ public interface LitemallSystemMapper {
*/ */
LitemallSystem selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallSystem selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system * This method corresponds to the database table litemall_system
...@@ -123,6 +159,24 @@ public interface LitemallSystemMapper { ...@@ -123,6 +159,24 @@ public interface LitemallSystemMapper {
*/ */
int updateByExample(@Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example); int updateByExample(@Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallSystem record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallSystem record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_system * This method corresponds to the database table litemall_system
......
...@@ -14,6 +14,15 @@ public interface LitemallTopicMapper { ...@@ -14,6 +14,15 @@ public interface LitemallTopicMapper {
*/ */
long countByExample(LitemallTopicExample example); long countByExample(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallTopicExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic * This method corresponds to the database table litemall_topic
...@@ -22,6 +31,15 @@ public interface LitemallTopicMapper { ...@@ -22,6 +31,15 @@ public interface LitemallTopicMapper {
*/ */
int deleteByExample(LitemallTopicExample example); int deleteByExample(LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic * This method corresponds to the database table litemall_topic
...@@ -124,6 +142,24 @@ public interface LitemallTopicMapper { ...@@ -124,6 +142,24 @@ public interface LitemallTopicMapper {
*/ */
LitemallTopic selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallTopic selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic * This method corresponds to the database table litemall_topic
...@@ -132,6 +168,15 @@ public interface LitemallTopicMapper { ...@@ -132,6 +168,15 @@ public interface LitemallTopicMapper {
*/ */
int updateByExampleSelective(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example); int updateByExampleSelective(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleWithBLOBs(@Param("version") Integer version, @Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic * This method corresponds to the database table litemall_topic
...@@ -148,6 +193,24 @@ public interface LitemallTopicMapper { ...@@ -148,6 +193,24 @@ public interface LitemallTopicMapper {
*/ */
int updateByExample(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example); int updateByExample(@Param("record") LitemallTopic record, @Param("example") LitemallTopicExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallTopic record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallTopic record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic * This method corresponds to the database table litemall_topic
...@@ -156,6 +219,15 @@ public interface LitemallTopicMapper { ...@@ -156,6 +219,15 @@ public interface LitemallTopicMapper {
*/ */
int updateByPrimaryKeySelective(LitemallTopic record); int updateByPrimaryKeySelective(LitemallTopic record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeyWithBLOBs(@Param("version") Integer version, @Param("record") LitemallTopic record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_topic * This method corresponds to the database table litemall_topic
......
...@@ -14,6 +14,15 @@ public interface LitemallUserFormidMapper { ...@@ -14,6 +14,15 @@ public interface LitemallUserFormidMapper {
*/ */
long countByExample(LitemallUserFormidExample example); long countByExample(LitemallUserFormidExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallUserFormidExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid * This method corresponds to the database table litemall_user_formid
...@@ -22,6 +31,15 @@ public interface LitemallUserFormidMapper { ...@@ -22,6 +31,15 @@ public interface LitemallUserFormidMapper {
*/ */
int deleteByExample(LitemallUserFormidExample example); int deleteByExample(LitemallUserFormidExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid * This method corresponds to the database table litemall_user_formid
...@@ -98,6 +116,24 @@ public interface LitemallUserFormidMapper { ...@@ -98,6 +116,24 @@ public interface LitemallUserFormidMapper {
*/ */
LitemallUserFormid selectByPrimaryKey(Integer id); LitemallUserFormid selectByPrimaryKey(Integer id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallUserFormid record, @Param("example") LitemallUserFormidExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallUserFormid record, @Param("example") LitemallUserFormidExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid * This method corresponds to the database table litemall_user_formid
...@@ -114,6 +150,24 @@ public interface LitemallUserFormidMapper { ...@@ -114,6 +150,24 @@ public interface LitemallUserFormidMapper {
*/ */
int updateByExample(@Param("record") LitemallUserFormid record, @Param("example") LitemallUserFormidExample example); int updateByExample(@Param("record") LitemallUserFormid record, @Param("example") LitemallUserFormidExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallUserFormid record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallUserFormid record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user_formid * This method corresponds to the database table litemall_user_formid
......
...@@ -14,6 +14,15 @@ public interface LitemallUserMapper { ...@@ -14,6 +14,15 @@ public interface LitemallUserMapper {
*/ */
long countByExample(LitemallUserExample example); long countByExample(LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByExample(@Param("version") Integer version, @Param("example") LitemallUserExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user * This method corresponds to the database table litemall_user
...@@ -22,6 +31,15 @@ public interface LitemallUserMapper { ...@@ -22,6 +31,15 @@ public interface LitemallUserMapper {
*/ */
int deleteByExample(LitemallUserExample example); int deleteByExample(LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int deleteWithVersionByPrimaryKey(@Param("version") Integer version, @Param("key") Integer key);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user * This method corresponds to the database table litemall_user
...@@ -107,6 +125,24 @@ public interface LitemallUserMapper { ...@@ -107,6 +125,24 @@ public interface LitemallUserMapper {
*/ */
LitemallUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted); LitemallUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExample(@Param("version") Integer version, @Param("record") LitemallUser record, @Param("example") LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByExampleSelective(@Param("version") Integer version, @Param("record") LitemallUser record, @Param("example") LitemallUserExample example);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user * This method corresponds to the database table litemall_user
...@@ -123,6 +159,24 @@ public interface LitemallUserMapper { ...@@ -123,6 +159,24 @@ public interface LitemallUserMapper {
*/ */
int updateByExample(@Param("record") LitemallUser record, @Param("example") LitemallUserExample example); int updateByExample(@Param("record") LitemallUser record, @Param("example") LitemallUserExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKey(@Param("version") Integer version, @Param("record") LitemallUser record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int updateWithVersionByPrimaryKeySelective(@Param("version") Integer version, @Param("record") LitemallUser record);
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_user * This method corresponds to the database table litemall_user
......
...@@ -523,18 +523,36 @@ public class LitemallAd { ...@@ -523,18 +523,36 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public enum Column { public enum Column {
id("id", "id", "INTEGER"), id("id", "id", "INTEGER", false),
name("name", "name", "VARCHAR"), name("name", "name", "VARCHAR", true),
link("link", "link", "VARCHAR"), link("link", "link", "VARCHAR", false),
url("url", "url", "VARCHAR"), url("url", "url", "VARCHAR", false),
position("position", "position", "TINYINT"), position("position", "position", "TINYINT", true),
content("content", "content", "VARCHAR"), content("content", "content", "VARCHAR", false),
startTime("start_time", "startTime", "TIMESTAMP"), startTime("start_time", "startTime", "TIMESTAMP", false),
endTime("end_time", "endTime", "TIMESTAMP"), endTime("end_time", "endTime", "TIMESTAMP", false),
enabled("enabled", "enabled", "BIT"), enabled("enabled", "enabled", "BIT", false),
addTime("add_time", "addTime", "TIMESTAMP"), addTime("add_time", "addTime", "TIMESTAMP", false),
deleted("deleted", "deleted", "BIT"), deleted("deleted", "deleted", "BIT", false),
version("version", "version", "INTEGER"); version("version", "version", "INTEGER", false);
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
...@@ -545,6 +563,15 @@ public class LitemallAd { ...@@ -545,6 +563,15 @@ public class LitemallAd {
*/ */
private final String column; private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad * This field corresponds to the database table litemall_ad
...@@ -614,10 +641,11 @@ public class LitemallAd { ...@@ -614,10 +641,11 @@ public class LitemallAd {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
Column(String column, String javaProperty, String jdbcType) { Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column; this.column = column;
this.javaProperty = javaProperty; this.javaProperty = javaProperty;
this.jdbcType = jdbcType; this.jdbcType = jdbcType;
this.isColumnNameDelimited = isColumnNameDelimited;
} }
/** /**
...@@ -628,7 +656,7 @@ public class LitemallAd { ...@@ -628,7 +656,7 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public String desc() { public String desc() {
return this.column + " DESC"; return this.getEscapedColumnName() + " DESC";
} }
/** /**
...@@ -639,7 +667,7 @@ public class LitemallAd { ...@@ -639,7 +667,7 @@ public class LitemallAd {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public String asc() { public String asc() {
return this.column + " ASC"; return this.getEscapedColumnName() + " ASC";
} }
/** /**
...@@ -656,5 +684,20 @@ public class LitemallAd { ...@@ -656,5 +684,20 @@ public class LitemallAd {
} }
return columns.toArray(new Column[]{}); return columns.toArray(new Column[]{});
} }
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
} else {
return this.column;
}
}
} }
} }
\ No newline at end of file
...@@ -523,18 +523,36 @@ public class LitemallAddress { ...@@ -523,18 +523,36 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public enum Column { public enum Column {
id("id", "id", "INTEGER"), id("id", "id", "INTEGER", false),
name("name", "name", "VARCHAR"), name("name", "name", "VARCHAR", true),
userId("user_id", "userId", "INTEGER"), userId("user_id", "userId", "INTEGER", false),
provinceId("province_id", "provinceId", "INTEGER"), provinceId("province_id", "provinceId", "INTEGER", false),
cityId("city_id", "cityId", "INTEGER"), cityId("city_id", "cityId", "INTEGER", false),
areaId("area_id", "areaId", "INTEGER"), areaId("area_id", "areaId", "INTEGER", false),
address("address", "address", "VARCHAR"), address("address", "address", "VARCHAR", false),
mobile("mobile", "mobile", "VARCHAR"), mobile("mobile", "mobile", "VARCHAR", false),
isDefault("is_default", "isDefault", "BIT"), isDefault("is_default", "isDefault", "BIT", false),
addTime("add_time", "addTime", "TIMESTAMP"), addTime("add_time", "addTime", "TIMESTAMP", false),
deleted("deleted", "deleted", "BIT"), deleted("deleted", "deleted", "BIT", false),
version("version", "version", "INTEGER"); version("version", "version", "INTEGER", false);
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
...@@ -545,6 +563,15 @@ public class LitemallAddress { ...@@ -545,6 +563,15 @@ public class LitemallAddress {
*/ */
private final String column; private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address * This field corresponds to the database table litemall_address
...@@ -614,10 +641,11 @@ public class LitemallAddress { ...@@ -614,10 +641,11 @@ public class LitemallAddress {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
Column(String column, String javaProperty, String jdbcType) { Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column; this.column = column;
this.javaProperty = javaProperty; this.javaProperty = javaProperty;
this.jdbcType = jdbcType; this.jdbcType = jdbcType;
this.isColumnNameDelimited = isColumnNameDelimited;
} }
/** /**
...@@ -628,7 +656,7 @@ public class LitemallAddress { ...@@ -628,7 +656,7 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public String desc() { public String desc() {
return this.column + " DESC"; return this.getEscapedColumnName() + " DESC";
} }
/** /**
...@@ -639,7 +667,7 @@ public class LitemallAddress { ...@@ -639,7 +667,7 @@ public class LitemallAddress {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public String asc() { public String asc() {
return this.column + " ASC"; return this.getEscapedColumnName() + " ASC";
} }
/** /**
...@@ -656,5 +684,20 @@ public class LitemallAddress { ...@@ -656,5 +684,20 @@ public class LitemallAddress {
} }
return columns.toArray(new Column[]{}); return columns.toArray(new Column[]{});
} }
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
} else {
return this.column;
}
}
} }
} }
\ No newline at end of file
...@@ -415,15 +415,33 @@ public class LitemallAdmin { ...@@ -415,15 +415,33 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public enum Column { public enum Column {
id("id", "id", "INTEGER"), id("id", "id", "INTEGER", false),
username("username", "username", "VARCHAR"), username("username", "username", "VARCHAR", false),
password("password", "password", "VARCHAR"), password("password", "password", "VARCHAR", true),
lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR"), lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR", false),
lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP"), lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP", false),
avatar("avatar", "avatar", "VARCHAR"), avatar("avatar", "avatar", "VARCHAR", false),
addTime("add_time", "addTime", "TIMESTAMP"), addTime("add_time", "addTime", "TIMESTAMP", false),
deleted("deleted", "deleted", "BIT"), deleted("deleted", "deleted", "BIT", false),
version("version", "version", "INTEGER"); version("version", "version", "INTEGER", false);
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
...@@ -434,6 +452,15 @@ public class LitemallAdmin { ...@@ -434,6 +452,15 @@ public class LitemallAdmin {
*/ */
private final String column; private final String column;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin * This field corresponds to the database table litemall_admin
...@@ -503,10 +530,11 @@ public class LitemallAdmin { ...@@ -503,10 +530,11 @@ public class LitemallAdmin {
* @mbg.generated * @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
Column(String column, String javaProperty, String jdbcType) { Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column; this.column = column;
this.javaProperty = javaProperty; this.javaProperty = javaProperty;
this.jdbcType = jdbcType; this.jdbcType = jdbcType;
this.isColumnNameDelimited = isColumnNameDelimited;
} }
/** /**
...@@ -517,7 +545,7 @@ public class LitemallAdmin { ...@@ -517,7 +545,7 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public String desc() { public String desc() {
return this.column + " DESC"; return this.getEscapedColumnName() + " DESC";
} }
/** /**
...@@ -528,7 +556,7 @@ public class LitemallAdmin { ...@@ -528,7 +556,7 @@ public class LitemallAdmin {
* @project https://github.com/itfsw/mybatis-generator-plugin * @project https://github.com/itfsw/mybatis-generator-plugin
*/ */
public String asc() { public String asc() {
return this.column + " ASC"; return this.getEscapedColumnName() + " ASC";
} }
/** /**
...@@ -545,5 +573,20 @@ public class LitemallAdmin { ...@@ -545,5 +573,20 @@ public class LitemallAdmin {
} }
return columns.toArray(new Column[]{}); return columns.toArray(new Column[]{});
} }
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
} else {
return this.column;
}
}
} }
} }
\ No newline at end of file
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