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

更新第三方插件mybatis-generator-plugin到1.3.2,所以代码都是自动生成。

parent 7a4c6023
......@@ -51,7 +51,6 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword selectOneByExample(LitemallKeywordExample example);
......@@ -60,7 +59,6 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword selectOneByExampleSelective(@Param("example") LitemallKeywordExample example, @Param("selective") LitemallKeyword.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallKeyword> selectByExampleSelective(@Param("example") LitemallKeywordExample example, @Param("selective") LitemallKeyword.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallKeyword.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallKeywordExample example);
......@@ -153,7 +147,6 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallLogMapper {
* This method corresponds to the database table litemall_log
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallLog selectOneByExample(LitemallLogExample example);
......@@ -60,7 +59,6 @@ public interface LitemallLogMapper {
* This method corresponds to the database table litemall_log
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallLog selectOneByExampleSelective(@Param("example") LitemallLogExample example, @Param("selective") LitemallLog.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallLogMapper {
* This method corresponds to the database table litemall_log
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallLog> selectByExampleSelective(@Param("example") LitemallLogExample example, @Param("selective") LitemallLog.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallLogMapper {
* This method corresponds to the database table litemall_log
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallLog selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallLog.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallLogMapper {
* This method corresponds to the database table litemall_log
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallLog selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallLogMapper {
* This method corresponds to the database table litemall_log
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallLogExample example);
......@@ -153,7 +147,6 @@ public interface LitemallLogMapper {
* This method corresponds to the database table litemall_log
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods selectOneByExample(LitemallOrderGoodsExample example);
......@@ -60,7 +59,6 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods selectOneByExampleSelective(@Param("example") LitemallOrderGoodsExample example, @Param("selective") LitemallOrderGoods.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallOrderGoods> selectByExampleSelective(@Param("example") LitemallOrderGoodsExample example, @Param("selective") LitemallOrderGoods.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrderGoods.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallOrderGoodsExample example);
......@@ -153,7 +147,6 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder selectOneByExample(LitemallOrderExample example);
......@@ -60,7 +59,6 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder selectOneByExampleSelective(@Param("example") LitemallOrderExample example, @Param("selective") LitemallOrder.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallOrder> selectByExampleSelective(@Param("example") LitemallOrderExample example, @Param("selective") LitemallOrder.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrder.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallOrderExample example);
......@@ -153,7 +147,6 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallPermissionMapper {
* This method corresponds to the database table litemall_permission
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallPermission selectOneByExample(LitemallPermissionExample example);
......@@ -60,7 +59,6 @@ public interface LitemallPermissionMapper {
* This method corresponds to the database table litemall_permission
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallPermission selectOneByExampleSelective(@Param("example") LitemallPermissionExample example, @Param("selective") LitemallPermission.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallPermissionMapper {
* This method corresponds to the database table litemall_permission
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallPermission> selectByExampleSelective(@Param("example") LitemallPermissionExample example, @Param("selective") LitemallPermission.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallPermissionMapper {
* This method corresponds to the database table litemall_permission
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallPermission selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallPermission.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallPermissionMapper {
* This method corresponds to the database table litemall_permission
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallPermission selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallPermissionMapper {
* This method corresponds to the database table litemall_permission
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallPermissionExample example);
......@@ -153,7 +147,6 @@ public interface LitemallPermissionMapper {
* This method corresponds to the database table litemall_permission
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallRegionMapper {
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectOneByExample(LitemallRegionExample example);
......@@ -60,7 +59,6 @@ public interface LitemallRegionMapper {
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectOneByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallRegionMapper {
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallRegion> selectByExampleSelective(@Param("example") LitemallRegionExample example, @Param("selective") LitemallRegion.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallRegionMapper {
* This method corresponds to the database table litemall_region
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRegion selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallRegion.Column ... selective);
......
......@@ -51,7 +51,6 @@ public interface LitemallRoleMapper {
* This method corresponds to the database table litemall_role
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRole selectOneByExample(LitemallRoleExample example);
......@@ -60,7 +59,6 @@ public interface LitemallRoleMapper {
* This method corresponds to the database table litemall_role
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRole selectOneByExampleSelective(@Param("example") LitemallRoleExample example, @Param("selective") LitemallRole.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallRoleMapper {
* This method corresponds to the database table litemall_role
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallRole> selectByExampleSelective(@Param("example") LitemallRoleExample example, @Param("selective") LitemallRole.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallRoleMapper {
* This method corresponds to the database table litemall_role
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRole selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallRole.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallRoleMapper {
* This method corresponds to the database table litemall_role
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallRole selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallRoleMapper {
* This method corresponds to the database table litemall_role
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallRoleExample example);
......@@ -153,7 +147,6 @@ public interface LitemallRoleMapper {
* This method corresponds to the database table litemall_role
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExample(LitemallSearchHistoryExample example);
......@@ -60,7 +59,6 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectOneByExampleSelective(@Param("example") LitemallSearchHistoryExample example, @Param("selective") LitemallSearchHistory.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallSearchHistory> selectByExampleSelective(@Param("example") LitemallSearchHistoryExample example, @Param("selective") LitemallSearchHistory.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallSearchHistory.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSearchHistory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallSearchHistoryExample example);
......@@ -153,7 +147,6 @@ public interface LitemallSearchHistoryMapper {
* This method corresponds to the database table litemall_search_history
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExample(LitemallStorageExample example);
......@@ -60,7 +59,6 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectOneByExampleSelective(@Param("example") LitemallStorageExample example, @Param("selective") LitemallStorage.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallStorage> selectByExampleSelective(@Param("example") LitemallStorageExample example, @Param("selective") LitemallStorage.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallStorage.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallStorage selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallStorageExample example);
......@@ -153,7 +147,6 @@ public interface LitemallStorageMapper {
* This method corresponds to the database table litemall_storage
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallSystemMapper {
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSystem selectOneByExample(LitemallSystemExample example);
......@@ -60,7 +59,6 @@ public interface LitemallSystemMapper {
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSystem selectOneByExampleSelective(@Param("example") LitemallSystemExample example, @Param("selective") LitemallSystem.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallSystemMapper {
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallSystem> selectByExampleSelective(@Param("example") LitemallSystemExample example, @Param("selective") LitemallSystem.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallSystemMapper {
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSystem selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallSystem.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallSystemMapper {
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallSystem selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallSystemMapper {
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallSystemExample example);
......@@ -153,7 +147,6 @@ public interface LitemallSystemMapper {
* This method corresponds to the database table litemall_system
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExample(LitemallTopicExample example);
......@@ -60,7 +59,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectOneByExampleWithBLOBs(LitemallTopicExample example);
......@@ -78,7 +75,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallTopic> selectByExampleSelective(@Param("example") LitemallTopicExample example, @Param("selective") LitemallTopic.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallTopic.Column ... selective);
......@@ -120,7 +115,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallTopic selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -177,7 +171,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallTopicExample example);
......@@ -186,7 +179,6 @@ public interface LitemallTopicMapper {
* This method corresponds to the database table litemall_topic
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallUserFormidMapper {
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserFormid selectOneByExample(LitemallUserFormidExample example);
......@@ -60,7 +59,6 @@ public interface LitemallUserFormidMapper {
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserFormid selectOneByExampleSelective(@Param("example") LitemallUserFormidExample example, @Param("selective") LitemallUserFormid.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallUserFormidMapper {
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallUserFormid> selectByExampleSelective(@Param("example") LitemallUserFormidExample example, @Param("selective") LitemallUserFormid.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallUserFormidMapper {
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserFormid selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallUserFormid.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallUserFormidMapper {
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUserFormid selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallUserFormidMapper {
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallUserFormidExample example);
......@@ -153,7 +147,6 @@ public interface LitemallUserFormidMapper {
* This method corresponds to the database table litemall_user_formid
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -51,7 +51,6 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExample(LitemallUserExample example);
......@@ -60,7 +59,6 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectOneByExampleSelective(@Param("example") LitemallUserExample example, @Param("selective") LitemallUser.Column ... selective);
......@@ -69,7 +67,6 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List<LitemallUser> selectByExampleSelective(@Param("example") LitemallUserExample example, @Param("selective") LitemallUser.Column ... selective);
......@@ -86,7 +83,6 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallUser.Column ... selective);
......@@ -103,7 +99,6 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallUser selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);
......@@ -144,7 +139,6 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByExample(@Param("example") LitemallUserExample example);
......@@ -153,7 +147,6 @@ public interface LitemallUserMapper {
* This method corresponds to the database table litemall_user
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int logicalDeleteByPrimaryKey(Integer id);
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class LitemallAd {
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -395,6 +393,16 @@ public class LitemallAd {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_ad.deleted
......@@ -431,6 +439,8 @@ public class LitemallAd {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", name=").append(name);
sb.append(", link=").append(link);
......@@ -505,14 +515,71 @@ public class LitemallAd {
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
}
/**
......@@ -520,7 +587,6 @@ public class LitemallAd {
* This enum corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -541,7 +607,6 @@ public class LitemallAd {
* 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 = "`";
......@@ -550,7 +615,6 @@ public class LitemallAd {
* 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 = "`";
......@@ -559,7 +623,6 @@ public class LitemallAd {
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -568,7 +631,6 @@ public class LitemallAd {
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -577,7 +639,6 @@ public class LitemallAd {
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -586,7 +647,6 @@ public class LitemallAd {
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -595,7 +655,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -606,7 +665,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -617,7 +675,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -628,7 +685,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -639,7 +695,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -653,7 +708,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -664,7 +718,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -675,7 +728,6 @@ public class LitemallAd {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -690,7 +742,6 @@ public class LitemallAd {
* 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) {
......@@ -699,5 +750,15 @@ public class LitemallAd {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,40 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
LitemallAdExample example = new LitemallAdExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public LitemallAdExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public LitemallAdExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_ad
......@@ -258,7 +283,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
......@@ -275,7 +299,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
......@@ -292,7 +315,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
......@@ -309,7 +331,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
......@@ -326,7 +347,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
......@@ -343,7 +363,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
......@@ -390,7 +409,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
......@@ -407,7 +425,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
......@@ -424,7 +441,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
......@@ -441,7 +457,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
......@@ -458,7 +473,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
......@@ -475,7 +489,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
......@@ -532,7 +545,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLinkEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("link = ").append(column.getEscapedColumnName()).toString());
......@@ -549,7 +561,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLinkNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("link <> ").append(column.getEscapedColumnName()).toString());
......@@ -566,7 +577,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLinkGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("link > ").append(column.getEscapedColumnName()).toString());
......@@ -583,7 +593,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLinkGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("link >= ").append(column.getEscapedColumnName()).toString());
......@@ -600,7 +609,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLinkLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("link < ").append(column.getEscapedColumnName()).toString());
......@@ -617,7 +625,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLinkLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("link <= ").append(column.getEscapedColumnName()).toString());
......@@ -674,7 +681,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUrlEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("url = ").append(column.getEscapedColumnName()).toString());
......@@ -691,7 +697,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUrlNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("url <> ").append(column.getEscapedColumnName()).toString());
......@@ -708,7 +713,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUrlGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("url > ").append(column.getEscapedColumnName()).toString());
......@@ -725,7 +729,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUrlGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("url >= ").append(column.getEscapedColumnName()).toString());
......@@ -742,7 +745,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUrlLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("url < ").append(column.getEscapedColumnName()).toString());
......@@ -759,7 +761,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUrlLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("url <= ").append(column.getEscapedColumnName()).toString());
......@@ -816,7 +817,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPositionEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`position` = ").append(column.getEscapedColumnName()).toString());
......@@ -833,7 +833,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPositionNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`position` <> ").append(column.getEscapedColumnName()).toString());
......@@ -850,7 +849,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPositionGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`position` > ").append(column.getEscapedColumnName()).toString());
......@@ -867,7 +865,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPositionGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`position` >= ").append(column.getEscapedColumnName()).toString());
......@@ -884,7 +881,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPositionLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`position` < ").append(column.getEscapedColumnName()).toString());
......@@ -901,7 +897,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPositionLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("`position` <= ").append(column.getEscapedColumnName()).toString());
......@@ -948,7 +943,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andContentEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("content = ").append(column.getEscapedColumnName()).toString());
......@@ -965,7 +959,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andContentNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("content <> ").append(column.getEscapedColumnName()).toString());
......@@ -982,7 +975,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andContentGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("content > ").append(column.getEscapedColumnName()).toString());
......@@ -999,7 +991,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andContentGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("content >= ").append(column.getEscapedColumnName()).toString());
......@@ -1016,7 +1007,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andContentLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("content < ").append(column.getEscapedColumnName()).toString());
......@@ -1033,7 +1023,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andContentLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("content <= ").append(column.getEscapedColumnName()).toString());
......@@ -1090,7 +1079,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStartTimeEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("start_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1107,7 +1095,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStartTimeNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("start_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1124,7 +1111,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStartTimeGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("start_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1141,7 +1127,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStartTimeGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("start_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1158,7 +1143,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStartTimeLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("start_time < ").append(column.getEscapedColumnName()).toString());
......@@ -1175,7 +1159,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andStartTimeLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("start_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -1222,7 +1205,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEndTimeEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("end_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1239,7 +1221,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEndTimeNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("end_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1256,7 +1237,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEndTimeGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("end_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1273,7 +1253,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEndTimeGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("end_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1290,7 +1269,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEndTimeLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("end_time < ").append(column.getEscapedColumnName()).toString());
......@@ -1307,7 +1285,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEndTimeLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("end_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -1354,7 +1331,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEnabledEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("enabled = ").append(column.getEscapedColumnName()).toString());
......@@ -1371,7 +1347,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEnabledNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("enabled <> ").append(column.getEscapedColumnName()).toString());
......@@ -1388,7 +1363,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEnabledGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("enabled > ").append(column.getEscapedColumnName()).toString());
......@@ -1405,7 +1379,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEnabledGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("enabled >= ").append(column.getEscapedColumnName()).toString());
......@@ -1422,7 +1395,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEnabledLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("enabled < ").append(column.getEscapedColumnName()).toString());
......@@ -1439,7 +1411,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andEnabledLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("enabled <= ").append(column.getEscapedColumnName()).toString());
......@@ -1486,7 +1457,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1503,7 +1473,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1520,7 +1489,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1537,7 +1505,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1554,7 +1521,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
......@@ -1571,7 +1537,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -1618,7 +1583,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1635,7 +1599,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1652,7 +1615,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1669,7 +1631,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1686,7 +1647,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
......@@ -1703,7 +1663,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -1750,7 +1709,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
......@@ -1767,7 +1725,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
......@@ -1784,7 +1741,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
......@@ -1801,7 +1757,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
......@@ -1818,7 +1773,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
......@@ -1835,7 +1789,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(LitemallAd.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
......@@ -1875,7 +1828,6 @@ public class LitemallAdExample {
* This field corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private LitemallAdExample example;
......@@ -1884,7 +1836,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(LitemallAdExample example) {
super();
......@@ -1896,7 +1847,6 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdExample example() {
return this.example;
......@@ -1907,8 +1857,8 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1921,26 +1871,46 @@ public class LitemallAdExample {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAd.IS_DELETED) : andDeletedNotEqualTo(LitemallAd.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_ad
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAd.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LitemallAd.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* 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
*/
Criteria add(Criteria add);
}
......@@ -2037,4 +2007,24 @@ public class LitemallAdExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
void example(org.linlinjava.litemall.db.domain.LitemallAdExample example);
}
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class LitemallAddress {
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -461,6 +459,16 @@ public class LitemallAddress {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_address.deleted
......@@ -497,6 +505,8 @@ public class LitemallAddress {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", name=").append(name);
sb.append(", userId=").append(userId);
......@@ -577,14 +587,71 @@ public class LitemallAddress {
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_address
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
}
/**
......@@ -592,7 +659,6 @@ public class LitemallAddress {
* This enum corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -615,7 +681,6 @@ public class LitemallAddress {
* 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 = "`";
......@@ -624,7 +689,6 @@ public class LitemallAddress {
* 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 = "`";
......@@ -633,7 +697,6 @@ public class LitemallAddress {
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -642,7 +705,6 @@ public class LitemallAddress {
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -651,7 +713,6 @@ public class LitemallAddress {
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -660,7 +721,6 @@ public class LitemallAddress {
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -669,7 +729,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -680,7 +739,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -691,7 +749,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -702,7 +759,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -713,7 +769,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -727,7 +782,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -738,7 +792,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -749,7 +802,6 @@ public class LitemallAddress {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -764,7 +816,6 @@ public class LitemallAddress {
* 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) {
......@@ -773,5 +824,15 @@ public class LitemallAddress {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAddressExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAddressExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,40 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
LitemallAddressExample example = new LitemallAddressExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public LitemallAddressExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public LitemallAddressExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_address
......@@ -258,7 +283,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
......@@ -275,7 +299,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
......@@ -292,7 +315,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
......@@ -309,7 +331,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
......@@ -326,7 +347,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
......@@ -343,7 +363,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
......@@ -390,7 +409,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
......@@ -407,7 +425,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
......@@ -424,7 +441,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
......@@ -441,7 +457,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
......@@ -458,7 +473,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
......@@ -475,7 +489,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andNameLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
......@@ -532,7 +545,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("user_id = ").append(column.getEscapedColumnName()).toString());
......@@ -549,7 +561,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("user_id <> ").append(column.getEscapedColumnName()).toString());
......@@ -566,7 +577,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("user_id > ").append(column.getEscapedColumnName()).toString());
......@@ -583,7 +593,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("user_id >= ").append(column.getEscapedColumnName()).toString());
......@@ -600,7 +609,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("user_id < ").append(column.getEscapedColumnName()).toString());
......@@ -617,7 +625,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUserIdLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("user_id <= ").append(column.getEscapedColumnName()).toString());
......@@ -664,7 +671,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andProvinceEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("province = ").append(column.getEscapedColumnName()).toString());
......@@ -681,7 +687,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andProvinceNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("province <> ").append(column.getEscapedColumnName()).toString());
......@@ -698,7 +703,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andProvinceGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("province > ").append(column.getEscapedColumnName()).toString());
......@@ -715,7 +719,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andProvinceGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("province >= ").append(column.getEscapedColumnName()).toString());
......@@ -732,7 +735,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andProvinceLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("province < ").append(column.getEscapedColumnName()).toString());
......@@ -749,7 +751,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andProvinceLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("province <= ").append(column.getEscapedColumnName()).toString());
......@@ -806,7 +807,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCityEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("city = ").append(column.getEscapedColumnName()).toString());
......@@ -823,7 +823,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCityNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("city <> ").append(column.getEscapedColumnName()).toString());
......@@ -840,7 +839,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCityGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("city > ").append(column.getEscapedColumnName()).toString());
......@@ -857,7 +855,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCityGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("city >= ").append(column.getEscapedColumnName()).toString());
......@@ -874,7 +871,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCityLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("city < ").append(column.getEscapedColumnName()).toString());
......@@ -891,7 +887,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCityLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("city <= ").append(column.getEscapedColumnName()).toString());
......@@ -948,7 +943,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCountyEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("county = ").append(column.getEscapedColumnName()).toString());
......@@ -965,7 +959,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCountyNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("county <> ").append(column.getEscapedColumnName()).toString());
......@@ -982,7 +975,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCountyGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("county > ").append(column.getEscapedColumnName()).toString());
......@@ -999,7 +991,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCountyGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("county >= ").append(column.getEscapedColumnName()).toString());
......@@ -1016,7 +1007,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCountyLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("county < ").append(column.getEscapedColumnName()).toString());
......@@ -1033,7 +1023,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andCountyLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("county <= ").append(column.getEscapedColumnName()).toString());
......@@ -1090,7 +1079,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddressDetailEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("address_detail = ").append(column.getEscapedColumnName()).toString());
......@@ -1107,7 +1095,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddressDetailNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("address_detail <> ").append(column.getEscapedColumnName()).toString());
......@@ -1124,7 +1111,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddressDetailGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("address_detail > ").append(column.getEscapedColumnName()).toString());
......@@ -1141,7 +1127,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddressDetailGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("address_detail >= ").append(column.getEscapedColumnName()).toString());
......@@ -1158,7 +1143,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddressDetailLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("address_detail < ").append(column.getEscapedColumnName()).toString());
......@@ -1175,7 +1159,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddressDetailLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("address_detail <= ").append(column.getEscapedColumnName()).toString());
......@@ -1232,7 +1215,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAreaCodeEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("area_code = ").append(column.getEscapedColumnName()).toString());
......@@ -1249,7 +1231,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAreaCodeNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("area_code <> ").append(column.getEscapedColumnName()).toString());
......@@ -1266,7 +1247,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAreaCodeGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("area_code > ").append(column.getEscapedColumnName()).toString());
......@@ -1283,7 +1263,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAreaCodeGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("area_code >= ").append(column.getEscapedColumnName()).toString());
......@@ -1300,7 +1279,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAreaCodeLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("area_code < ").append(column.getEscapedColumnName()).toString());
......@@ -1317,7 +1295,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAreaCodeLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("area_code <= ").append(column.getEscapedColumnName()).toString());
......@@ -1374,7 +1351,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPostalCodeEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("postal_code = ").append(column.getEscapedColumnName()).toString());
......@@ -1391,7 +1367,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPostalCodeNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("postal_code <> ").append(column.getEscapedColumnName()).toString());
......@@ -1408,7 +1383,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPostalCodeGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("postal_code > ").append(column.getEscapedColumnName()).toString());
......@@ -1425,7 +1399,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPostalCodeGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("postal_code >= ").append(column.getEscapedColumnName()).toString());
......@@ -1442,7 +1415,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPostalCodeLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("postal_code < ").append(column.getEscapedColumnName()).toString());
......@@ -1459,7 +1431,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPostalCodeLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("postal_code <= ").append(column.getEscapedColumnName()).toString());
......@@ -1516,7 +1487,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTelEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("tel = ").append(column.getEscapedColumnName()).toString());
......@@ -1533,7 +1503,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTelNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("tel <> ").append(column.getEscapedColumnName()).toString());
......@@ -1550,7 +1519,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTelGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("tel > ").append(column.getEscapedColumnName()).toString());
......@@ -1567,7 +1535,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTelGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("tel >= ").append(column.getEscapedColumnName()).toString());
......@@ -1584,7 +1551,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTelLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("tel < ").append(column.getEscapedColumnName()).toString());
......@@ -1601,7 +1567,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andTelLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("tel <= ").append(column.getEscapedColumnName()).toString());
......@@ -1658,7 +1623,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIsDefaultEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("is_default = ").append(column.getEscapedColumnName()).toString());
......@@ -1675,7 +1639,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIsDefaultNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("is_default <> ").append(column.getEscapedColumnName()).toString());
......@@ -1692,7 +1655,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIsDefaultGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("is_default > ").append(column.getEscapedColumnName()).toString());
......@@ -1709,7 +1671,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIsDefaultGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("is_default >= ").append(column.getEscapedColumnName()).toString());
......@@ -1726,7 +1687,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIsDefaultLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("is_default < ").append(column.getEscapedColumnName()).toString());
......@@ -1743,7 +1703,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIsDefaultLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("is_default <= ").append(column.getEscapedColumnName()).toString());
......@@ -1790,7 +1749,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1807,7 +1765,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1824,7 +1781,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1841,7 +1797,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1858,7 +1813,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
......@@ -1875,7 +1829,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -1922,7 +1875,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1939,7 +1891,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1956,7 +1907,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1973,7 +1923,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1990,7 +1939,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
......@@ -2007,7 +1955,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -2054,7 +2001,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
......@@ -2071,7 +2017,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
......@@ -2088,7 +2033,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
......@@ -2105,7 +2049,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
......@@ -2122,7 +2065,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
......@@ -2139,7 +2081,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(LitemallAddress.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
......@@ -2179,7 +2120,6 @@ public class LitemallAddressExample {
* This field corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private LitemallAddressExample example;
......@@ -2188,7 +2128,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(LitemallAddressExample example) {
super();
......@@ -2200,7 +2139,6 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAddressExample example() {
return this.example;
......@@ -2211,8 +2149,8 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -2225,26 +2163,46 @@ public class LitemallAddressExample {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAddress.IS_DELETED) : andDeletedNotEqualTo(LitemallAddress.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_address
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAddress.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LitemallAddress.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* 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
*/
Criteria add(Criteria add);
}
......@@ -2341,4 +2299,24 @@ public class LitemallAddressExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
void example(org.linlinjava.litemall.db.domain.LitemallAddressExample example);
}
}
\ No newline at end of file
......@@ -10,18 +10,16 @@ public class LitemallAdmin {
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -305,6 +303,16 @@ public class LitemallAdmin {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_admin.deleted
......@@ -365,6 +373,8 @@ public class LitemallAdmin {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", username=").append(username);
sb.append(", password=").append(password);
......@@ -433,14 +443,71 @@ public class LitemallAdmin {
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
}
/**
......@@ -448,7 +515,6 @@ public class LitemallAdmin {
* This enum corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -467,7 +533,6 @@ public class LitemallAdmin {
* 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 = "`";
......@@ -476,7 +541,6 @@ public class LitemallAdmin {
* 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 = "`";
......@@ -485,7 +549,6 @@ public class LitemallAdmin {
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -494,7 +557,6 @@ public class LitemallAdmin {
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -503,7 +565,6 @@ public class LitemallAdmin {
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -512,7 +573,6 @@ public class LitemallAdmin {
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -521,7 +581,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -532,7 +591,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -543,7 +601,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -554,7 +611,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -565,7 +621,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -579,7 +634,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -590,7 +644,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -601,7 +654,6 @@ public class LitemallAdmin {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -616,7 +668,6 @@ public class LitemallAdmin {
* 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) {
......@@ -625,5 +676,15 @@ public class LitemallAdmin {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ No newline at end of file
......@@ -116,7 +116,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdminExample orderBy(String orderByClause) {
this.setOrderByClause(orderByClause);
......@@ -128,7 +127,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdminExample orderBy(String ... orderByClauses) {
StringBuffer sb = new StringBuffer();
......@@ -184,13 +182,40 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Criteria newAndCreateCriteria() {
LitemallAdminExample example = new LitemallAdminExample();
return example.createCriteria();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public LitemallAdminExample when(boolean condition, IExampleWhen then) {
if (condition) {
then.example(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public LitemallAdminExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
if (condition) {
then.example(this);
} else {
otherwise.example(this);
}
return this;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_admin
......@@ -292,7 +317,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
......@@ -309,7 +333,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
......@@ -326,7 +349,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
......@@ -343,7 +365,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
......@@ -360,7 +381,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
......@@ -377,7 +397,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andIdLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
......@@ -424,7 +443,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUsernameEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("username = ").append(column.getEscapedColumnName()).toString());
......@@ -441,7 +459,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUsernameNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("username <> ").append(column.getEscapedColumnName()).toString());
......@@ -458,7 +475,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUsernameGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("username > ").append(column.getEscapedColumnName()).toString());
......@@ -475,7 +491,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUsernameGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("username >= ").append(column.getEscapedColumnName()).toString());
......@@ -492,7 +507,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUsernameLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("username < ").append(column.getEscapedColumnName()).toString());
......@@ -509,7 +523,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUsernameLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("username <= ").append(column.getEscapedColumnName()).toString());
......@@ -566,7 +579,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPasswordEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("`password` = ").append(column.getEscapedColumnName()).toString());
......@@ -583,7 +595,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPasswordNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("`password` <> ").append(column.getEscapedColumnName()).toString());
......@@ -600,7 +611,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPasswordGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("`password` > ").append(column.getEscapedColumnName()).toString());
......@@ -617,7 +627,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPasswordGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("`password` >= ").append(column.getEscapedColumnName()).toString());
......@@ -634,7 +643,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPasswordLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("`password` < ").append(column.getEscapedColumnName()).toString());
......@@ -651,7 +659,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andPasswordLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("`password` <= ").append(column.getEscapedColumnName()).toString());
......@@ -708,7 +715,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginIpEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_ip = ").append(column.getEscapedColumnName()).toString());
......@@ -725,7 +731,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginIpNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_ip <> ").append(column.getEscapedColumnName()).toString());
......@@ -742,7 +747,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginIpGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_ip > ").append(column.getEscapedColumnName()).toString());
......@@ -759,7 +763,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginIpGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_ip >= ").append(column.getEscapedColumnName()).toString());
......@@ -776,7 +779,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginIpLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_ip < ").append(column.getEscapedColumnName()).toString());
......@@ -793,7 +795,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginIpLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_ip <= ").append(column.getEscapedColumnName()).toString());
......@@ -850,7 +851,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginTimeEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_time = ").append(column.getEscapedColumnName()).toString());
......@@ -867,7 +867,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginTimeNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -884,7 +883,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginTimeGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_time > ").append(column.getEscapedColumnName()).toString());
......@@ -901,7 +899,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginTimeGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -918,7 +915,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginTimeLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_time < ").append(column.getEscapedColumnName()).toString());
......@@ -935,7 +931,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLastLoginTimeLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("last_login_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -982,7 +977,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAvatarEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("avatar = ").append(column.getEscapedColumnName()).toString());
......@@ -999,7 +993,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAvatarNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("avatar <> ").append(column.getEscapedColumnName()).toString());
......@@ -1016,7 +1009,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAvatarGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("avatar > ").append(column.getEscapedColumnName()).toString());
......@@ -1033,7 +1025,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAvatarGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("avatar >= ").append(column.getEscapedColumnName()).toString());
......@@ -1050,7 +1041,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAvatarLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("avatar < ").append(column.getEscapedColumnName()).toString());
......@@ -1067,7 +1057,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAvatarLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("avatar <= ").append(column.getEscapedColumnName()).toString());
......@@ -1124,7 +1113,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1141,7 +1129,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1158,7 +1145,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1175,7 +1161,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1192,7 +1177,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
......@@ -1209,7 +1193,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andAddTimeLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -1256,7 +1239,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
......@@ -1273,7 +1255,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
......@@ -1290,7 +1271,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
......@@ -1307,7 +1287,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
......@@ -1324,7 +1303,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
......@@ -1341,7 +1319,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andUpdateTimeLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
......@@ -1388,7 +1365,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
......@@ -1405,7 +1381,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
......@@ -1422,7 +1397,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
......@@ -1439,7 +1413,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
......@@ -1456,7 +1429,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
......@@ -1473,7 +1445,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andDeletedLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
......@@ -1520,7 +1491,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRoleIdsEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("role_ids = ").append(column.getEscapedColumnName()).toString());
......@@ -1537,7 +1507,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRoleIdsNotEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("role_ids <> ").append(column.getEscapedColumnName()).toString());
......@@ -1554,7 +1523,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRoleIdsGreaterThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("role_ids > ").append(column.getEscapedColumnName()).toString());
......@@ -1571,7 +1539,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRoleIdsGreaterThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("role_ids >= ").append(column.getEscapedColumnName()).toString());
......@@ -1588,7 +1555,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRoleIdsLessThanColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("role_ids < ").append(column.getEscapedColumnName()).toString());
......@@ -1605,7 +1571,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andRoleIdsLessThanOrEqualToColumn(LitemallAdmin.Column column) {
addCriterion(new StringBuilder("role_ids <= ").append(column.getEscapedColumnName()).toString());
......@@ -1655,7 +1620,6 @@ public class LitemallAdminExample {
* This field corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private LitemallAdminExample example;
......@@ -1664,7 +1628,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
protected Criteria(LitemallAdminExample example) {
super();
......@@ -1676,7 +1639,6 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public LitemallAdminExample example() {
return this.example;
......@@ -1687,8 +1649,8 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
@Deprecated
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
if (ifAdd) {
add.add(this);
......@@ -1701,26 +1663,46 @@ public class LitemallAdminExample {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAdmin.IS_DELETED) : andDeletedNotEqualTo(LitemallAdmin.IS_DELETED);
public Criteria when(boolean condition, ICriteriaWhen then) {
if (condition) {
then.criteria(this);
}
return this;
}
/**
* This interface was generated by MyBatis Generator.
* This interface corresponds to the database table litemall_admin
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
if (condition) {
then.criteria(this);
} else {
otherwise.criteria(this);
}
return this;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
public Criteria andLogicalDeleted(boolean deleted) {
return deleted ? andDeletedEqualTo(LitemallAdmin.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LitemallAdmin.Deleted.IS_DELETED.value());
}
@Deprecated
public interface ICriteriaAdd {
/**
* 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
*/
Criteria add(Criteria add);
}
......@@ -1817,4 +1799,24 @@ public class LitemallAdminExample {
this(condition, value, secondValue, null);
}
}
public interface ICriteriaWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
void criteria(Criteria criteria);
}
public interface IExampleWhen {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
void example(org.linlinjava.litemall.db.domain.LitemallAdminExample example);
}
}
\ No newline at end of file
......@@ -11,18 +11,16 @@ public class LitemallBrand {
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean NOT_DELETED = false;
public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static final Boolean IS_DELETED = true;
public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();
/**
*
......@@ -297,6 +295,16 @@ public class LitemallBrand {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column litemall_brand.deleted
......@@ -333,6 +341,8 @@ public class LitemallBrand {
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", IS_DELETED=").append(IS_DELETED);
sb.append(", NOT_DELETED=").append(NOT_DELETED);
sb.append(", id=").append(id);
sb.append(", name=").append(name);
sb.append(", desc=").append(desc);
......@@ -398,14 +408,71 @@ public class LitemallBrand {
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
* This enum was generated by MyBatis Generator.
* This enum corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public void andLogicalDeleted(boolean deleted) {
setDeleted(deleted ? IS_DELETED : NOT_DELETED);
public enum Deleted {
NOT_DELETED(new Boolean("0"), "未删除"),
IS_DELETED(new Boolean("1"), "已删除");
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
*/
private final Boolean value;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
*/
private final String name;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
Deleted(Boolean value, String name) {
this.value = value;
this.name = name;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
public Boolean getValue() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
public Boolean value() {
return this.value;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
public String getName() {
return this.name;
}
}
/**
......@@ -413,7 +480,6 @@ public class LitemallBrand {
* This enum corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public enum Column {
id("id", "id", "INTEGER", false),
......@@ -431,7 +497,6 @@ public class LitemallBrand {
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String BEGINNING_DELIMITER = "`";
......@@ -440,7 +505,6 @@ public class LitemallBrand {
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private static final String ENDING_DELIMITER = "`";
......@@ -449,7 +513,6 @@ public class LitemallBrand {
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String column;
......@@ -458,7 +521,6 @@ public class LitemallBrand {
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final boolean isColumnNameDelimited;
......@@ -467,7 +529,6 @@ public class LitemallBrand {
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String javaProperty;
......@@ -476,7 +537,6 @@ public class LitemallBrand {
* This field corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
private final String jdbcType;
......@@ -485,7 +545,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String value() {
return this.column;
......@@ -496,7 +555,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getValue() {
return this.column;
......@@ -507,7 +565,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJavaProperty() {
return this.javaProperty;
......@@ -518,7 +575,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getJdbcType() {
return this.jdbcType;
......@@ -529,7 +585,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
this.column = column;
......@@ -543,7 +598,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String desc() {
return this.getEscapedColumnName() + " DESC";
......@@ -554,7 +608,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String asc() {
return this.getEscapedColumnName() + " ASC";
......@@ -565,7 +618,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public static Column[] excludes(Column ... excludes) {
ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
......@@ -580,7 +632,6 @@ public class LitemallBrand {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
public String getEscapedColumnName() {
if (this.isColumnNameDelimited) {
......@@ -589,5 +640,15 @@ public class LitemallBrand {
return this.column;
}
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
public String getAliasedEscapedColumnName() {
return this.getEscapedColumnName();
}
}
}
\ 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