diff --git a/mall-mbg/.gitignore b/mall-mbg/.gitignore index eac6d71..e69de29 100644 --- a/mall-mbg/.gitignore +++ b/mall-mbg/.gitignore @@ -1,2 +0,0 @@ -# MyBatis generate files # -src\main\resources\com\macro\mall\mapper \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java index be0b2b9..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java @@ -1,90 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsHelpCategory; -import com.macro.mall.model.CmsHelpCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -/** - * CmsHelpCategoryMapper 接口定义了与 CmsHelpCategory 表相关的数据库操作。 - */ -public interface CmsHelpCategoryMapper { - /** - * 根据条件统计数量。 - * @param example 条件实例 - * @return 符合条件的记录数 - */ - long countByExample(CmsHelpCategoryExample example); - - /** - * 根据条件删除记录。 - * @param example 条件实例 - * @return 影响的行数 - */ - int deleteByExample(CmsHelpCategoryExample example); - - /** - * 根据主键删除记录。 - * @param id 主键ID - * @return 影响的行数 - */ - int deleteByPrimaryKey(Long id); - - /** - * 插入一条记录。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insert(CmsHelpCategory record); - - /** - * 插入一条记录,只插入不为null的字段。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insertSelective(CmsHelpCategory record); - - /** - * 根据条件查询记录。 - * @param example 条件实例 - * @return 符合条件的记录列表 - */ - List selectByExample(CmsHelpCategoryExample example); - - /** - * 根据主键查询记录。 - * @param id 主键ID - * @return 对应的记录 - */ - CmsHelpCategory selectByPrimaryKey(Long id); - - /** - * 根据条件更新记录,只更新不为null的字段。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExampleSelective(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); - - /** - * 根据条件更新记录。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExample(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); - - /** - * 根据主键更新记录,只更新不为null的字段。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKeySelective(CmsHelpCategory record); - - /** - * 根据主键更新记录。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKey(CmsHelpCategory record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java index 5d7f968..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java @@ -1,112 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsHelp; -import com.macro.mall.model.CmsHelpExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -/** - * CmsHelpMapper 接口定义了与 CmsHelp 表相关的数据库操作。 - */ -public interface CmsHelpMapper { - /** - * 根据条件统计数量。 - * @param example 条件实例 - * @return 符合条件的记录数 - */ - long countByExample(CmsHelpExample example); - - /** - * 根据条件删除记录。 - * @param example 条件实例 - * @return 影响的行数 - */ - int deleteByExample(CmsHelpExample example); - - /** - * 根据主键删除记录。 - * @param id 主键ID - * @return 影响的行数 - */ - int deleteByPrimaryKey(Long id); - - /** - * 插入一条记录。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insert(CmsHelp record); - - /** - * 插入一条记录,只插入不为null的字段。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insertSelective(CmsHelp record); - - /** - * 根据条件查询记录,包括BLOB字段。 - * @param example 条件实例 - * @return 符合条件的记录列表,包括BLOB字段 - */ - List selectByExampleWithBLOBs(CmsHelpExample example); - - /** - * 根据条件查询记录,不包括BLOB字段。 - * @param example 条件实例 - * @return 符合条件的记录列表,不包括BLOB字段 - */ - List selectByExample(CmsHelpExample example); - - /** - * 根据主键查询记录。 - * @param id 主键ID - * @return 对应的记录 - */ - CmsHelp selectByPrimaryKey(Long id); - - /** - * 根据条件更新记录,只更新不为null的字段。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExampleSelective(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); - - /** - * 根据条件更新记录,包括BLOB字段。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExampleWithBLOBs(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); - - /** - * 根据条件更新记录。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExample(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); - - /** - * 根据主键更新记录,只更新不为null的字段。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKeySelective(CmsHelp record); - - /** - * 根据主键更新记录,包括BLOB字段。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKeyWithBLOBs(CmsHelp record); - - /** - * 根据主键更新记录。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKey(CmsHelp record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java index 6b54f32..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java @@ -1,62 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsMemberReport; -import com.macro.mall.model.CmsMemberReportExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -/** - * CmsMemberReportMapper 接口定义了与 CmsMemberReport 表相关的数据库操作。 - */ -public interface CmsMemberReportMapper { - /** - * 根据条件统计数量。 - * @param example 条件实例 - * @return 符合条件的记录数 - */ - long countByExample(CmsMemberReportExample example); - - /** - * 根据条件删除记录。 - * @param example 条件实例 - * @return 影响的行数 - */ - int deleteByExample(CmsMemberReportExample example); - - /** - * 插入一条记录。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insert(CmsMemberReport record); - - /** - * 插入一条记录,只插入不为null的字段。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insertSelective(CmsMemberReport record); - - /** - * 根据条件查询记录。 - * @param example 条件实例 - * @return 符合条件的记录列表 - */ - List selectByExample(CmsMemberReportExample example); - - /** - * 根据条件更新记录,只更新不为null的字段。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExampleSelective(@Param("record") CmsMemberReport record, @Param("example") CmsMemberReportExample example); - - /** - * 根据条件更新记录。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExample(@Param("record") CmsMemberReport record, @Param("example") CmsMemberReportExample example); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java index da3d603..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java @@ -1,112 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsPrefrenceArea; -import com.macro.mall.model.CmsPrefrenceAreaExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -/** - * CmsPrefrenceAreaMapper 接口定义了与 CmsPrefrenceArea 表相关的数据库操作。 - */ -public interface CmsPrefrenceAreaMapper { - /** - * 根据条件统计数量。 - * @param example 条件实例 - * @return 符合条件的记录数 - */ - long countByExample(CmsPrefrenceAreaExample example); - - /** - * 根据条件删除记录。 - * @param example 条件实例 - * @return 影响的行数 - */ - int deleteByExample(CmsPrefrenceAreaExample example); - - /** - * 根据主键删除记录。 - * @param id 主键ID - * @return 影响的行数 - */ - int deleteByPrimaryKey(Long id); - - /** - * 插入一条记录。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insert(CmsPrefrenceArea record); - - /** - * 插入一条记录,只插入不为null的字段。 - * @param record 要插入的记录 - * @return 影响的行数 - */ - int insertSelective(CmsPrefrenceArea record); - - /** - * 根据条件查询记录,包括BLOB字段。 - * @param example 条件实例 - * @return 符合条件的记录列表,包括BLOB字段 - */ - List selectByExampleWithBLOBs(CmsPrefrenceAreaExample example); - - /** - * 根据条件查询记录,不包括BLOB字段。 - * @param example 条件实例 - * @return 符合条件的记录列表,不包括BLOB字段 - */ - List selectByExample(CmsPrefrenceAreaExample example); - - /** - * 根据主键查询记录。 - * @param id 主键ID - * @return 对应的记录 - */ - CmsPrefrenceArea selectByPrimaryKey(Long id); - - /** - * 根据条件更新记录,只更新不为null的字段。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExampleSelective(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); - - /** - * 根据条件更新记录,包括BLOB字段。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExampleWithBLOBs(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); - - /** - * 根据条件更新记录。 - * @param record 要更新的记录 - * @param example 条件实例 - * @return 影响的行数 - */ - int updateByExample(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); - - /** - * 根据主键更新记录,只更新不为null的字段。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKeySelective(CmsPrefrenceArea record); - - /** - * 根据主键更新记录,包括BLOB字段。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKeyWithBLOBs(CmsPrefrenceArea record); - - /** - * 根据主键更新记录。 - * @param record 要更新的记录 - * @return 影响的行数 - */ - int updateByPrimaryKey(CmsPrefrenceArea record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java index 65368b4..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsPrefrenceAreaProductRelation; // 导入了实体类,用于数据库表的映射 -import com.macro.mall.model.CmsPrefrenceAreaProductRelationExample; // 导入了实体类的Example类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsPrefrenceAreaProductRelationMapper { // 声明了一个MyBatis的Mapper接口 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsPrefrenceAreaProductRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsPrefrenceAreaProductRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键删除记录 - - int insert(CmsPrefrenceAreaProductRelation record); // 插入一条记录 - - int insertSelective(CmsPrefrenceAreaProductRelation record); // 插入一条记录,只插入不为null的字段 - - List selectByExample(CmsPrefrenceAreaProductRelationExample example); // 根据example条件查询记录 - - CmsPrefrenceAreaProductRelation selectByPrimaryKey(Long id); // 根据主键查询记录 - - int updateByExampleSelective(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); // 根据example条件更新记录,只更新不为null的字段 - - int updateByExample(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); // 根据example条件更新记录 - - int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelation record); // 根据主键更新记录,只更新不为null的字段 - - int updateByPrimaryKey(CmsPrefrenceAreaProductRelation record); // 根据主键更新记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java index 2d2d44c..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsSubjectCategory; // 导入了CmsSubjectCategory实体类,用于数据库表的映射 -import com.macro.mall.model.CmsSubjectCategoryExample; // 导入了CmsSubjectCategoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsSubjectCategoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsSubjectCategoryExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsSubjectCategoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(CmsSubjectCategory record); // 插入一条CmsSubjectCategory记录 - - int insertSelective(CmsSubjectCategory record); // 插入一条CmsSubjectCategory记录,只插入不为null的字段 - - List selectByExample(CmsSubjectCategoryExample example); // 根据example条件查询CmsSubjectCategory记录 - - CmsSubjectCategory selectByPrimaryKey(Long id); // 根据主键id查询CmsSubjectCategory记录 - - int updateByExampleSelective(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); // 根据example条件更新CmsSubjectCategory记录,只更新不为null的字段 - - int updateByExample(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); // 根据example条件更新CmsSubjectCategory记录 - - int updateByPrimaryKeySelective(CmsSubjectCategory record); // 根据主键id更新CmsSubjectCategory记录,只更新不为null的字段 - - int updateByPrimaryKey(CmsSubjectCategory record); // 根据主键id更新CmsSubjectCategory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java index 4d02e60..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsSubjectComment; // 导入了CmsSubjectComment实体类,用于数据库表的映射 -import com.macro.mall.model.CmsSubjectCommentExample; // 导入了CmsSubjectCommentExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsSubjectCommentMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsSubjectCommentExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsSubjectCommentExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(CmsSubjectComment record); // 插入一条CmsSubjectComment记录 - - int insertSelective(CmsSubjectComment record); // 插入一条CmsSubjectComment记录,只插入不为null的字段 - - List selectByExample(CmsSubjectCommentExample example); // 根据example条件查询CmsSubjectComment记录 - - CmsSubjectComment selectByPrimaryKey(Long id); // 根据主键id查询CmsSubjectComment记录 - - int updateByExampleSelective(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); // 根据example条件更新CmsSubjectComment记录,只更新不为null的字段 - - int updateByExample(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); // 根据example条件更新CmsSubjectComment记录 - - int updateByPrimaryKeySelective(CmsSubjectComment record); // 根据主键id更新CmsSubjectComment记录,只更新不为null的字段 - - int updateByPrimaryKey(CmsSubjectComment record); // 根据主键id更新CmsSubjectComment记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java index 0ed57b6..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java @@ -1,38 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsSubject; // 导入了CmsSubject实体类,用于数据库表的映射 -import com.macro.mall.model.CmsSubjectExample; // 导入了CmsSubjectExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsSubjectMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsSubjectExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsSubjectExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(CmsSubject record); // 插入一条CmsSubject记录 - - int insertSelective(CmsSubject record); // 插入一条CmsSubject记录,只插入不为null的字段 - - List selectByExampleWithBLOBs(CmsSubjectExample example); // 根据example条件查询CmsSubject记录,包括BLOB字段 - - List selectByExample(CmsSubjectExample example); // 根据example条件查询CmsSubject记录,不包括BLOB字段 - - CmsSubject selectByPrimaryKey(Long id); // 根据主键id查询CmsSubject记录 - - int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); // 根据example条件更新CmsSubject记录,只更新不为null的字段 - - int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); // 根据example条件更新CmsSubject记录,包括BLOB字段 - - int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); // 根据example条件更新CmsSubject记录 - - int updateByPrimaryKeySelective(CmsSubject record); // 根据主键id更新CmsSubject记录,只更新不为null的字段 - - int updateByPrimaryKeyWithBLOBs(CmsSubject record); // 根据主键id更新CmsSubject记录,包括BLOB字段 - - int updateByPrimaryKey(CmsSubject record); // 根据主键id更新CmsSubject记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java index 6cb73f4..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsSubjectProductRelation; // 导入了CmsSubjectProductRelation实体类,用于数据库表的映射 -import com.macro.mall.model.CmsSubjectProductRelationExample; // 导入了CmsSubjectProductRelationExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsSubjectProductRelationMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsSubjectProductRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsSubjectProductRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(CmsSubjectProductRelation record); // 插入一条CmsSubjectProductRelation记录 - - int insertSelective(CmsSubjectProductRelation record); // 插入一条CmsSubjectProductRelation记录,只插入不为null的字段 - - List selectByExample(CmsSubjectProductRelationExample example); // 根据example条件查询CmsSubjectProductRelation记录 - - CmsSubjectProductRelation selectByPrimaryKey(Long id); // 根据主键id查询CmsSubjectProductRelation记录 - - int updateByExampleSelective(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); // 根据example条件更新CmsSubjectProductRelation记录,只更新不为null的字段 - - int updateByExample(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); // 根据example条件更新CmsSubjectProductRelation记录 - - int updateByPrimaryKeySelective(CmsSubjectProductRelation record); // 根据主键id更新CmsSubjectProductRelation记录,只更新不为null的字段 - - int updateByPrimaryKey(CmsSubjectProductRelation record); // 根据主键id更新CmsSubjectProductRelation记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java index e8f9a7e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsTopicCategory; // 导入了CmsTopicCategory实体类,用于数据库表的映射 -import com.macro.mall.model.CmsTopicCategoryExample; // 导入了CmsTopicCategoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsTopicCategoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsTopicCategoryExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsTopicCategoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(CmsTopicCategory record); // 插入一条CmsTopicCategory记录 - - int insertSelective(CmsTopicCategory record); // 插入一条CmsTopicCategory记录,只插入不为null的字段 - - List selectByExample(CmsTopicCategoryExample example); // 根据example条件查询CmsTopicCategory记录 - - CmsTopicCategory selectByPrimaryKey(Long id); // 根据主键id查询CmsTopicCategory记录 - - int updateByExampleSelective(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); // 根据example条件更新CmsTopicCategory记录,只更新不为null的字段 - - int updateByExample(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); // 根据example条件更新CmsTopicCategory记录 - - int updateByPrimaryKeySelective(CmsTopicCategory record); // 根据主键id更新CmsTopicCategory记录,只更新不为null的字段 - - int updateByPrimaryKey(CmsTopicCategory record); // 根据主键id更新CmsTopicCategory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java index 273555e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsTopicComment; // 导入了CmsTopicComment实体类,用于数据库表的映射 -import com.macro.mall.model.CmsTopicCommentExample; // 导入了CmsTopicCommentExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsTopicCommentMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsTopicCommentExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsTopicCommentExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(CmsTopicComment record); // 插入一条CmsTopicComment记录 - - int insertSelective(CmsTopicComment record); // 插入一条CmsTopicComment记录,只插入不为null的字段 - - List selectByExample(CmsTopicCommentExample example); // 根据example条件查询CmsTopicComment记录 - - CmsTopicComment selectByPrimaryKey(Long id); // 根据主键id查询CmsTopicComment记录 - - int updateByExampleSelective(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); // 根据example条件更新CmsTopicComment记录,只更新不为null的字段 - - int updateByExample(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); // 根据example条件更新CmsTopicComment记录 - - int updateByPrimaryKeySelective(CmsTopicComment record); // 根据主键id更新CmsTopicComment记录,只更新不为null的字段 - - int updateByPrimaryKey(CmsTopicComment record); // 根据主键id更新CmsTopicComment记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java index d7bf96d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java @@ -1,38 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.CmsTopic; // 导入了CmsTopic实体类,用于数据库表的映射 -import com.macro.mall.model.CmsTopicExample; // 导入了CmsTopicExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface CmsTopicMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(CmsTopicExample example); // 根据example条件统计记录数 - - int deleteByExample(CmsTopicExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(CmsTopic record); // 插入一条CmsTopic记录 - - int insertSelective(CmsTopic record); // 插入一条CmsTopic记录,只插入不为null的字段 - - List selectByExampleWithBLOBs(CmsTopicExample example); // 根据example条件查询CmsTopic记录,包括BLOB字段 - - List selectByExample(CmsTopicExample example); // 根据example条件查询CmsTopic记录,不包括BLOB字段 - - CmsTopic selectByPrimaryKey(Long id); // 根据主键id查询CmsTopic记录 - - int updateByExampleSelective(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); // 根据example条件更新CmsTopic记录,只更新不为null的字段 - - int updateByExampleWithBLOBs(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); // 根据example条件更新CmsTopic记录,包括BLOB字段 - - int updateByExample(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); // 根据example条件更新CmsTopic记录 - - int updateByPrimaryKeySelective(CmsTopic record); // 根据主键id更新CmsTopic记录,只更新不为null的字段 - - int updateByPrimaryKeyWithBLOBs(CmsTopic record); // 根据主键id更新CmsTopic记录,包括BLOB字段 - - int updateByPrimaryKey(CmsTopic record); // 根据主键id更新CmsTopic记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java index 08e8e08..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsCartItem; // 导入了OmsCartItem实体类,用于数据库表的映射 -import com.macro.mall.model.OmsCartItemExample; // 导入了OmsCartItemExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsCartItemMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsCartItemExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsCartItemExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsCartItem record); // 插入一条OmsCartItem记录 - - int insertSelective(OmsCartItem record); // 插入一条OmsCartItem记录,只插入不为null的字段 - - List selectByExample(OmsCartItemExample example); // 根据example条件查询OmsCartItem记录 - - OmsCartItem selectByPrimaryKey(Long id); // 根据主键id查询OmsCartItem记录 - - int updateByExampleSelective(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example); // 根据example条件更新OmsCartItem记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example); // 根据example条件更新OmsCartItem记录 - - int updateByPrimaryKeySelective(OmsCartItem record); // 根据主键id更新OmsCartItem记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsCartItem record); // 根据主键id更新OmsCartItem记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java index ec07f76..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsCompanyAddress; // 导入了OmsCompanyAddress实体类,用于数据库表的映射 -import com.macro.mall.model.OmsCompanyAddressExample; // 导入了OmsCompanyAddressExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsCompanyAddressMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsCompanyAddressExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsCompanyAddressExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsCompanyAddress record); // 插入一条OmsCompanyAddress记录 - - int insertSelective(OmsCompanyAddress record); // 插入一条OmsCompanyAddress记录,只插入不为null的字段 - - List selectByExample(OmsCompanyAddressExample example); // 根据example条件查询OmsCompanyAddress记录 - - OmsCompanyAddress selectByPrimaryKey(Long id); // 根据主键id查询OmsCompanyAddress记录 - - int updateByExampleSelective(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); // 根据example条件更新OmsCompanyAddress记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); // 根据example条件更新OmsCompanyAddress记录 - - int updateByPrimaryKeySelective(OmsCompanyAddress record); // 根据主键id更新OmsCompanyAddress记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsCompanyAddress record); // 根据主键id更新OmsCompanyAddress记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java index e8258ab..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsOrderItem; // 导入了OmsOrderItem实体类,用于数据库表的映射 -import com.macro.mall.model.OmsOrderItemExample; // 导入了OmsOrderItemExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsOrderItemMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsOrderItemExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsOrderItemExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsOrderItem record); // 插入一条OmsOrderItem记录 - - int insertSelective(OmsOrderItem record); // 插入一条OmsOrderItem记录,只插入不为null的字段 - - List selectByExample(OmsOrderItemExample example); // 根据example条件查询OmsOrderItem记录 - - OmsOrderItem selectByPrimaryKey(Long id); // 根据主键id查询OmsOrderItem记录 - - int updateByExampleSelective(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); // 根据example条件更新OmsOrderItem记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); // 根据example条件更新OmsOrderItem记录 - - int updateByPrimaryKeySelective(OmsOrderItem record); // 根据主键id更新OmsOrderItem记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsOrderItem record); // 根据主键id更新OmsOrderItem记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java index be1d5b6..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsOrder; // 导入了OmsOrder实体类,用于数据库表的映射 -import com.macro.mall.model.OmsOrderExample; // 导入了OmsOrderExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsOrderMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsOrderExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsOrderExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsOrder record); // 插入一条OmsOrder记录 - - int insertSelective(OmsOrder record); // 插入一条OmsOrder记录,只插入不为null的字段 - - List selectByExample(OmsOrderExample example); // 根据example条件查询OmsOrder记录 - - OmsOrder selectByPrimaryKey(Long id); // 根据主键id查询OmsOrder记录 - - int updateByExampleSelective(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); // 根据example条件更新OmsOrder记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); // 根据example条件更新OmsOrder记录 - - int updateByPrimaryKeySelective(OmsOrder record); // 根据主键id更新OmsOrder记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsOrder record); // 根据主键id更新OmsOrder记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java index 62d8cdd..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsOrderOperateHistory; // 导入了OmsOrderOperateHistory实体类,用于数据库表的映射 -import com.macro.mall.model.OmsOrderOperateHistoryExample; // 导入了OmsOrderOperateHistoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsOrderOperateHistoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsOrderOperateHistoryExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsOrderOperateHistoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsOrderOperateHistory record); // 插入一条OmsOrderOperateHistory记录 - - int insertSelective(OmsOrderOperateHistory record); // 插入一条OmsOrderOperateHistory记录,只插入不为null的字段 - - List selectByExample(OmsOrderOperateHistoryExample example); // 根据example条件查询OmsOrderOperateHistory记录 - - OmsOrderOperateHistory selectByPrimaryKey(Long id); // 根据主键id查询OmsOrderOperateHistory记录 - - int updateByExampleSelective(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); // 根据example条件更新OmsOrderOperateHistory记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); // 根据example条件更新OmsOrderOperateHistory记录 - - int updateByPrimaryKeySelective(OmsOrderOperateHistory record); // 根据主键id更新OmsOrderOperateHistory记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsOrderOperateHistory record); // 根据主键id更新OmsOrderOperateHistory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java index abf143b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsOrderReturnApply; // 导入了OmsOrderReturnApply实体类,用于数据库表的映射 -import com.macro.mall.model.OmsOrderReturnApplyExample; // 导入了OmsOrderReturnApplyExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsOrderReturnApplyMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsOrderReturnApplyExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsOrderReturnApplyExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsOrderReturnApply record); // 插入一条OmsOrderReturnApply记录 - - int insertSelective(OmsOrderReturnApply record); // 插入一条OmsOrderReturnApply记录,只插入不为null的字段 - - List selectByExample(OmsOrderReturnApplyExample example); // 根据example条件查询OmsOrderReturnApply记录 - - OmsOrderReturnApply selectByPrimaryKey(Long id); // 根据主键id查询OmsOrderReturnApply记录 - - int updateByExampleSelective(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); // 根据example条件更新OmsOrderReturnApply记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); // 根据example条件更新OmsOrderReturnApply记录 - - int updateByPrimaryKeySelective(OmsOrderReturnApply record); // 根据主键id更新OmsOrderReturnApply记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsOrderReturnApply record); // 根据主键id更新OmsOrderReturnApply记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java index 0fe4eac..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsOrderReturnReason; // 导入了OmsOrderReturnReason实体类,用于数据库表的映射 -import com.macro.mall.model.OmsOrderReturnReasonExample; // 导入了OmsOrderReturnReasonExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsOrderReturnReasonMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsOrderReturnReasonExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsOrderReturnReasonExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsOrderReturnReason record); // 插入一条OmsOrderReturnReason记录 - - int insertSelective(OmsOrderReturnReason record); // 插入一条OmsOrderReturnReason记录,只插入不为null的字段 - - List selectByExample(OmsOrderReturnReasonExample example); // 根据example条件查询OmsOrderReturnReason记录 - - OmsOrderReturnReason selectByPrimaryKey(Long id); // 根据主键id查询OmsOrderReturnReason记录 - - int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); // 根据example条件更新OmsOrderReturnReason记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); // 根据example条件更新OmsOrderReturnReason记录 - - int updateByPrimaryKeySelective(OmsOrderReturnReason record); // 根据主键id更新OmsOrderReturnReason记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsOrderReturnReason record); // 根据主键id更新OmsOrderReturnReason记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java index 2199bae..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.OmsOrderSetting; // 导入了OmsOrderSetting实体类,用于数据库表的映射 -import com.macro.mall.model.OmsOrderSettingExample; // 导入了OmsOrderSettingExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface OmsOrderSettingMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(OmsOrderSettingExample example); // 根据example条件统计记录数 - - int deleteByExample(OmsOrderSettingExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(OmsOrderSetting record); // 插入一条OmsOrderSetting记录 - - int insertSelective(OmsOrderSetting record); // 插入一条OmsOrderSetting记录,只插入不为null的字段 - - List selectByExample(OmsOrderSettingExample example); // 根据example条件查询OmsOrderSetting记录 - - OmsOrderSetting selectByPrimaryKey(Long id); // 根据主键id查询OmsOrderSetting记录 - - int updateByExampleSelective(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); // 根据example条件更新OmsOrderSetting记录,只更新不为null的字段 - - int updateByExample(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); // 根据example条件更新OmsOrderSetting记录 - - int updateByPrimaryKeySelective(OmsOrderSetting record); // 根据主键id更新OmsOrderSetting记录,只更新不为null的字段 - - int updateByPrimaryKey(OmsOrderSetting record); // 根据主键id更新OmsOrderSetting记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java index 0c68ade..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsAlbum; // 导入了PmsAlbum实体类,用于数据库表的映射 -import com.macro.mall.model.PmsAlbumExample; // 导入了PmsAlbumExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsAlbumMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsAlbumExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsAlbumExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsAlbum record); // 插入一条PmsAlbum记录 - - int insertSelective(PmsAlbum record); // 插入一条PmsAlbum记录,只插入不为null的字段 - - List selectByExample(PmsAlbumExample example); // 根据example条件查询PmsAlbum记录 - - PmsAlbum selectByPrimaryKey(Long id); // 根据主键id查询PmsAlbum记录 - - int updateByExampleSelective(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); // 根据example条件更新PmsAlbum记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); // 根据example条件更新PmsAlbum记录 - - int updateByPrimaryKeySelective(PmsAlbum record); // 根据主键id更新PmsAlbum记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsAlbum record); // 根据主键id更新PmsAlbum记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java index a01c687..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsAlbumPic; // 导入了PmsAlbumPic实体类,用于数据库表的映射 -import com.macro.mall.model.PmsAlbumPicExample; // 导入了PmsAlbumPicExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsAlbumPicMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsAlbumPicExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsAlbumPicExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsAlbumPic record); // 插入一条PmsAlbumPic记录 - - int insertSelective(PmsAlbumPic record); // 插入一条PmsAlbumPic记录,只插入不为null的字段 - - List selectByExample(PmsAlbumPicExample example); // 根据example条件查询PmsAlbumPic记录 - - PmsAlbumPic selectByPrimaryKey(Long id); // 根据主键id查询PmsAlbumPic记录 - - int updateByExampleSelective(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); // 根据example条件更新PmsAlbumPic记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); // 根据example条件更新PmsAlbumPic记录 - - int updateByPrimaryKeySelective(PmsAlbumPic record); // 根据主键id更新PmsAlbumPic记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsAlbumPic record); // 根据主键id更新PmsAlbumPic记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java index 3f4bac0..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java @@ -1,38 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsBrand; // 导入了PmsBrand实体类,用于数据库表的映射 -import com.macro.mall.model.PmsBrandExample; // 导入了PmsBrandExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsBrandMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsBrandExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsBrandExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsBrand record); // 插入一条PmsBrand记录 - - int insertSelective(PmsBrand record); // 插入一条PmsBrand记录,只插入不为null的字段 - - List selectByExampleWithBLOBs(PmsBrandExample example); // 根据example条件查询PmsBrand记录,包括BLOB字段 - - List selectByExample(PmsBrandExample example); // 根据example条件查询PmsBrand记录,不包括BLOB字段 - - PmsBrand selectByPrimaryKey(Long id); // 根据主键id查询PmsBrand记录 - - int updateByExampleSelective(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); // 根据example条件更新PmsBrand记录,只更新不为null的字段 - - int updateByExampleWithBLOBs(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); // 根据example条件更新PmsBrand记录,包括BLOB字段 - - int updateByExample(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); // 根据example条件更新PmsBrand记录 - - int updateByPrimaryKeySelective(PmsBrand record); // 根据主键id更新PmsBrand记录,只更新不为null的字段 - - int updateByPrimaryKeyWithBLOBs(PmsBrand record); // 根据主键id更新PmsBrand记录,包括BLOB字段 - - int updateByPrimaryKey(PmsBrand record); // 根据主键id更新PmsBrand记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java index 05171f1..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java @@ -1,38 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsComment; // 导入了PmsComment实体类,用于数据库表的映射 -import com.macro.mall.model.PmsCommentExample; // 导入了PmsCommentExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsCommentMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsCommentExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsCommentExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsComment record); // 插入一条PmsComment记录 - - int insertSelective(PmsComment record); // 插入一条PmsComment记录,只插入不为null的字段 - - List selectByExampleWithBLOBs(PmsCommentExample example); // 根据example条件查询PmsComment记录,包括BLOB字段 - - List selectByExample(PmsCommentExample example); // 根据example条件查询PmsComment记录,不包括BLOB字段 - - PmsComment selectByPrimaryKey(Long id); // 根据主键id查询PmsComment记录 - - int updateByExampleSelective(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); // 根据example条件更新PmsComment记录,只更新不为null的字段 - - int updateByExampleWithBLOBs(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); // 根据example条件更新PmsComment记录,包括BLOB字段 - - int updateByExample(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); // 根据example条件更新PmsComment记录 - - int updateByPrimaryKeySelective(PmsComment record); // 根据主键id更新PmsComment记录,只更新不为null的字段 - - int updateByPrimaryKeyWithBLOBs(PmsComment record); // 根据主键id更新PmsComment记录,包括BLOB字段 - - int updateByPrimaryKey(PmsComment record); // 根据主键id更新PmsComment记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java index 1ed5fa7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsCommentReplay; // 导入了PmsCommentReplay实体类,用于数据库表的映射 -import com.macro.mall.model.PmsCommentReplayExample; // 导入了PmsCommentReplayExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsCommentReplayMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsCommentReplayExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsCommentReplayExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsCommentReplay record); // 插入一条PmsCommentReplay记录 - - int insertSelective(PmsCommentReplay record); // 插入一条PmsCommentReplay记录,只插入不为null的字段 - - List selectByExample(PmsCommentReplayExample example); // 根据example条件查询PmsCommentReplay记录 - - PmsCommentReplay selectByPrimaryKey(Long id); // 根据主键id查询PmsCommentReplay记录 - - int updateByExampleSelective(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); // 根据example条件更新PmsCommentReplay记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); // 根据example条件更新PmsCommentReplay记录 - - int updateByPrimaryKeySelective(PmsCommentReplay record); // 根据主键id更新PmsCommentReplay记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsCommentReplay record); // 根据主键id更新PmsCommentReplay记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java index f3ad0a5..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsFeightTemplate; // 导入了PmsFeightTemplate实体类,用于数据库表的映射 -import com.macro.mall.model.PmsFeightTemplateExample; // 导入了PmsFeightTemplateExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsFeightTemplateMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsFeightTemplateExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsFeightTemplateExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsFeightTemplate record); // 插入一条PmsFeightTemplate记录 - - int insertSelective(PmsFeightTemplate record); // 插入一条PmsFeightTemplate记录,只插入不为null的字段 - - List selectByExample(PmsFeightTemplateExample example); // 根据example条件查询PmsFeightTemplate记录 - - PmsFeightTemplate selectByPrimaryKey(Long id); // 根据主键id查询PmsFeightTemplate记录 - - int updateByExampleSelective(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); // 根据example条件更新PmsFeightTemplate记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); // 根据example条件更新PmsFeightTemplate记录 - - int updateByPrimaryKeySelective(PmsFeightTemplate record); // 根据主键id更新PmsFeightTemplate记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsFeightTemplate record); // 根据主键id更新PmsFeightTemplate记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java index 707e53b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsMemberPrice; // 导入了PmsMemberPrice实体类,用于数据库表的映射 -import com.macro.mall.model.PmsMemberPriceExample; // 导入了PmsMemberPriceExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsMemberPriceMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsMemberPriceExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsMemberPriceExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsMemberPrice record); // 插入一条PmsMemberPrice记录 - - int insertSelective(PmsMemberPrice record); // 插入一条PmsMemberPrice记录,只插入不为null的字段 - - List selectByExample(PmsMemberPriceExample example); // 根据example条件查询PmsMemberPrice记录 - - PmsMemberPrice selectByPrimaryKey(Long id); // 根据主键id查询PmsMemberPrice记录 - - int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); // 根据example条件更新PmsMemberPrice记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); // 根据example条件更新PmsMemberPrice记录 - - int updateByPrimaryKeySelective(PmsMemberPrice record); // 根据主键id更新PmsMemberPrice记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsMemberPrice record); // 根据主键id更新PmsMemberPrice记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java index b9f6800..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductAttributeCategory; // 导入了PmsProductAttributeCategory实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductAttributeCategoryExample; // 导入了PmsProductAttributeCategoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductAttributeCategoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductAttributeCategoryExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductAttributeCategoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductAttributeCategory record); // 插入一条PmsProductAttributeCategory记录 - - int insertSelective(PmsProductAttributeCategory record); // 插入一条PmsProductAttributeCategory记录,只插入不为null的字段 - - List selectByExample(PmsProductAttributeCategoryExample example); // 根据example条件查询PmsProductAttributeCategory记录 - - PmsProductAttributeCategory selectByPrimaryKey(Long id); // 根据主键id查询PmsProductAttributeCategory记录 - - int updateByExampleSelective(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); // 根据example条件更新PmsProductAttributeCategory记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); // 根据example条件更新PmsProductAttributeCategory记录 - - int updateByPrimaryKeySelective(PmsProductAttributeCategory record); // 根据主键id更新PmsProductAttributeCategory记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductAttributeCategory record); // 根据主键id更新PmsProductAttributeCategory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java index 4883cff..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductAttribute; // 导入了PmsProductAttribute实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductAttributeExample; // 导入了PmsProductAttributeExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductAttributeMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductAttributeExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductAttributeExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductAttribute record); // 插入一条PmsProductAttribute记录 - - int insertSelective(PmsProductAttribute record); // 插入一条PmsProductAttribute记录,只插入不为null的字段 - - List selectByExample(PmsProductAttributeExample example); // 根据example条件查询PmsProductAttribute记录 - - PmsProductAttribute selectByPrimaryKey(Long id); // 根据主键id查询PmsProductAttribute记录 - - int updateByExampleSelective(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); // 根据example条件更新PmsProductAttribute记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); // 根据example条件更新PmsProductAttribute记录 - - int updateByPrimaryKeySelective(PmsProductAttribute record); // 根据主键id更新PmsProductAttribute记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductAttribute record); // 根据主键id更新PmsProductAttribute记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java index db2eafd..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductAttributeValue; // 导入了PmsProductAttributeValue实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductAttributeValueExample; // 导入了PmsProductAttributeValueExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductAttributeValueMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductAttributeValueExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductAttributeValueExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductAttributeValue record); // 插入一条PmsProductAttributeValue记录 - - int insertSelective(PmsProductAttributeValue record); // 插入一条PmsProductAttributeValue记录,只插入不为null的字段 - - List selectByExample(PmsProductAttributeValueExample example); // 根据example条件查询PmsProductAttributeValue记录 - - PmsProductAttributeValue selectByPrimaryKey(Long id); // 根据主键id查询PmsProductAttributeValue记录 - - int updateByExampleSelective(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); // 根据example条件更新PmsProductAttributeValue记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); // 根据example条件更新PmsProductAttributeValue记录 - - int updateByPrimaryKeySelective(PmsProductAttributeValue record); // 根据主键id更新PmsProductAttributeValue记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductAttributeValue record); // 根据主键id更新PmsProductAttributeValue记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java index 288f789..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductCategoryAttributeRelation; // 导入了PmsProductCategoryAttributeRelation实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductCategoryAttributeRelationExample; // 导入了PmsProductCategoryAttributeRelationExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductCategoryAttributeRelationMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductCategoryAttributeRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductCategoryAttributeRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductCategoryAttributeRelation record); // 插入一条PmsProductCategoryAttributeRelation记录 - - int insertSelective(PmsProductCategoryAttributeRelation record); // 插入一条PmsProductCategoryAttributeRelation记录,只插入不为null的字段 - - List selectByExample(PmsProductCategoryAttributeRelationExample example); // 根据example条件查询PmsProductCategoryAttributeRelation记录 - - PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id); // 根据主键id查询PmsProductCategoryAttributeRelation记录 - - int updateByExampleSelective(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); // 根据example条件更新PmsProductCategoryAttributeRelation记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); // 根据example条件更新PmsProductCategoryAttributeRelation记录 - - int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation record); // 根据主键id更新PmsProductCategoryAttributeRelation记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductCategoryAttributeRelation record); // 根据主键id更新PmsProductCategoryAttributeRelation记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java index 8374e3e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java @@ -1,38 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductCategory; // 导入了PmsProductCategory实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductCategoryExample; // 导入了PmsProductCategoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductCategoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductCategoryExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductCategoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductCategory record); // 插入一条PmsProductCategory记录 - - int insertSelective(PmsProductCategory record); // 插入一条PmsProductCategory记录,只插入不为null的字段 - - List selectByExampleWithBLOBs(PmsProductCategoryExample example); // 根据example条件查询PmsProductCategory记录,包括BLOB字段 - - List selectByExample(PmsProductCategoryExample example); // 根据example条件查询PmsProductCategory记录,不包括BLOB字段 - - PmsProductCategory selectByPrimaryKey(Long id); // 根据主键id查询PmsProductCategory记录 - - int updateByExampleSelective(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); // 根据example条件更新PmsProductCategory记录,只更新不为null的字段 - - int updateByExampleWithBLOBs(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); // 根据example条件更新PmsProductCategory记录,包括BLOB字段 - - int updateByExample(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); // 根据example条件更新PmsProductCategory记录 - - int updateByPrimaryKeySelective(PmsProductCategory record); // 根据主键id更新PmsProductCategory记录,只更新不为null的字段 - - int updateByPrimaryKeyWithBLOBs(PmsProductCategory record); // 根据主键id更新PmsProductCategory记录,包括BLOB字段 - - int updateByPrimaryKey(PmsProductCategory record); // 根据主键id更新PmsProductCategory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java index 3d95d58..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductFullReduction; // 导入了PmsProductFullReduction实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductFullReductionExample; // 导入了PmsProductFullReductionExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductFullReductionMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductFullReductionExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductFullReductionExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductFullReduction record); // 插入一条PmsProductFullReduction记录 - - int insertSelective(PmsProductFullReduction record); // 插入一条PmsProductFullReduction记录,只插入不为null的字段 - - List selectByExample(PmsProductFullReductionExample example); // 根据example条件查询PmsProductFullReduction记录 - - PmsProductFullReduction selectByPrimaryKey(Long id); // 根据主键id查询PmsProductFullReduction记录 - - int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); // 根据example条件更新PmsProductFullReduction记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); // 根据example条件更新PmsProductFullReduction记录 - - int updateByPrimaryKeySelective(PmsProductFullReduction record); // 根据主键id更新PmsProductFullReduction记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductFullReduction record); // 根据主键id更新PmsProductFullReduction记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java index ee3af84..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductLadder; // 导入了PmsProductLadder实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductLadderExample; // 导入了PmsProductLadderExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductLadderMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductLadderExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductLadderExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductLadder record); // 插入一条PmsProductLadder记录 - - int insertSelective(PmsProductLadder record); // 插入一条PmsProductLadder记录,只插入不为null的字段 - - List selectByExample(PmsProductLadderExample example); // 根据example条件查询PmsProductLadder记录 - - PmsProductLadder selectByPrimaryKey(Long id); // 根据主键id查询PmsProductLadder记录 - - int updateByExampleSelective(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); // 根据example条件更新PmsProductLadder记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); // 根据example条件更新PmsProductLadder记录 - - int updateByPrimaryKeySelective(PmsProductLadder record); // 根据主键id更新PmsProductLadder记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductLadder record); // 根据主键id更新PmsProductLadder记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java index b11c9f8..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java @@ -1,38 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProduct; // 导入了PmsProduct实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductExample; // 导入了PmsProductExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProduct record); // 插入一条PmsProduct记录 - - int insertSelective(PmsProduct record); // 插入一条PmsProduct记录,只插入不为null的字段 - - List selectByExampleWithBLOBs(PmsProductExample example); // 根据example条件查询PmsProduct记录,包括BLOB字段 - - List selectByExample(PmsProductExample example); // 根据example条件查询PmsProduct记录,不包括BLOB字段 - - PmsProduct selectByPrimaryKey(Long id); // 根据主键id查询PmsProduct记录 - - int updateByExampleSelective(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); // 根据example条件更新PmsProduct记录,只更新不为null的字段 - - int updateByExampleWithBLOBs(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); // 根据example条件更新PmsProduct记录,包括BLOB字段 - - int updateByExample(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); // 根据example条件更新PmsProduct记录 - - int updateByPrimaryKeySelective(PmsProduct record); // 根据主键id更新PmsProduct记录,只更新不为null的字段 - - int updateByPrimaryKeyWithBLOBs(PmsProduct record); // 根据主键id更新PmsProduct记录,包括BLOB字段 - - int updateByPrimaryKey(PmsProduct record); // 根据主键id更新PmsProduct记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java index 4c4e01b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductOperateLog; // 导入了PmsProductOperateLog实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductOperateLogExample; // 导入了PmsProductOperateLogExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductOperateLogMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductOperateLogExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductOperateLogExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductOperateLog record); // 插入一条PmsProductOperateLog记录 - - int insertSelective(PmsProductOperateLog record); // 插入一条PmsProductOperateLog记录,只插入不为null的字段 - - List selectByExample(PmsProductOperateLogExample example); // 根据example条件查询PmsProductOperateLog记录 - - PmsProductOperateLog selectByPrimaryKey(Long id); // 根据主键id查询PmsProductOperateLog记录 - - int updateByExampleSelective(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); // 根据example条件更新PmsProductOperateLog记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); // 根据example条件更新PmsProductOperateLog记录 - - int updateByPrimaryKeySelective(PmsProductOperateLog record); // 根据主键id更新PmsProductOperateLog记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductOperateLog record); // 根据主键id更新PmsProductOperateLog记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java index e63f743..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsProductVertifyRecord; // 导入了PmsProductVertifyRecord实体类,用于数据库表的映射 -import com.macro.mall.model.PmsProductVertifyRecordExample; // 导入了PmsProductVertifyRecordExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsProductVertifyRecordMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsProductVertifyRecordExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsProductVertifyRecordExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsProductVertifyRecord record); // 插入一条PmsProductVertifyRecord记录 - - int insertSelective(PmsProductVertifyRecord record); // 插入一条PmsProductVertifyRecord记录,只插入不为null的字段 - - List selectByExample(PmsProductVertifyRecordExample example); // 根据example条件查询PmsProductVertifyRecord记录 - - PmsProductVertifyRecord selectByPrimaryKey(Long id); // 根据主键id查询PmsProductVertifyRecord记录 - - int updateByExampleSelective(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); // 根据example条件更新PmsProductVertifyRecord记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); // 根据example条件更新PmsProductVertifyRecord记录 - - int updateByPrimaryKeySelective(PmsProductVertifyRecord record); // 根据主键id更新PmsProductVertifyRecord记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsProductVertifyRecord record); // 根据主键id更新PmsProductVertifyRecord记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java index 1608253..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.PmsSkuStock; // 导入了PmsSkuStock实体类,用于数据库表的映射 -import com.macro.mall.model.PmsSkuStockExample; // 导入了PmsSkuStockExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface PmsSkuStockMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(PmsSkuStockExample example); // 根据example条件统计记录数 - - int deleteByExample(PmsSkuStockExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(PmsSkuStock record); // 插入一条PmsSkuStock记录 - - int insertSelective(PmsSkuStock record); // 插入一条PmsSkuStock记录,只插入不为null的字段 - - List selectByExample(PmsSkuStockExample example); // 根据example条件查询PmsSkuStock记录 - - PmsSkuStock selectByPrimaryKey(Long id); // 根据主键id查询PmsSkuStock记录 - - int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); // 根据example条件更新PmsSkuStock记录,只更新不为null的字段 - - int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); // 根据example条件更新PmsSkuStock记录 - - int updateByPrimaryKeySelective(PmsSkuStock record); // 根据主键id更新PmsSkuStock记录,只更新不为null的字段 - - int updateByPrimaryKey(PmsSkuStock record); // 根据主键id更新PmsSkuStock记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java index 2ec6899..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsCouponHistory; // 导入了SmsCouponHistory实体类,用于数据库表的映射 -import com.macro.mall.model.SmsCouponHistoryExample; // 导入了SmsCouponHistoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsCouponHistoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsCouponHistoryExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsCouponHistoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsCouponHistory record); // 插入一条SmsCouponHistory记录 - - int insertSelective(SmsCouponHistory record); // 插入一条SmsCouponHistory记录,只插入不为null的字段 - - List selectByExample(SmsCouponHistoryExample example); // 根据example条件查询SmsCouponHistory记录 - - SmsCouponHistory selectByPrimaryKey(Long id); // 根据主键id查询SmsCouponHistory记录 - - int updateByExampleSelective(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); // 根据example条件更新SmsCouponHistory记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); // 根据example条件更新SmsCouponHistory记录 - - int updateByPrimaryKeySelective(SmsCouponHistory record); // 根据主键id更新SmsCouponHistory记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsCouponHistory record); // 根据主键id更新SmsCouponHistory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java index a8d2e5d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsCoupon; // 导入了SmsCoupon实体类,用于数据库表的映射 -import com.macro.mall.model.SmsCouponExample; // 导入了SmsCouponExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsCouponMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsCouponExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsCouponExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsCoupon record); // 插入一条SmsCoupon记录 - - int insertSelective(SmsCoupon record); // 插入一条SmsCoupon记录,只插入不为null的字段 - - List selectByExample(SmsCouponExample example); // 根据example条件查询SmsCoupon记录 - - SmsCoupon selectByPrimaryKey(Long id); // 根据主键id查询SmsCoupon记录 - - int updateByExampleSelective(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); // 根据example条件更新SmsCoupon记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); // 根据example条件更新SmsCoupon记录 - - int updateByPrimaryKeySelective(SmsCoupon record); // 根据主键id更新SmsCoupon记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsCoupon record); // 根据主键id更新SmsCoupon记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java index df8b8ee..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsCouponProductCategoryRelation; // 导入了SmsCouponProductCategoryRelation实体类,用于数据库表的映射 -import com.macro.mall.model.SmsCouponProductCategoryRelationExample; // 导入了SmsCouponProductCategoryRelationExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsCouponProductCategoryRelationMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsCouponProductCategoryRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsCouponProductCategoryRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsCouponProductCategoryRelation record); // 插入一条SmsCouponProductCategoryRelation记录 - - int insertSelective(SmsCouponProductCategoryRelation record); // 插入一条SmsCouponProductCategoryRelation记录,只插入不为null的字段 - - List selectByExample(SmsCouponProductCategoryRelationExample example); // 根据example条件查询SmsCouponProductCategoryRelation记录 - - SmsCouponProductCategoryRelation selectByPrimaryKey(Long id); // 根据主键id查询SmsCouponProductCategoryRelation记录 - - int updateByExampleSelective(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); // 根据example条件更新SmsCouponProductCategoryRelation记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); // 根据example条件更新SmsCouponProductCategoryRelation记录 - - int updateByPrimaryKeySelective(SmsCouponProductCategoryRelation record); // 根据主键id更新SmsCouponProductCategoryRelation记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsCouponProductCategoryRelation record); // 根据主键id更新SmsCouponProductCategoryRelation记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java index c0c0cb7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsCouponProductRelation; // 导入了SmsCouponProductRelation实体类,用于数据库表的映射 -import com.macro.mall.model.SmsCouponProductRelationExample; // 导入了SmsCouponProductRelationExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsCouponProductRelationMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsCouponProductRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsCouponProductRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsCouponProductRelation record); // 插入一条SmsCouponProductRelation记录 - - int insertSelective(SmsCouponProductRelation record); // 插入一条SmsCouponProductRelation记录,只插入不为null的字段 - - List selectByExample(SmsCouponProductRelationExample example); // 根据example条件查询SmsCouponProductRelation记录 - - SmsCouponProductRelation selectByPrimaryKey(Long id); // 根据主键id查询SmsCouponProductRelation记录 - - int updateByExampleSelective(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); // 根据example条件更新SmsCouponProductRelation记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); // 根据example条件更新SmsCouponProductRelation记录 - - int updateByPrimaryKeySelective(SmsCouponProductRelation record); // 根据主键id更新SmsCouponProductRelation记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsCouponProductRelation record); // 根据主键id更新SmsCouponProductRelation记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java index c5c21ef..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsFlashPromotionLog; // 导入了SmsFlashPromotionLog实体类,用于数据库表的映射 -import com.macro.mall.model.SmsFlashPromotionLogExample; // 导入了SmsFlashPromotionLogExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsFlashPromotionLogMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsFlashPromotionLogExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsFlashPromotionLogExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Integer id); // 根据主键id删除记录,这里使用的是Integer类型 - - int insert(SmsFlashPromotionLog record); // 插入一条SmsFlashPromotionLog记录 - - int insertSelective(SmsFlashPromotionLog record); // 插入一条SmsFlashPromotionLog记录,只插入不为null的字段 - - List selectByExample(SmsFlashPromotionLogExample example); // 根据example条件查询SmsFlashPromotionLog记录 - - SmsFlashPromotionLog selectByPrimaryKey(Integer id); // 根据主键id查询SmsFlashPromotionLog记录,这里使用的是Integer类型 - - int updateByExampleSelective(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); // 根据example条件更新SmsFlashPromotionLog记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); // 根据example条件更新SmsFlashPromotionLog记录 - - int updateByPrimaryKeySelective(SmsFlashPromotionLog record); // 根据主键id更新SmsFlashPromotionLog记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsFlashPromotionLog record); // 根据主键id更新SmsFlashPromotionLog记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java index add2e12..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsFlashPromotion; // 导入了SmsFlashPromotion实体类,用于数据库表的映射 -import com.macro.mall.model.SmsFlashPromotionExample; // 导入了SmsFlashPromotionExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsFlashPromotionMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsFlashPromotionExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsFlashPromotionExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsFlashPromotion record); // 插入一条SmsFlashPromotion记录 - - int insertSelective(SmsFlashPromotion record); // 插入一条SmsFlashPromotion记录,只插入不为null的字段 - - List selectByExample(SmsFlashPromotionExample example); // 根据example条件查询SmsFlashPromotion记录 - - SmsFlashPromotion selectByPrimaryKey(Long id); // 根据主键id查询SmsFlashPromotion记录 - - int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); // 根据example条件更新SmsFlashPromotion记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); // 根据example条件更新SmsFlashPromotion记录 - - int updateByPrimaryKeySelective(SmsFlashPromotion record); // 根据主键id更新SmsFlashPromotion记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsFlashPromotion record); // 根据主键id更新SmsFlashPromotion记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java index bd7ced1..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsFlashPromotionProductRelation; // 导入了SmsFlashPromotionProductRelation实体类,用于数据库表的映射 -import com.macro.mall.model.SmsFlashPromotionProductRelationExample; // 导入了SmsFlashPromotionProductRelationExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsFlashPromotionProductRelationMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsFlashPromotionProductRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsFlashPromotionProductRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsFlashPromotionProductRelation record); // 插入一条SmsFlashPromotionProductRelation记录 - - int insertSelective(SmsFlashPromotionProductRelation record); // 插入一条SmsFlashPromotionProductRelation记录,只插入不为null的字段 - - List selectByExample(SmsFlashPromotionProductRelationExample example); // 根据example条件查询SmsFlashPromotionProductRelation记录 - - SmsFlashPromotionProductRelation selectByPrimaryKey(Long id); // 根据主键id查询SmsFlashPromotionProductRelation记录 - - int updateByExampleSelective(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example); // 根据example条件更新SmsFlashPromotionProductRelation记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example); // 根据example条件更新SmsFlashPromotionProductRelation记录 - - int updateByPrimaryKeySelective(SmsFlashPromotionProductRelation record); // 根据主键id更新SmsFlashPromotionProductRelation记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsFlashPromotionProductRelation record); // 根据主键id更新SmsFlashPromotionProductRelation记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java index 9d91eb3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsFlashPromotionSession; // 导入了SmsFlashPromotionSession实体类,用于数据库表的映射 -import com.macro.mall.model.SmsFlashPromotionSessionExample; // 导入了SmsFlashPromotionSessionExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsFlashPromotionSessionMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsFlashPromotionSessionExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsFlashPromotionSessionExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsFlashPromotionSession record); // 插入一条SmsFlashPromotionSession记录 - - int insertSelective(SmsFlashPromotionSession record); // 插入一条SmsFlashPromotionSession记录,只插入不为null的字段 - - List selectByExample(SmsFlashPromotionSessionExample example); // 根据example条件查询SmsFlashPromotionSession记录 - - SmsFlashPromotionSession selectByPrimaryKey(Long id); // 根据主键id查询SmsFlashPromotionSession记录 - - int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example); // 根据example条件更新SmsFlashPromotionSession记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example); // 根据example条件更新SmsFlashPromotionSession记录 - - int updateByPrimaryKeySelective(SmsFlashPromotionSession record); // 根据主键id更新SmsFlashPromotionSession记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsFlashPromotionSession record); // 根据主键id更新SmsFlashPromotionSession记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java index 101e2ee..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsHomeAdvertise; // 导入了SmsHomeAdvertise实体类,用于数据库表的映射 -import com.macro.mall.model.SmsHomeAdvertiseExample; // 导入了SmsHomeAdvertiseExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsHomeAdvertiseMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsHomeAdvertiseExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsHomeAdvertiseExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsHomeAdvertise record); // 插入一条SmsHomeAdvertise记录 - - int insertSelective(SmsHomeAdvertise record); // 插入一条SmsHomeAdvertise记录,只插入不为null的字段 - - List selectByExample(SmsHomeAdvertiseExample example); // 根据example条件查询SmsHomeAdvertise记录 - - SmsHomeAdvertise selectByPrimaryKey(Long id); // 根据主键id查询SmsHomeAdvertise记录 - - int updateByExampleSelective(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); // 根据example条件更新SmsHomeAdvertise记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); // 根据example条件更新SmsHomeAdvertise记录 - - int updateByPrimaryKeySelective(SmsHomeAdvertise record); // 根据主键id更新SmsHomeAdvertise记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsHomeAdvertise record); // 根据主键id更新SmsHomeAdvertise记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java index dbd375d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsHomeBrand; // 导入了SmsHomeBrand实体类,用于数据库表的映射 -import com.macro.mall.model.SmsHomeBrandExample; // 导入了SmsHomeBrandExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsHomeBrandMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsHomeBrandExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsHomeBrandExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsHomeBrand record); // 插入一条SmsHomeBrand记录 - - int insertSelective(SmsHomeBrand record); // 插入一条SmsHomeBrand记录,只插入不为null的字段 - - List selectByExample(SmsHomeBrandExample example); // 根据example条件查询SmsHomeBrand记录 - - SmsHomeBrand selectByPrimaryKey(Long id); // 根据主键id查询SmsHomeBrand记录 - - int updateByExampleSelective(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); // 根据example条件更新SmsHomeBrand记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); // 根据example条件更新SmsHomeBrand记录 - - int updateByPrimaryKeySelective(SmsHomeBrand record); // 根据主键id更新SmsHomeBrand记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsHomeBrand record); // 根据主键id更新SmsHomeBrand记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java index 0e4b515..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsHomeNewProduct; // 导入了SmsHomeNewProduct实体类,用于数据库表的映射 -import com.macro.mall.model.SmsHomeNewProductExample; // 导入了SmsHomeNewProductExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsHomeNewProductMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsHomeNewProductExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsHomeNewProductExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsHomeNewProduct record); // 插入一条SmsHomeNewProduct记录 - - int insertSelective(SmsHomeNewProduct record); // 插入一条SmsHomeNewProduct记录,只插入不为null的字段 - - List selectByExample(SmsHomeNewProductExample example); // 根据example条件查询SmsHomeNewProduct记录 - - SmsHomeNewProduct selectByPrimaryKey(Long id); // 根据主键id查询SmsHomeNewProduct记录 - - int updateByExampleSelective(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); // 根据example条件更新SmsHomeNewProduct记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); // 根据example条件更新SmsHomeNewProduct记录 - - int updateByPrimaryKeySelective(SmsHomeNewProduct record); // 根据主键id更新SmsHomeNewProduct记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsHomeNewProduct record); // 根据主键id更新SmsHomeNewProduct记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java index 04c32f7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsHomeRecommendProduct; // 导入了SmsHomeRecommendProduct实体类,用于数据库表的映射 -import com.macro.mall.model.SmsHomeRecommendProductExample; // 导入了SmsHomeRecommendProductExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsHomeRecommendProductMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsHomeRecommendProductExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsHomeRecommendProductExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsHomeRecommendProduct record); // 插入一条SmsHomeRecommendProduct记录 - - int insertSelective(SmsHomeRecommendProduct record); // 插入一条SmsHomeRecommendProduct记录,只插入不为null的字段 - - List selectByExample(SmsHomeRecommendProductExample example); // 根据example条件查询SmsHomeRecommendProduct记录 - - SmsHomeRecommendProduct selectByPrimaryKey(Long id); // 根据主键id查询SmsHomeRecommendProduct记录 - - int updateByExampleSelective(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); // 根据example条件更新SmsHomeRecommendProduct记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); // 根据example条件更新SmsHomeRecommendProduct记录 - - int updateByPrimaryKeySelective(SmsHomeRecommendProduct record); // 根据主键id更新SmsHomeRecommendProduct记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsHomeRecommendProduct record); // 根据主键id更新SmsHomeRecommendProduct记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java index 81c4bb2..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.SmsHomeRecommendSubject; // 导入了SmsHomeRecommendSubject实体类,用于数据库表的映射 -import com.macro.mall.model.SmsHomeRecommendSubjectExample; // 导入了SmsHomeRecommendSubjectExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface SmsHomeRecommendSubjectMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(SmsHomeRecommendSubjectExample example); // 根据example条件统计记录数 - - int deleteByExample(SmsHomeRecommendSubjectExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(SmsHomeRecommendSubject record); // 插入一条SmsHomeRecommendSubject记录 - - int insertSelective(SmsHomeRecommendSubject record); // 插入一条SmsHomeRecommendSubject记录,只插入不为null的字段 - - List selectByExample(SmsHomeRecommendSubjectExample example); // 根据example条件查询SmsHomeRecommendSubject记录 - - SmsHomeRecommendSubject selectByPrimaryKey(Long id); // 根据主键id查询SmsHomeRecommendSubject记录 - - int updateByExampleSelective(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); // 根据example条件更新SmsHomeRecommendSubject记录,只更新不为null的字段 - - int updateByExample(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); // 根据example条件更新SmsHomeRecommendSubject记录 - - int updateByPrimaryKeySelective(SmsHomeRecommendSubject record); // 根据主键id更新SmsHomeRecommendSubject记录,只更新不为null的字段 - - int updateByPrimaryKey(SmsHomeRecommendSubject record); // 根据主键id更新SmsHomeRecommendSubject记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java index b99f519..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.UmsAdminLoginLog; // 导入了UmsAdminLoginLog实体类,用于数据库表的映射 -import com.macro.mall.model.UmsAdminLoginLogExample; // 导入了UmsAdminLoginLogExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface UmsAdminLoginLogMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(UmsAdminLoginLogExample example); // 根据example条件统计记录数 - - int deleteByExample(UmsAdminLoginLogExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(UmsAdminLoginLog record); // 插入一条UmsAdminLoginLog记录 - - int insertSelective(UmsAdminLoginLog record); // 插入一条UmsAdminLoginLog记录,只插入不为null的字段 - - List selectByExample(UmsAdminLoginLogExample example); // 根据example条件查询UmsAdminLoginLog记录 - - UmsAdminLoginLog selectByPrimaryKey(Long id); // 根据主键id查询UmsAdminLoginLog记录 - - int updateByExampleSelective(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); // 根据example条件更新UmsAdminLoginLog记录,只更新不为null的字段 - - int updateByExample(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); // 根据example条件更新UmsAdminLoginLog记录 - - int updateByPrimaryKeySelective(UmsAdminLoginLog record); // 根据主键id更新UmsAdminLoginLog记录,只更新不为null的字段 - - int updateByPrimaryKey(UmsAdminLoginLog record); // 根据主键id更新UmsAdminLoginLog记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java index 0904776..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.UmsAdmin; // 导入了UmsAdmin实体类,用于数据库表的映射 -import com.macro.mall.model.UmsAdminExample; // 导入了UmsAdminExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface UmsAdminMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(UmsAdminExample example); // 根据example条件统计记录数 - - int deleteByExample(UmsAdminExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(UmsAdmin record); // 插入一条UmsAdmin记录 - - int insertSelective(UmsAdmin record); // 插入一条UmsAdmin记录,只插入不为null的字段 - - List selectByExample(UmsAdminExample example); // 根据example条件查询UmsAdmin记录 - - UmsAdmin selectByPrimaryKey(Long id); // 根据主键id查询UmsAdmin记录 - - int updateByExampleSelective(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); // 根据example条件更新UmsAdmin记录,只更新不为null的字段 - - int updateByExample(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); // 根据example条件更新UmsAdmin记录 - - int updateByPrimaryKeySelective(UmsAdmin record); // 根据主键id更新UmsAdmin记录,只更新不为null的字段 - - int updateByPrimaryKey(UmsAdmin record); // 根据主键id更新UmsAdmin记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java index 50ac306..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.UmsAdminPermissionRelation; // 导入了UmsAdminPermissionRelation实体类,用于数据库表的映射 -import com.macro.mall.model.UmsAdminPermissionRelationExample; // 导入了UmsAdminPermissionRelationExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface UmsAdminPermissionRelationMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(UmsAdminPermissionRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(UmsAdminPermissionRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(UmsAdminPermissionRelation record); // 插入一条UmsAdminPermissionRelation记录 - - int insertSelective(UmsAdminPermissionRelation record); // 插入一条UmsAdminPermissionRelation记录,只插入不为null的字段 - - List selectByExample(UmsAdminPermissionRelationExample example); // 根据example条件查询UmsAdminPermissionRelation记录 - - UmsAdminPermissionRelation selectByPrimaryKey(Long id); // 根据主键id查询UmsAdminPermissionRelation记录 - - int updateByExampleSelective(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example); // 根据example条件更新UmsAdminPermissionRelation记录,只更新不为null的字段 - - int updateByExample(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example); // 根据example条件更新UmsAdminPermissionRelation记录 - - int updateByPrimaryKeySelective(UmsAdminPermissionRelation record); // 根据主键id更新UmsAdminPermissionRelation记录,只更新不为null的字段 - - int updateByPrimaryKey(UmsAdminPermissionRelation record); // 根据主键id更新UmsAdminPermissionRelation记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java index 6e694f4..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.UmsAdminRoleRelation; // 导入了UmsAdminRoleRelation实体类,用于数据库表的映射 -import com.macro.mall.model.UmsAdminRoleRelationExample; // 导入了UmsAdminRoleRelationExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface UmsAdminRoleRelationMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(UmsAdminRoleRelationExample example); // 根据example条件统计记录数 - - int deleteByExample(UmsAdminRoleRelationExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(UmsAdminRoleRelation record); // 插入一条UmsAdminRoleRelation记录 - - int insertSelective(UmsAdminRoleRelation record); // 插入一条UmsAdminRoleRelation记录,只插入不为null的字段 - - List selectByExample(UmsAdminRoleRelationExample example); // 根据example条件查询UmsAdminRoleRelation记录 - - UmsAdminRoleRelation selectByPrimaryKey(Long id); // 根据主键id查询UmsAdminRoleRelation记录 - - int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example); // 根据example条件更新UmsAdminRoleRelation记录,只更新不为null的字段 - - int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example); // 根据example条件更新UmsAdminRoleRelation记录 - - int updateByPrimaryKeySelective(UmsAdminRoleRelation record); // 根据主键id更新UmsAdminRoleRelation记录,只更新不为null的字段 - - int updateByPrimaryKey(UmsAdminRoleRelation record); // 根据主键id更新UmsAdminRoleRelation记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java index 8dbadba..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.UmsGrowthChangeHistory; // 导入了UmsGrowthChangeHistory实体类,用于数据库表的映射 -import com.macro.mall.model.UmsGrowthChangeHistoryExample; // 导入了UmsGrowthChangeHistoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface UmsGrowthChangeHistoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(UmsGrowthChangeHistoryExample example); // 根据example条件统计记录数 - - int deleteByExample(UmsGrowthChangeHistoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(UmsGrowthChangeHistory record); // 插入一条UmsGrowthChangeHistory记录 - - int insertSelective(UmsGrowthChangeHistory record); // 插入一条UmsGrowthChangeHistory记录,只插入不为null的字段 - - List selectByExample(UmsGrowthChangeHistoryExample example); // 根据example条件查询UmsGrowthChangeHistory记录 - - UmsGrowthChangeHistory selectByPrimaryKey(Long id); // 根据主键id查询UmsGrowthChangeHistory记录 - - int updateByExampleSelective(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); // 根据example条件更新UmsGrowthChangeHistory记录,只更新不为null的字段 - - int updateByExample(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); // 根据example条件更新UmsGrowthChangeHistory记录 - - int updateByPrimaryKeySelective(UmsGrowthChangeHistory record); // 根据主键id更新UmsGrowthChangeHistory记录,只更新不为null的字段 - - int updateByPrimaryKey(UmsGrowthChangeHistory record); // 根据主键id更新UmsGrowthChangeHistory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java index 8c7839f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java @@ -1,32 +0,0 @@ -package com.macro.mall.mapper; // 定义了该接口所属的包名,用于Java的包管理 - -import com.macro.mall.model.UmsIntegrationChangeHistory; // 导入了UmsIntegrationChangeHistory实体类,用于数据库表的映射 -import com.macro.mall.model.UmsIntegrationChangeHistoryExample; // 导入了UmsIntegrationChangeHistoryExample类,用于构建查询条件 -import java.util.List; // 导入了List接口,用于存储查询结果集 -import org.apache.ibatis.annotations.Param; // 导入了MyBatis的Param注解,用于指定参数名称 - -public interface UmsIntegrationChangeHistoryMapper { // 声明了一个MyBatis的Mapper接口,用于数据库操作 - // 以下方法都是MyBatis映射的方法,用于数据库的CRUD操作 - - long countByExample(UmsIntegrationChangeHistoryExample example); // 根据example条件统计记录数 - - int deleteByExample(UmsIntegrationChangeHistoryExample example); // 根据example条件删除记录 - - int deleteByPrimaryKey(Long id); // 根据主键id删除记录 - - int insert(UmsIntegrationChangeHistory record); // 插入一条UmsIntegrationChangeHistory记录 - - int insertSelective(UmsIntegrationChangeHistory record); // 插入一条UmsIntegrationChangeHistory记录,只插入不为null的字段 - - List selectByExample(UmsIntegrationChangeHistoryExample example); // 根据example条件查询UmsIntegrationChangeHistory记录 - - UmsIntegrationChangeHistory selectByPrimaryKey(Long id); // 根据主键id查询UmsIntegrationChangeHistory记录 - - int updateByExampleSelective(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); // 根据example条件更新UmsIntegrationChangeHistory记录,只更新不为null的字段 - - int updateByExample(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); // 根据example条件更新UmsIntegrationChangeHistory记录 - - int updateByPrimaryKeySelective(UmsIntegrationChangeHistory record); // 根据主键id更新UmsIntegrationChangeHistory记录,只更新不为null的字段 - - int updateByPrimaryKey(UmsIntegrationChangeHistory record); // 根据主键id更新UmsIntegrationChangeHistory记录 -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java index f079365..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsIntegrationConsumeSetting; -import com.macro.mall.model.UmsIntegrationConsumeSettingExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsIntegrationConsumeSettingMapper { - long countByExample(UmsIntegrationConsumeSettingExample example); - - int deleteByExample(UmsIntegrationConsumeSettingExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsIntegrationConsumeSetting record); - - int insertSelective(UmsIntegrationConsumeSetting record); - - List selectByExample(UmsIntegrationConsumeSettingExample example); - - UmsIntegrationConsumeSetting selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example); - - int updateByExample(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example); - - int updateByPrimaryKeySelective(UmsIntegrationConsumeSetting record); - - int updateByPrimaryKey(UmsIntegrationConsumeSetting record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java index 71a64ed..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberLevel; -import com.macro.mall.model.UmsMemberLevelExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberLevelMapper { - long countByExample(UmsMemberLevelExample example); - - int deleteByExample(UmsMemberLevelExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberLevel record); - - int insertSelective(UmsMemberLevel record); - - List selectByExample(UmsMemberLevelExample example); - - UmsMemberLevel selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); - - int updateByExample(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); - - int updateByPrimaryKeySelective(UmsMemberLevel record); - - int updateByPrimaryKey(UmsMemberLevel record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java index 3fb0f48..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberLoginLog; -import com.macro.mall.model.UmsMemberLoginLogExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberLoginLogMapper { - long countByExample(UmsMemberLoginLogExample example); - - int deleteByExample(UmsMemberLoginLogExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberLoginLog record); - - int insertSelective(UmsMemberLoginLog record); - - List selectByExample(UmsMemberLoginLogExample example); - - UmsMemberLoginLog selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); - - int updateByExample(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); - - int updateByPrimaryKeySelective(UmsMemberLoginLog record); - - int updateByPrimaryKey(UmsMemberLoginLog record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java index 5360bcf..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMember; -import com.macro.mall.model.UmsMemberExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberMapper { - long countByExample(UmsMemberExample example); - - int deleteByExample(UmsMemberExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMember record); - - int insertSelective(UmsMember record); - - List selectByExample(UmsMemberExample example); - - UmsMember selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); - - int updateByExample(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); - - int updateByPrimaryKeySelective(UmsMember record); - - int updateByPrimaryKey(UmsMember record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java index d76df3d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberMemberTagRelation; -import com.macro.mall.model.UmsMemberMemberTagRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberMemberTagRelationMapper { - long countByExample(UmsMemberMemberTagRelationExample example); - - int deleteByExample(UmsMemberMemberTagRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberMemberTagRelation record); - - int insertSelective(UmsMemberMemberTagRelation record); - - List selectByExample(UmsMemberMemberTagRelationExample example); - - UmsMemberMemberTagRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); - - int updateByExample(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); - - int updateByPrimaryKeySelective(UmsMemberMemberTagRelation record); - - int updateByPrimaryKey(UmsMemberMemberTagRelation record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java index b522a60..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberProductCategoryRelation; -import com.macro.mall.model.UmsMemberProductCategoryRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberProductCategoryRelationMapper { - long countByExample(UmsMemberProductCategoryRelationExample example); - - int deleteByExample(UmsMemberProductCategoryRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberProductCategoryRelation record); - - int insertSelective(UmsMemberProductCategoryRelation record); - - List selectByExample(UmsMemberProductCategoryRelationExample example); - - UmsMemberProductCategoryRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); - - int updateByExample(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); - - int updateByPrimaryKeySelective(UmsMemberProductCategoryRelation record); - - int updateByPrimaryKey(UmsMemberProductCategoryRelation record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java index 5a7b5f7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberReceiveAddress; -import com.macro.mall.model.UmsMemberReceiveAddressExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberReceiveAddressMapper { - long countByExample(UmsMemberReceiveAddressExample example); - - int deleteByExample(UmsMemberReceiveAddressExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberReceiveAddress record); - - int insertSelective(UmsMemberReceiveAddress record); - - List selectByExample(UmsMemberReceiveAddressExample example); - - UmsMemberReceiveAddress selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); - - int updateByExample(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); - - int updateByPrimaryKeySelective(UmsMemberReceiveAddress record); - - int updateByPrimaryKey(UmsMemberReceiveAddress record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java index 1fc5b92..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberRuleSetting; -import com.macro.mall.model.UmsMemberRuleSettingExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberRuleSettingMapper { - long countByExample(UmsMemberRuleSettingExample example); - - int deleteByExample(UmsMemberRuleSettingExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberRuleSetting record); - - int insertSelective(UmsMemberRuleSetting record); - - List selectByExample(UmsMemberRuleSettingExample example); - - UmsMemberRuleSetting selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); - - int updateByExample(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); - - int updateByPrimaryKeySelective(UmsMemberRuleSetting record); - - int updateByPrimaryKey(UmsMemberRuleSetting record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java index 8601071..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberStatisticsInfo; -import com.macro.mall.model.UmsMemberStatisticsInfoExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberStatisticsInfoMapper { - long countByExample(UmsMemberStatisticsInfoExample example); - - int deleteByExample(UmsMemberStatisticsInfoExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberStatisticsInfo record); - - int insertSelective(UmsMemberStatisticsInfo record); - - List selectByExample(UmsMemberStatisticsInfoExample example); - - UmsMemberStatisticsInfo selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); - - int updateByExample(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); - - int updateByPrimaryKeySelective(UmsMemberStatisticsInfo record); - - int updateByPrimaryKey(UmsMemberStatisticsInfo record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java index 995c6a7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberTag; -import com.macro.mall.model.UmsMemberTagExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberTagMapper { - long countByExample(UmsMemberTagExample example); - - int deleteByExample(UmsMemberTagExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberTag record); - - int insertSelective(UmsMemberTag record); - - List selectByExample(UmsMemberTagExample example); - - UmsMemberTag selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); - - int updateByExample(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); - - int updateByPrimaryKeySelective(UmsMemberTag record); - - int updateByPrimaryKey(UmsMemberTag record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java index 9a11eba..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberTask; -import com.macro.mall.model.UmsMemberTaskExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberTaskMapper { - long countByExample(UmsMemberTaskExample example); - - int deleteByExample(UmsMemberTaskExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberTask record); - - int insertSelective(UmsMemberTask record); - - List selectByExample(UmsMemberTaskExample example); - - UmsMemberTask selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); - - int updateByExample(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); - - int updateByPrimaryKeySelective(UmsMemberTask record); - - int updateByPrimaryKey(UmsMemberTask record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java index c26b471..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMenu; -import com.macro.mall.model.UmsMenuExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMenuMapper { - long countByExample(UmsMenuExample example); - - int deleteByExample(UmsMenuExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMenu record); - - int insertSelective(UmsMenu record); - - List selectByExample(UmsMenuExample example); - - UmsMenu selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsMenu record, @Param("example") UmsMenuExample example); - - int updateByExample(@Param("record") UmsMenu record, @Param("example") UmsMenuExample example); - - int updateByPrimaryKeySelective(UmsMenu record); - - int updateByPrimaryKey(UmsMenu record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java index 466f6c1..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsPermission; -import com.macro.mall.model.UmsPermissionExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsPermissionMapper { - long countByExample(UmsPermissionExample example); - - int deleteByExample(UmsPermissionExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsPermission record); - - int insertSelective(UmsPermission record); - - List selectByExample(UmsPermissionExample example); - - UmsPermission selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example); - - int updateByExample(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example); - - int updateByPrimaryKeySelective(UmsPermission record); - - int updateByPrimaryKey(UmsPermission record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java index 7cc19ab..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsResourceCategory; -import com.macro.mall.model.UmsResourceCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsResourceCategoryMapper { - long countByExample(UmsResourceCategoryExample example); - - int deleteByExample(UmsResourceCategoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsResourceCategory record); - - int insertSelective(UmsResourceCategory record); - - List selectByExample(UmsResourceCategoryExample example); - - UmsResourceCategory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsResourceCategory record, @Param("example") UmsResourceCategoryExample example); - - int updateByExample(@Param("record") UmsResourceCategory record, @Param("example") UmsResourceCategoryExample example); - - int updateByPrimaryKeySelective(UmsResourceCategory record); - - int updateByPrimaryKey(UmsResourceCategory record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java index fccbdf3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsResource; -import com.macro.mall.model.UmsResourceExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsResourceMapper { - long countByExample(UmsResourceExample example); - - int deleteByExample(UmsResourceExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsResource record); - - int insertSelective(UmsResource record); - - List selectByExample(UmsResourceExample example); - - UmsResource selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsResource record, @Param("example") UmsResourceExample example); - - int updateByExample(@Param("record") UmsResource record, @Param("example") UmsResourceExample example); - - int updateByPrimaryKeySelective(UmsResource record); - - int updateByPrimaryKey(UmsResource record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java index 8b4986d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRole; -import com.macro.mall.model.UmsRoleExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRoleMapper { - long countByExample(UmsRoleExample example); - - int deleteByExample(UmsRoleExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRole record); - - int insertSelective(UmsRole record); - - List selectByExample(UmsRoleExample example); - - UmsRole selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsRole record, @Param("example") UmsRoleExample example); - - int updateByExample(@Param("record") UmsRole record, @Param("example") UmsRoleExample example); - - int updateByPrimaryKeySelective(UmsRole record); - - int updateByPrimaryKey(UmsRole record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java index 92e971b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRoleMenuRelation; -import com.macro.mall.model.UmsRoleMenuRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRoleMenuRelationMapper { - long countByExample(UmsRoleMenuRelationExample example); - - int deleteByExample(UmsRoleMenuRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRoleMenuRelation record); - - int insertSelective(UmsRoleMenuRelation record); - - List selectByExample(UmsRoleMenuRelationExample example); - - UmsRoleMenuRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsRoleMenuRelation record, @Param("example") UmsRoleMenuRelationExample example); - - int updateByExample(@Param("record") UmsRoleMenuRelation record, @Param("example") UmsRoleMenuRelationExample example); - - int updateByPrimaryKeySelective(UmsRoleMenuRelation record); - - int updateByPrimaryKey(UmsRoleMenuRelation record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java index 39a40a0..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRolePermissionRelation; -import com.macro.mall.model.UmsRolePermissionRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRolePermissionRelationMapper { - long countByExample(UmsRolePermissionRelationExample example); - - int deleteByExample(UmsRolePermissionRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRolePermissionRelation record); - - int insertSelective(UmsRolePermissionRelation record); - - List selectByExample(UmsRolePermissionRelationExample example); - - UmsRolePermissionRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example); - - int updateByExample(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example); - - int updateByPrimaryKeySelective(UmsRolePermissionRelation record); - - int updateByPrimaryKey(UmsRolePermissionRelation record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java index 4a83061..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRoleResourceRelation; -import com.macro.mall.model.UmsRoleResourceRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRoleResourceRelationMapper { - long countByExample(UmsRoleResourceRelationExample example); - - int deleteByExample(UmsRoleResourceRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRoleResourceRelation record); - - int insertSelective(UmsRoleResourceRelation record); - - List selectByExample(UmsRoleResourceRelationExample example); - - UmsRoleResourceRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("record") UmsRoleResourceRelation record, @Param("example") UmsRoleResourceRelationExample example); - - int updateByExample(@Param("record") UmsRoleResourceRelation record, @Param("example") UmsRoleResourceRelationExample example); - - int updateByPrimaryKeySelective(UmsRoleResourceRelation record); - - int updateByPrimaryKey(UmsRoleResourceRelation record); -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java index 6612cc0..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java @@ -1,108 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class CmsHelp implements Serializable { - private Long id; - - private Long categoryId; - - private String icon; - - private String title; - - private Integer showStatus; - - private Date createTime; - - private Integer readCount; - - private String content; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getCategoryId() { - return categoryId; - } - - public void setCategoryId(Long categoryId) { - this.categoryId = categoryId; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getReadCount() { - return readCount; - } - - public void setReadCount(Integer readCount) { - this.readCount = readCount; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", categoryId=").append(categoryId); - sb.append(", icon=").append(icon); - sb.append(", title=").append(title); - sb.append(", showStatus=").append(showStatus); - sb.append(", createTime=").append(createTime); - sb.append(", readCount=").append(readCount); - sb.append(", content=").append(content); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java index 6f4e7fe..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java @@ -1,109 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class CmsHelpCategory implements Serializable { - private Long id; - - private String name; - - @ApiModelProperty(value = "分类图标") - private String icon; - - @ApiModelProperty(value = "专题数量") - private Integer helpCount; - - private Integer showStatus; - - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public Integer getHelpCount() { - return helpCount; - } - - public void setHelpCount(Integer helpCount) { - this.helpCount = helpCount; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - // 创建一个StringBuilder对象,用于高效地构建字符串 - StringBuilder sb = new StringBuilder(); - - // 获取当前类的简单名称并追加到StringBuilder中 - sb.append(getClass().getSimpleName()); - sb.append(" ["); - - // 追加对象的哈希码 - sb.append("Hash = ").append(hashCode()); - - // 追加id字段的值 - sb.append(", id=").append(id); - - // 追加name字段的值 - sb.append(", name=").append(name); - - // 追加icon字段的值 - sb.append(", icon=").append(icon); - - // 追加helpCount字段的值 - sb.append(", helpCount=").append(helpCount); - - // 追加showStatus字段的值 - sb.append(", showStatus=").append(showStatus); - - // 追加sort字段的值 - sb.append(", sort=").append(sort); - - // 追加serialVersionUID字段的值 - sb.append(", serialVersionUID=").append(serialVersionUID); - - // 结束字符串构建并返回结果 - sb.append("]"); - return sb.toString(); - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java index 471535f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java @@ -1,724 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class CmsHelpCategoryExample { - // 定义排序子句 - protected String orderByClause; - - // 是否使用 DISTINCT 关键字 - protected boolean distinct; - - // 存储查询条件的列表 - protected List oredCriteria; - - /** - * 构造函数,初始化查询条件列表 - */ - public CmsHelpCategoryExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * 设置排序子句 - * @param orderByClause 排序子句字符串 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * 获取排序子句 - * @return 排序子句字符串 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * 设置是否使用 DISTINCT 关键字 - * @param distinct true 表示使用 DISTINCT 关键字,false 表示不使用 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * 判断是否使用 DISTINCT 关键字 - * @return 如果使用 DISTINCT 关键字返回 true,否则返回 false - */ - public boolean isDistinct() { - return distinct; - } - - /** - * 获取查询条件列表 - * @return 查询条件列表 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * 添加一个查询条件到查询条件列表中 - * @param criteria 要添加的查询条件 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - - public Criteria or() { - // 创建一个新的Criteria对象 - Criteria criteria = createCriteriaInternal(); - // 将新的Criteria对象添加到oredCriteria列表中 - oredCriteria.add(criteria); - // 返回新创建的Criteria对象 - return criteria; - } - - public Criteria createCriteria() { - // 创建一个新的Criteria对象 - Criteria criteria = createCriteriaInternal(); - // 如果oredCriteria列表为空,则将新的Criteria对象添加到列表中 - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - // 返回新创建的Criteria对象 - return criteria; - } - - protected Criteria createCriteriaInternal() { - // 创建并返回一个新的Criteria对象 - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - // 清空oredCriteria列表 - oredCriteria.clear(); - // 将orderByClause设置为null - orderByClause = null; - // 将distinct标志设置为false - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 存储Criterion对象的列表 - protected List criteria; // 存储查询条件的列表 - - protected GeneratedCriteria() { - // 调用父类的构造函数 - super(); - // 初始化criteria列表 - criteria = new ArrayList<>(); - } - - public boolean isValid() { - // 检查criteria列表是否包含至少一个Criterion对象 - return criteria.size() > 0; - } - - public List getAllCriteria() { - // 返回所有Criterion对象的列表 - return criteria; - } - - public List getCriteria() { - // 返回所有Criterion对象的列表 - return criteria; - } - - protected void addCriterion(String condition) { - // 如果条件为空,抛出运行时异常 - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - // 将新的Criterion对象添加到criteria列表中 - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - // 如果值为空,抛出运行时异常 - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - // 将新的Criterion对象(带值)添加到criteria列表中 - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - // 如果任意一个值为空,抛出运行时异常 - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - // 将新的Criterion对象(带两个值)添加到criteria列表中 - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - // 添加条件“id is null”到criteria列表中 - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - // 添加条件“id is not null”到criteria列表中 - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - // 添加条件“id = value”到criteria列表中 - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - // 添加条件“id <> value”到criteria列表中 - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - // 添加条件“id > value”到criteria列表中 - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - // 添加条件“id >= value”到criteria列表中 - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - // 添加条件“id < value”到criteria列表中 - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - // 添加条件“id <= value”到criteria列表中 - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - // 添加条件“id in (values)”到criteria列表中 - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - // 添加条件“id not in (values)”到criteria列表中 - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - // 添加条件“id between value1 and value2”到criteria列表中 - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - // 添加条件“id not between value1 and value2”到criteria列表中 - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - // 添加条件“name is null”到criteria列表中 - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - // 添加条件“name is not null”到criteria列表中 - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - // 添加条件“name = value”到criteria列表中 - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - // 添加条件“name <> value”到criteria列表中 - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - // 添加条件“name > value”到criteria列表中 - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - // 添加条件“name >= value”到criteria列表中 - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - // 添加条件“name < value”到criteria列表中 - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - // 添加条件 "name <= value" 到criteria列表中 - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - // 添加条件 "name like value" 到criteria列表中 - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - // 添加条件 "name not like value" 到criteria列表中 - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - // 添加条件 "name in (values)" 到criteria列表中 - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - // 添加条件 "name not in (values)" 到criteria列表中 - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - - public Criteria andNameBetween(String value1, String value2) { - // 添加条件 "name between value1 and value2" - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - // 添加条件 "name not between value1 and value2" - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - // 添加条件 "icon is null" - addCriterion("icon is null"); - return (Criteria) this; - } - - public Criteria andIconIsNotNull() { - // 添加条件 "icon is not null" - addCriterion("icon is not null"); - return (Criteria) this; - } - - public Criteria andIconEqualTo(String value) { - // 添加条件 "icon = value" - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotEqualTo(String value) { - // 添加条件 "icon <> value" - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThan(String value) { - // 添加条件 "icon > value" - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThanOrEqualTo(String value) { - // 添加条件 "icon >= value" - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThan(String value) { - // 添加条件 "icon < value" - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThanOrEqualTo(String value) { - // 添加条件 "icon <= value" - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLike(String value) { - // 添加条件 "icon like value" - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotLike(String value) { - // 添加条件 "icon not like value" - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconIn(List values) { - // 添加条件 "icon in (values)" - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotIn(List values) { - // 添加条件 "icon not in (values)" - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconBetween(String value1, String value2) { - // 添加条件 "icon between value1 and value2" - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotBetween(String value1, String value2) { - // 添加条件 "icon not between value1 and value2" - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andHelpCountIsNull() { - // 添加条件 "help_count is null" - addCriterion("help_count is null"); - return (Criteria) this; - } - - public Criteria andHelpCountIsNotNull() { - // 添加条件 "help_count is not null" - addCriterion("help_count is not null"); - return (Criteria) this; - } - - public Criteria andHelpCountEqualTo(Integer value) { - // 添加条件 "help_count = value" - addCriterion("help_count =", value, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountNotEqualTo(Integer value) { - // 添加条件 "help_count <> value" - addCriterion("help_count <>", value, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountGreaterThan(Integer value) { - // 添加条件 "help_count > value" - addCriterion("help_count >", value, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountGreaterThanOrEqualTo(Integer value) { - // 添加条件 "help_count >= value" - addCriterion("help_count >=", value, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountLessThan(Integer value) { - // 添加条件 "help_count < value" - addCriterion("help_count <", value, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountLessThanOrEqualTo(Integer value) { - // 添加条件 "help_count <= value" - addCriterion("help_count <=", value, "helpCount"); - return (Criteria) this; - } - - - public Criteria andHelpCountIn(List values) { - // 添加条件 "help_count in (values)" - addCriterion("help_count in", values, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountNotIn(List values) { - // 添加条件 "help_count not in (values)" - addCriterion("help_count not in", values, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountBetween(Integer value1, Integer value2) { - // 添加条件 "help_count between value1 and value2" - addCriterion("help_count between", value1, value2, "helpCount"); - return (Criteria) this; - } - - public Criteria andHelpCountNotBetween(Integer value1, Integer value2) { - // 添加条件 "help_count not between value1 and value2" - addCriterion("help_count not between", value1, value2, "helpCount"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNull() { - // 添加条件 "show_status is null" - addCriterion("show_status is null"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNotNull() { - // 添加条件 "show_status is not null" - addCriterion("show_status is not null"); - return (Criteria) this; - } - - public Criteria andShowStatusEqualTo(Integer value) { - // 添加条件 "show_status = value" - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotEqualTo(Integer value) { - // 添加条件 "show_status <> value" - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThan(Integer value) { - // 添加条件 "show_status > value" - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - // 添加条件 "show_status >= value" - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThan(Integer value) { - // 添加条件 "show_status < value" - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - // 添加条件 "show_status <= value" - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - - - // 检查 show_status 是否在给定的值列表中 - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在给定的值列表中 - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否在给定的两个值之间(包含边界) - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在给定的两个值之间(不包含边界) - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 sort 字段是否为空 - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - // 检查 sort 字段是否不为空 - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - // 检查 sort 是否等于给定的值 - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否不等于给定的值 - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否大于给定的值 - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否大于或等于给定的值 - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否小于给定的值 - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否小于或等于给定的值 - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否在给定的值列表中 - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否不在给定的值列表中 - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否在给定的两个值之间(包含边界) - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否不在给定的两个值之间(不包含边界) - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - // 构造函数,用于创建一个Criterion对象,只包含条件和值 - protected Criterion(String condition, Object value) { - // 调用另一个构造函数,并传递null作为第三个参数 - this(condition, value, null); - } - - // 构造函数,用于创建一个Criterion对象,包含条件、值、第二个值和类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - // 调用父类的构造函数 - super(); - // 初始化条件字段 - this.condition = condition; - // 初始化值字段 - this.value = value; - // 初始化第二个值字段 - this.secondValue = secondValue; - // 初始化类型处理器字段 - this.typeHandler = typeHandler; - // 设置betweenValue为true,表示这是一个范围查询 - this.betweenValue = true; - } - - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java index 5c1486f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java @@ -1,738 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class CmsHelpExample { - // 定义一个字符串变量用于存储排序子句 - protected String orderByClause; - - // 定义一个布尔变量用于指示是否使用 DISTINCT 关键字 - protected boolean distinct; - - // 定义一个列表用于存储查询条件(Criteria) - protected List oredCriteria; - - // 构造函数,初始化 oredCriteria 列表 - public CmsHelpExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否使用 DISTINCT 关键字的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 获取是否使用 DISTINCT 关键字的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 向查询条件列表中添加一个新的 Criteria 对象 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的 Criteria 对象并添加到查询条件列表中,然后返回该对象 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个 Criteria 对象,如果查询条件列表为空则将其添加到列表中,最后返回该对象 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的 Criteria 对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,并将 distinct 设置为 false - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个保护的列表来存储所有的查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 检查是否有任何查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件的列表 - public List getAllCriteria() { - return criteria; - } - - // 获取查询条件的列表(与getAllCriteria相同) - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件(例如BETWEEN语句) - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下方法用于生成具体的查询条件,例如id的各种比较操作 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 以下方法用于生成category_id的各种比较操作 - public Criteria andCategoryIdIsNull() { - addCriterion("category_id is null"); - return (Criteria) this; - } - - public Criteria andCategoryIdIsNotNull() { - addCriterion("category_id is not null"); - return (Criteria) this; - } - - public Criteria andCategoryIdEqualTo(Long value) { - addCriterion("category_id =", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotEqualTo(Long value) { - addCriterion("category_id <>", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThan(Long value) { - addCriterion("category_id >", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("category_id >=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThan(Long value) { - addCriterion("category_id <", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("category_id <=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdIn(List values) { - addCriterion("category_id in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotIn(List values) { - addCriterion("category_id not in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdBetween(Long value1, Long value2) { - addCriterion("category_id between", value1, value2, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("category_id not between", value1, value2, "categoryId"); - return (Criteria) this; - } - - // 以下方法用于生成icon字段的各种比较操作 - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - // 检查icon字段是否不为空 - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - // 检查icon字段是否等于指定值 - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不等于指定值 - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否大于指定值 - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否大于或等于指定值 - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否小于指定值 - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否小于或等于指定值 - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否匹配指定模式(使用LIKE) - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不匹配指定模式(使用NOT LIKE) - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否在指定列表中 - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不在指定列表中 - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否在指定范围内(使用BETWEEN) - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不在指定范围内(使用NOT BETWEEN) - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - // 检查title字段是否为空 - public Criteria andTitleIsNull() { - addCriterion("title is null"); - return (Criteria) this; - } - - // 检查title字段是否不为空 - public Criteria andTitleIsNotNull() { - addCriterion("title is not null"); - return (Criteria) this; - } - - // 检查title字段是否等于指定值 - public Criteria andTitleEqualTo(String value) { - addCriterion("title =", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否不等于指定值 - public Criteria andTitleNotEqualTo(String value) { - addCriterion("title <>", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否大于指定值 - public Criteria andTitleGreaterThan(String value) { - addCriterion("title >", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否大于或等于指定值 - public Criteria andTitleGreaterThanOrEqualTo(String value) { - addCriterion("title >=", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否小于指定值 - public Criteria andTitleLessThan(String value) { - addCriterion("title <", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否小于或等于指定值 - public Criteria andTitleLessThanOrEqualTo(String value) { - addCriterion("title <=", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否匹配指定模式(使用LIKE) - public Criteria andTitleLike(String value) { - addCriterion("title like", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否不匹配指定模式(使用NOT LIKE) - public Criteria andTitleNotLike(String value) { - addCriterion("title not like", value, "title"); - return (Criteria) this; - } - - // 检查title字段是否在指定列表中 - public Criteria andTitleIn(List values) { - addCriterion("title in", values, "title"); - return (Criteria) this; - } - - // 检查title字段是否不在指定列表中 - public Criteria andTitleNotIn(List values) { - addCriterion("title not in", values, "title"); - return (Criteria) this; - } - - // 检查title字段是否在指定范围内(使用BETWEEN) - public Criteria andTitleBetween(String value1, String value2) { - addCriterion("title between", value1, value2, "title"); - return (Criteria) this; - } - - // 检查title字段是否不在指定范围内(使用NOT BETWEEN) - public Criteria andTitleNotBetween(String value1, String value2) { - addCriterion("title not between", value1, value2, "title"); - return (Criteria) this; - } - - // 检查show_status字段是否为空 - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - // 检查show_status字段是否不为空 - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - // 检查show_status字段是否等于指定值 - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不等于指定值 - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否大于指定值 - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否大于或等于指定值 - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否小于指定值 - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否小于或等于指定值 - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否在指定的列表中 - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在指定的列表中 - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否在指定的范围内 - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在指定的范围内 - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 create_time 是否为空 - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - // 检查 create_time 是否不为空 - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - // 检查 create_time 是否等于指定值 - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不等于指定值 - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否大于指定值 - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否大于或等于指定值 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否小于指定值 - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否小于或等于指定值 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否在指定的列表中 - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不在指定的列表中 - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否在指定的范围内 - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不在指定的范围内 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查 read_count 是否为空 - public Criteria andReadCountIsNull() { - addCriterion("read_count is null"); - return (Criteria) this; - } - - // 检查 read_count 是否不为空 - public Criteria andReadCountIsNotNull() { - addCriterion("read_count is not null"); - return (Criteria) this; - } - - // 检查 read_count 是否等于指定值 - public Criteria andReadCountEqualTo(Integer value) { - addCriterion("read_count =", value, "readCount"); - return (Criteria) this; - } - - - // 检查 read_count 是否不等于指定值 - public Criteria andReadCountNotEqualTo(Integer value) { - addCriterion("read_count <>", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否大于指定值 - public Criteria andReadCountGreaterThan(Integer value) { - addCriterion("read_count >", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否大于或等于指定值 - public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { - addCriterion("read_count >=", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否小于指定值 - public Criteria andReadCountLessThan(Integer value) { - addCriterion("read_count <", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否小于或等于指定值 - public Criteria andReadCountLessThanOrEqualTo(Integer value) { - addCriterion("read_count <=", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否在指定的列表中 - public Criteria andReadCountIn(List values) { - addCriterion("read_count in", values, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不在指定的列表中 - public Criteria andReadCountNotIn(List values) { - addCriterion("read_count not in", values, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否在指定的范围内(包含边界) - public Criteria andReadCountBetween(Integer value1, Integer value2) { - addCriterion("read_count between", value1, value2, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不在指定的范围内(不包含边界) - public Criteria andReadCountNotBetween(Integer value1, Integer value2) { - addCriterion("read_count not between", value1, value2, "readCount"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - // 默认构造函数,调用父类的构造函数 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 第一个值 - private Object secondValue; // 第二个值(用于between查询) - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否单个值 - private boolean betweenValue; // 是否在两个值之间 - private boolean listValue; // 是否列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取第一个值 - public Object getValue() { - return value; - } - - // 获取第二个值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否单个值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否在两个值之间 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; // 表示没有值 - } - - // 构造函数,包含条件表达式和值,以及可选的类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值是列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单个值 - } - } - - // 构造函数,包含条件表达式和值,不包含类型处理器 - protected Criterion(String condition, Object value) { - this(condition, value, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - - // 构造函数,包含条件表达式、两个值和可选的类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 表示在两个值之间 - } - - // 构造函数,包含条件表达式、两个值,不包含类型处理器 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - } - -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java index 370c4a0..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java @@ -1,118 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -/** - * CmsMemberReport 类表示一个会员举报信息。 - * 它包含举报的详细信息,如举报类型、举报人、创建时间等。 - */ -public class CmsMemberReport implements Serializable { - private Long id; // 举报的唯一标识符 - - @ApiModelProperty(value = "举报类型:0->商品评价;1->话题内容;2->用户评论") - private Integer reportType; // 举报的类型 - - @ApiModelProperty(value = "举报人") - private String reportMemberName; // 举报人的姓名 - - private Date createTime; // 举报的创建时间 - - private String reportObject; // 被举报的对象(如商品ID或评论ID) - - @ApiModelProperty(value = "举报状态:0->未处理;1->已处理") - private Integer reportStatus; // 举报的处理状态 - - @ApiModelProperty(value = "处理结果:0->无效;1->有效;2->恶意") - private Integer handleStatus; // 举报的处理结果 - - private String note; // 备注信息 - - private static final long serialVersionUID = 1L; // 序列化版本号 - - // Getter and Setter methods for each field - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Integer getReportType() { - return reportType; - } - - public void setReportType(Integer reportType) { - this.reportType = reportType; - } - - public String getReportMemberName() { - return reportMemberName; - } - - public void setReportMemberName(String reportMemberName) { - this.reportMemberName = reportMemberName; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getReportObject() { - return reportObject; - } - - public void setReportObject(String reportObject) { - this.reportObject = reportObject; - } - - public Integer getReportStatus() { - return reportStatus; - } - - public void setReportStatus(Integer reportStatus) { - this.reportStatus = reportStatus; - } - - public Integer getHandleStatus() { - return handleStatus; - } - - public void setHandleStatus(Integer handleStatus) { - this.handleStatus = handleStatus; - } - - public String getNote() { - return note; - } - - public void setNote(String note) { - this.note = note; - } - - // toString method to provide a string representation of the object - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", reportType=").append(reportType); - sb.append(", reportMemberName=").append(reportMemberName); - sb.append(", createTime=").append(createTime); - sb.append(", reportObject=").append(reportObject); - sb.append(", reportStatus=").append(reportStatus); - sb.append(", handleStatus=").append(handleStatus); - sb.append(", note=").append(note); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java index 4d7dfb2..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java @@ -1,847 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class CmsMemberReportExample { - // 定义一个用于排序的子句 - protected String orderByClause; - - // 定义一个布尔值,用于指示查询结果是否去重 - protected boolean distinct; - - // 定义一个列表,用于存储查询条件(Criteria) - protected List oredCriteria; - - // 构造函数,初始化oredCriteria为一个新的ArrayList - public CmsMemberReportExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否去重的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 获取是否去重的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 添加一个查询条件到oredCriteria列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的Criteria对象并添加到oredCriteria列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个Criteria对象,如果oredCriteria列表为空则将其添加到列表中的方法 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的Criteria对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,并将distinct设置为false的方法 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个用于存储查询条件的列表 - protected List criteria; - - // 构造函数,初始化criteria为一个新的ArrayList - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有查询条件的方法 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件的方法 - public List getAllCriteria() { - return criteria; - } - - // 获取查询条件列表的方法(与getAllCriteria方法相同) - public List getCriteria() { - return criteria; - } - - // 添加单个查询条件的方法 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加带值的查询条件的方法 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加区间查询条件的方法 - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 添加id为空的查询条件的方法 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - // 添加id不为空的查询条件的方法 - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - // 添加id等于指定值的查询条件的方法 - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - // 添加id不等于指定值的查询条件的方法 - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - // 添加id大于指定值的查询条件的方法 - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - // 添加id大于等于指定值的查询条件的方法 - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - // 添加id小于指定值的查询条件的方法 - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - // 添加id小于等于指定值的查询条件的方法 - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - // 添加id在指定值列表中的查询条件的方法 - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - // 添加id不在指定值列表中的查询条件的方法 - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - // 添加id在指定范围内的查询条件的方法 - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - // 添加id不在指定范围内的查询条件的方法 - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 添加report_type为空的查询条件的方法 - public Criteria andReportTypeIsNull() { - addCriterion("report_type is null"); - return (Criteria) this; - } - - // 添加report_type不为空的查询条件的方法 - public Criteria andReportTypeIsNotNull() { - addCriterion("report_type is not null"); - return (Criteria) this; - } - - // 添加report_type等于指定值的查询条件的方法 - public Criteria andReportTypeEqualTo(Integer value) { - addCriterion("report_type =", value, "reportType"); - return (Criteria) this; - } - - // 添加report_type不等于指定值的查询条件的方法 - public Criteria andReportTypeNotEqualTo(Integer value) { - addCriterion("report_type <>", value, "reportType"); - return (Criteria) this; - } - - // 添加report_type大于指定值的查询条件的方法 - public Criteria andReportTypeGreaterThan(Integer value) { - addCriterion("report_type >", value, "reportType"); - return (Criteria) this; - } - - // 添加report_type大于等于指定值的查询条件的方法 - public Criteria andReportTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("report_type >=", value, "reportType"); - return (Criteria) this; - } - - // 添加report_type小于指定值的查询条件的方法 - public Criteria andReportTypeLessThan(Integer value) { - addCriterion("report_type <", value, "reportType"); - return (Criteria) this; - } - - - // 添加 report_type <= value 的条件 - public Criteria andReportTypeLessThanOrEqualTo(Integer value) { - addCriterion("report_type <=", value, "reportType"); - return (Criteria) this; - } - - // 添加 report_type in (values) 的条件 - public Criteria andReportTypeIn(List values) { - addCriterion("report_type in", values, "reportType"); - return (Criteria) this; - } - - // 添加 report_type not in (values) 的条件 - public Criteria andReportTypeNotIn(List values) { - addCriterion("report_type not in", values, "reportType"); - return (Criteria) this; - } - - // 添加 report_type between value1 and value2 的条件 - public Criteria andReportTypeBetween(Integer value1, Integer value2) { - addCriterion("report_type between", value1, value2, "reportType"); - return (Criteria) this; - } - - // 添加 report_type not between value1 and value2 的条件 - public Criteria andReportTypeNotBetween(Integer value1, Integer value2) { - addCriterion("report_type not between", value1, value2, "reportType"); - return (Criteria) this; - } - - // 添加 report_member_name is null 的条件 - public Criteria andReportMemberNameIsNull() { - addCriterion("report_member_name is null"); - return (Criteria) this; - } - - // 添加 report_member_name is not null 的条件 - public Criteria andReportMemberNameIsNotNull() { - addCriterion("report_member_name is not null"); - return (Criteria) this; - } - - // 添加 report_member_name = value 的条件 - public Criteria andReportMemberNameEqualTo(String value) { - addCriterion("report_member_name =", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name <> value 的条件 - public Criteria andReportMemberNameNotEqualTo(String value) { - addCriterion("report_member_name <>", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name > value 的条件 - public Criteria andReportMemberNameGreaterThan(String value) { - addCriterion("report_member_name >", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name >= value 的条件 - public Criteria andReportMemberNameGreaterThanOrEqualTo(String value) { - addCriterion("report_member_name >=", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name < value 的条件 - public Criteria andReportMemberNameLessThan(String value) { - addCriterion("report_member_name <", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name <= value 的条件 - public Criteria andReportMemberNameLessThanOrEqualTo(String value) { - addCriterion("report_member_name <=", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name like value 的条件 - public Criteria andReportMemberNameLike(String value) { - addCriterion("report_member_name like", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name not like value 的条件 - public Criteria andReportMemberNameNotLike(String value) { - addCriterion("report_member_name not like", value, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name in (values) 的条件 - public Criteria andReportMemberNameIn(List values) { - addCriterion("report_member_name in", values, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name not in (values) 的条件 - public Criteria andReportMemberNameNotIn(List values) { - addCriterion("report_member_name not in", values, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name between value1 and value2 的条件 - public Criteria andReportMemberNameBetween(String value1, String value2) { - addCriterion("report_member_name between", value1, value2, "reportMemberName"); - return (Criteria) this; - } - - // 添加 report_member_name not between value1 and value2 的条件 - public Criteria andReportMemberNameNotBetween(String value1, String value2) { - addCriterion("report_member_name not between", value1, value2, "reportMemberName"); - return (Criteria) this; - } - - // 添加 create_time is null 的条件 - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - // 添加 create_time is not null 的条件 - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - // 添加 create_time = value 的条件 - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - // 添加 create_time <> value 的条件 - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - // 添加 create_time > value 的条件 - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - // 添加 create_time >= value 的条件 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - // 添加 create_time < value 的条件 - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - // 添加 create_time <= value 的条件 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - // 添加 create_time in (values) 的条件 - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - // 添加 create_time not in (values) 的条件 - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - - // 添加创建时间在指定范围内的条件 - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 添加创建时间不在指定范围内的条件 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 添加报告对象为空的条件 - public Criteria andReportObjectIsNull() { - addCriterion("report_object is null"); - return (Criteria) this; - } - - // 添加报告对象不为空的条件 - public Criteria andReportObjectIsNotNull() { - addCriterion("report_object is not null"); - return (Criteria) this; - } - - // 添加报告对象等于指定值的条件 - public Criteria andReportObjectEqualTo(String value) { - addCriterion("report_object =", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象不等于指定值的条件 - public Criteria andReportObjectNotEqualTo(String value) { - addCriterion("report_object <>", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象大于指定值的条件 - public Criteria andReportObjectGreaterThan(String value) { - addCriterion("report_object >", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象大于或等于指定值的条件 - public Criteria andReportObjectGreaterThanOrEqualTo(String value) { - addCriterion("report_object >=", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象小于指定值的条件 - public Criteria andReportObjectLessThan(String value) { - addCriterion("report_object <", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象小于或等于指定值的条件 - public Criteria andReportObjectLessThanOrEqualTo(String value) { - addCriterion("report_object <=", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象匹配指定模式的条件 - public Criteria andReportObjectLike(String value) { - addCriterion("report_object like", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象不匹配指定模式的条件 - public Criteria andReportObjectNotLike(String value) { - addCriterion("report_object not like", value, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象在指定列表中的条件 - public Criteria andReportObjectIn(List values) { - addCriterion("report_object in", values, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象不在指定列表中的条件 - public Criteria andReportObjectNotIn(List values) { - addCriterion("report_object not in", values, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象在指定范围内的条件 - public Criteria andReportObjectBetween(String value1, String value2) { - addCriterion("report_object between", value1, value2, "reportObject"); - return (Criteria) this; - } - - // 添加报告对象不在指定范围内的条件 - public Criteria andReportObjectNotBetween(String value1, String value2) { - addCriterion("report_object not between", value1, value2, "reportObject"); - return (Criteria) this; - } - - // 添加报告状态为空的条件 - public Criteria andReportStatusIsNull() { - addCriterion("report_status is null"); - return (Criteria) this; - } - - // 添加报告状态不为空的条件 - public Criteria andReportStatusIsNotNull() { - addCriterion("report_status is not null"); - return (Criteria) this; - } - - // 添加报告状态等于指定值的条件 - public Criteria andReportStatusEqualTo(Integer value) { - addCriterion("report_status =", value, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态不等于指定值的条件 - public Criteria andReportStatusNotEqualTo(Integer value) { - addCriterion("report_status <>", value, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态大于指定值的条件 - public Criteria andReportStatusGreaterThan(Integer value) { - addCriterion("report_status >", value, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态大于或等于指定值的条件 - public Criteria andReportStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("report_status >=", value, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态小于指定值的条件 - public Criteria andReportStatusLessThan(Integer value) { - addCriterion("report_status <", value, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态小于或等于指定值的条件 - public Criteria andReportStatusLessThanOrEqualTo(Integer value) { - addCriterion("report_status <=", value, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态在指定列表中的条件 - public Criteria andReportStatusIn(List values) { - addCriterion("report_status in", values, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态不在指定列表中的条件 - public Criteria andReportStatusNotIn(List values) { - addCriterion("report_status not in", values, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态在指定范围内的条件 - public Criteria andReportStatusBetween(Integer value1, Integer value2) { - addCriterion("report_status between", value1, value2, "reportStatus"); - return (Criteria) this; - } - - // 添加报告状态不在指定范围内的条件 - public Criteria andReportStatusNotBetween(Integer value1, Integer value2) { - addCriterion("report_status not between", value1, value2, "reportStatus"); - return (Criteria) this; - } - - // 添加处理状态为空的条件 - public Criteria andHandleStatusIsNull() { - addCriterion("handle_status is null"); - return (Criteria) this; - } - - // 添加处理状态不为空的条件 - public Criteria andHandleStatusIsNotNull() { - addCriterion("handle_status is not null"); - return (Criteria) this; - } - - // 添加处理状态等于指定值的条件 - public Criteria andHandleStatusEqualTo(Integer value) { - addCriterion("handle_status =", value, "handleStatus"); - return (Criteria) this; - } - - // 添加处理状态不等于指定值的条件 - public Criteria andHandleStatusNotEqualTo(Integer value) { - addCriterion("handle_status <>", value, "handleStatus"); - return (Criteria) this; - } - - - // 添加条件:handle_status > value - public Criteria andHandleStatusGreaterThan(Integer value) { - addCriterion("handle_status >", value, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:handle_status >= value - public Criteria andHandleStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("handle_status >=", value, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:handle_status < value - public Criteria andHandleStatusLessThan(Integer value) { - addCriterion("handle_status <", value, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:handle_status <= value - public Criteria andHandleStatusLessThanOrEqualTo(Integer value) { - addCriterion("handle_status <=", value, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:handle_status in values - public Criteria andHandleStatusIn(List values) { - addCriterion("handle_status in", values, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:handle_status not in values - public Criteria andHandleStatusNotIn(List values) { - addCriterion("handle_status not in", values, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:handle_status between value1 and value2 - public Criteria andHandleStatusBetween(Integer value1, Integer value2) { - addCriterion("handle_status between", value1, value2, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:handle_status not between value1 and value2 - public Criteria andHandleStatusNotBetween(Integer value1, Integer value2) { - addCriterion("handle_status not between", value1, value2, "handleStatus"); - return (Criteria) this; - } - - // 添加条件:note is null - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - // 添加条件:note is not null - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - // 添加条件:note = value - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - // 添加条件:note <> value - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - // 添加条件:note > value - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - // 添加条件:note >= value - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - // 添加条件:note < value - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - // 添加条件:note <= value - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - // 添加条件:note like value - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - // 添加条件:note not like value - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - // 添加条件:note in values - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - // 添加条件:note not in values - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - // 添加条件:note between value1 and value2 - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - // 添加条件:note not between value1 and value2 - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 默认构造函数,调用父类的构造函数 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 第一个值 - private Object secondValue; // 第二个值(用于between查询) - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否是单一值 - private boolean betweenValue; // 是否是between查询 - private boolean listValue; // 是否是列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取第一个值 - public Object getValue() { - return value; - } - - // 获取第二个值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否是单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否是between查询 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否是列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; // 表示没有值 - } - - // 构造函数,包含条件表达式和值,以及可选的类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值是列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值,不包含类型处理器 - protected Criterion(String condition, Object value) { - this(condition, value, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - - // 构造函数,包含条件表达式、两个值和可选的类型处理器,用于between查询 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 表示这是一个between查询 - } - - // 构造函数,包含条件表达式、两个值,不包含类型处理器,用于between查询 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java index 2b37d44..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * CmsPrefrenceArea 实体类,用于表示CMS首选项区域。 - */ -public class CmsPrefrenceArea implements Serializable { - private Long id; // 主键ID - - private String name; // 名称 - - private String subTitle; // 副标题 - - private Integer sort; // 排序 - - private Integer showStatus; // 显示状态 - - @ApiModelProperty(value = "展示图片") - private byte[] pic; // 展示图片,以字节数组形式存储 - - private static final long serialVersionUID = 1L; // 序列化版本号 - - // Getter和Setter方法 - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getSubTitle() { - return subTitle; - } - - public void setSubTitle(String subTitle) { - this.subTitle = subTitle; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - public byte[] getPic() { - return pic; - } - - public void setPic(byte[] pic) { - this.pic = pic; - } - - // toString方法,用于生成对象的字符串表示形式 - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", subTitle=").append(subTitle); - sb.append(", sort=").append(sort); - sb.append(", showStatus=").append(showStatus); - sb.append(", pic=").append(pic); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java index 5d623b4..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java @@ -1,595 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class CmsPrefrenceAreaExample { - // 定义一个用于排序的子句 - protected String orderByClause; - - // 定义一个布尔值,用于指示查询是否使用 DISTINCT 关键字 - protected boolean distinct; - - // 定义一个 Criteria 对象的列表,用于存储查询条件 - protected List oredCriteria; - - // 构造函数,初始化 oredCriteria 列表 - public CmsPrefrenceAreaExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否使用 DISTINCT 关键字的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 获取是否使用 DISTINCT 关键字的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取 Criteria 对象列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 将一个 Criteria 对象添加到 oredCriteria 列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的 Criteria 对象并添加到 oredCriteria 列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个新的 Criteria 对象,如果 oredCriteria 列表为空则将其添加到列表中的方法 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的 Criteria 对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句的方法 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个Criterion对象的列表,用于存储查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有有效的查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有的查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取所有的查询条件(与getAllCriteria方法功能相同) - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个带两个值的查询条件(通常用于BETWEEN查询) - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - -// 以下方法用于生成具体的查询条件,例如id和name的各种比较操作 - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - - // 检查name字段是否在给定的两个值之间 - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - // 检查name字段是否不在给定的两个值之间 - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - // 检查sub_title字段是否为空 - public Criteria andSubTitleIsNull() { - addCriterion("sub_title is null"); - return (Criteria) this; - } - - // 检查sub_title字段是否不为空 - public Criteria andSubTitleIsNotNull() { - addCriterion("sub_title is not null"); - return (Criteria) this; - } - - // 检查sub_title字段是否等于给定的值 - public Criteria andSubTitleEqualTo(String value) { - addCriterion("sub_title =", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否不等于给定的值 - public Criteria andSubTitleNotEqualTo(String value) { - addCriterion("sub_title <>", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否大于给定的值 - public Criteria andSubTitleGreaterThan(String value) { - addCriterion("sub_title >", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否大于或等于给定的值 - public Criteria andSubTitleGreaterThanOrEqualTo(String value) { - addCriterion("sub_title >=", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否小于给定的值 - public Criteria andSubTitleLessThan(String value) { - addCriterion("sub_title <", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否小于或等于给定的值 - public Criteria andSubTitleLessThanOrEqualTo(String value) { - addCriterion("sub_title <=", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否包含给定的值(模糊匹配) - public Criteria andSubTitleLike(String value) { - addCriterion("sub_title like", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否不包含给定的值(模糊匹配) - public Criteria andSubTitleNotLike(String value) { - addCriterion("sub_title not like", value, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否在给定的值列表中 - public Criteria andSubTitleIn(List values) { - addCriterion("sub_title in", values, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否不在给定的值列表中 - public Criteria andSubTitleNotIn(List values) { - addCriterion("sub_title not in", values, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否在给定的两个值之间 - public Criteria andSubTitleBetween(String value1, String value2) { - addCriterion("sub_title between", value1, value2, "subTitle"); - return (Criteria) this; - } - - // 检查sub_title字段是否不在给定的两个值之间 - public Criteria andSubTitleNotBetween(String value1, String value2) { - addCriterion("sub_title not between", value1, value2, "subTitle"); - return (Criteria) this; - } - - // 检查sort字段是否为空 - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - // 检查sort字段是否不为空 - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - // 检查sort字段是否等于给定的值 - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否不等于给定的值 - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否大于给定的值 - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否大于或等于给定的值 - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否小于给定的值 - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否小于或等于给定的值 - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否在给定的值列表中 - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否不在给定的值列表中 - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否在给定的两个值之间 - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否不在给定的两个值之间 - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - // 检查show_status字段是否为空 - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - // 检查show_status字段是否不为空 - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - // 检查show_status字段是否等于给定的值 - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否不等于给定的值 - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否大于给定的值 - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否大于或等于给定的值 - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否小于给定的值 - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否小于或等于给定的值 - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - - public Criteria andShowStatusIn(List values) { - // 添加条件:show_status 在指定的值列表中 - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotIn(List values) { - // 添加条件:show_status 不在指定的值列表中 - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - // 添加条件:show_status 在指定的两个值之间(包含边界) - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - // 添加条件:show_status 不在指定的两个值之间(不包含边界) - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 构造函数,初始化Criteria对象 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 条件对应的值 - private Object secondValue; // 第二个值,用于between查询 - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否为单一值 - private boolean betweenValue; // 是否为区间值 - private boolean listValue; // 是否为列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取条件对应的值 - public Object getValue() { - return value; - } - - // 获取第二个值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否为单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否为区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否为列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件表达式和值,以及类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值为列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值(无类型处理器) - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - // 构造函数,包含条件表达式、两个值和类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 设置为区间值 - } - - // 构造函数,包含条件表达式、两个值(无类型处理器) - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java index 68e0363..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java @@ -1,87 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * 商品与优选区域关系的实体类 - */ -public class CmsPrefrenceAreaProductRelation implements Serializable { - // 主键ID - private Long id; - - // 优选区域ID - private Long prefrenceAreaId; - - // 商品ID - private Long productId; - - // 序列化版本号,用于反序列化时验证版本一致性 - private static final long serialVersionUID = 1L; - - /** - * 获取主键ID - * @return 主键ID - */ - public Long getId() { - return id; - } - - /** - * 设置主键ID - * @param id 主键ID - */ - public void setId(Long id) { - this.id = id; - } - - /** - * 获取优选区域ID - * @return 优选区域ID - */ - public Long getPrefrenceAreaId() { - return prefrenceAreaId; - } - - /** - * 设置优选区域ID - * @param prefrenceAreaId 优选区域ID - */ - public void setPrefrenceAreaId(Long prefrenceAreaId) { - this.prefrenceAreaId = prefrenceAreaId; - } - - /** - * 获取商品ID - * @return 商品ID - */ - public Long getProductId() { - return productId; - } - - /** - * 设置商品ID - * @param productId 商品ID - */ - public void setProductId(Long productId) { - this.productId = productId; - } - - /** - * 返回对象的字符串表示形式 - * @return 对象的字符串表示形式 - */ - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", prefrenceAreaId=").append(prefrenceAreaId); - sb.append(", productId=").append(productId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java index eebf692..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java @@ -1,447 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class CmsPrefrenceAreaProductRelationExample { - // 定义排序子句 - protected String orderByClause; - - // 是否去重 - protected boolean distinct; - - // 存储查询条件列表 - protected List oredCriteria; - - // 构造函数,初始化查询条件列表 - public CmsPrefrenceAreaProductRelationExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否去重 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 判断是否去重 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表 - public List getOredCriteria() { - return oredCriteria; - } - - // 添加一个查询条件到列表中 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的查询条件并添加到列表中 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个新的查询条件,如果当前没有查询条件则添加到列表中 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建新的查询条件对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,重置为初始状态 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个保护类型的列表,用于存储查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有有效的查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有的查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取当前的查询条件列表 - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个带两个值的查询条件(通常用于范围查询) - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下方法用于生成具体的查询条件,例如id是否为空、id等于某个值等 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 以下方法用于生成prefrence_area_id相关的查询条件 - public Criteria andPrefrenceAreaIdIsNull() { - addCriterion("prefrence_area_id is null"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdIsNotNull() { - addCriterion("prefrence_area_id is not null"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdEqualTo(Long value) { - addCriterion("prefrence_area_id =", value, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdNotEqualTo(Long value) { - addCriterion("prefrence_area_id <>", value, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdGreaterThan(Long value) { - addCriterion("prefrence_area_id >", value, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdGreaterThanOrEqualTo(Long value) { - addCriterion("prefrence_area_id >=", value, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdLessThan(Long value) { - addCriterion("prefrence_area_id <", value, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdLessThanOrEqualTo(Long value) { - addCriterion("prefrence_area_id <=", value, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdIn(List values) { - addCriterion("prefrence_area_id in", values, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdNotIn(List values) { - addCriterion("prefrence_area_id not in", values, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdBetween(Long value1, Long value2) { - addCriterion("prefrence_area_id between", value1, value2, "prefrenceAreaId"); - return (Criteria) this; - } - - public Criteria andPrefrenceAreaIdNotBetween(Long value1, Long value2) { - addCriterion("prefrence_area_id not between", value1, value2, "prefrenceAreaId"); - return (Criteria) this; - } - - // 以下方法用于生成product_id相关的查询条件 - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - - /** - * 添加一个条件,要求 product_id 小于或等于指定的值。 - * - * @param value 要比较的值 - * @return 当前的 Criteria 对象 - */ - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 product_id 在指定的值列表中。 - * - * @param values 要匹配的值列表 - * @return 当前的 Criteria 对象 - */ - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 product_id 不在指定的值列表中。 - * - * @param values 不匹配的值列表 - * @return 当前的 Criteria 对象 - */ - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 product_id 在指定的两个值之间(包含边界)。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的 Criteria 对象 - */ - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 product_id 不在指定的两个值之间(不包含边界)。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的 Criteria 对象 - */ - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 构造函数,初始化Criteria对象 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 条件值 - private Object secondValue; // 第二个条件值(用于between查询) - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否为单一值 - private boolean betweenValue; // 是否为区间值 - private boolean listValue; // 是否为列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取条件值 - public Object getValue() { - return value; - } - - // 获取第二个条件值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否为单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否为区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否为列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件表达式和值,以及类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值为列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值 - protected Criterion(String condition, Object value) { - this(condition, value, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - - // 构造函数,包含条件表达式、两个值和类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 设置为区间值 - } - - // 构造函数,包含条件表达式、两个值 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java index df8153b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java @@ -1,246 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class CmsSubject implements Serializable { - private Long id; - - private Long categoryId; - - private String title; - - @ApiModelProperty(value = "专题主图") - private String pic; - - @ApiModelProperty(value = "关联产品数量") - private Integer productCount; - - private Integer recommendStatus; - - private Date createTime; - - private Integer collectCount; - - private Integer readCount; - - private Integer commentCount; - - @ApiModelProperty(value = "画册图片用逗号分割") - private String albumPics; - - private String description; - - @ApiModelProperty(value = "显示状态:0->不显示;1->显示") - private Integer showStatus; - - @ApiModelProperty(value = "转发数") - private Integer forwardCount; - - @ApiModelProperty(value = "专题分类名称") - private String categoryName; - - private String content; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getCategoryId() { - return categoryId; - } - - public void setCategoryId(Long categoryId) { - this.categoryId = categoryId; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getPic() { - return pic; - } - - public void setPic(String pic) { - this.pic = pic; - } - - public Integer getProductCount() { - return productCount; - } - - public void setProductCount(Integer productCount) { - this.productCount = productCount; - } - - public Integer getRecommendStatus() { - return recommendStatus; - } - - public void setRecommendStatus(Integer recommendStatus) { - this.recommendStatus = recommendStatus; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getCollectCount() { - return collectCount; - } - - public void setCollectCount(Integer collectCount) { - this.collectCount = collectCount; - } - - public Integer getReadCount() { - return readCount; - } - - public void setReadCount(Integer readCount) { - this.readCount = readCount; - } - - public Integer getCommentCount() { - return commentCount; - } - - public void setCommentCount(Integer commentCount) { - this.commentCount = commentCount; - } - - public String getAlbumPics() { - return albumPics; - } - - public void setAlbumPics(String albumPics) { - this.albumPics = albumPics; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - public Integer getForwardCount() { - return forwardCount; - } - - public void setForwardCount(Integer forwardCount) { - this.forwardCount = forwardCount; - } - - public String getCategoryName() { - return categoryName; - } - - public void setCategoryName(String categoryName) { - this.categoryName = categoryName; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - @Override - public String toString() { - // 创建一个StringBuilder对象,用于构建字符串 - StringBuilder sb = new StringBuilder(); - - // 添加类的简单名称到StringBuilder中 - sb.append(getClass().getSimpleName()); - - // 添加一个左方括号 - sb.append(" ["); - - // 添加对象的哈希码到StringBuilder中 - sb.append("Hash = ").append(hashCode()); - - // 添加id字段的值到StringBuilder中 - sb.append(", id=").append(id); - - // 添加categoryId字段的值到StringBuilder中 - sb.append(", categoryId=").append(categoryId); - - // 添加title字段的值到StringBuilder中 - sb.append(", title=").append(title); - - // 添加pic字段的值到StringBuilder中 - sb.append(", pic=").append(pic); - - // 添加productCount字段的值到StringBuilder中 - sb.append(", productCount=").append(productCount); - - // 添加recommendStatus字段的值到StringBuilder中 - sb.append(", recommendStatus=").append(recommendStatus); - - // 添加createTime字段的值到StringBuilder中 - sb.append(", createTime=").append(createTime); - - // 添加collectCount字段的值到StringBuilder中 - sb.append(", collectCount=").append(collectCount); - - // 添加readCount字段的值到StringBuilder中 - sb.append(", readCount=").append(readCount); - - // 添加commentCount字段的值到StringBuilder中 - sb.append(", commentCount=").append(commentCount); - - // 添加albumPics字段的值到StringBuilder中 - sb.append(", albumPics=").append(albumPics); - - // 添加description字段的值到StringBuilder中 - sb.append(", description=").append(description); - - // 添加showStatus字段的值到StringBuilder中 - sb.append(", showStatus=").append(showStatus); - - // 添加forwardCount字段的值到StringBuilder中 - sb.append(", forwardCount=").append(forwardCount); - - // 添加categoryName字段的值到StringBuilder中 - sb.append(", categoryName=").append(categoryName); - - // 添加content字段的值到StringBuilder中 - sb.append(", content=").append(content); - - // 添加serialVersionUID字段的值到StringBuilder中 - sb.append(", serialVersionUID=").append(serialVersionUID); - - // 添加右方括号并返回最终的字符串 - sb.append("]"); - return sb.toString(); - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java index c6492be..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java @@ -1,99 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * 商品专题分类模型类 - */ -public class CmsSubjectCategory implements Serializable { - private Long id; - // 分类ID - - private String name; - // 分类名称 - - @ApiModelProperty(value = "分类图标") - private String icon; - // 分类图标 - - @ApiModelProperty(value = "专题数量") - private Integer subjectCount; - // 专题数量 - - private Integer showStatus; - // 显示状态:0->不显示;1->显示 - - private Integer sort; - // 排序 - - private static final long serialVersionUID = 1L; - // 序列化版本号 - - // Getter和Setter方法 - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public Integer getSubjectCount() { - return subjectCount; - } - - public void setSubjectCount(Integer subjectCount) { - this.subjectCount = subjectCount; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - // 重写toString方法,用于打印对象信息 - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", icon=").append(icon); - sb.append(", subjectCount=").append(subjectCount); - sb.append(", showStatus=").append(showStatus); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java index f4e6908..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java @@ -1,697 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class CmsSubjectCategoryExample { - // 定义一个用于排序的子句 - protected String orderByClause; - - // 定义一个布尔值,用于指示查询是否使用 DISTINCT 关键字 - protected boolean distinct; - - // 定义一个 Criteria 对象的列表,用于存储查询条件 - protected List oredCriteria; - - // 构造函数,初始化 oredCriteria 列表 - public CmsSubjectCategoryExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否使用 DISTINCT 关键字的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 获取是否使用 DISTINCT 关键字的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取 Criteria 对象列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 将一个 Criteria 对象添加到 oredCriteria 列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的 Criteria 对象并添加到 oredCriteria 列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个新的 Criteria 对象,如果 oredCriteria 列表为空则将其添加到列表中的方法 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的 Criteria 对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句的方法 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个受保护的列表,用于存储查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 检查是否有有效的查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有的查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取当前的查询条件列表 - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件(例如 "id is null") - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件(例如 "id = 1") - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件(例如 "id between 1 and 10") - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下方法用于生成具体的查询条件,例如 id 和 name 的条件判断 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - - // 检查icon字段是否大于给定值 - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否大于或等于给定值 - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否小于给定值 - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否小于或等于给定值 - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否匹配给定的模式(使用SQL的LIKE操作符) - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不匹配给定的模式(使用SQL的NOT LIKE操作符) - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否在给定的值列表中 - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不在给定的值列表中 - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否在给定的两个值之间 - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不在给定的两个值之间 - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - // 检查subject_count字段是否为空 - public Criteria andSubjectCountIsNull() { - addCriterion("subject_count is null"); - return (Criteria) this; - } - - // 检查subject_count字段是否不为空 - public Criteria andSubjectCountIsNotNull() { - addCriterion("subject_count is not null"); - return (Criteria) this; - } - - // 检查subject_count字段是否等于给定值 - public Criteria andSubjectCountEqualTo(Integer value) { - addCriterion("subject_count =", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否不等于给定值 - public Criteria andSubjectCountNotEqualTo(Integer value) { - addCriterion("subject_count <>", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否大于给定值 - public Criteria andSubjectCountGreaterThan(Integer value) { - addCriterion("subject_count >", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否大于或等于给定值 - public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) { - addCriterion("subject_count >=", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否小于给定值 - public Criteria andSubjectCountLessThan(Integer value) { - addCriterion("subject_count <", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否小于或等于给定值 - public Criteria andSubjectCountLessThanOrEqualTo(Integer value) { - addCriterion("subject_count <=", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否在给定的值列表中 - public Criteria andSubjectCountIn(List values) { - addCriterion("subject_count in", values, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否不在给定的值列表中 - public Criteria andSubjectCountNotIn(List values) { - addCriterion("subject_count not in", values, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否在给定的两个值之间 - public Criteria andSubjectCountBetween(Integer value1, Integer value2) { - addCriterion("subject_count between", value1, value2, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否不在给定的两个值之间 - public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) { - addCriterion("subject_count not between", value1, value2, "subjectCount"); - return (Criteria) this; - } - - // 检查show_status字段是否为空 - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - // 检查show_status字段是否不为空 - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - // 检查show_status字段是否等于给定值 - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否不等于给定值 - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否大于给定值 - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否大于或等于给定值 - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否小于给定值 - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否小于或等于给定值 - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否在给定的值列表中 - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否不在给定的值列表中 - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否在给定的两个值之间 - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否不在给定的两个值之间 - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查sort字段是否为空 - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - // 检查sort字段是否不为空 - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - // 检查sort字段是否等于给定值 - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否不等于给定值 - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - // 检查sort字段是否大于给定值 - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - - /** - * 添加一个条件,要求 'sort' 字段的值必须大于或等于指定的值。 - * - * @param value 要比较的值 - * @return 当前的 Criteria 实例 - */ - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 'sort' 字段的值必须小于指定的值。 - * - * @param value 要比较的值 - * @return 当前的 Criteria 实例 - */ - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 'sort' 字段的值必须小于或等于指定的值。 - * - * @param value 要比较的值 - * @return 当前的 Criteria 实例 - */ - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 'sort' 字段的值必须在指定的列表中。 - * - * @param values 要匹配的值的列表 - * @return 当前的 Criteria 实例 - */ - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 'sort' 字段的值不必须在指定的列表中。 - * - * @param values 要排除的值的列表 - * @return 当前的 Criteria 实例 - */ - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 'sort' 字段的值在指定的范围内(包含边界)。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的 Criteria 实例 - */ - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,要求 'sort' 字段的值不在指定的范围内(包含边界)。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的 Criteria 实例 - */ - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 构造函数,初始化Criteria对象 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 条件对应的值 - private Object secondValue; // 第二个值,用于between查询 - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否为单一值 - private boolean betweenValue; // 是否为区间值 - private boolean listValue; // 是否为列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取条件对应的值 - public Object getValue() { - return value; - } - - // 获取第二个值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否为单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否为区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否为列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件表达式和值,以及类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值为列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值 - protected Criterion(String condition, Object value) { - this(condition, value, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - - // 构造函数,包含条件表达式、两个值和类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 设置为区间值 - } - - // 构造函数,包含条件表达式、两个值 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java index b20d379..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java @@ -1,100 +0,0 @@ -package com.macro.mall.model; // 定义包名 - -import io.swagger.annotations.ApiModelProperty; // 导入Swagger注解库 -import java.io.Serializable; // 导入序列化接口 -import java.util.Date; // 导入日期类 - -// 定义CmsSubjectComment类,实现Serializable接口 -public class CmsSubjectComment implements Serializable { - private Long id; // 评论ID - - private Long subjectId; // 专题ID - - private String memberNickName; // 会员昵称 - - private String memberIcon; // 会员头像 - - private String content; // 评论内容 - - private Date createTime; // 创建时间 - - private Integer showStatus; // 显示状态 - - private static final long serialVersionUID = 1L; // 序列化版本号 - - // Getter和Setter方法 - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getSubjectId() { - return subjectId; - } - - public void setSubjectId(Long subjectId) { - this.subjectId = subjectId; - } - - public String getMemberNickName() { - return memberNickName; - } - - public void setMemberNickName(String memberNickName) { - this.memberNickName = memberNickName; - } - - public String getMemberIcon() { - return memberIcon; - } - - public void setMemberIcon(String memberIcon) { - this.memberIcon = memberIcon; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - // 重写toString方法,用于打印对象信息 - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); // 创建StringBuilder对象 - sb.append(getClass().getSimpleName()); // 添加类名 - sb.append(" ["); // 添加左方括号 - sb.append("Hash = ").append(hashCode()); // 添加哈希码 - sb.append(", id=").append(id); // 添加ID - sb.append(", subjectId=").append(subjectId); // 添加专题ID - sb.append(", memberNickName=").append(memberNickName); // 添加会员昵称 - sb.append(", memberIcon=").append(memberIcon); // 添加会员头像 - sb.append(", content=").append(content); // 添加评论内容 - sb.append(", createTime=").append(createTime); // 添加创建时间 - sb.append(", showStatus=").append(showStatus); // 添加显示状态 - sb.append(", serialVersionUID=").append(serialVersionUID); // 添加序列化版本号 - sb.append("]"); // 添加右方括号 - return sb.toString(); // 返回字符串表示形式 - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java index bbe409c..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java @@ -1,770 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class CmsSubjectCommentExample { - // 用于存储排序子句的字符串 - protected String orderByClause; - - // 用于指示查询是否为distinct(去重) - protected boolean distinct; - - // 用于存储多个查询条件的列表 - protected List oredCriteria; - - // 构造函数,初始化oredCriteria为一个空的ArrayList - public CmsSubjectCommentExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否去重的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 判断是否去重的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 将一个Criteria对象添加到查询条件列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的Criteria对象并添加到查询条件列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个Criteria对象,如果查询条件列表为空则将其添加到列表中的方法 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的Criteria对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,并将distinct设置为false的方法 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个受保护的列表,用于存储查询条件 - protected List criteria; - - // 构造函数,初始化criteria为一个新的ArrayList - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有有效的查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有的查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取当前的查询条件列表 - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个带两个值的查询条件(用于BETWEEN查询) - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下是各种具体的查询条件的生成方法,例如id、subjectId和memberNickName等字段的条件 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - // 检查id是否不为空 - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - // 检查id是否等于指定值 - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - // 检查id是否不等于指定值 - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - // 检查id是否大于指定值 - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - // 检查id是否大于或等于指定值 - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - // 检查id是否小于指定值 - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - // 检查id是否小于或等于指定值 - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - // 检查id是否在指定的列表中 - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - // 检查id是否不在指定的列表中 - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - // 检查id是否在指定的范围内(包含边界) - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - // 检查id是否不在指定的范围内(不包含边界) - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 检查subject_id是否为空 - public Criteria andSubjectIdIsNull() { - addCriterion("subject_id is null"); - return (Criteria) this; - } - - // 检查subject_id是否不为空 - public Criteria andSubjectIdIsNotNull() { - addCriterion("subject_id is not null"); - return (Criteria) this; - } - - // 检查subject_id是否等于指定值 - public Criteria andSubjectIdEqualTo(Long value) { - addCriterion("subject_id =", value, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否不等于指定值 - public Criteria andSubjectIdNotEqualTo(Long value) { - addCriterion("subject_id <>", value, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否大于指定值 - public Criteria andSubjectIdGreaterThan(Long value) { - addCriterion("subject_id >", value, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否大于或等于指定值 - public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { - addCriterion("subject_id >=", value, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否小于指定值 - public Criteria andSubjectIdLessThan(Long value) { - addCriterion("subject_id <", value, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否小于或等于指定值 - public Criteria andSubjectIdLessThanOrEqualTo(Long value) { - addCriterion("subject_id <=", value, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否在指定的列表中 - public Criteria andSubjectIdIn(List values) { - addCriterion("subject_id in", values, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否不在指定的列表中 - public Criteria andSubjectIdNotIn(List values) { - addCriterion("subject_id not in", values, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否在指定的范围内(包含边界) - public Criteria andSubjectIdBetween(Long value1, Long value2) { - addCriterion("subject_id between", value1, value2, "subjectId"); - return (Criteria) this; - } - - // 检查subject_id是否不在指定的范围内(不包含边界) - public Criteria andSubjectIdNotBetween(Long value1, Long value2) { - addCriterion("subject_id not between", value1, value2, "subjectId"); - return (Criteria) this; - } - - // 检查member_nick_name是否为空 - public Criteria andMemberNickNameIsNull() { - addCriterion("member_nick_name is null"); - return (Criteria) this; - } - - // 检查member_nick_name是否不为空 - public Criteria andMemberNickNameIsNotNull() { - addCriterion("member_nick_name is not null"); - return (Criteria) this; - } - - // 检查member_nick_name是否等于指定值 - public Criteria andMemberNickNameEqualTo(String value) { - addCriterion("member_nick_name =", value, "memberNickName"); - return (Criteria) this; - } - - // 检查member_nick_name是否不等于指定值 - public Criteria andMemberNickNameNotEqualTo(String value) { - addCriterion("member_nick_name <>", value, "memberNickName"); - return (Criteria) this; - } - - // 检查member_nick_name是否大于指定值 - public Criteria andMemberNickNameGreaterThan(String value) { - addCriterion("member_nick_name >", value, "memberNickName"); - return (Criteria) this; - } - - // 检查member_nick_name是否大于或等于指定值 - public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { - addCriterion("member_nick_name >=", value, "memberNickName"); - return (Criteria) this; - } - - // 检查member_nick_name是否小于指定值 - public Criteria andMemberNickNameLessThan(String value) { - addCriterion("member_nick_name <", value, "memberNickName"); - return (Criteria) this; - } - - - // 检查 member_nick_name 是否小于或等于给定的值 - public Criteria andMemberNickNameLessThanOrEqualTo(String value) { - addCriterion("member_nick_name <=", value, "memberNickName"); - return (Criteria) this; - } - - // 检查 member_nick_name 是否包含给定的值(模糊匹配) - public Criteria andMemberNickNameLike(String value) { - addCriterion("member_nick_name like", value, "memberNickName"); - return (Criteria) this; - } - - // 检查 member_nick_name 是否不包含给定的值(模糊匹配) - public Criteria andMemberNickNameNotLike(String value) { - addCriterion("member_nick_name not like", value, "memberNickName"); - return (Criteria) this; - } - - // 检查 member_nick_name 是否在给定的值列表中 - public Criteria andMemberNickNameIn(List values) { - addCriterion("member_nick_name in", values, "memberNickName"); - return (Criteria) this; - } - - // 检查 member_nick_name 是否不在给定的值列表中 - public Criteria andMemberNickNameNotIn(List values) { - addCriterion("member_nick_name not in", values, "memberNickName"); - return (Criteria) this; - } - - // 检查 member_nick_name 是否在给定的两个值之间 - public Criteria andMemberNickNameBetween(String value1, String value2) { - addCriterion("member_nick_name between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - // 检查 member_nick_name 是否不在给定的两个值之间 - public Criteria andMemberNickNameNotBetween(String value1, String value2) { - addCriterion("member_nick_name not between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - // 检查 member_icon 是否为空 - public Criteria andMemberIconIsNull() { - addCriterion("member_icon is null"); - return (Criteria) this; - } - - // 检查 member_icon 是否不为空 - public Criteria andMemberIconIsNotNull() { - addCriterion("member_icon is not null"); - return (Criteria) this; - } - - // 检查 member_icon 是否等于给定的值 - public Criteria andMemberIconEqualTo(String value) { - addCriterion("member_icon =", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否不等于给定的值 - public Criteria andMemberIconNotEqualTo(String value) { - addCriterion("member_icon <>", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否大于给定的值 - public Criteria andMemberIconGreaterThan(String value) { - addCriterion("member_icon >", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否大于或等于给定的值 - public Criteria andMemberIconGreaterThanOrEqualTo(String value) { - addCriterion("member_icon >=", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否小于给定的值 - public Criteria andMemberIconLessThan(String value) { - addCriterion("member_icon <", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否小于或等于给定的值 - public Criteria andMemberIconLessThanOrEqualTo(String value) { - addCriterion("member_icon <=", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否包含给定的值(模糊匹配) - public Criteria andMemberIconLike(String value) { - addCriterion("member_icon like", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否不包含给定的值(模糊匹配) - public Criteria andMemberIconNotLike(String value) { - addCriterion("member_icon not like", value, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否在给定的值列表中 - public Criteria andMemberIconIn(List values) { - addCriterion("member_icon in", values, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否不在给定的值列表中 - public Criteria andMemberIconNotIn(List values) { - addCriterion("member_icon not in", values, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否在给定的两个值之间 - public Criteria andMemberIconBetween(String value1, String value2) { - addCriterion("member_icon between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - // 检查 member_icon 是否不在给定的两个值之间 - public Criteria andMemberIconNotBetween(String value1, String value2) { - addCriterion("member_icon not between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - // 检查 content 是否为空 - public Criteria andContentIsNull() { - addCriterion("content is null"); - return (Criteria) this; - } - - // 检查 content 是否不为空 - public Criteria andContentIsNotNull() { - addCriterion("content is not null"); - return (Criteria) this; - } - - // 检查 content 是否等于给定的值 - public Criteria andContentEqualTo(String value) { - addCriterion("content =", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否不等于给定的值 - public Criteria andContentNotEqualTo(String value) { - addCriterion("content <>", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否大于给定的值 - public Criteria andContentGreaterThan(String value) { - addCriterion("content >", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否大于或等于给定的值 - public Criteria andContentGreaterThanOrEqualTo(String value) { - addCriterion("content >=", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否小于给定的值 - public Criteria andContentLessThan(String value) { - addCriterion("content <", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否小于或等于给定的值 - public Criteria andContentLessThanOrEqualTo(String value) { - addCriterion("content <=", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否包含给定的值(模糊匹配) - public Criteria andContentLike(String value) { - addCriterion("content like", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否不包含给定的值(模糊匹配) - public Criteria andContentNotLike(String value) { - addCriterion("content not like", value, "content"); - return (Criteria) this; - } - - // 检查 content 是否在给定的值列表中 - public Criteria andContentIn(List values) { - addCriterion("content in", values, "content"); - return (Criteria) this; - } - - // 检查 content 是否不在给定的值列表中 - public Criteria andContentNotIn(List values) { - addCriterion("content not in", values, "content"); - return (Criteria) this; - } - - // 检查 content 是否在给定的两个值之间 - public Criteria andContentBetween(String value1, String value2) { - addCriterion("content between", value1, value2, "content"); - return (Criteria) this; - } - - // 检查 content 是否不在给定的两个值之间 - public Criteria andContentNotBetween(String value1, String value2) { - addCriterion("content not between", value1, value2, "content"); - return (Criteria) this; - } - - - // 检查 create_time 是否不为空 - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - // 检查 create_time 是否等于给定的值 - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不等于给定的值 - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否大于给定的值 - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否大于或等于给定的值 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否小于给定的值 - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否小于或等于给定的值 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否在给定的值列表中 - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不在给定的值列表中 - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否在给定的两个值之间 - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不在给定的两个值之间 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查 show_status 是否为空 - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - // 检查 show_status 是否不为空 - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - // 检查 show_status 是否等于给定的值 - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不等于给定的值 - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否大于给定的值 - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否大于或等于给定的值 - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否小于给定的值 - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否小于或等于给定的值 - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否在给定的值列表中 - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在给定的值列表中 - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否在给定的两个值之间 - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在给定的两个值之间 - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - } - - // 定义一个静态内部类 Criteria,继承自 GeneratedCriteria - public static class Criteria extends GeneratedCriteria { - // 构造函数,调用父类的构造函数 - protected Criteria() { - super(); - } - } - - // 定义一个静态内部类 Criterion,用于封装查询条件 - public static class Criterion { - private String condition; // 存储查询条件的字符串 - private Object value; // 存储查询条件的值 - private Object secondValue; // 存储查询条件的第二个值(用于 between 查询) - private boolean noValue; // 标记是否没有值 - private boolean singleValue; // 标记是否是单一值 - private boolean betweenValue; // 标记是否是区间值 - private boolean listValue; // 标记是否是列表值 - private String typeHandler; // 类型处理器,用于处理特定类型的数据转换 - - // 获取查询条件 - public String getCondition() { - return condition; - } - - // 获取查询条件的值 - public Object getValue() { - return value; - } - - // 获取查询条件的第二个值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否是单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否是区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否是列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,只包含条件,默认没有值,使用 null 作为类型处理器 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件和值,根据值的类型设置 singleValue 或 listValue - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - // 构造函数,包含条件和值,不指定类型处理器 - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - // 构造函数,包含条件、第一个值和第二个值,以及类型处理器,设置 betweenValue 为 true - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - // 构造函数,包含条件、第一个值和第二个值,不指定类型处理器 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java index 065d00c..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java @@ -1,1347 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class CmsSubjectExample { - // 定义一个字符串变量,用于存储排序子句 - protected String orderByClause; - - // 定义一个布尔变量,用于指示查询是否为distinct(去重) - protected boolean distinct; - - // 定义一个列表,用于存储多个查询条件(Criteria对象) - protected List oredCriteria; - - // 构造函数,初始化oredCriteria为一个新的ArrayList - public CmsSubjectExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置distinct标志的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 获取distinct标志的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 添加一个查询条件到列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的查询条件并添加到列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个新的查询条件,如果当前没有查询条件则添加到列表中的方法 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的Criteria对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,并将distinct标志重置为false的方法 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个列表来存储所有的查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有有效的查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取查询条件列表 - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件(例如 "id is null") - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件(例如 "id = 1") - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件(例如 "id between 1 and 10") - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下方法用于生成具体的查询条件,例如 id 和 category_id 的各种比较操作 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andCategoryIdIsNull() { - addCriterion("category_id is null"); - return (Criteria) this; - } - - public Criteria andCategoryIdIsNotNull() { - addCriterion("category_id is not null"); - return (Criteria) this; - } - - public Criteria andCategoryIdEqualTo(Long value) { - addCriterion("category_id =", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotEqualTo(Long value) { - addCriterion("category_id <>", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThan(Long value) { - addCriterion("category_id >", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("category_id >=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThan(Long value) { - addCriterion("category_id <", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("category_id <=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdIn(List values) { - addCriterion("category_id in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotIn(List values) { - addCriterion("category_id not in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdBetween(Long value1, Long value2) { - addCriterion("category_id between", value1, value2, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("category_id not between", value1, value2, "categoryId"); - return (Criteria) this; - } - - public Criteria andTitleIsNull() { - addCriterion("title is null"); - return (Criteria) this; - } - - public Criteria andTitleIsNotNull() { - addCriterion("title is not null"); - return (Criteria) this; - } - - public Criteria andTitleEqualTo(String value) { - addCriterion("title =", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotEqualTo(String value) { - addCriterion("title <>", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleGreaterThan(String value) { - addCriterion("title >", value, "title"); - return (Criteria) this; - } - - - // 添加一个条件,要求title字段的值大于或等于指定的值 - public Criteria andTitleGreaterThanOrEqualTo(String value) { - addCriterion("title >=", value, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值小于指定的值 - public Criteria andTitleLessThan(String value) { - addCriterion("title <", value, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值小于或等于指定的值 - public Criteria andTitleLessThanOrEqualTo(String value) { - addCriterion("title <=", value, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值匹配指定的模式(使用SQL中的LIKE操作符) - public Criteria andTitleLike(String value) { - addCriterion("title like", value, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值不匹配指定的模式(使用SQL中的NOT LIKE操作符) - public Criteria andTitleNotLike(String value) { - addCriterion("title not like", value, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值在指定的列表中 - public Criteria andTitleIn(List values) { - addCriterion("title in", values, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值不在指定的列表中 - public Criteria andTitleNotIn(List values) { - addCriterion("title not in", values, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值在指定的范围内(包括边界值) - public Criteria andTitleBetween(String value1, String value2) { - addCriterion("title between", value1, value2, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求title字段的值不在指定的范围内(不包括边界值) - public Criteria andTitleNotBetween(String value1, String value2) { - addCriterion("title not between", value1, value2, "title"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值为空 - public Criteria andPicIsNull() { - addCriterion("pic is null"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值不为空 - public Criteria andPicIsNotNull() { - addCriterion("pic is not null"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值等于指定的值 - public Criteria andPicEqualTo(String value) { - addCriterion("pic =", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值不等于指定的值 - public Criteria andPicNotEqualTo(String value) { - addCriterion("pic <>", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值大于指定的值 - public Criteria andPicGreaterThan(String value) { - addCriterion("pic >", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值大于或等于指定的值 - public Criteria andPicGreaterThanOrEqualTo(String value) { - addCriterion("pic >=", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值小于指定的值 - public Criteria andPicLessThan(String value) { - addCriterion("pic <", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值小于或等于指定的值 - public Criteria andPicLessThanOrEqualTo(String value) { - addCriterion("pic <=", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值匹配指定的模式(使用SQL中的LIKE操作符) - public Criteria andPicLike(String value) { - addCriterion("pic like", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值不匹配指定的模式(使用SQL中的NOT LIKE操作符) - public Criteria andPicNotLike(String value) { - addCriterion("pic not like", value, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值在指定的列表中 - public Criteria andPicIn(List values) { - addCriterion("pic in", values, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值不在指定的列表中 - public Criteria andPicNotIn(List values) { - addCriterion("pic not in", values, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值在指定的范围内(包括边界值) - public Criteria andPicBetween(String value1, String value2) { - addCriterion("pic between", value1, value2, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求pic字段的值不在指定的范围内(不包括边界值) - public Criteria andPicNotBetween(String value1, String value2) { - addCriterion("pic not between", value1, value2, "pic"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值为空 - public Criteria andProductCountIsNull() { - addCriterion("product_count is null"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值不为空 - public Criteria andProductCountIsNotNull() { - addCriterion("product_count is not null"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值等于指定的值 - public Criteria andProductCountEqualTo(Integer value) { - addCriterion("product_count =", value, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值不等于指定的值 - public Criteria andProductCountNotEqualTo(Integer value) { - addCriterion("product_count <>", value, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值大于指定的值 - public Criteria andProductCountGreaterThan(Integer value) { - addCriterion("product_count >", value, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值大于或等于指定的值 - public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { - addCriterion("product_count >=", value, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值小于指定的值 - public Criteria andProductCountLessThan(Integer value) { - addCriterion("product_count <", value, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值小于或等于指定的值 - public Criteria andProductCountLessThanOrEqualTo(Integer value) { - addCriterion("product_count <=", value, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值在指定的列表中 - public Criteria andProductCountIn(List values) { - addCriterion("product_count in", values, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值不在指定的列表中 - public Criteria andProductCountNotIn(List values) { - addCriterion("product_count not in", values, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值在指定的范围内(包括边界值) - public Criteria andProductCountBetween(Integer value1, Integer value2) { - addCriterion("product_count between", value1, value2, "product_count"); - return (Criteria) this; - } - - // 添加一个条件,要求product_count字段的值不在指定的范围内(不包括边界值) - public Criteria andProductCountNotBetween(Integer value1, Integer value2) { - addCriterion("product_count not between", value1, value2, "product_count"); - return (Criteria) this; - } - - // 检查 recommend_status 是否为空 - public Criteria andRecommendStatusIsNull() { - addCriterion("recommend_status is null"); - return (Criteria) this; - } - - // 检查 recommend_status 是否不为空 - public Criteria andRecommendStatusIsNotNull() { - addCriterion("recommend_status is not null"); - return (Criteria) this; - } - - // 检查 recommend_status 是否等于指定值 - public Criteria andRecommendStatusEqualTo(Integer value) { - addCriterion("recommend_status =", value, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否不等于指定值 - public Criteria andRecommendStatusNotEqualTo(Integer value) { - addCriterion("recommend_status <>", value, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否大于指定值 - public Criteria andRecommendStatusGreaterThan(Integer value) { - addCriterion("recommend_status >", value, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否大于或等于指定值 - public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("recommend_status >=", value, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否小于指定值 - public Criteria andRecommendStatusLessThan(Integer value) { - addCriterion("recommend_status <", value, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否小于或等于指定值 - public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { - addCriterion("recommend_status <=", value, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否在指定的列表中 - public Criteria andRecommendStatusIn(List values) { - addCriterion("recommend_status in", values, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否不在指定的列表中 - public Criteria andRecommendStatusNotIn(List values) { - addCriterion("recommend_status not in", values, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否在指定的范围内 - public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { - addCriterion("recommend_status between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - // 检查 recommend_status 是否不在指定的范围内 - public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { - addCriterion("recommend_status not between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - // 检查 create_time 是否为空 - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - // 检查 create_time 是否不为空 - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - // 检查 create_time 是否等于指定值 - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不等于指定值 - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否大于指定值 - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否大于或等于指定值 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否小于指定值 - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否小于或等于指定值 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否在指定的列表中 - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不在指定的列表中 - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否在指定的范围内 - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查 create_time 是否不在指定的范围内 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查 collect_count 是否为空 - public Criteria andCollectCountIsNull() { - addCriterion("collect_count is null"); - return (Criteria) this; - } - - // 检查 collect_count 是否不为空 - public Criteria andCollectCountIsNotNull() { - addCriterion("collect_count is not null"); - return (Criteria) this; - } - - // 检查 collect_count 是否等于指定值 - public Criteria andCollectCountEqualTo(Integer value) { - addCriterion("collect_count =", value, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否不等于指定值 - public Criteria andCollectCountNotEqualTo(Integer value) { - addCriterion("collect_count <>", value, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否大于指定值 - public Criteria andCollectCountGreaterThan(Integer value) { - addCriterion("collect_count >", value, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否大于或等于指定值 - public Criteria andCollectCountGreaterThanOrEqualTo(Integer value) { - addCriterion("collect_count >=", value, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否小于指定值 - public Criteria andCollectCountLessThan(Integer value) { - addCriterion("collect_count <", value, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否小于或等于指定值 - public Criteria andCollectCountLessThanOrEqualTo(Integer value) { - addCriterion("collect_count <=", value, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否在指定的值列表中 - public Criteria andCollectCountIn(List values) { - addCriterion("collect_count in", values, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否不在指定的值列表中 - public Criteria andCollectCountNotIn(List values) { - addCriterion("collect_count not in", values, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否在指定的范围内 - public Criteria andCollectCountBetween(Integer value1, Integer value2) { - addCriterion("collect_count between", value1, value2, "collectCount"); - return (Criteria) this; - } - - // 检查 collect_count 是否不在指定的范围内 - public Criteria andCollectCountNotBetween(Integer value1, Integer value2) { - addCriterion("collect_count not between", value1, value2, "collectCount"); - return (Criteria) this; - } - - // 检查 read_count 是否为空 - public Criteria andReadCountIsNull() { - addCriterion("read_count is null"); - return (Criteria) this; - } - - // 检查 read_count 是否不为空 - public Criteria andReadCountIsNotNull() { - addCriterion("read_count is not null"); - return (Criteria) this; - } - - // 检查 read_count 是否等于指定值 - public Criteria andReadCountEqualTo(Integer value) { - addCriterion("read_count =", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不等于指定值 - public Criteria andReadCountNotEqualTo(Integer value) { - addCriterion("read_count <>", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否大于指定值 - public Criteria andReadCountGreaterThan(Integer value) { - addCriterion("read_count >", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否大于或等于指定值 - public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { - addCriterion("read_count >=", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否小于指定值 - public Criteria andReadCountLessThan(Integer value) { - addCriterion("read_count <", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否小于或等于指定值 - public Criteria andReadCountLessThanOrEqualTo(Integer value) { - addCriterion("read_count <=", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否在指定的值列表中 - public Criteria andReadCountIn(List values) { - addCriterion("read_count in", values, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不在指定的值列表中 - public Criteria andReadCountNotIn(List values) { - addCriterion("read_count not in", values, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否在指定的范围内 - public Criteria andReadCountBetween(Integer value1, Integer value2) { - addCriterion("read_count between", value1, value2, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不在指定的范围内 - public Criteria andReadCountNotBetween(Integer value1, Integer value2) { - addCriterion("read_count not between", value1, value2, "readCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否为空 - public Criteria andCommentCountIsNull() { - addCriterion("comment_count is null"); - return (Criteria) this; - } - - // 检查 comment_count 是否不为空 - public Criteria andCommentCountIsNotNull() { - addCriterion("comment_count is not null"); - return (Criteria) this; - } - - // 检查 comment_count 是否等于指定值 - public Criteria andCommentCountEqualTo(Integer value) { - addCriterion("comment_count =", value, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否不等于指定值 - public Criteria andCommentCountNotEqualTo(Integer value) { - addCriterion("comment_count <>", value, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否大于指定值 - public Criteria andCommentCountGreaterThan(Integer value) { - addCriterion("comment_count >", value, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否大于或等于指定值 - public Criteria andCommentCountGreaterThanOrEqualTo(Integer value) { - addCriterion("comment_count >=", value, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否小于指定值 - public Criteria andCommentCountLessThan(Integer value) { - addCriterion("comment_count <", value, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否小于或等于指定值 - public Criteria andCommentCountLessThanOrEqualTo(Integer value) { - addCriterion("comment_count <=", value, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否在指定的值列表中 - public Criteria andCommentCountIn(List values) { - addCriterion("comment_count in", values, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否不在指定的值列表中 - public Criteria andCommentCountNotIn(List values) { - addCriterion("comment_count not in", values, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否在指定的范围内 - public Criteria andCommentCountBetween(Integer value1, Integer value2) { - addCriterion("comment_count between", value1, value2, "commentCount"); - return (Criteria) this; - } - - // 检查 comment_count 是否不在指定的范围内 - public Criteria andCommentCountNotBetween(Integer value1, Integer value2) { - addCriterion("comment_count not between", value1, value2, "commentCount"); - return (Criteria) this; - } - - - // 检查 album_pics 字段是否为空 - public Criteria andAlbumPicsIsNull() { - addCriterion("album_pics is null"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否不为空 - public Criteria andAlbumPicsIsNotNull() { - addCriterion("album_pics is not null"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否等于指定值 - public Criteria andAlbumPicsEqualTo(String value) { - addCriterion("album_pics =", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否不等于指定值 - public Criteria andAlbumPicsNotEqualTo(String value) { - addCriterion("album_pics <>", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否大于指定值 - public Criteria andAlbumPicsGreaterThan(String value) { - addCriterion("album_pics >", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否大于或等于指定值 - public Criteria andAlbumPicsGreaterThanOrEqualTo(String value) { - addCriterion("album_pics >=", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否小于指定值 - public Criteria andAlbumPicsLessThan(String value) { - addCriterion("album_pics <", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否小于或等于指定值 - public Criteria andAlbumPicsLessThanOrEqualTo(String value) { - addCriterion("album_pics <=", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否匹配指定模式(使用 LIKE) - public Criteria andAlbumPicsLike(String value) { - addCriterion("album_pics like", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否不匹配指定模式(使用 NOT LIKE) - public Criteria andAlbumPicsNotLike(String value) { - addCriterion("album_pics not like", value, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否在指定列表中 - public Criteria andAlbumPicsIn(List values) { - addCriterion("album_pics in", values, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否不在指定列表中 - public Criteria andAlbumPicsNotIn(List values) { - addCriterion("album_pics not in", values, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否在指定范围内(between) - public Criteria andAlbumPicsBetween(String value1, String value2) { - addCriterion("album_pics between", value1, value2, "albumPics"); - return (Criteria) this; - } - - // 检查 album_pics 字段是否不在指定范围内(not between) - public Criteria andAlbumPicsNotBetween(String value1, String value2) { - addCriterion("album_pics not between", value1, value2, "albumPics"); - return (Criteria) this; - } - - // 检查 description 字段是否为空 - public Criteria andDescriptionIsNull() { - addCriterion("description is null"); - return (Criteria) this; - } - - // 检查 description 字段是否不为空 - public Criteria andDescriptionIsNotNull() { - addCriterion("description is not null"); - return (Criteria) this; - } - - // 检查 description 字段是否等于指定值 - public Criteria andDescriptionEqualTo(String value) { - addCriterion("description =", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否不等于指定值 - public Criteria andDescriptionNotEqualTo(String value) { - addCriterion("description <>", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否大于指定值 - public Criteria andDescriptionGreaterThan(String value) { - addCriterion("description >", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否大于或等于指定值 - public Criteria andDescriptionGreaterThanOrEqualTo(String value) { - addCriterion("description >=", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否小于指定值 - public Criteria andDescriptionLessThan(String value) { - addCriterion("description <", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否小于或等于指定值 - public Criteria andDescriptionLessThanOrEqualTo(String value) { - addCriterion("description <=", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否匹配指定模式(使用 LIKE) - public Criteria andDescriptionLike(String value) { - addCriterion("description like", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否不匹配指定模式(使用 NOT LIKE) - public Criteria andDescriptionNotLike(String value) { - addCriterion("description not like", value, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否在指定列表中 - public Criteria andDescriptionIn(List values) { - addCriterion("description in", values, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否不在指定列表中 - public Criteria andDescriptionNotIn(List values) { - addCriterion("description not in", values, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否在指定范围内(between) - public Criteria andDescriptionBetween(String value1, String value2) { - addCriterion("description between", value1, value2, "description"); - return (Criteria) this; - } - - // 检查 description 字段是否不在指定范围内(not between) - public Criteria andDescriptionNotBetween(String value1, String value2) { - addCriterion("description not between", value1, value2, "description"); - return (Criteria) this; - } - - // 检查 show_status 字段是否为空 - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - // 检查 show_status 字段是否不为空 - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - // 检查 show_status 字段是否等于指定值 - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 字段是否不等于指定值 - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 字段是否大于指定值 - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 字段是否大于或等于指定值 - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 字段是否小于指定值 - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 字段是否小于或等于指定值 - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 字段是否在指定列表中 - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 字段是否不在指定列表中 - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - - // 检查 show_status 是否在指定的范围内 - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在指定的范围内 - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 forward_count 是否为空 - public Criteria andForwardCountIsNull() { - addCriterion("forward_count is null"); - return (Criteria) this; - } - - // 检查 forward_count 是否不为空 - public Criteria andForwardCountIsNotNull() { - addCriterion("forward_count is not null"); - return (Criteria) this; - } - - // 检查 forward_count 是否等于指定值 - public Criteria andForwardCountEqualTo(Integer value) { - addCriterion("forward_count =", value, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否不等于指定值 - public Criteria andForwardCountNotEqualTo(Integer value) { - addCriterion("forward_count <>", value, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否大于指定值 - public Criteria andForwardCountGreaterThan(Integer value) { - addCriterion("forward_count >", value, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否大于或等于指定值 - public Criteria andForwardCountGreaterThanOrEqualTo(Integer value) { - addCriterion("forward_count >=", value, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否小于指定值 - public Criteria andForwardCountLessThan(Integer value) { - addCriterion("forward_count <", value, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否小于或等于指定值 - public Criteria andForwardCountLessThanOrEqualTo(Integer value) { - addCriterion("forward_count <=", value, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否在指定的列表中 - public Criteria andForwardCountIn(List values) { - addCriterion("forward_count in", values, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否不在指定的列表中 - public Criteria andForwardCountNotIn(List values) { - addCriterion("forward_count not in", values, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否在指定的范围内 - public Criteria andForwardCountBetween(Integer value1, Integer value2) { - addCriterion("forward_count between", value1, value2, "forwardCount"); - return (Criteria) this; - } - - // 检查 forward_count 是否不在指定的范围内 - public Criteria andForwardCountNotBetween(Integer value1, Integer value2) { - addCriterion("forward_count not between", value1, value2, "forwardCount"); - return (Criteria) this; - } - - // 检查 category_name 是否为空 - public Criteria andCategoryNameIsNull() { - addCriterion("category_name is null"); - return (Criteria) this; - } - - // 检查 category_name 是否不为空 - public Criteria andCategoryNameIsNotNull() { - addCriterion("category_name is not null"); - return (Criteria) this; - } - - // 检查 category_name 是否等于指定值 - public Criteria andCategoryNameEqualTo(String value) { - addCriterion("category_name =", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否不等于指定值 - public Criteria andCategoryNameNotEqualTo(String value) { - addCriterion("category_name <>", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否大于指定值 - public Criteria andCategoryNameGreaterThan(String value) { - addCriterion("category_name >", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否大于或等于指定值 - public Criteria andCategoryNameGreaterThanOrEqualTo(String value) { - addCriterion("category_name >=", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否小于指定值 - public Criteria andCategoryNameLessThan(String value) { - addCriterion("category_name <", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否小于或等于指定值 - public Criteria andCategoryNameLessThanOrEqualTo(String value) { - addCriterion("category_name <=", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否匹配指定模式(使用 LIKE) - public Criteria andCategoryNameLike(String value) { - addCriterion("category_name like", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否不匹配指定模式(使用 NOT LIKE) - public Criteria andCategoryNameNotLike(String value) { - addCriterion("category_name not like", value, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否在指定的列表中 - public Criteria andCategoryNameIn(List values) { - addCriterion("category_name in", values, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否不在指定的列表中 - public Criteria andCategoryNameNotIn(List values) { - addCriterion("category_name not in", values, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否在指定的范围内 - public Criteria andCategoryNameBetween(String value1, String value2) { - addCriterion("category_name between", value1, value2, "categoryName"); - return (Criteria) this; - } - - // 检查 category_name 是否不在指定的范围内 - public Criteria andCategoryNameNotBetween(String value1, String value2) { - addCriterion("category_name not between", value1, value2, "categoryName"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 构造函数,初始化Criteria对象 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 条件值 - private Object secondValue; // 第二个条件值(用于between查询) - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否为单一值 - private boolean betweenValue; // 是否为区间值 - private boolean listValue; // 是否为列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取条件值 - public Object getValue() { - return value; - } - - // 获取第二个条件值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否为单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否为区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否为列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件表达式、值和类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值是列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值 - protected Criterion(String condition, Object value) { - this(condition, value, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - - // 构造函数,包含条件表达式、两个值和类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 设置为区间值 - } - - // 构造函数,包含条件表达式、两个值 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java index 00065af..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java @@ -1,72 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class CmsSubjectProductRelation implements Serializable { - private Long id; - - private Long subjectId; - - private Long productId; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getSubjectId() { - return subjectId; - } - - public void setSubjectId(Long subjectId) { - this.subjectId = subjectId; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - @Override - public String toString() { - // 创建一个StringBuilder对象,用于构建字符串 - StringBuilder sb = new StringBuilder(); - - // 获取当前类的简单名称并追加到StringBuilder中 - sb.append(getClass().getSimpleName()); - - // 追加一个左方括号 - sb.append(" ["); - - // 追加当前对象的哈希码 - sb.append("Hash = ").append(hashCode()); - - // 追加id字段的值 - sb.append(", id=").append(id); - - // 追加subjectId字段的值 - sb.append(", subjectId=").append(subjectId); - - // 追加productId字段的值 - sb.append(", productId=").append(productId); - - // 追加serialVersionUID字段的值 - sb.append(", serialVersionUID=").append(serialVersionUID); - - // 追加右方括号 - sb.append("]"); - - // 将StringBuilder转换为字符串并返回 - return sb.toString(); - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java index 18654d5..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java @@ -1,424 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class CmsSubjectProductRelationExample { - // 定义排序子句 - protected String orderByClause; - - // 是否使用 DISTINCT 关键字 - protected boolean distinct; - - // 存储查询条件的列表 - protected List oredCriteria; - - // 构造函数,初始化查询条件列表 - public CmsSubjectProductRelationExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否使用 DISTINCT 关键字 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 判断是否使用 DISTINCT 关键字 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表 - public List getOredCriteria() { - return oredCriteria; - } - - // 添加一个查询条件到列表中 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的 Criteria 对象并添加到查询条件列表中 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个 Criteria 对象,如果查询条件列表为空则添加到列表中 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的 Criteria 对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,重置状态 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个列表来存储所有的查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 检查是否有任何查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取查询条件的副本 - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件(没有值) - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件(两个值) - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下方法用于生成具体的查询条件,例如id是否为空、id等于某个值等 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 以下方法用于生成subject_id相关的查询条件 - public Criteria andSubjectIdIsNull() { - addCriterion("subject_id is null"); - return (Criteria) this; - } - - public Criteria andSubjectIdIsNotNull() { - addCriterion("subject_id is not null"); - return (Criteria) this; - } - - public Criteria andSubjectIdEqualTo(Long value) { - addCriterion("subject_id =", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdNotEqualTo(Long value) { - addCriterion("subject_id <>", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdGreaterThan(Long value) { - addCriterion("subject_id >", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { - addCriterion("subject_id >=", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdLessThan(Long value) { - addCriterion("subject_id <", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdLessThanOrEqualTo(Long value) { - addCriterion("subject_id <=", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdIn(List values) { - addCriterion("subject_id in", values, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdNotIn(List values) { - addCriterion("subject_id not in", values, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdBetween(Long value1, Long value2) { - addCriterion("subject_id between", value1, value2, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdNotBetween(Long value1, Long value2) { - addCriterion("subject_id not between", value1, value2, "subjectId"); - return (Criteria) this; - } - - // 以下方法用于生成product_id相关的查询条件 - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - - // 检查 product_id 是否不等于指定的值 - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否大于指定的值 - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否大于或等于指定的值 - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否小于指定的值 - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否小于或等于指定的值 - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否在指定的值列表中 - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否不在指定的值列表中 - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否在指定的两个值之间(包含边界) - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - // 检查 product_id 是否不在指定的两个值之间(不包含边界) - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 默认构造函数,调用父类的构造函数 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 查询条件 - private Object value; // 查询条件的值 - private Object secondValue; // 第二个值,用于between查询 - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否是单一值 - private boolean betweenValue; // 是否是区间值 - private boolean listValue; // 是否是列表值 - private String typeHandler; // 类型处理器 - - // 获取查询条件 - public String getCondition() { - return condition; - } - - // 获取查询条件的值 - public Object getValue() { - return value; - } - - // 获取第二个值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否是单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否是区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否是列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件 - protected Criterion(String condition) { - super(); // 调用父类的构造函数 - this.condition = condition; // 设置条件 - this.typeHandler = null; // 初始化类型处理器为空 - this.noValue = true; // 标记没有值 - } - - // 构造函数,包含条件和值(带类型处理器) - protected Criterion(String condition, Object value, String typeHandler) { - super(); // 调用父类的构造函数 - this.condition = condition; // 设置条件 - this.value = value; // 设置值 - this.typeHandler = typeHandler; // 设置类型处理器 - if (value instanceof List) { // 如果值是列表类型 - this.listValue = true; // 标记为列表值 - } else { - this.singleValue = true; // 否则标记为单一值 - } - } - - // 构造函数,包含条件和值(无类型处理器) - protected Criterion(String condition, Object value) { - this(condition, value, null); // 调用另一个构造函数,并传递 null 作为类型处理器 - } - - // 构造函数,包含条件、值和第二个值(带类型处理器) - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); // 调用父类的构造函数 - this.condition = condition; // 设置条件 - this.value = value; // 设置第一个值 - this.secondValue = secondValue; // 设置第二个值 - this.typeHandler = typeHandler; // 设置类型处理器 - this.betweenValue = true; // 标记为区间值 - } - - // 构造函数,包含条件、值和第二个值(无类型处理器) - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); // 调用另一个构造函数,并传递 null 作为类型处理器 - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java index 2bb8e23..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java @@ -1,161 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -/** - * 话题模型类,用于表示一个话题的详细信息。 - */ -public class CmsTopic implements Serializable { - private Long id; // 话题的唯一标识符 - - private Long categoryId; // 话题所属分类的ID - - private String name; // 话题的名称 - - private Date createTime; // 话题的创建时间 - - private Date startTime; // 话题的开始时间 - - private Date endTime; // 话题的结束时间 - - @ApiModelProperty(value = "参与人数") - private Integer attendCount; // 参与该话题的人数 - - @ApiModelProperty(value = "关注人数") - private Integer attentionCount; // 关注该话题的人数 - - private Integer readCount; // 阅读该话题的次数 - - @ApiModelProperty(value = "奖品名称") - private String awardName; // 与该话题相关的奖品名称 - - @ApiModelProperty(value = "参与方式") - private String attendType; // 参与该话题的方式 - - @ApiModelProperty(value = "话题内容") - private String content; // 话题的具体内容 - - private static final long serialVersionUID = 1L; // 序列化版本号 - - // Getter和Setter方法 - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getCategoryId() { - return categoryId; - } - - public void setCategoryId(Long categoryId) { - this.categoryId = categoryId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Date getStartTime() { - return startTime; - } - - public void setStartTime(Date startTime) { - this.startTime = startTime; - } - - public Date getEndTime() { - return endTime; - } - - public void setEndTime(Date endTime) { - this.endTime = endTime; - } - - public Integer getAttendCount() { - return attendCount; - } - - public void setAttendCount(Integer attendCount) { - this.attendCount = attendCount; - } - - public Integer getAttentionCount() { - return attentionCount; - } - - public void setAttentionCount(Integer attentionCount) { - this.attentionCount = attentionCount; - } - - public Integer getReadCount() { - return readCount; - } - - public void setReadCount(Integer readCount) { - this.readCount = readCount; - } - - public String getAwardName() { - return awardName; - } - - public void setAwardName(String awardName) { - this.awardName = awardName; - } - - public String getAttendType() { - return attendType; - } - - public void setAttendType(String attendType) { - this.attendType = attendType; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", categoryId=").append(categoryId); - sb.append(", name=").append(name); - sb.append(", createTime=").append(createTime); - sb.append(", startTime=").append(startTime); - sb.append(", endTime=").append(endTime); - sb.append(", attendCount=").append(attendCount); - sb.append(", attentionCount=").append(attentionCount); - sb.append(", readCount=").append(readCount); - sb.append(", awardName=").append(awardName); - sb.append(", attendType=").append(attendType); - sb.append(", content=").append(content); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java index 496290e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * CmsTopicCategory 类表示专题分类的实体。 - */ -public class CmsTopicCategory implements Serializable { - private Long id; // 分类的唯一标识符 - - private String name; // 分类的名称 - - @ApiModelProperty(value = "分类图标") - private String icon; // 分类的图标URL - - @ApiModelProperty(value = "专题数量") - private Integer subjectCount; // 该分类下的专题数量 - - private Integer showStatus; // 显示状态(0:不显示,1:显示) - - private Integer sort; // 排序字段 - - private static final long serialVersionUID = 1L; // 序列化版本号 - - // Getter和Setter方法 - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public Integer getSubjectCount() { - return subjectCount; - } - - public void setSubjectCount(Integer subjectCount) { - this.subjectCount = subjectCount; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", icon=").append(icon); - sb.append(", subjectCount=").append(subjectCount); - sb.append(", showStatus=").append(showStatus); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java index 4f017ca..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java @@ -1,664 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class CmsTopicCategoryExample { - // 定义一个用于排序的子句 - protected String orderByClause; - - // 定义一个布尔值,用于指示查询结果是否去重 - protected boolean distinct; - - // 定义一个列表,用于存储查询条件(Criteria) - protected List oredCriteria; - - // 构造函数,初始化oredCriteria为一个新的ArrayList - public CmsTopicCategoryExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否去重的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 获取是否去重的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 添加一个查询条件到oredCriteria列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的Criteria对象并添加到oredCriteria列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个Criteria对象,如果oredCriteria列表为空则将其添加到列表中的方法 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的Criteria对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,并将distinct设置为false的方法 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个列表来存储所有的查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有有效的查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取当前查询条件列表 - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件(例如 "id is null") - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件(例如 "id = 1") - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件(例如 "id between 1 and 10") - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - -// 以下方法用于生成具体的查询条件,并返回当前的Criteria对象以支持链式调用 - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - - // 检查icon字段是否不为空 - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - // 检查icon字段是否等于指定值 - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不等于指定值 - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否大于指定值 - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否大于或等于指定值 - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否小于指定值 - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否小于或等于指定值 - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否匹配指定模式(使用LIKE) - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不匹配指定模式(使用NOT LIKE) - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否在指定的值列表中 - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不在指定的值列表中 - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否在指定的范围内(between) - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - // 检查icon字段是否不在指定的范围内(not between) - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - // 检查subject_count字段是否为空 - public Criteria andSubjectCountIsNull() { - addCriterion("subject_count is null"); - return (Criteria) this; - } - - // 检查subject_count字段是否不为空 - public Criteria andSubjectCountIsNotNull() { - addCriterion("subject_count is not null"); - return (Criteria) this; - } - - // 检查subject_count字段是否等于指定值 - public Criteria andSubjectCountEqualTo(Integer value) { - addCriterion("subject_count =", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否不等于指定值 - public Criteria andSubjectCountNotEqualTo(Integer value) { - addCriterion("subject_count <>", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否大于指定值 - public Criteria andSubjectCountGreaterThan(Integer value) { - addCriterion("subject_count >", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否大于或等于指定值 - public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) { - addCriterion("subject_count >=", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否小于指定值 - public Criteria andSubjectCountLessThan(Integer value) { - addCriterion("subject_count <", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否小于或等于指定值 - public Criteria andSubjectCountLessThanOrEqualTo(Integer value) { - addCriterion("subject_count <=", value, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否在指定的值列表中 - public Criteria andSubjectCountIn(List values) { - addCriterion("subject_count in", values, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否不在指定的值列表中 - public Criteria andSubjectCountNotIn(List values) { - addCriterion("subject_count not in", values, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否在指定的范围内(between) - public Criteria andSubjectCountBetween(Integer value1, Integer value2) { - addCriterion("subject_count between", value1, value2, "subjectCount"); - return (Criteria) this; - } - - // 检查subject_count字段是否不在指定的范围内(not between) - public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) { - addCriterion("subject_count not between", value1, value2, "subjectCount"); - return (Criteria) this; - } - - // 检查show_status字段是否为空 - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - // 检查show_status字段是否不为空 - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - // 检查show_status字段是否等于指定值 - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - // 检查show_status字段是否不等于指定值 - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - - // 检查 show_status 是否大于指定值 - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否大于或等于指定值 - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否小于指定值 - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否小于或等于指定值 - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否在指定的值列表中 - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在指定的值列表中 - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否在指定的范围内(between) - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 show_status 是否不在指定的范围内(not between) - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查 sort 是否为空 - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - // 检查 sort 是否不为空 - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - // 检查 sort 是否等于指定值 - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否不等于指定值 - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否大于指定值 - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否大于或等于指定值 - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否小于指定值 - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否小于或等于指定值 - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否在指定的值列表中 - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否不在指定的值列表中 - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否在指定的范围内(between) - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - // 检查 sort 是否不在指定的范围内(not between) - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 构造函数,初始化Criteria对象 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 条件值 - private Object secondValue; // 第二个条件值(用于between查询) - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否为单一值 - private boolean betweenValue; // 是否为区间值 - private boolean listValue; // 是否为列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取条件值 - public Object getValue() { - return value; - } - - // 获取第二个条件值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否为单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否为区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否为列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件表达式和值,以及可选的类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值为列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值,不包含类型处理器 - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - // 构造函数,包含条件表达式、两个值和可选的类型处理器,用于between查询 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 设置为区间值 - } - - // 构造函数,包含条件表达式、两个值,不包含类型处理器,用于between查询 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java index 695918d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java @@ -1,108 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -/** - * CmsTopicComment class represents a comment on a topic in the CMS (Content Management System). - */ -public class CmsTopicComment implements Serializable { - private Long id; // Unique identifier for the comment - - @ApiModelProperty(value = "Nickname of the member who posted the comment") - private String memberNickName; // Nickname of the member who posted the comment - - @ApiModelProperty(value = "ID of the topic to which this comment is related") - private Long topicId; // ID of the topic to which this comment is related - - @ApiModelProperty(value = "Icon URL of the member who posted the comment") - private String memberIcon; // Icon URL of the member who posted the comment - - @ApiModelProperty(value = "Content of the comment") - private String content; // Content of the comment - - @ApiModelProperty(value = "Creation time of the comment") - private Date createTime; // Creation time of the comment - - @ApiModelProperty(value = "Status indicating whether the comment is displayed or not") - private Integer showStatus; // Status indicating whether the comment is displayed or not - - private static final long serialVersionUID = 1L; // Serial version UID for serialization - - // Getters and Setters for each field - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getMemberNickName() { - return memberNickName; - } - - public void setMemberNickName(String memberNickName) { - this.memberNickName = memberNickName; - } - - public Long getTopicId() { - return topicId; - } - - public void setTopicId(Long topicId) { - this.topicId = topicId; - } - - public String getMemberIcon() { - return memberIcon; - } - - public void setMemberIcon(String memberIcon) { - this.memberIcon = memberIcon; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - // Overriding toString method to provide string representation of the object - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberNickName=").append(memberNickName); - sb.append(", topicId=").append(topicId); - sb.append(", memberIcon=").append(memberIcon); - sb.append(", content=").append(content); - sb.append(", createTime=").append(createTime); - sb.append(", showStatus=").append(showStatus); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java index 4d1fe2f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java @@ -1,743 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class CmsTopicCommentExample { - // 定义一个用于排序的字符串 - protected String orderByClause; - - // 定义一个布尔值,表示查询结果是否去重 - protected boolean distinct; - - // 定义一个列表,用于存储查询条件 - protected List oredCriteria; - - // 构造函数,初始化oredCriteria为一个新的ArrayList - public CmsTopicCommentExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否去重的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 获取是否去重的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 添加一个查询条件到列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的查询条件并添加到列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个新的查询条件的方法,如果当前没有查询条件则添加到列表中 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的Criteria对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句的方法,并将distinct设置为false - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个列表来存储所有的查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有有效的查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取查询条件列表 - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件 - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下是具体的查询条件方法,用于构建不同的查询条件 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIsNull() { - addCriterion("member_nick_name is null"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIsNotNull() { - addCriterion("member_nick_name is not null"); - return (Criteria) this; - } - - public Criteria andMemberNickNameEqualTo(String value) { - addCriterion("member_nick_name =", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotEqualTo(String value) { - addCriterion("member_nick_name <>", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameGreaterThan(String value) { - addCriterion("member_nick_name >", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { - addCriterion("member_nick_name >=", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLessThan(String value) { - addCriterion("member_nick_name <", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLessThanOrEqualTo(String value) { - addCriterion("member_nick_name <=", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLike(String value) { - addCriterion("member_nick_name like", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotLike(String value) { - addCriterion("member_nick_name not like", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIn(List values) { - addCriterion("member_nick_name in", values, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotIn(List values) { - addCriterion("member_nick_name not in", values, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameBetween(String value1, String value2) { - addCriterion("member_nick_name between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotBetween(String value1, String value2) { - addCriterion("member_nick_name not between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - public Criteria andTopicIdIsNull() { - addCriterion("topic_id is null"); - return (Criteria) this; - } - - public Criteria andTopicIdIsNotNull() { - addCriterion("topic_id is not null"); - return (Criteria) this; - } - - public Criteria andTopicIdEqualTo(Long value) { - addCriterion("topic_id =", value, "topicId"); - return (Criteria) this; - } - - public Criteria andTopicIdNotEqualTo(Long value) { - addCriterion("topic_id <>", value, "topicId"); - return (Criteria) this; - } - - public Criteria andTopicIdGreaterThan(Long value) { - addCriterion("topic_id >", value, "topicId"); - return (Criteria) this; - } - - public Criteria andTopicIdGreaterThanOrEqualTo(Long value) { - addCriterion("topic_id >=", value, "topicId"); - return (Criteria) this; - } - - - // 添加条件:topic_id < value - public Criteria andTopicIdLessThan(Long value) { - addCriterion("topic_id <", value, "topicId"); - return (Criteria) this; - } - - // 添加条件:topic_id <= value - public Criteria andTopicIdLessThanOrEqualTo(Long value) { - addCriterion("topic_id <=", value, "topicId"); - return (Criteria) this; - } - - // 添加条件:topic_id IN (values) - public Criteria andTopicIdIn(List values) { - addCriterion("topic_id in", values, "topicId"); - return (Criteria) this; - } - - // 添加条件:topic_id NOT IN (values) - public Criteria andTopicIdNotIn(List values) { - addCriterion("topic_id not in", values, "topicId"); - return (Criteria) this; - } - - // 添加条件:topic_id BETWEEN value1 AND value2 - public Criteria andTopicIdBetween(Long value1, Long value2) { - addCriterion("topic_id between", value1, value2, "topicId"); - return (Criteria) this; - } - - // 添加条件:topic_id NOT BETWEEN value1 AND value2 - public Criteria andTopicIdNotBetween(Long value1, Long value2) { - addCriterion("topic_id not between", value1, value2, "topicId"); - return (Criteria) this; - } - - // 添加条件:member_icon IS NULL - public Criteria andMemberIconIsNull() { - addCriterion("member_icon is null"); - return (Criteria) this; - } - - // 添加条件:member_icon IS NOT NULL - public Criteria andMemberIconIsNotNull() { - addCriterion("member_icon is not null"); - return (Criteria) this; - } - - // 添加条件:member_icon = value - public Criteria andMemberIconEqualTo(String value) { - addCriterion("member_icon =", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon <> value - public Criteria andMemberIconNotEqualTo(String value) { - addCriterion("member_icon <>", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon > value - public Criteria andMemberIconGreaterThan(String value) { - addCriterion("member_icon >", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon >= value - public Criteria andMemberIconGreaterThanOrEqualTo(String value) { - addCriterion("member_icon >=", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon < value - public Criteria andMemberIconLessThan(String value) { - addCriterion("member_icon <", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon <= value - public Criteria andMemberIconLessThanOrEqualTo(String value) { - addCriterion("member_icon <=", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon LIKE value - public Criteria andMemberIconLike(String value) { - addCriterion("member_icon like", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon NOT LIKE value - public Criteria andMemberIconNotLike(String value) { - addCriterion("member_icon not like", value, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon IN (values) - public Criteria andMemberIconIn(List values) { - addCriterion("member_icon in", values, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon NOT IN (values) - public Criteria andMemberIconNotIn(List values) { - addCriterion("member_icon not in", values, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon BETWEEN value1 AND value2 - public Criteria andMemberIconBetween(String value1, String value2) { - addCriterion("member_icon between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:member_icon NOT BETWEEN value1 AND value2 - public Criteria andMemberIconNotBetween(String value1, String value2) { - addCriterion("member_icon not between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - // 添加条件:content IS NULL - public Criteria andContentIsNull() { - addCriterion("content is null"); - return (Criteria) this; - } - - // 添加条件:content IS NOT NULL - public Criteria andContentIsNotNull() { - addCriterion("content is not null"); - return (Criteria) this; - } - - // 添加条件:content = value - public Criteria andContentEqualTo(String value) { - addCriterion("content =", value, "content"); - return (Criteria) this; - } - - // 添加条件:content <> value - public Criteria andContentNotEqualTo(String value) { - addCriterion("content <>", value, "content"); - return (Criteria) this; - } - - // 添加条件:content > value - public Criteria andContentGreaterThan(String value) { - addCriterion("content >", value, "content"); - return (Criteria) this; - } - - // 添加条件:content >= value - public Criteria andContentGreaterThanOrEqualTo(String value) { - addCriterion("content >=", value, "content"); - return (Criteria) this; - } - - // 添加条件:content < value - public Criteria andContentLessThan(String value) { - addCriterion("content <", value, "content"); - return (Criteria) this; - } - - // 添加条件:content <= value - public Criteria andContentLessThanOrEqualTo(String value) { - addCriterion("content <=", value, "content"); - return (Criteria) this; - } - - // 添加条件:content LIKE value - public Criteria andContentLike(String value) { - addCriterion("content like", value, "content"); - return (Criteria) this; - } - - // 添加条件:content NOT LIKE value - public Criteria andContentNotLike(String value) { - addCriterion("content not like", value, "content"); - return (Criteria) this; - } - - // 添加条件:content IN (values) - public Criteria andContentIn(List values) { - addCriterion("content in", values, "content"); - return (Criteria) this; - } - - // 添加条件:content NOT IN (values) - public Criteria andContentNotIn(List values) { - addCriterion("content not in", values, "content"); - return (Criteria) this; - } - - // 添加条件:content BETWEEN value1 AND value2 - public Criteria andContentBetween(String value1, String value2) { - addCriterion("content between", value1, value2, "content"); - return (Criteria) this; - } - - // 添加条件:content NOT BETWEEN value1 AND value2 - public Criteria andContentNotBetween(String value1, String value2) { - addCriterion("content not between", value1, value2, "content"); - return (Criteria) this; - } - - // 添加条件:create_time IS NULL - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - // 添加条件:create_time IS NOT NULL - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - // 添加条件:create_time = value - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - - // 检查创建时间是否不等于指定值 - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否大于指定值 - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否大于或等于指定值 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否小于指定值 - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否小于或等于指定值 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否在指定的日期列表中 - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否不在指定的日期列表中 - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否在指定的日期范围内 - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查创建时间是否不在指定的日期范围内 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查显示状态是否为空 - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - // 检查显示状态是否不为空 - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - // 检查显示状态是否等于指定值 - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否不等于指定值 - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否大于指定值 - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否大于或等于指定值 - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否小于指定值 - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否小于或等于指定值 - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否在指定的整数列表中 - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否不在指定的整数列表中 - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否在指定的整数范围内 - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - // 检查显示状态是否不在指定的整数范围内 - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 构造函数,初始化Criteria对象 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 条件值 - private Object secondValue; // 第二个条件值(用于between查询) - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否为单一值 - private boolean betweenValue; // 是否为区间值 - private boolean listValue; // 是否为列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取条件值 - public Object getValue() { - return value; - } - - // 获取第二个条件值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否为单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否为区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否为列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件表达式和值,以及可选的类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值为列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值,不包含类型处理器 - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - // 构造函数,包含条件表达式、两个值和可选的类型处理器,用于between查询 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 设置为区间值 - } - - // 构造函数,包含条件表达式、两个值,不包含类型处理器,用于between查询 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java index 4868c3b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java @@ -1,1035 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class CmsTopicExample { - // 定义一个用于排序的子句 - protected String orderByClause; - - // 定义一个布尔值,用于指示查询是否使用 DISTINCT 关键字 - protected boolean distinct; - - // 定义一个 Criteria 对象的列表,用于存储查询条件 - protected List oredCriteria; - - // 构造函数,初始化 oredCriteria 为一个新的 ArrayList - public CmsTopicExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句的方法 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句的方法 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否使用 DISTINCT 关键字的方法 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 判断是否使用 DISTINCT 关键字的方法 - public boolean isDistinct() { - return distinct; - } - - // 获取 Criteria 对象列表的方法 - public List getOredCriteria() { - return oredCriteria; - } - - // 将一个 Criteria 对象添加到 oredCriteria 列表中的方法 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的 Criteria 对象并添加到 oredCriteria 列表中的方法 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个 Criteria 对象的方法,如果 oredCriteria 列表为空,则将其添加到列表中 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建一个新的 Criteria 对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句的方法,并将 distinct 设置为 false - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - - protected abstract static class GeneratedCriteria { - // 定义一个列表来存储所有的查询条件 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 检查是否有任何查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件的列表 - public List getAllCriteria() { - return criteria; - } - - // 获取查询条件的列表(与getAllCriteria相同) - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件(例如BETWEEN语句) - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下方法用于生成具体的查询条件,例如id的各种比较操作 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 以下方法用于生成category_id的各种比较操作 - public Criteria andCategoryIdIsNull() { - addCriterion("category_id is null"); - return (Criteria) this; - } - - public Criteria andCategoryIdIsNotNull() { - addCriterion("category_id is not null"); - return (Criteria) this; - } - - public Criteria andCategoryIdEqualTo(Long value) { - addCriterion("category_id =", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotEqualTo(Long value) { - addCriterion("category_id <>", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThan(Long value) { - addCriterion("category_id >", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("category_id >=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThan(Long value) { - addCriterion("category_id <", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("category_id <=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdIn(List values) { - addCriterion("category_id in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotIn(List values) { - addCriterion("category_id not in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdBetween(Long value1, Long value2) { - addCriterion("category_id between", value1, value2, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("category_id not between", value1, value2, "categoryId"); - return (Criteria) this; - } - - // 以下方法用于生成name的各种比较操作 - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - - // 检查name字段是否小于或等于给定值 - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - // 检查name字段是否包含给定的值(使用SQL的LIKE操作符) - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - // 检查name字段是否不包含给定的值(使用SQL的NOT LIKE操作符) - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - // 检查name字段是否在给定的值列表中 - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - // 检查name字段是否不在给定的值列表中 - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - // 检查name字段是否在给定的两个值之间 - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - // 检查name字段是否不在给定的两个值之间 - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - // 检查create_time字段是否为空 - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - // 检查create_time字段是否不为空 - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - // 检查create_time字段是否等于给定值 - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否不等于给定值 - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否大于给定值 - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否大于或等于给定值 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否小于给定值 - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否小于或等于给定值 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否在给定的值列表中 - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否不在给定的值列表中 - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否在给定的两个值之间 - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查create_time字段是否不在给定的两个值之间 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 检查start_time字段是否为空 - public Criteria andStartTimeIsNull() { - addCriterion("start_time is null"); - return (Criteria) this; - } - - // 检查start_time字段是否不为空 - public Criteria andStartTimeIsNotNull() { - addCriterion("start_time is not null"); - return (Criteria) this; - } - - // 检查start_time字段是否等于给定值 - public Criteria andStartTimeEqualTo(Date value) { - addCriterion("start_time =", value, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否不等于给定值 - public Criteria andStartTimeNotEqualTo(Date value) { - addCriterion("start_time <>", value, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否大于给定值 - public Criteria andStartTimeGreaterThan(Date value) { - addCriterion("start_time >", value, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否大于或等于给定值 - public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { - addCriterion("start_time >=", value, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否小于给定值 - public Criteria andStartTimeLessThan(Date value) { - addCriterion("start_time <", value, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否小于或等于给定值 - public Criteria andStartTimeLessThanOrEqualTo(Date value) { - addCriterion("start_time <=", value, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否在给定的值列表中 - public Criteria andStartTimeIn(List values) { - addCriterion("start_time in", values, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否不在给定的值列表中 - public Criteria andStartTimeNotIn(List values) { - addCriterion("start_time not in", values, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否在给定的两个值之间 - public Criteria andStartTimeBetween(Date value1, Date value2) { - addCriterion("start_time between", value1, value2, "startTime"); - return (Criteria) this; - } - - // 检查start_time字段是否不在给定的两个值之间 - public Criteria andStartTimeNotBetween(Date value1, Date value2) { - addCriterion("start_time not between", value1, value2, "startTime"); - return (Criteria) this; - } - - // 检查end_time字段是否为空 - public Criteria andEndTimeIsNull() { - addCriterion("end_time is null"); - return (Criteria) this; - } - - // 检查end_time字段是否不为空 - public Criteria andEndTimeIsNotNull() { - addCriterion("end_time is not null"); - return (Criteria) this; - } - - // 检查end_time字段是否等于给定值 - public Criteria andEndTimeEqualTo(Date value) { - addCriterion("end_time =", value, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否不等于给定值 - public Criteria andEndTimeNotEqualTo(Date value) { - addCriterion("end_time <>", value, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否大于给定值 - public Criteria andEndTimeGreaterThan(Date value) { - addCriterion("end_time >", value, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否大于或等于给定值 - public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { - addCriterion("end_time >=", value, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否小于给定值 - public Criteria andEndTimeLessThan(Date value) { - addCriterion("end_time <", value, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否小于或等于给定值 - public Criteria andEndTimeLessThanOrEqualTo(Date value) { - addCriterion("end_time <=", value, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否在给定的值列表中 - public Criteria andEndTimeIn(List values) { - addCriterion("end_time in", values, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否不在给定的值列表中 - public Criteria andEndTimeNotIn(List values) { - addCriterion("end_time not in", values, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否在给定的两个值之间 - public Criteria andEndTimeBetween(Date value1, Date value2) { - addCriterion("end_time between", value1, value2, "endTime"); - return (Criteria) this; - } - - // 检查end_time字段是否不在给定的两个值之间 - public Criteria andEndTimeNotBetween(Date value1, Date value2) { - addCriterion("end_time not between", value1, value2, "endTime"); - return (Criteria) this; - } - - - // 检查 attend_count 是否为空 - public Criteria andAttendCountIsNull() { - addCriterion("attend_count is null"); - return (Criteria) this; - } - - // 检查 attend_count 是否不为空 - public Criteria andAttendCountIsNotNull() { - addCriterion("attend_count is not null"); - return (Criteria) this; - } - - // 检查 attend_count 是否等于指定值 - public Criteria andAttendCountEqualTo(Integer value) { - addCriterion("attend_count =", value, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否不等于指定值 - public Criteria andAttendCountNotEqualTo(Integer value) { - addCriterion("attend_count <>", value, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否大于指定值 - public Criteria andAttendCountGreaterThan(Integer value) { - addCriterion("attend_count >", value, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否大于或等于指定值 - public Criteria andAttendCountGreaterThanOrEqualTo(Integer value) { - addCriterion("attend_count >=", value, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否小于指定值 - public Criteria andAttendCountLessThan(Integer value) { - addCriterion("attend_count <", value, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否小于或等于指定值 - public Criteria andAttendCountLessThanOrEqualTo(Integer value) { - addCriterion("attend_count <=", value, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否在指定的值列表中 - public Criteria andAttendCountIn(List values) { - addCriterion("attend_count in", values, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否不在指定的值列表中 - public Criteria andAttendCountNotIn(List values) { - addCriterion("attend_count not in", values, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否在指定的范围内 - public Criteria andAttendCountBetween(Integer value1, Integer value2) { - addCriterion("attend_count between", value1, value2, "attendCount"); - return (Criteria) this; - } - - // 检查 attend_count 是否不在指定的范围内 - public Criteria andAttendCountNotBetween(Integer value1, Integer value2) { - addCriterion("attend_count not between", value1, value2, "attendCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否为空 - public Criteria andAttentionCountIsNull() { - addCriterion("attention_count is null"); - return (Criteria) this; - } - - // 检查 attention_count 是否不为空 - public Criteria andAttentionCountIsNotNull() { - addCriterion("attention_count is not null"); - return (Criteria) this; - } - - // 检查 attention_count 是否等于指定值 - public Criteria andAttentionCountEqualTo(Integer value) { - addCriterion("attention_count =", value, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否不等于指定值 - public Criteria andAttentionCountNotEqualTo(Integer value) { - addCriterion("attention_count <>", value, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否大于指定值 - public Criteria andAttentionCountGreaterThan(Integer value) { - addCriterion("attention_count >", value, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否大于或等于指定值 - public Criteria andAttentionCountGreaterThanOrEqualTo(Integer value) { - addCriterion("attention_count >=", value, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否小于指定值 - public Criteria andAttentionCountLessThan(Integer value) { - addCriterion("attention_count <", value, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否小于或等于指定值 - public Criteria andAttentionCountLessThanOrEqualTo(Integer value) { - addCriterion("attention_count <=", value, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否在指定的值列表中 - public Criteria andAttentionCountIn(List values) { - addCriterion("attention_count in", values, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否不在指定的值列表中 - public Criteria andAttentionCountNotIn(List values) { - addCriterion("attention_count not in", values, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否在指定的范围内 - public Criteria andAttentionCountBetween(Integer value1, Integer value2) { - addCriterion("attention_count between", value1, value2, "attentionCount"); - return (Criteria) this; - } - - // 检查 attention_count 是否不在指定的范围内 - public Criteria andAttentionCountNotBetween(Integer value1, Integer value2) { - addCriterion("attention_count not between", value1, value2, "attentionCount"); - return (Criteria) this; - } - - // 检查 read_count 是否为空 - public Criteria andReadCountIsNull() { - addCriterion("read_count is null"); - return (Criteria) this; - } - - // 检查 read_count 是否不为空 - public Criteria andReadCountIsNotNull() { - addCriterion("read_count is not null"); - return (Criteria) this; - } - - // 检查 read_count 是否等于指定值 - public Criteria andReadCountEqualTo(Integer value) { - addCriterion("read_count =", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不等于指定值 - public Criteria andReadCountNotEqualTo(Integer value) { - addCriterion("read_count <>", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否大于指定值 - public Criteria andReadCountGreaterThan(Integer value) { - addCriterion("read_count >", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否大于或等于指定值 - public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { - addCriterion("read_count >=", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否小于指定值 - public Criteria andReadCountLessThan(Integer value) { - addCriterion("read_count <", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否小于或等于指定值 - public Criteria andReadCountLessThanOrEqualTo(Integer value) { - addCriterion("read_count <=", value, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否在指定的值列表中 - public Criteria andReadCountIn(List values) { - addCriterion("read_count in", values, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不在指定的值列表中 - public Criteria andReadCountNotIn(List values) { - addCriterion("read_count not in", values, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否在指定的范围内 - public Criteria andReadCountBetween(Integer value1, Integer value2) { - addCriterion("read_count between", value1, value2, "readCount"); - return (Criteria) this; - } - - // 检查 read_count 是否不在指定的范围内 - public Criteria andReadCountNotBetween(Integer value1, Integer value2) { - addCriterion("read_count not between", value1, value2, "readCount"); - return (Criteria) this; - } - - // 检查 award_name 是否为空 - public Criteria andAwardNameIsNull() { - addCriterion("award_name is null"); - return (Criteria) this; - } - - // 检查 award_name 是否不为空 - public Criteria andAwardNameIsNotNull() { - addCriterion("award_name is not null"); - return (Criteria) this; - } - - - // 检查 award_name 是否等于指定值 - public Criteria andAwardNameEqualTo(String value) { - addCriterion("award_name =", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否不等于指定值 - public Criteria andAwardNameNotEqualTo(String value) { - addCriterion("award_name <>", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否大于指定值 - public Criteria andAwardNameGreaterThan(String value) { - addCriterion("award_name >", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否大于或等于指定值 - public Criteria andAwardNameGreaterThanOrEqualTo(String value) { - addCriterion("award_name >=", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否小于指定值 - public Criteria andAwardNameLessThan(String value) { - addCriterion("award_name <", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否小于或等于指定值 - public Criteria andAwardNameLessThanOrEqualTo(String value) { - addCriterion("award_name <=", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否匹配指定模式(使用 LIKE) - public Criteria andAwardNameLike(String value) { - addCriterion("award_name like", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否不匹配指定模式(使用 NOT LIKE) - public Criteria andAwardNameNotLike(String value) { - addCriterion("award_name not like", value, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否在指定的值列表中 - public Criteria andAwardNameIn(List values) { - addCriterion("award_name in", values, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否不在指定的值列表中 - public Criteria andAwardNameNotIn(List values) { - addCriterion("award_name not in", values, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否在指定的范围内(使用 BETWEEN) - public Criteria andAwardNameBetween(String value1, String value2) { - addCriterion("award_name between", value1, value2, "awardName"); - return (Criteria) this; - } - - // 检查 award_name 是否不在指定的范围内(使用 NOT BETWEEN) - public Criteria andAwardNameNotBetween(String value1, String value2) { - addCriterion("award_name not between", value1, value2, "awardName"); - return (Criteria) this; - } - - // 检查 attend_type 是否为空 - public Criteria andAttendTypeIsNull() { - addCriterion("attend_type is null"); - return (Criteria) this; - } - - // 检查 attend_type 是否不为空 - public Criteria andAttendTypeIsNotNull() { - addCriterion("attend_type is not null"); - return (Criteria) this; - } - - // 检查 attend_type 是否等于指定值 - public Criteria andAttendTypeEqualTo(String value) { - addCriterion("attend_type =", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否不等于指定值 - public Criteria andAttendTypeNotEqualTo(String value) { - addCriterion("attend_type <>", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否大于指定值 - public Criteria andAttendTypeGreaterThan(String value) { - addCriterion("attend_type >", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否大于或等于指定值 - public Criteria andAttendTypeGreaterThanOrEqualTo(String value) { - addCriterion("attend_type >=", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否小于指定值 - public Criteria andAttendTypeLessThan(String value) { - addCriterion("attend_type <", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否小于或等于指定值 - public Criteria andAttendTypeLessThanOrEqualTo(String value) { - addCriterion("attend_type <=", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否匹配指定模式(使用 LIKE) - public Criteria andAttendTypeLike(String value) { - addCriterion("attend_type like", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否不匹配指定模式(使用 NOT LIKE) - public Criteria andAttendTypeNotLike(String value) { - addCriterion("attend_type not like", value, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否在指定的值列表中 - public Criteria andAttendTypeIn(List values) { - addCriterion("attend_type in", values, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否不在指定的值列表中 - public Criteria andAttendTypeNotIn(List values) { - addCriterion("attend_type not in", values, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否在指定的范围内(使用 BETWEEN) - public Criteria andAttendTypeBetween(String value1, String value2) { - addCriterion("attend_type between", value1, value2, "attendType"); - return (Criteria) this; - } - - // 检查 attend_type 是否不在指定的范围内(使用 NOT BETWEEN) - public Criteria andAttendTypeNotBetween(String value1, String value2) { - addCriterion("attend_type not between", value1, value2, "attendType"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - // 构造函数,初始化Criteria对象 - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; // 条件表达式 - private Object value; // 条件值 - private Object secondValue; // 第二个条件值(用于between查询) - private boolean noValue; // 是否没有值 - private boolean singleValue; // 是否为单一值 - private boolean betweenValue; // 是否为区间值 - private boolean listValue; // 是否为列表值 - private String typeHandler; // 类型处理器 - - // 获取条件表达式 - public String getCondition() { - return condition; - } - - // 获取条件值 - public Object getValue() { - return value; - } - - // 获取第二个条件值 - public Object getSecondValue() { - return secondValue; - } - - // 判断是否没有值 - public boolean isNoValue() { - return noValue; - } - - // 判断是否为单一值 - public boolean isSingleValue() { - return singleValue; - } - - // 判断是否为区间值 - public boolean isBetweenValue() { - return betweenValue; - } - - // 判断是否为列表值 - public boolean isListValue() { - return listValue; - } - - // 获取类型处理器 - public String getTypeHandler() { - return typeHandler; - } - - // 构造函数,仅包含条件表达式 - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - // 构造函数,包含条件表达式、值和类型处理器 - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; // 如果值为列表,则设置listValue为true - } else { - this.singleValue = true; // 否则设置为单一值 - } - } - - // 构造函数,包含条件表达式和值 - protected Criterion(String condition, Object value) { - this(condition, value, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - - // 构造函数,包含条件表达式、两个值和类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; // 设置为区间值 - } - - // 构造函数,包含条件表达式、两个值 - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); // 调用另一个构造函数,并传递null作为类型处理器 - } - } - -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java index 402cf0f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java @@ -1,1751 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class OmsCartItemExample { - // 定义排序子句 - protected String orderByClause; - - // 是否使用 DISTINCT 关键字 - protected boolean distinct; - - // 存储查询条件的列表 - protected List oredCriteria; - - // 构造函数,初始化查询条件列表 - public OmsCartItemExample() { - oredCriteria = new ArrayList<>(); - } - - // 设置排序子句 - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - // 获取排序子句 - public String getOrderByClause() { - return orderByClause; - } - - // 设置是否使用 DISTINCT 关键字 - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - // 判断是否使用 DISTINCT 关键字 - public boolean isDistinct() { - return distinct; - } - - // 获取查询条件列表 - public List getOredCriteria() { - return oredCriteria; - } - - // 添加一个查询条件到列表中 - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - // 创建一个新的 Criteria 对象并添加到查询条件列表中 - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - // 创建一个 Criteria 对象,如果查询条件列表为空则添加到列表中 - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - // 内部方法,用于创建新的 Criteria 对象 - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - // 清除所有查询条件和排序子句,重置状态 - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - // 定义一个用于存储查询条件的列表 - protected List criteria; - - // 构造函数,初始化criteria列表 - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取查询条件列表(与getAllCriteria方法功能相同) - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - // 添加一个范围查询条件 - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - // 以下方法用于生成具体的查询条件,例如id是否为空、id等于某个值等 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 以下方法用于生成product_id相关的查询条件,例如product_id是否为空、product_id等于某个值等 - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - - /** - * 添加一个条件到条件列表中,指定产品ID不在给定的列表中。 - * - * @param values 要排除的产品ID列表 - * @return 当前的Criteria实例 - */ - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品ID在两个值之间。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的Criteria实例 - */ - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品ID不在两个值之间。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的Criteria实例 - */ - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID为空。 - * - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdIsNull() { - addCriterion("product_sku_id is null"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID不为空。 - * - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdIsNotNull() { - addCriterion("product_sku_id is not null"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID等于给定的值。 - * - * @param value 要匹配的产品SKU ID值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdEqualTo(Long value) { - addCriterion("product_sku_id =", value, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID不等于给定的值。 - * - * @param value 要排除的产品SKU ID值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdNotEqualTo(Long value) { - addCriterion("product_sku_id <>", value, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID大于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdGreaterThan(Long value) { - addCriterion("product_sku_id >", value, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID大于或等于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_sku_id >=", value, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID小于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdLessThan(Long value) { - addCriterion("product_sku_id <", value, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID小于或等于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdLessThanOrEqualTo(Long value) { - addCriterion("product_sku_id <=", value, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID在给定的列表中。 - * - * @param values 要匹配的产品SKU ID列表 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdIn(List values) { - addCriterion("product_sku_id in", values, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID不在给定的列表中。 - * - * @param values 要排除的产品SKU ID列表 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdNotIn(List values) { - addCriterion("product_sku_id not in", values, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID在两个值之间。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdBetween(Long value1, Long value2) { - addCriterion("product_sku_id between", value1, value2, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定产品SKU ID不在两个值之间。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的Criteria实例 - */ - public Criteria andProductSkuIdNotBetween(Long value1, Long value2) { - addCriterion("product_sku_id not between", value1, value2, "productSkuId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID为空。 - * - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID不为空。 - * - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID等于给定的值。 - * - * @param value 要匹配的会员ID值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID不等于给定的值。 - * - * @param value 要排除的会员ID值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID大于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID大于或等于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID小于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID小于或等于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID在给定的列表中。 - * - * @param values 要匹配的会员ID列表 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID不在给定的列表中。 - * - * @param values 要排除的会员ID列表 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID在两个值之间。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定会员ID不在两个值之间。 - * - * @param value1 范围的起始值 - * @param value2 范围的结束值 - * @return 当前的Criteria实例 - */ - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量为空。 - * - * @return 当前的Criteria实例 - */ - public Criteria andQuantityIsNull() { - addCriterion("quantity is null"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量不为空。 - * - * @return 当前的Criteria实例 - */ - public Criteria andQuantityIsNotNull() { - addCriterion("quantity is not null"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量等于给定的值。 - * - * @param value 要匹配的数量值 - * @return 当前的Criteria实例 - */ - public Criteria andQuantityEqualTo(Integer value) { - addCriterion("quantity =", value, "quantity"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量不等于给定的值。 - * - * @param value 要排除的数量值 - * @return 当前的Criteria实例 - */ - public Criteria andQuantityNotEqualTo(Integer value) { - addCriterion("quantity <>", value, "quantity"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量大于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andQuantityGreaterThan(Integer value) { - addCriterion("quantity >", value, "quantity"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量大于或等于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andQuantityGreaterThanOrEqualTo(Integer value) { - addCriterion("quantity >=", value, "quantity"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量小于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andQuantityLessThan(Integer value) { - addCriterion("quantity <", value, "quantity"); - return (Criteria) this; - } - - /** - * 添加一个条件到条件列表中,指定数量小于或等于给定的值。 - * - * @param value 比较的基准值 - * @return 当前的Criteria实例 - */ - public Criteria andQuantityLessThanOrEqualTo(Integer value) { - addCriterion("quantity <=", value, "quantity"); - return (Criteria) this; - } - - - public Criteria andPriceIsNull() { - // 添加条件:价格为空 - addCriterion("price is null"); - return (Criteria) this; - } - - public Criteria andPriceIsNotNull() { - // 添加条件:价格不为空 - addCriterion("price is not null"); - return (Criteria) this; - } - - public Criteria andPriceEqualTo(BigDecimal value) { - // 添加条件:价格等于指定值 - addCriterion("price =", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotEqualTo(BigDecimal value) { - // 添加条件:价格不等于指定值 - addCriterion("price <>", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThan(BigDecimal value) { - // 添加条件:价格大于指定值 - addCriterion("price >", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { - // 添加条件:价格大于或等于指定值 - addCriterion("price >=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThan(BigDecimal value) { - // 添加条件:价格小于指定值 - addCriterion("price <", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { - // 添加条件:价格小于或等于指定值 - addCriterion("price <=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceIn(List values) { - // 添加条件:价格在指定列表中 - addCriterion("price in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotIn(List values) { - // 添加条件:价格不在指定列表中 - addCriterion("price not in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { - // 添加条件:价格在指定范围内(包含边界) - addCriterion("price between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { - // 添加条件:价格不在指定范围内(不包含边界) - addCriterion("price not between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andProductPicIsNull() { - // 添加条件:产品图片为空 - addCriterion("product_pic is null"); - return (Criteria) this; - } - - public Criteria andProductPicIsNotNull() { - // 添加条件:产品图片不为空 - addCriterion("product_pic is not null"); - return (Criteria) this; - } - - public Criteria andProductPicEqualTo(String value) { - // 添加条件:产品图片等于指定值 - addCriterion("product_pic =", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotEqualTo(String value) { - // 添加条件:产品图片不等于指定值 - addCriterion("product_pic <>", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicGreaterThan(String value) { - // 添加条件:产品图片大于指定值 - addCriterion("product_pic >", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicGreaterThanOrEqualTo(String value) { - // 添加条件:产品图片大于或等于指定值 - addCriterion("product_pic >=", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLessThan(String value) { - // 添加条件:产品图片小于指定值 - addCriterion("product_pic <", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLessThanOrEqualTo(String value) { - // 添加条件:产品图片小于或等于指定值 - addCriterion("product_pic <=", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLike(String value) { - // 添加条件:产品图片匹配指定模式(模糊查询) - addCriterion("product_pic like", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotLike(String value) { - // 添加条件:产品图片不匹配指定模式(模糊查询) - addCriterion("product_pic not like", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicIn(List values) { - // 添加条件:产品图片在指定列表中 - addCriterion("product_pic in", values, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotIn(List values) { - // 添加条件:产品图片不在指定列表中 - addCriterion("product_pic not in", values, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicBetween(String value1, String value2) { - // 添加条件:产品图片在指定范围内(包含边界) - addCriterion("product_pic between", value1, value2, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotBetween(String value1, String value2) { - // 添加条件:产品图片不在指定范围内(不包含边界) - addCriterion("product_pic not between", value1, value2, "productPic"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - // 添加条件:产品名称为空 - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - // 添加条件:产品名称不为空 - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - // 添加条件:产品名称等于指定值 - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - // 添加条件:产品名称不等于指定值 - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - // 添加条件:产品名称大于指定值 - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - // 添加条件:产品名称大于或等于指定值 - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - // 添加条件:产品名称小于指定值 - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - // 添加条件:产品名称小于或等于指定值 - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - // 添加条件:产品名称匹配指定模式(模糊查询) - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - // 添加条件:产品名称不匹配指定模式(模糊查询) - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - // 添加条件:产品名称在指定列表中 - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - // 添加条件:product_name 不在指定的值列表中 - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - // 添加条件:product_name 在指定的两个值之间 - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - // 添加条件:product_name 不在指定的两个值之间 - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductSubTitleIsNull() { - // 添加条件:product_sub_title 为空 - addCriterion("product_sub_title is null"); - return (Criteria) this; - } - - public Criteria andProductSubTitleIsNotNull() { - // 添加条件:product_sub_title 不为空 - addCriterion("product_sub_title is not null"); - return (Criteria) this; - } - - public Criteria andProductSubTitleEqualTo(String value) { - // 添加条件:product_sub_title 等于指定值 - addCriterion("product_sub_title =", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleNotEqualTo(String value) { - // 添加条件:product_sub_title 不等于指定值 - addCriterion("product_sub_title <>", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleGreaterThan(String value) { - // 添加条件:product_sub_title 大于指定值 - addCriterion("product_sub_title >", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleGreaterThanOrEqualTo(String value) { - // 添加条件:product_sub_title 大于或等于指定值 - addCriterion("product_sub_title >=", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleLessThan(String value) { - // 添加条件:product_sub_title 小于指定值 - addCriterion("product_sub_title <", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleLessThanOrEqualTo(String value) { - // 添加条件:product_sub_title 小于或等于指定值 - addCriterion("product_sub_title <=", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleLike(String value) { - // 添加条件:product_sub_title 类似于指定值(模糊匹配) - addCriterion("product_sub_title like", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleNotLike(String value) { - // 添加条件:product_sub_title 不类似于指定值(模糊匹配) - addCriterion("product_sub_title not like", value, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleIn(List values) { - // 添加条件:product_sub_title 在指定的值列表中 - addCriterion("product_sub_title in", values, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleNotIn(List values) { - // 添加条件:product_sub_title 不在指定的值列表中 - addCriterion("product_sub_title not in", values, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleBetween(String value1, String value2) { - // 添加条件:product_sub_title 在指定的两个值之间 - addCriterion("product_sub_title between", value1, value2, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSubTitleNotBetween(String value1, String value2) { - // 添加条件:product_sub_title 不在指定的两个值之间 - addCriterion("product_sub_title not between", value1, value2, "productSubTitle"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeIsNull() { - // 添加条件:product_sku_code 为空 - addCriterion("product_sku_code is null"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeIsNotNull() { - // 添加条件:product_sku_code 不为空 - addCriterion("product_sku_code is not null"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeEqualTo(String value) { - // 添加条件:product_sku_code 等于指定值 - addCriterion("product_sku_code =", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotEqualTo(String value) { - // 添加条件:product_sku_code 不等于指定值 - addCriterion("product_sku_code <>", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeGreaterThan(String value) { - // 添加条件:product_sku_code 大于指定值 - addCriterion("product_sku_code >", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeGreaterThanOrEqualTo(String value) { - // 添加条件:product_sku_code 大于或等于指定值 - addCriterion("product_sku_code >=", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeLessThan(String value) { - // 添加条件:product_sku_code 小于指定值 - addCriterion("product_sku_code <", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeLessThanOrEqualTo(String value) { - // 添加条件:product_sku_code 小于或等于指定值 - addCriterion("product_sku_code <=", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeLike(String value) { - // 添加条件:product_sku_code 类似于指定值(模糊匹配) - addCriterion("product_sku_code like", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotLike(String value) { - // 添加条件:product_sku_code 不类似于指定值(模糊匹配) - addCriterion("product_sku_code not like", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeIn(List values) { - // 添加条件:product_sku_code 在指定的值列表中 - addCriterion("product_sku_code in", values, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotIn(List values) { - // 添加条件:product_sku_code 不在指定的值列表中 - addCriterion("product_sku_code not in", values, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeBetween(String value1, String value2) { - // 添加条件:product_sku_code 在指定的两个值之间 - addCriterion("product_sku_code between", value1, value2, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotBetween(String value1, String value2) { - // 添加条件:product_sku_code 不在指定的两个值之间 - addCriterion("product_sku_code not between", value1, value2, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andMemberNicknameIsNull() { - // 添加条件:member_nickname 为空 - addCriterion("member_nickname is null"); - return (Criteria) this; - } - - public Criteria andMemberNicknameIsNotNull() { - // 添加条件:member_nickname 不为空 - addCriterion("member_nickname is not null"); - return (Criteria) this; - } - - public Criteria andMemberNicknameEqualTo(String value) { - // 添加条件:member_nickname 等于指定值 - addCriterion("member_nickname =", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameNotEqualTo(String value) { - // 添加条件:member_nickname 不等于指定值 - addCriterion("member_nickname <>", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameGreaterThan(String value) { - // 添加条件:member_nickname 大于指定值 - addCriterion("member_nickname >", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameGreaterThanOrEqualTo(String value) { - // 添加条件:member_nickname 大于或等于指定值 - addCriterion("member_nickname >=", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameLessThan(String value) { - // 添加条件:member_nickname 小于指定值 - addCriterion("member_nickname <", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameLessThanOrEqualTo(String value) { - // 添加条件:member_nickname 小于或等于指定值 - addCriterion("member_nickname <=", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameLike(String value) { - // 添加条件:member_nickname 类似于指定值(模糊匹配) - addCriterion("member_nickname like", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameNotLike(String value) { - // 添加条件:member_nickname 不类似于指定值(模糊匹配) - addCriterion("member_nickname not like", value, "memberNickname"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 member_nickname 在给定列表中的记录 - public Criteria andMemberNicknameIn(List values) { - addCriterion("member_nickname in", values, "memberNickname"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 member_nickname 不在给定列表中的记录 - public Criteria andMemberNicknameNotIn(List values) { - addCriterion("member_nickname not in", values, "memberNickname"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 member_nickname 在给定范围内的记录 - public Criteria andMemberNicknameBetween(String value1, String value2) { - addCriterion("member_nickname between", value1, value2, "memberNickname"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 member_nickname 不在给定范围内的记录 - public Criteria andMemberNicknameNotBetween(String value1, String value2) { - addCriterion("member_nickname not between", value1, value2, "memberNickname"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 为空的记录 - public Criteria andCreateDateIsNull() { - addCriterion("create_date is null"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 不为空的记录 - public Criteria andCreateDateIsNotNull() { - addCriterion("create_date is not null"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 等于给定值的记录 - public Criteria andCreateDateEqualTo(Date value) { - addCriterion("create_date =", value, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 不等于给定值的记录 - public Criteria andCreateDateNotEqualTo(Date value) { - addCriterion("create_date <>", value, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 大于给定值的记录 - public Criteria andCreateDateGreaterThan(Date value) { - addCriterion("create_date >", value, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 大于或等于给定值的记录 - public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { - addCriterion("create_date >=", value, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 小于给定值的记录 - public Criteria andCreateDateLessThan(Date value) { - addCriterion("create_date <", value, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 小于或等于给定值的记录 - public Criteria andCreateDateLessThanOrEqualTo(Date value) { - addCriterion("create_date <=", value, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 在给定列表中的记录 - public Criteria andCreateDateIn(List values) { - addCriterion("create_date in", values, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 不在给定列表中的记录 - public Criteria andCreateDateNotIn(List values) { - addCriterion("create_date not in", values, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 在给定范围内的记录 - public Criteria andCreateDateBetween(Date value1, Date value2) { - addCriterion("create_date between", value1, value2, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 create_date 不在给定范围内的记录 - public Criteria andCreateDateNotBetween(Date value1, Date value2) { - addCriterion("create_date not between", value1, value2, "createDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 为空的记录 - public Criteria andModifyDateIsNull() { - addCriterion("modify_date is null"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 不为空的记录 - public Criteria andModifyDateIsNotNull() { - addCriterion("modify_date is not null"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 等于给定值的记录 - public Criteria andModifyDateEqualTo(Date value) { - addCriterion("modify_date =", value, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 不等于给定值的记录 - public Criteria andModifyDateNotEqualTo(Date value) { - addCriterion("modify_date <>", value, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 大于给定值的记录 - public Criteria andModifyDateGreaterThan(Date value) { - addCriterion("modify_date >", value, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 大于或等于给定值的记录 - public Criteria andModifyDateGreaterThanOrEqualTo(Date value) { - addCriterion("modify_date >=", value, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 小于给定值的记录 - public Criteria andModifyDateLessThan(Date value) { - addCriterion("modify_date <", value, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 小于或等于给定值的记录 - public Criteria andModifyDateLessThanOrEqualTo(Date value) { - addCriterion("modify_date <=", value, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 在给定列表中的记录 - public Criteria andModifyDateIn(List values) { - addCriterion("modify_date in", values, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 不在给定列表中的记录 - public Criteria andModifyDateNotIn(List values) { - addCriterion("modify_date not in", values, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 在给定范围内的记录 - public Criteria andModifyDateBetween(Date value1, Date value2) { - addCriterion("modify_date between", value1, value2, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 modify_date 不在给定范围内的记录 - public Criteria andModifyDateNotBetween(Date value1, Date value2) { - addCriterion("modify_date not between", value1, value2, "modifyDate"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 为空的记录 - public Criteria andDeleteStatusIsNull() { - addCriterion("delete_status is null"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 不为空的记录 - public Criteria andDeleteStatusIsNotNull() { - addCriterion("delete_status is not null"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 等于给定值的记录 - public Criteria andDeleteStatusEqualTo(Integer value) { - addCriterion("delete_status =", value, "deleteStatus"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 不等于给定值的记录 - public Criteria andDeleteStatusNotEqualTo(Integer value) { - addCriterion("delete_status <>", value, "deleteStatus"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 大于给定值的记录 - public Criteria andDeleteStatusGreaterThan(Integer value) { - addCriterion("delete_status >", value, "deleteStatus"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 大于或等于给定值的记录 - public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("delete_status >=", value, "deleteStatus"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 小于给定值的记录 - public Criteria andDeleteStatusLessThan(Integer value) { - addCriterion("delete_status <", value, "deleteStatus"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 小于或等于给定值的记录 - public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) { - addCriterion("delete_status <=", value, "deleteStatus"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 在给定列表中的记录 - public Criteria andDeleteStatusIn(List values) { - addCriterion("delete_status in", values, "deleteStatus"); - return (Criteria) this; - } - - // 添加一个条件,用于查询 delete_status 不在给定列表中的记录 - public Criteria andDeleteStatusNotIn(List values) { - addCriterion("delete_status not in", values, "deleteStatus"); - return (Criteria) this; - } - - - // 检查 delete_status 是否在给定范围内 - public Criteria andDeleteStatusBetween(Integer value1, Integer value2) { - addCriterion("delete_status between", value1, value2, "deleteStatus"); - return (Criteria) this; - } - - // 检查 delete_status 是否不在给定范围内 - public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) { - addCriterion("delete_status not between", value1, value2, "deleteStatus"); - return (Criteria) this; - } - - // 检查 product_category_id 是否为空 - public Criteria andProductCategoryIdIsNull() { - addCriterion("product_category_id is null"); - return (Criteria) this; - } - - // 检查 product_category_id 是否不为空 - public Criteria andProductCategoryIdIsNotNull() { - addCriterion("product_category_id is not null"); - return (Criteria) this; - } - - // 检查 product_category_id 是否等于给定值 - public Criteria andProductCategoryIdEqualTo(Long value) { - addCriterion("product_category_id =", value, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否不等于给定值 - public Criteria andProductCategoryIdNotEqualTo(Long value) { - addCriterion("product_category_id <>", value, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否大于给定值 - public Criteria andProductCategoryIdGreaterThan(Long value) { - addCriterion("product_category_id >", value, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否大于或等于给定值 - public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_category_id >=", value, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否小于给定值 - public Criteria andProductCategoryIdLessThan(Long value) { - addCriterion("product_category_id <", value, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否小于或等于给定值 - public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_category_id <=", value, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否在给定列表中 - public Criteria andProductCategoryIdIn(List values) { - addCriterion("product_category_id in", values, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否不在给定列表中 - public Criteria andProductCategoryIdNotIn(List values) { - addCriterion("product_category_id not in", values, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否在给定范围内 - public Criteria andProductCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_category_id between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_category_id 是否不在给定范围内 - public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_category_id not between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - // 检查 product_brand 是否为空 - public Criteria andProductBrandIsNull() { - addCriterion("product_brand is null"); - return (Criteria) this; - } - - // 检查 product_brand 是否不为空 - public Criteria andProductBrandIsNotNull() { - addCriterion("product_brand is not null"); - return (Criteria) this; - } - - // 检查 product_brand 是否等于给定值 - public Criteria andProductBrandEqualTo(String value) { - addCriterion("product_brand =", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否不等于给定值 - public Criteria andProductBrandNotEqualTo(String value) { - addCriterion("product_brand <>", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否大于给定值 - public Criteria andProductBrandGreaterThan(String value) { - addCriterion("product_brand >", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否大于或等于给定值 - public Criteria andProductBrandGreaterThanOrEqualTo(String value) { - addCriterion("product_brand >=", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否小于给定值 - public Criteria andProductBrandLessThan(String value) { - addCriterion("product_brand <", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否小于或等于给定值 - public Criteria andProductBrandLessThanOrEqualTo(String value) { - addCriterion("product_brand <=", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否匹配给定模式(模糊查询) - public Criteria andProductBrandLike(String value) { - addCriterion("product_brand like", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否不匹配给定模式(模糊查询) - public Criteria andProductBrandNotLike(String value) { - addCriterion("product_brand not like", value, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否在给定列表中 - public Criteria andProductBrandIn(List values) { - addCriterion("product_brand in", values, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否不在给定列表中 - public Criteria andProductBrandNotIn(List values) { - addCriterion("product_brand not in", values, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否在给定范围内 - public Criteria andProductBrandBetween(String value1, String value2) { - addCriterion("product_brand between", value1, value2, "productBrand"); - return (Criteria) this; - } - - // 检查 product_brand 是否不在给定范围内 - public Criteria andProductBrandNotBetween(String value1, String value2) { - addCriterion("product_brand not between", value1, value2, "productBrand"); - return (Criteria) this; - } - - // 检查 product_sn 是否为空 - public Criteria andProductSnIsNull() { - addCriterion("product_sn is null"); - return (Criteria) this; - } - - // 检查 product_sn 是否不为空 - public Criteria andProductSnIsNotNull() { - addCriterion("product_sn is not null"); - return (Criteria) this; - } - - // 检查 product_sn 是否等于给定值 - public Criteria andProductSnEqualTo(String value) { - addCriterion("product_sn =", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否不等于给定值 - public Criteria andProductSnNotEqualTo(String value) { - addCriterion("product_sn <>", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否大于给定值 - public Criteria andProductSnGreaterThan(String value) { - addCriterion("product_sn >", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否大于或等于给定值 - public Criteria andProductSnGreaterThanOrEqualTo(String value) { - addCriterion("product_sn >=", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否小于给定值 - public Criteria andProductSnLessThan(String value) { - addCriterion("product_sn <", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否小于或等于给定值 - public Criteria andProductSnLessThanOrEqualTo(String value) { - addCriterion("product_sn <=", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否包含指定的值(模糊查询) - public Criteria andProductSnLike(String value) { - addCriterion("product_sn like", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否不包含指定的值(模糊查询) - public Criteria andProductSnNotLike(String value) { - addCriterion("product_sn not like", value, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否在指定的列表中 - public Criteria andProductSnIn(List values) { - addCriterion("product_sn in", values, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否不在指定的列表中 - public Criteria andProductSnNotIn(List values) { - addCriterion("product_sn not in", values, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否在指定的范围内 - public Criteria andProductSnBetween(String value1, String value2) { - addCriterion("product_sn between", value1, value2, "productSn"); - return (Criteria) this; - } - - // 检查 product_sn 是否不在指定的范围内 - public Criteria andProductSnNotBetween(String value1, String value2) { - addCriterion("product_sn not between", value1, value2, "productSn"); - return (Criteria) this; - } - - // 检查 product_attr 是否为空 - public Criteria andProductAttrIsNull() { - addCriterion("product_attr is null"); - return (Criteria) this; - } - - // 检查 product_attr 是否不为空 - public Criteria andProductAttrIsNotNull() { - addCriterion("product_attr is not null"); - return (Criteria) this; - } - - // 检查 product_attr 是否等于指定的值 - public Criteria andProductAttrEqualTo(String value) { - addCriterion("product_attr =", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否不等于指定的值 - public Criteria andProductAttrNotEqualTo(String value) { - addCriterion("product_attr <>", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否大于指定的值 - public Criteria andProductAttrGreaterThan(String value) { - addCriterion("product_attr >", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否大于或等于指定的值 - public Criteria andProductAttrGreaterThanOrEqualTo(String value) { - addCriterion("product_attr >=", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否小于指定的值 - public Criteria andProductAttrLessThan(String value) { - addCriterion("product_attr <", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否小于或等于指定的值 - public Criteria andProductAttrLessThanOrEqualTo(String value) { - addCriterion("product_attr <=", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否包含指定的值(模糊查询) - public Criteria andProductAttrLike(String value) { - addCriterion("product_attr like", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否不包含指定的值(模糊查询) - public Criteria andProductAttrNotLike(String value) { - addCriterion("product_attr not like", value, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否在指定的列表中 - public Criteria andProductAttrIn(List values) { - addCriterion("product_attr in", values, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否不在指定的列表中 - public Criteria andProductAttrNotIn(List values) { - addCriterion("product_attr not in", values, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否在指定的范围内 - public Criteria andProductAttrBetween(String value1, String value2) { - addCriterion("product_attr between", value1, value2, "productAttr"); - return (Criteria) this; - } - - // 检查 product_attr 是否不在指定的范围内 - public Criteria andProductAttrNotBetween(String value1, String value2) { - addCriterion("product_attr not between", value1, value2, "productAttr"); - return (Criteria) this; - } - - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java index 0ebb575..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java @@ -1,142 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * OmsCompanyAddress 类表示公司地址信息,用于存储和管理公司的发货和收货地址。 - */ -public class OmsCompanyAddress implements Serializable { - private Long id; // 地址ID - - @ApiModelProperty(value = "地址名称") - private String addressName; // 地址名称 - - @ApiModelProperty(value = "默认发货地址:0->否;1->是") - private Integer sendStatus; // 是否为默认发货地址 - - @ApiModelProperty(value = "是否默认收货地址:0->否;1->是") - private Integer receiveStatus; // 是否为默认收货地址 - - @ApiModelProperty(value = "收发货人姓名") - private String name; // 收发货人姓名 - - @ApiModelProperty(value = "收货人电话") - private String phone; // 收货人电话 - - @ApiModelProperty(value = "省/直辖市") - private String province; // 省或直辖市 - - @ApiModelProperty(value = "市") - private String city; // 城市 - - @ApiModelProperty(value = "区") - private String region; // 区域 - - @ApiModelProperty(value = "详细地址") - private String detailAddress; // 详细地址 - - private static final long serialVersionUID = 1L; // 序列化版本号 - - // Getter and Setter methods for each field - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getAddressName() { - return addressName; - } - - public void setAddressName(String addressName) { - this.addressName = addressName; - } - - public Integer getSendStatus() { - return sendStatus; - } - - public void setSendStatus(Integer sendStatus) { - this.sendStatus = sendStatus; - } - - public Integer getReceiveStatus() { - return receiveStatus; - } - - public void setReceiveStatus(Integer receiveStatus) { - this.receiveStatus = receiveStatus; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getPhone() { - return phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - - public String getProvince() { - return province; - } - - public void setProvince(String province) { - this.province = province; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getRegion() { - return region; - } - - public void setRegion(String region) { - this.region = region; - } - - public String getDetailAddress() { - return detailAddress; - } - - public void setDetailAddress(String detailAddress) { - this.detailAddress = detailAddress; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", addressName=").append(addressName); - sb.append(", sendStatus=").append(sendStatus); - sb.append(", receiveStatus=").append(receiveStatus); - sb.append(", name=").append(name); - sb.append(", phone=").append(phone); - sb.append(", province=").append(province); - sb.append(", city=").append(city); - sb.append(", region=").append(region); - sb.append(", detailAddress=").append(detailAddress); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java index 29dc3a7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java @@ -1,869 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class OmsCompanyAddressExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public OmsCompanyAddressExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andAddressNameIsNull() { - addCriterion("address_name is null"); - return (Criteria) this; - } - - public Criteria andAddressNameIsNotNull() { - addCriterion("address_name is not null"); - return (Criteria) this; - } - - public Criteria andAddressNameEqualTo(String value) { - addCriterion("address_name =", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameNotEqualTo(String value) { - addCriterion("address_name <>", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameGreaterThan(String value) { - addCriterion("address_name >", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameGreaterThanOrEqualTo(String value) { - addCriterion("address_name >=", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameLessThan(String value) { - addCriterion("address_name <", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameLessThanOrEqualTo(String value) { - addCriterion("address_name <=", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameLike(String value) { - addCriterion("address_name like", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameNotLike(String value) { - addCriterion("address_name not like", value, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameIn(List values) { - addCriterion("address_name in", values, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameNotIn(List values) { - addCriterion("address_name not in", values, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameBetween(String value1, String value2) { - addCriterion("address_name between", value1, value2, "addressName"); - return (Criteria) this; - } - - public Criteria andAddressNameNotBetween(String value1, String value2) { - addCriterion("address_name not between", value1, value2, "addressName"); - return (Criteria) this; - } - - public Criteria andSendStatusIsNull() { - addCriterion("send_status is null"); - return (Criteria) this; - } - - public Criteria andSendStatusIsNotNull() { - addCriterion("send_status is not null"); - return (Criteria) this; - } - - public Criteria andSendStatusEqualTo(Integer value) { - addCriterion("send_status =", value, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusNotEqualTo(Integer value) { - addCriterion("send_status <>", value, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusGreaterThan(Integer value) { - addCriterion("send_status >", value, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("send_status >=", value, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusLessThan(Integer value) { - addCriterion("send_status <", value, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusLessThanOrEqualTo(Integer value) { - addCriterion("send_status <=", value, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusIn(List values) { - addCriterion("send_status in", values, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusNotIn(List values) { - addCriterion("send_status not in", values, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusBetween(Integer value1, Integer value2) { - addCriterion("send_status between", value1, value2, "sendStatus"); - return (Criteria) this; - } - - public Criteria andSendStatusNotBetween(Integer value1, Integer value2) { - addCriterion("send_status not between", value1, value2, "sendStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusIsNull() { - addCriterion("receive_status is null"); - return (Criteria) this; - } - - public Criteria andReceiveStatusIsNotNull() { - addCriterion("receive_status is not null"); - return (Criteria) this; - } - - public Criteria andReceiveStatusEqualTo(Integer value) { - addCriterion("receive_status =", value, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusNotEqualTo(Integer value) { - addCriterion("receive_status <>", value, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusGreaterThan(Integer value) { - addCriterion("receive_status >", value, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("receive_status >=", value, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusLessThan(Integer value) { - addCriterion("receive_status <", value, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusLessThanOrEqualTo(Integer value) { - addCriterion("receive_status <=", value, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusIn(List values) { - addCriterion("receive_status in", values, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusNotIn(List values) { - addCriterion("receive_status not in", values, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusBetween(Integer value1, Integer value2) { - addCriterion("receive_status between", value1, value2, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andReceiveStatusNotBetween(Integer value1, Integer value2) { - addCriterion("receive_status not between", value1, value2, "receiveStatus"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andPhoneIsNull() { - addCriterion("phone is null"); - return (Criteria) this; - } - - public Criteria andPhoneIsNotNull() { - addCriterion("phone is not null"); - return (Criteria) this; - } - - public Criteria andPhoneEqualTo(String value) { - addCriterion("phone =", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotEqualTo(String value) { - addCriterion("phone <>", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneGreaterThan(String value) { - addCriterion("phone >", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneGreaterThanOrEqualTo(String value) { - addCriterion("phone >=", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneLessThan(String value) { - addCriterion("phone <", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneLessThanOrEqualTo(String value) { - addCriterion("phone <=", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneLike(String value) { - addCriterion("phone like", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotLike(String value) { - addCriterion("phone not like", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneIn(List values) { - addCriterion("phone in", values, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotIn(List values) { - addCriterion("phone not in", values, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneBetween(String value1, String value2) { - addCriterion("phone between", value1, value2, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotBetween(String value1, String value2) { - addCriterion("phone not between", value1, value2, "phone"); - return (Criteria) this; - } - - public Criteria andProvinceIsNull() { - addCriterion("province is null"); - return (Criteria) this; - } - - public Criteria andProvinceIsNotNull() { - addCriterion("province is not null"); - return (Criteria) this; - } - - public Criteria andProvinceEqualTo(String value) { - addCriterion("province =", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotEqualTo(String value) { - addCriterion("province <>", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceGreaterThan(String value) { - addCriterion("province >", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceGreaterThanOrEqualTo(String value) { - addCriterion("province >=", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLessThan(String value) { - addCriterion("province <", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLessThanOrEqualTo(String value) { - addCriterion("province <=", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLike(String value) { - addCriterion("province like", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotLike(String value) { - addCriterion("province not like", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceIn(List values) { - addCriterion("province in", values, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotIn(List values) { - addCriterion("province not in", values, "province"); - return (Criteria) this; - } - - public Criteria andProvinceBetween(String value1, String value2) { - addCriterion("province between", value1, value2, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotBetween(String value1, String value2) { - addCriterion("province not between", value1, value2, "province"); - return (Criteria) this; - } - - public Criteria andCityIsNull() { - addCriterion("city is null"); - return (Criteria) this; - } - - public Criteria andCityIsNotNull() { - addCriterion("city is not null"); - return (Criteria) this; - } - - public Criteria andCityEqualTo(String value) { - addCriterion("city =", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotEqualTo(String value) { - addCriterion("city <>", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThan(String value) { - addCriterion("city >", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThanOrEqualTo(String value) { - addCriterion("city >=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThan(String value) { - addCriterion("city <", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThanOrEqualTo(String value) { - addCriterion("city <=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLike(String value) { - addCriterion("city like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotLike(String value) { - addCriterion("city not like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityIn(List values) { - addCriterion("city in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityNotIn(List values) { - addCriterion("city not in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityBetween(String value1, String value2) { - addCriterion("city between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andCityNotBetween(String value1, String value2) { - addCriterion("city not between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andRegionIsNull() { - addCriterion("region is null"); - return (Criteria) this; - } - - public Criteria andRegionIsNotNull() { - addCriterion("region is not null"); - return (Criteria) this; - } - - public Criteria andRegionEqualTo(String value) { - addCriterion("region =", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotEqualTo(String value) { - addCriterion("region <>", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionGreaterThan(String value) { - addCriterion("region >", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionGreaterThanOrEqualTo(String value) { - addCriterion("region >=", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionLessThan(String value) { - addCriterion("region <", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionLessThanOrEqualTo(String value) { - addCriterion("region <=", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionLike(String value) { - addCriterion("region like", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotLike(String value) { - addCriterion("region not like", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionIn(List values) { - addCriterion("region in", values, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotIn(List values) { - addCriterion("region not in", values, "region"); - return (Criteria) this; - } - - public Criteria andRegionBetween(String value1, String value2) { - addCriterion("region between", value1, value2, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotBetween(String value1, String value2) { - addCriterion("region not between", value1, value2, "region"); - return (Criteria) this; - } - - public Criteria andDetailAddressIsNull() { - addCriterion("detail_address is null"); - return (Criteria) this; - } - - public Criteria andDetailAddressIsNotNull() { - addCriterion("detail_address is not null"); - return (Criteria) this; - } - - public Criteria andDetailAddressEqualTo(String value) { - addCriterion("detail_address =", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotEqualTo(String value) { - addCriterion("detail_address <>", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressGreaterThan(String value) { - addCriterion("detail_address >", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressGreaterThanOrEqualTo(String value) { - addCriterion("detail_address >=", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressLessThan(String value) { - addCriterion("detail_address <", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressLessThanOrEqualTo(String value) { - addCriterion("detail_address <=", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressLike(String value) { - addCriterion("detail_address like", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotLike(String value) { - addCriterion("detail_address not like", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressIn(List values) { - addCriterion("detail_address in", values, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotIn(List values) { - addCriterion("detail_address not in", values, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressBetween(String value1, String value2) { - addCriterion("detail_address between", value1, value2, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotBetween(String value1, String value2) { - addCriterion("detail_address not between", value1, value2, "detailAddress"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java index abf494a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java @@ -1,3011 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class OmsOrderExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public OmsOrderExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNull() { - addCriterion("coupon_id is null"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNotNull() { - addCriterion("coupon_id is not null"); - return (Criteria) this; - } - - public Criteria andCouponIdEqualTo(Long value) { - addCriterion("coupon_id =", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotEqualTo(Long value) { - addCriterion("coupon_id <>", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThan(Long value) { - addCriterion("coupon_id >", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { - addCriterion("coupon_id >=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThan(Long value) { - addCriterion("coupon_id <", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThanOrEqualTo(Long value) { - addCriterion("coupon_id <=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdIn(List values) { - addCriterion("coupon_id in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotIn(List values) { - addCriterion("coupon_id not in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdBetween(Long value1, Long value2) { - addCriterion("coupon_id between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotBetween(Long value1, Long value2) { - addCriterion("coupon_id not between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNull() { - addCriterion("order_sn is null"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNotNull() { - addCriterion("order_sn is not null"); - return (Criteria) this; - } - - public Criteria andOrderSnEqualTo(String value) { - addCriterion("order_sn =", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotEqualTo(String value) { - addCriterion("order_sn <>", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThan(String value) { - addCriterion("order_sn >", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThanOrEqualTo(String value) { - addCriterion("order_sn >=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThan(String value) { - addCriterion("order_sn <", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThanOrEqualTo(String value) { - addCriterion("order_sn <=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLike(String value) { - addCriterion("order_sn like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotLike(String value) { - addCriterion("order_sn not like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnIn(List values) { - addCriterion("order_sn in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotIn(List values) { - addCriterion("order_sn not in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnBetween(String value1, String value2) { - addCriterion("order_sn between", value1, value2, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotBetween(String value1, String value2) { - addCriterion("order_sn not between", value1, value2, "orderSn"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andMemberUsernameIsNull() { - addCriterion("member_username is null"); - return (Criteria) this; - } - - public Criteria andMemberUsernameIsNotNull() { - addCriterion("member_username is not null"); - return (Criteria) this; - } - - public Criteria andMemberUsernameEqualTo(String value) { - addCriterion("member_username =", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotEqualTo(String value) { - addCriterion("member_username <>", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameGreaterThan(String value) { - addCriterion("member_username >", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameGreaterThanOrEqualTo(String value) { - addCriterion("member_username >=", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameLessThan(String value) { - addCriterion("member_username <", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameLessThanOrEqualTo(String value) { - addCriterion("member_username <=", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameLike(String value) { - addCriterion("member_username like", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotLike(String value) { - addCriterion("member_username not like", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameIn(List values) { - addCriterion("member_username in", values, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotIn(List values) { - addCriterion("member_username not in", values, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameBetween(String value1, String value2) { - addCriterion("member_username between", value1, value2, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotBetween(String value1, String value2) { - addCriterion("member_username not between", value1, value2, "memberUsername"); - return (Criteria) this; - } - - public Criteria andTotalAmountIsNull() { - addCriterion("total_amount is null"); - return (Criteria) this; - } - - public Criteria andTotalAmountIsNotNull() { - addCriterion("total_amount is not null"); - return (Criteria) this; - } - - public Criteria andTotalAmountEqualTo(BigDecimal value) { - addCriterion("total_amount =", value, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountNotEqualTo(BigDecimal value) { - addCriterion("total_amount <>", value, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountGreaterThan(BigDecimal value) { - addCriterion("total_amount >", value, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("total_amount >=", value, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountLessThan(BigDecimal value) { - addCriterion("total_amount <", value, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("total_amount <=", value, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountIn(List values) { - addCriterion("total_amount in", values, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountNotIn(List values) { - addCriterion("total_amount not in", values, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("total_amount between", value1, value2, "totalAmount"); - return (Criteria) this; - } - - public Criteria andTotalAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("total_amount not between", value1, value2, "totalAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountIsNull() { - addCriterion("pay_amount is null"); - return (Criteria) this; - } - - public Criteria andPayAmountIsNotNull() { - addCriterion("pay_amount is not null"); - return (Criteria) this; - } - - public Criteria andPayAmountEqualTo(BigDecimal value) { - addCriterion("pay_amount =", value, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountNotEqualTo(BigDecimal value) { - addCriterion("pay_amount <>", value, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountGreaterThan(BigDecimal value) { - addCriterion("pay_amount >", value, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("pay_amount >=", value, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountLessThan(BigDecimal value) { - addCriterion("pay_amount <", value, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("pay_amount <=", value, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountIn(List values) { - addCriterion("pay_amount in", values, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountNotIn(List values) { - addCriterion("pay_amount not in", values, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("pay_amount between", value1, value2, "payAmount"); - return (Criteria) this; - } - - public Criteria andPayAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("pay_amount not between", value1, value2, "payAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountIsNull() { - addCriterion("freight_amount is null"); - return (Criteria) this; - } - - public Criteria andFreightAmountIsNotNull() { - addCriterion("freight_amount is not null"); - return (Criteria) this; - } - - public Criteria andFreightAmountEqualTo(BigDecimal value) { - addCriterion("freight_amount =", value, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountNotEqualTo(BigDecimal value) { - addCriterion("freight_amount <>", value, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountGreaterThan(BigDecimal value) { - addCriterion("freight_amount >", value, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("freight_amount >=", value, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountLessThan(BigDecimal value) { - addCriterion("freight_amount <", value, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("freight_amount <=", value, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountIn(List values) { - addCriterion("freight_amount in", values, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountNotIn(List values) { - addCriterion("freight_amount not in", values, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("freight_amount between", value1, value2, "freightAmount"); - return (Criteria) this; - } - - public Criteria andFreightAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("freight_amount not between", value1, value2, "freightAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountIsNull() { - addCriterion("promotion_amount is null"); - return (Criteria) this; - } - - public Criteria andPromotionAmountIsNotNull() { - addCriterion("promotion_amount is not null"); - return (Criteria) this; - } - - public Criteria andPromotionAmountEqualTo(BigDecimal value) { - addCriterion("promotion_amount =", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountNotEqualTo(BigDecimal value) { - addCriterion("promotion_amount <>", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountGreaterThan(BigDecimal value) { - addCriterion("promotion_amount >", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_amount >=", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountLessThan(BigDecimal value) { - addCriterion("promotion_amount <", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_amount <=", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountIn(List values) { - addCriterion("promotion_amount in", values, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountNotIn(List values) { - addCriterion("promotion_amount not in", values, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_amount between", value1, value2, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_amount not between", value1, value2, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountIsNull() { - addCriterion("integration_amount is null"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountIsNotNull() { - addCriterion("integration_amount is not null"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountEqualTo(BigDecimal value) { - addCriterion("integration_amount =", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountNotEqualTo(BigDecimal value) { - addCriterion("integration_amount <>", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountGreaterThan(BigDecimal value) { - addCriterion("integration_amount >", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("integration_amount >=", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountLessThan(BigDecimal value) { - addCriterion("integration_amount <", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("integration_amount <=", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountIn(List values) { - addCriterion("integration_amount in", values, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountNotIn(List values) { - addCriterion("integration_amount not in", values, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("integration_amount between", value1, value2, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("integration_amount not between", value1, value2, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountIsNull() { - addCriterion("coupon_amount is null"); - return (Criteria) this; - } - - public Criteria andCouponAmountIsNotNull() { - addCriterion("coupon_amount is not null"); - return (Criteria) this; - } - - public Criteria andCouponAmountEqualTo(BigDecimal value) { - addCriterion("coupon_amount =", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountNotEqualTo(BigDecimal value) { - addCriterion("coupon_amount <>", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountGreaterThan(BigDecimal value) { - addCriterion("coupon_amount >", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("coupon_amount >=", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountLessThan(BigDecimal value) { - addCriterion("coupon_amount <", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("coupon_amount <=", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountIn(List values) { - addCriterion("coupon_amount in", values, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountNotIn(List values) { - addCriterion("coupon_amount not in", values, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("coupon_amount between", value1, value2, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("coupon_amount not between", value1, value2, "couponAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountIsNull() { - addCriterion("discount_amount is null"); - return (Criteria) this; - } - - public Criteria andDiscountAmountIsNotNull() { - addCriterion("discount_amount is not null"); - return (Criteria) this; - } - - public Criteria andDiscountAmountEqualTo(BigDecimal value) { - addCriterion("discount_amount =", value, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountNotEqualTo(BigDecimal value) { - addCriterion("discount_amount <>", value, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountGreaterThan(BigDecimal value) { - addCriterion("discount_amount >", value, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("discount_amount >=", value, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountLessThan(BigDecimal value) { - addCriterion("discount_amount <", value, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("discount_amount <=", value, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountIn(List values) { - addCriterion("discount_amount in", values, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountNotIn(List values) { - addCriterion("discount_amount not in", values, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("discount_amount between", value1, value2, "discountAmount"); - return (Criteria) this; - } - - public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("discount_amount not between", value1, value2, "discountAmount"); - return (Criteria) this; - } - - public Criteria andPayTypeIsNull() { - addCriterion("pay_type is null"); - return (Criteria) this; - } - - public Criteria andPayTypeIsNotNull() { - addCriterion("pay_type is not null"); - return (Criteria) this; - } - - public Criteria andPayTypeEqualTo(Integer value) { - addCriterion("pay_type =", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeNotEqualTo(Integer value) { - addCriterion("pay_type <>", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeGreaterThan(Integer value) { - addCriterion("pay_type >", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("pay_type >=", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeLessThan(Integer value) { - addCriterion("pay_type <", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeLessThanOrEqualTo(Integer value) { - addCriterion("pay_type <=", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeIn(List values) { - addCriterion("pay_type in", values, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeNotIn(List values) { - addCriterion("pay_type not in", values, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeBetween(Integer value1, Integer value2) { - addCriterion("pay_type between", value1, value2, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeNotBetween(Integer value1, Integer value2) { - addCriterion("pay_type not between", value1, value2, "payType"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNull() { - addCriterion("source_type is null"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNotNull() { - addCriterion("source_type is not null"); - return (Criteria) this; - } - - public Criteria andSourceTypeEqualTo(Integer value) { - addCriterion("source_type =", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotEqualTo(Integer value) { - addCriterion("source_type <>", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThan(Integer value) { - addCriterion("source_type >", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("source_type >=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThan(Integer value) { - addCriterion("source_type <", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { - addCriterion("source_type <=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeIn(List values) { - addCriterion("source_type in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotIn(List values) { - addCriterion("source_type not in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeBetween(Integer value1, Integer value2) { - addCriterion("source_type between", value1, value2, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { - addCriterion("source_type not between", value1, value2, "sourceType"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andOrderTypeIsNull() { - addCriterion("order_type is null"); - return (Criteria) this; - } - - public Criteria andOrderTypeIsNotNull() { - addCriterion("order_type is not null"); - return (Criteria) this; - } - - public Criteria andOrderTypeEqualTo(Integer value) { - addCriterion("order_type =", value, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeNotEqualTo(Integer value) { - addCriterion("order_type <>", value, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeGreaterThan(Integer value) { - addCriterion("order_type >", value, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("order_type >=", value, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeLessThan(Integer value) { - addCriterion("order_type <", value, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeLessThanOrEqualTo(Integer value) { - addCriterion("order_type <=", value, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeIn(List values) { - addCriterion("order_type in", values, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeNotIn(List values) { - addCriterion("order_type not in", values, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeBetween(Integer value1, Integer value2) { - addCriterion("order_type between", value1, value2, "orderType"); - return (Criteria) this; - } - - public Criteria andOrderTypeNotBetween(Integer value1, Integer value2) { - addCriterion("order_type not between", value1, value2, "orderType"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyIsNull() { - addCriterion("delivery_company is null"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyIsNotNull() { - addCriterion("delivery_company is not null"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyEqualTo(String value) { - addCriterion("delivery_company =", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyNotEqualTo(String value) { - addCriterion("delivery_company <>", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyGreaterThan(String value) { - addCriterion("delivery_company >", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyGreaterThanOrEqualTo(String value) { - addCriterion("delivery_company >=", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyLessThan(String value) { - addCriterion("delivery_company <", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyLessThanOrEqualTo(String value) { - addCriterion("delivery_company <=", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyLike(String value) { - addCriterion("delivery_company like", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyNotLike(String value) { - addCriterion("delivery_company not like", value, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyIn(List values) { - addCriterion("delivery_company in", values, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyNotIn(List values) { - addCriterion("delivery_company not in", values, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyBetween(String value1, String value2) { - addCriterion("delivery_company between", value1, value2, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliveryCompanyNotBetween(String value1, String value2) { - addCriterion("delivery_company not between", value1, value2, "deliveryCompany"); - return (Criteria) this; - } - - public Criteria andDeliverySnIsNull() { - addCriterion("delivery_sn is null"); - return (Criteria) this; - } - - public Criteria andDeliverySnIsNotNull() { - addCriterion("delivery_sn is not null"); - return (Criteria) this; - } - - public Criteria andDeliverySnEqualTo(String value) { - addCriterion("delivery_sn =", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnNotEqualTo(String value) { - addCriterion("delivery_sn <>", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnGreaterThan(String value) { - addCriterion("delivery_sn >", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnGreaterThanOrEqualTo(String value) { - addCriterion("delivery_sn >=", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnLessThan(String value) { - addCriterion("delivery_sn <", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnLessThanOrEqualTo(String value) { - addCriterion("delivery_sn <=", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnLike(String value) { - addCriterion("delivery_sn like", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnNotLike(String value) { - addCriterion("delivery_sn not like", value, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnIn(List values) { - addCriterion("delivery_sn in", values, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnNotIn(List values) { - addCriterion("delivery_sn not in", values, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnBetween(String value1, String value2) { - addCriterion("delivery_sn between", value1, value2, "deliverySn"); - return (Criteria) this; - } - - public Criteria andDeliverySnNotBetween(String value1, String value2) { - addCriterion("delivery_sn not between", value1, value2, "deliverySn"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayIsNull() { - addCriterion("auto_confirm_day is null"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayIsNotNull() { - addCriterion("auto_confirm_day is not null"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayEqualTo(Integer value) { - addCriterion("auto_confirm_day =", value, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayNotEqualTo(Integer value) { - addCriterion("auto_confirm_day <>", value, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayGreaterThan(Integer value) { - addCriterion("auto_confirm_day >", value, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayGreaterThanOrEqualTo(Integer value) { - addCriterion("auto_confirm_day >=", value, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayLessThan(Integer value) { - addCriterion("auto_confirm_day <", value, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayLessThanOrEqualTo(Integer value) { - addCriterion("auto_confirm_day <=", value, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayIn(List values) { - addCriterion("auto_confirm_day in", values, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayNotIn(List values) { - addCriterion("auto_confirm_day not in", values, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayBetween(Integer value1, Integer value2) { - addCriterion("auto_confirm_day between", value1, value2, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andAutoConfirmDayNotBetween(Integer value1, Integer value2) { - addCriterion("auto_confirm_day not between", value1, value2, "autoConfirmDay"); - return (Criteria) this; - } - - public Criteria andIntegrationIsNull() { - addCriterion("integration is null"); - return (Criteria) this; - } - - public Criteria andIntegrationIsNotNull() { - addCriterion("integration is not null"); - return (Criteria) this; - } - - public Criteria andIntegrationEqualTo(Integer value) { - addCriterion("integration =", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationNotEqualTo(Integer value) { - addCriterion("integration <>", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationGreaterThan(Integer value) { - addCriterion("integration >", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationGreaterThanOrEqualTo(Integer value) { - addCriterion("integration >=", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationLessThan(Integer value) { - addCriterion("integration <", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationLessThanOrEqualTo(Integer value) { - addCriterion("integration <=", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationIn(List values) { - addCriterion("integration in", values, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationNotIn(List values) { - addCriterion("integration not in", values, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationBetween(Integer value1, Integer value2) { - addCriterion("integration between", value1, value2, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationNotBetween(Integer value1, Integer value2) { - addCriterion("integration not between", value1, value2, "integration"); - return (Criteria) this; - } - - public Criteria andGrowthIsNull() { - addCriterion("growth is null"); - return (Criteria) this; - } - - public Criteria andGrowthIsNotNull() { - addCriterion("growth is not null"); - return (Criteria) this; - } - - public Criteria andGrowthEqualTo(Integer value) { - addCriterion("growth =", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotEqualTo(Integer value) { - addCriterion("growth <>", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthGreaterThan(Integer value) { - addCriterion("growth >", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { - addCriterion("growth >=", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthLessThan(Integer value) { - addCriterion("growth <", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthLessThanOrEqualTo(Integer value) { - addCriterion("growth <=", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthIn(List values) { - addCriterion("growth in", values, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotIn(List values) { - addCriterion("growth not in", values, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthBetween(Integer value1, Integer value2) { - addCriterion("growth between", value1, value2, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotBetween(Integer value1, Integer value2) { - addCriterion("growth not between", value1, value2, "growth"); - return (Criteria) this; - } - - public Criteria andPromotionInfoIsNull() { - addCriterion("promotion_info is null"); - return (Criteria) this; - } - - public Criteria andPromotionInfoIsNotNull() { - addCriterion("promotion_info is not null"); - return (Criteria) this; - } - - public Criteria andPromotionInfoEqualTo(String value) { - addCriterion("promotion_info =", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoNotEqualTo(String value) { - addCriterion("promotion_info <>", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoGreaterThan(String value) { - addCriterion("promotion_info >", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoGreaterThanOrEqualTo(String value) { - addCriterion("promotion_info >=", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoLessThan(String value) { - addCriterion("promotion_info <", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoLessThanOrEqualTo(String value) { - addCriterion("promotion_info <=", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoLike(String value) { - addCriterion("promotion_info like", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoNotLike(String value) { - addCriterion("promotion_info not like", value, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoIn(List values) { - addCriterion("promotion_info in", values, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoNotIn(List values) { - addCriterion("promotion_info not in", values, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoBetween(String value1, String value2) { - addCriterion("promotion_info between", value1, value2, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andPromotionInfoNotBetween(String value1, String value2) { - addCriterion("promotion_info not between", value1, value2, "promotionInfo"); - return (Criteria) this; - } - - public Criteria andBillTypeIsNull() { - addCriterion("bill_type is null"); - return (Criteria) this; - } - - public Criteria andBillTypeIsNotNull() { - addCriterion("bill_type is not null"); - return (Criteria) this; - } - - public Criteria andBillTypeEqualTo(Integer value) { - addCriterion("bill_type =", value, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeNotEqualTo(Integer value) { - addCriterion("bill_type <>", value, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeGreaterThan(Integer value) { - addCriterion("bill_type >", value, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("bill_type >=", value, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeLessThan(Integer value) { - addCriterion("bill_type <", value, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeLessThanOrEqualTo(Integer value) { - addCriterion("bill_type <=", value, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeIn(List values) { - addCriterion("bill_type in", values, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeNotIn(List values) { - addCriterion("bill_type not in", values, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeBetween(Integer value1, Integer value2) { - addCriterion("bill_type between", value1, value2, "billType"); - return (Criteria) this; - } - - public Criteria andBillTypeNotBetween(Integer value1, Integer value2) { - addCriterion("bill_type not between", value1, value2, "billType"); - return (Criteria) this; - } - - public Criteria andBillHeaderIsNull() { - addCriterion("bill_header is null"); - return (Criteria) this; - } - - public Criteria andBillHeaderIsNotNull() { - addCriterion("bill_header is not null"); - return (Criteria) this; - } - - public Criteria andBillHeaderEqualTo(String value) { - addCriterion("bill_header =", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderNotEqualTo(String value) { - addCriterion("bill_header <>", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderGreaterThan(String value) { - addCriterion("bill_header >", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderGreaterThanOrEqualTo(String value) { - addCriterion("bill_header >=", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderLessThan(String value) { - addCriterion("bill_header <", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderLessThanOrEqualTo(String value) { - addCriterion("bill_header <=", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderLike(String value) { - addCriterion("bill_header like", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderNotLike(String value) { - addCriterion("bill_header not like", value, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderIn(List values) { - addCriterion("bill_header in", values, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderNotIn(List values) { - addCriterion("bill_header not in", values, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderBetween(String value1, String value2) { - addCriterion("bill_header between", value1, value2, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillHeaderNotBetween(String value1, String value2) { - addCriterion("bill_header not between", value1, value2, "billHeader"); - return (Criteria) this; - } - - public Criteria andBillContentIsNull() { - addCriterion("bill_content is null"); - return (Criteria) this; - } - - public Criteria andBillContentIsNotNull() { - addCriterion("bill_content is not null"); - return (Criteria) this; - } - - public Criteria andBillContentEqualTo(String value) { - addCriterion("bill_content =", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentNotEqualTo(String value) { - addCriterion("bill_content <>", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentGreaterThan(String value) { - addCriterion("bill_content >", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentGreaterThanOrEqualTo(String value) { - addCriterion("bill_content >=", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentLessThan(String value) { - addCriterion("bill_content <", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentLessThanOrEqualTo(String value) { - addCriterion("bill_content <=", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentLike(String value) { - addCriterion("bill_content like", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentNotLike(String value) { - addCriterion("bill_content not like", value, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentIn(List values) { - addCriterion("bill_content in", values, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentNotIn(List values) { - addCriterion("bill_content not in", values, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentBetween(String value1, String value2) { - addCriterion("bill_content between", value1, value2, "billContent"); - return (Criteria) this; - } - - public Criteria andBillContentNotBetween(String value1, String value2) { - addCriterion("bill_content not between", value1, value2, "billContent"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneIsNull() { - addCriterion("bill_receiver_phone is null"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneIsNotNull() { - addCriterion("bill_receiver_phone is not null"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneEqualTo(String value) { - addCriterion("bill_receiver_phone =", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneNotEqualTo(String value) { - addCriterion("bill_receiver_phone <>", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneGreaterThan(String value) { - addCriterion("bill_receiver_phone >", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneGreaterThanOrEqualTo(String value) { - addCriterion("bill_receiver_phone >=", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneLessThan(String value) { - addCriterion("bill_receiver_phone <", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneLessThanOrEqualTo(String value) { - addCriterion("bill_receiver_phone <=", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneLike(String value) { - addCriterion("bill_receiver_phone like", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneNotLike(String value) { - addCriterion("bill_receiver_phone not like", value, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneIn(List values) { - addCriterion("bill_receiver_phone in", values, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneNotIn(List values) { - addCriterion("bill_receiver_phone not in", values, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneBetween(String value1, String value2) { - addCriterion("bill_receiver_phone between", value1, value2, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverPhoneNotBetween(String value1, String value2) { - addCriterion("bill_receiver_phone not between", value1, value2, "billReceiverPhone"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailIsNull() { - addCriterion("bill_receiver_email is null"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailIsNotNull() { - addCriterion("bill_receiver_email is not null"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailEqualTo(String value) { - addCriterion("bill_receiver_email =", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailNotEqualTo(String value) { - addCriterion("bill_receiver_email <>", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailGreaterThan(String value) { - addCriterion("bill_receiver_email >", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailGreaterThanOrEqualTo(String value) { - addCriterion("bill_receiver_email >=", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailLessThan(String value) { - addCriterion("bill_receiver_email <", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailLessThanOrEqualTo(String value) { - addCriterion("bill_receiver_email <=", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailLike(String value) { - addCriterion("bill_receiver_email like", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailNotLike(String value) { - addCriterion("bill_receiver_email not like", value, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailIn(List values) { - addCriterion("bill_receiver_email in", values, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailNotIn(List values) { - addCriterion("bill_receiver_email not in", values, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailBetween(String value1, String value2) { - addCriterion("bill_receiver_email between", value1, value2, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andBillReceiverEmailNotBetween(String value1, String value2) { - addCriterion("bill_receiver_email not between", value1, value2, "billReceiverEmail"); - return (Criteria) this; - } - - public Criteria andReceiverNameIsNull() { - addCriterion("receiver_name is null"); - return (Criteria) this; - } - - public Criteria andReceiverNameIsNotNull() { - addCriterion("receiver_name is not null"); - return (Criteria) this; - } - - public Criteria andReceiverNameEqualTo(String value) { - addCriterion("receiver_name =", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameNotEqualTo(String value) { - addCriterion("receiver_name <>", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameGreaterThan(String value) { - addCriterion("receiver_name >", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameGreaterThanOrEqualTo(String value) { - addCriterion("receiver_name >=", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameLessThan(String value) { - addCriterion("receiver_name <", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameLessThanOrEqualTo(String value) { - addCriterion("receiver_name <=", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameLike(String value) { - addCriterion("receiver_name like", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameNotLike(String value) { - addCriterion("receiver_name not like", value, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameIn(List values) { - addCriterion("receiver_name in", values, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameNotIn(List values) { - addCriterion("receiver_name not in", values, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameBetween(String value1, String value2) { - addCriterion("receiver_name between", value1, value2, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverNameNotBetween(String value1, String value2) { - addCriterion("receiver_name not between", value1, value2, "receiverName"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneIsNull() { - addCriterion("receiver_phone is null"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneIsNotNull() { - addCriterion("receiver_phone is not null"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneEqualTo(String value) { - addCriterion("receiver_phone =", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneNotEqualTo(String value) { - addCriterion("receiver_phone <>", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneGreaterThan(String value) { - addCriterion("receiver_phone >", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneGreaterThanOrEqualTo(String value) { - addCriterion("receiver_phone >=", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneLessThan(String value) { - addCriterion("receiver_phone <", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneLessThanOrEqualTo(String value) { - addCriterion("receiver_phone <=", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneLike(String value) { - addCriterion("receiver_phone like", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneNotLike(String value) { - addCriterion("receiver_phone not like", value, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneIn(List values) { - addCriterion("receiver_phone in", values, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneNotIn(List values) { - addCriterion("receiver_phone not in", values, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneBetween(String value1, String value2) { - addCriterion("receiver_phone between", value1, value2, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPhoneNotBetween(String value1, String value2) { - addCriterion("receiver_phone not between", value1, value2, "receiverPhone"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeIsNull() { - addCriterion("receiver_post_code is null"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeIsNotNull() { - addCriterion("receiver_post_code is not null"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeEqualTo(String value) { - addCriterion("receiver_post_code =", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeNotEqualTo(String value) { - addCriterion("receiver_post_code <>", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeGreaterThan(String value) { - addCriterion("receiver_post_code >", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeGreaterThanOrEqualTo(String value) { - addCriterion("receiver_post_code >=", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeLessThan(String value) { - addCriterion("receiver_post_code <", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeLessThanOrEqualTo(String value) { - addCriterion("receiver_post_code <=", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeLike(String value) { - addCriterion("receiver_post_code like", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeNotLike(String value) { - addCriterion("receiver_post_code not like", value, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeIn(List values) { - addCriterion("receiver_post_code in", values, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeNotIn(List values) { - addCriterion("receiver_post_code not in", values, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeBetween(String value1, String value2) { - addCriterion("receiver_post_code between", value1, value2, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverPostCodeNotBetween(String value1, String value2) { - addCriterion("receiver_post_code not between", value1, value2, "receiverPostCode"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceIsNull() { - addCriterion("receiver_province is null"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceIsNotNull() { - addCriterion("receiver_province is not null"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceEqualTo(String value) { - addCriterion("receiver_province =", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceNotEqualTo(String value) { - addCriterion("receiver_province <>", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceGreaterThan(String value) { - addCriterion("receiver_province >", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceGreaterThanOrEqualTo(String value) { - addCriterion("receiver_province >=", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceLessThan(String value) { - addCriterion("receiver_province <", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceLessThanOrEqualTo(String value) { - addCriterion("receiver_province <=", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceLike(String value) { - addCriterion("receiver_province like", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceNotLike(String value) { - addCriterion("receiver_province not like", value, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceIn(List values) { - addCriterion("receiver_province in", values, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceNotIn(List values) { - addCriterion("receiver_province not in", values, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceBetween(String value1, String value2) { - addCriterion("receiver_province between", value1, value2, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverProvinceNotBetween(String value1, String value2) { - addCriterion("receiver_province not between", value1, value2, "receiverProvince"); - return (Criteria) this; - } - - public Criteria andReceiverCityIsNull() { - addCriterion("receiver_city is null"); - return (Criteria) this; - } - - public Criteria andReceiverCityIsNotNull() { - addCriterion("receiver_city is not null"); - return (Criteria) this; - } - - public Criteria andReceiverCityEqualTo(String value) { - addCriterion("receiver_city =", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityNotEqualTo(String value) { - addCriterion("receiver_city <>", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityGreaterThan(String value) { - addCriterion("receiver_city >", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityGreaterThanOrEqualTo(String value) { - addCriterion("receiver_city >=", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityLessThan(String value) { - addCriterion("receiver_city <", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityLessThanOrEqualTo(String value) { - addCriterion("receiver_city <=", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityLike(String value) { - addCriterion("receiver_city like", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityNotLike(String value) { - addCriterion("receiver_city not like", value, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityIn(List values) { - addCriterion("receiver_city in", values, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityNotIn(List values) { - addCriterion("receiver_city not in", values, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityBetween(String value1, String value2) { - addCriterion("receiver_city between", value1, value2, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverCityNotBetween(String value1, String value2) { - addCriterion("receiver_city not between", value1, value2, "receiverCity"); - return (Criteria) this; - } - - public Criteria andReceiverRegionIsNull() { - addCriterion("receiver_region is null"); - return (Criteria) this; - } - - public Criteria andReceiverRegionIsNotNull() { - addCriterion("receiver_region is not null"); - return (Criteria) this; - } - - public Criteria andReceiverRegionEqualTo(String value) { - addCriterion("receiver_region =", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionNotEqualTo(String value) { - addCriterion("receiver_region <>", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionGreaterThan(String value) { - addCriterion("receiver_region >", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionGreaterThanOrEqualTo(String value) { - addCriterion("receiver_region >=", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionLessThan(String value) { - addCriterion("receiver_region <", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionLessThanOrEqualTo(String value) { - addCriterion("receiver_region <=", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionLike(String value) { - addCriterion("receiver_region like", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionNotLike(String value) { - addCriterion("receiver_region not like", value, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionIn(List values) { - addCriterion("receiver_region in", values, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionNotIn(List values) { - addCriterion("receiver_region not in", values, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionBetween(String value1, String value2) { - addCriterion("receiver_region between", value1, value2, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverRegionNotBetween(String value1, String value2) { - addCriterion("receiver_region not between", value1, value2, "receiverRegion"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressIsNull() { - addCriterion("receiver_detail_address is null"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressIsNotNull() { - addCriterion("receiver_detail_address is not null"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressEqualTo(String value) { - addCriterion("receiver_detail_address =", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressNotEqualTo(String value) { - addCriterion("receiver_detail_address <>", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressGreaterThan(String value) { - addCriterion("receiver_detail_address >", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressGreaterThanOrEqualTo(String value) { - addCriterion("receiver_detail_address >=", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressLessThan(String value) { - addCriterion("receiver_detail_address <", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressLessThanOrEqualTo(String value) { - addCriterion("receiver_detail_address <=", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressLike(String value) { - addCriterion("receiver_detail_address like", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressNotLike(String value) { - addCriterion("receiver_detail_address not like", value, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressIn(List values) { - addCriterion("receiver_detail_address in", values, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressNotIn(List values) { - addCriterion("receiver_detail_address not in", values, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressBetween(String value1, String value2) { - addCriterion("receiver_detail_address between", value1, value2, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andReceiverDetailAddressNotBetween(String value1, String value2) { - addCriterion("receiver_detail_address not between", value1, value2, "receiverDetailAddress"); - return (Criteria) this; - } - - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andConfirmStatusIsNull() { - addCriterion("confirm_status is null"); - return (Criteria) this; - } - - public Criteria andConfirmStatusIsNotNull() { - addCriterion("confirm_status is not null"); - return (Criteria) this; - } - - public Criteria andConfirmStatusEqualTo(Integer value) { - addCriterion("confirm_status =", value, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusNotEqualTo(Integer value) { - addCriterion("confirm_status <>", value, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusGreaterThan(Integer value) { - addCriterion("confirm_status >", value, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("confirm_status >=", value, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusLessThan(Integer value) { - addCriterion("confirm_status <", value, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusLessThanOrEqualTo(Integer value) { - addCriterion("confirm_status <=", value, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusIn(List values) { - addCriterion("confirm_status in", values, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusNotIn(List values) { - addCriterion("confirm_status not in", values, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusBetween(Integer value1, Integer value2) { - addCriterion("confirm_status between", value1, value2, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andConfirmStatusNotBetween(Integer value1, Integer value2) { - addCriterion("confirm_status not between", value1, value2, "confirmStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusIsNull() { - addCriterion("delete_status is null"); - return (Criteria) this; - } - - public Criteria andDeleteStatusIsNotNull() { - addCriterion("delete_status is not null"); - return (Criteria) this; - } - - public Criteria andDeleteStatusEqualTo(Integer value) { - addCriterion("delete_status =", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusNotEqualTo(Integer value) { - addCriterion("delete_status <>", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusGreaterThan(Integer value) { - addCriterion("delete_status >", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("delete_status >=", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusLessThan(Integer value) { - addCriterion("delete_status <", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) { - addCriterion("delete_status <=", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusIn(List values) { - addCriterion("delete_status in", values, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusNotIn(List values) { - addCriterion("delete_status not in", values, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusBetween(Integer value1, Integer value2) { - addCriterion("delete_status between", value1, value2, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) { - addCriterion("delete_status not between", value1, value2, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andUseIntegrationIsNull() { - addCriterion("use_integration is null"); - return (Criteria) this; - } - - public Criteria andUseIntegrationIsNotNull() { - addCriterion("use_integration is not null"); - return (Criteria) this; - } - - public Criteria andUseIntegrationEqualTo(Integer value) { - addCriterion("use_integration =", value, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationNotEqualTo(Integer value) { - addCriterion("use_integration <>", value, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationGreaterThan(Integer value) { - addCriterion("use_integration >", value, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationGreaterThanOrEqualTo(Integer value) { - addCriterion("use_integration >=", value, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationLessThan(Integer value) { - addCriterion("use_integration <", value, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationLessThanOrEqualTo(Integer value) { - addCriterion("use_integration <=", value, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationIn(List values) { - addCriterion("use_integration in", values, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationNotIn(List values) { - addCriterion("use_integration not in", values, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationBetween(Integer value1, Integer value2) { - addCriterion("use_integration between", value1, value2, "useIntegration"); - return (Criteria) this; - } - - public Criteria andUseIntegrationNotBetween(Integer value1, Integer value2) { - addCriterion("use_integration not between", value1, value2, "useIntegration"); - return (Criteria) this; - } - - public Criteria andPaymentTimeIsNull() { - addCriterion("payment_time is null"); - return (Criteria) this; - } - - public Criteria andPaymentTimeIsNotNull() { - addCriterion("payment_time is not null"); - return (Criteria) this; - } - - public Criteria andPaymentTimeEqualTo(Date value) { - addCriterion("payment_time =", value, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeNotEqualTo(Date value) { - addCriterion("payment_time <>", value, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeGreaterThan(Date value) { - addCriterion("payment_time >", value, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) { - addCriterion("payment_time >=", value, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeLessThan(Date value) { - addCriterion("payment_time <", value, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeLessThanOrEqualTo(Date value) { - addCriterion("payment_time <=", value, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeIn(List values) { - addCriterion("payment_time in", values, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeNotIn(List values) { - addCriterion("payment_time not in", values, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeBetween(Date value1, Date value2) { - addCriterion("payment_time between", value1, value2, "paymentTime"); - return (Criteria) this; - } - - public Criteria andPaymentTimeNotBetween(Date value1, Date value2) { - addCriterion("payment_time not between", value1, value2, "paymentTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeIsNull() { - addCriterion("delivery_time is null"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeIsNotNull() { - addCriterion("delivery_time is not null"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeEqualTo(Date value) { - addCriterion("delivery_time =", value, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeNotEqualTo(Date value) { - addCriterion("delivery_time <>", value, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeGreaterThan(Date value) { - addCriterion("delivery_time >", value, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeGreaterThanOrEqualTo(Date value) { - addCriterion("delivery_time >=", value, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeLessThan(Date value) { - addCriterion("delivery_time <", value, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeLessThanOrEqualTo(Date value) { - addCriterion("delivery_time <=", value, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeIn(List values) { - addCriterion("delivery_time in", values, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeNotIn(List values) { - addCriterion("delivery_time not in", values, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeBetween(Date value1, Date value2) { - addCriterion("delivery_time between", value1, value2, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andDeliveryTimeNotBetween(Date value1, Date value2) { - addCriterion("delivery_time not between", value1, value2, "deliveryTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeIsNull() { - addCriterion("receive_time is null"); - return (Criteria) this; - } - - public Criteria andReceiveTimeIsNotNull() { - addCriterion("receive_time is not null"); - return (Criteria) this; - } - - public Criteria andReceiveTimeEqualTo(Date value) { - addCriterion("receive_time =", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeNotEqualTo(Date value) { - addCriterion("receive_time <>", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeGreaterThan(Date value) { - addCriterion("receive_time >", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) { - addCriterion("receive_time >=", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeLessThan(Date value) { - addCriterion("receive_time <", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeLessThanOrEqualTo(Date value) { - addCriterion("receive_time <=", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeIn(List values) { - addCriterion("receive_time in", values, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeNotIn(List values) { - addCriterion("receive_time not in", values, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeBetween(Date value1, Date value2) { - addCriterion("receive_time between", value1, value2, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeNotBetween(Date value1, Date value2) { - addCriterion("receive_time not between", value1, value2, "receiveTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeIsNull() { - addCriterion("comment_time is null"); - return (Criteria) this; - } - - public Criteria andCommentTimeIsNotNull() { - addCriterion("comment_time is not null"); - return (Criteria) this; - } - - public Criteria andCommentTimeEqualTo(Date value) { - addCriterion("comment_time =", value, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeNotEqualTo(Date value) { - addCriterion("comment_time <>", value, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeGreaterThan(Date value) { - addCriterion("comment_time >", value, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeGreaterThanOrEqualTo(Date value) { - addCriterion("comment_time >=", value, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeLessThan(Date value) { - addCriterion("comment_time <", value, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeLessThanOrEqualTo(Date value) { - addCriterion("comment_time <=", value, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeIn(List values) { - addCriterion("comment_time in", values, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeNotIn(List values) { - addCriterion("comment_time not in", values, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeBetween(Date value1, Date value2) { - addCriterion("comment_time between", value1, value2, "commentTime"); - return (Criteria) this; - } - - public Criteria andCommentTimeNotBetween(Date value1, Date value2) { - addCriterion("comment_time not between", value1, value2, "commentTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeIsNull() { - addCriterion("modify_time is null"); - return (Criteria) this; - } - - public Criteria andModifyTimeIsNotNull() { - addCriterion("modify_time is not null"); - return (Criteria) this; - } - - public Criteria andModifyTimeEqualTo(Date value) { - addCriterion("modify_time =", value, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeNotEqualTo(Date value) { - addCriterion("modify_time <>", value, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeGreaterThan(Date value) { - addCriterion("modify_time >", value, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) { - addCriterion("modify_time >=", value, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeLessThan(Date value) { - addCriterion("modify_time <", value, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeLessThanOrEqualTo(Date value) { - addCriterion("modify_time <=", value, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeIn(List values) { - addCriterion("modify_time in", values, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeNotIn(List values) { - addCriterion("modify_time not in", values, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeBetween(Date value1, Date value2) { - addCriterion("modify_time between", value1, value2, "modifyTime"); - return (Criteria) this; - } - - public Criteria andModifyTimeNotBetween(Date value1, Date value2) { - addCriterion("modify_time not between", value1, value2, "modifyTime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java index af25fde..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java @@ -1,264 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class OmsOrderItem implements Serializable { - private Long id; - - @ApiModelProperty(value = "订单id") - private Long orderId; - - @ApiModelProperty(value = "订单编号") - private String orderSn; - - private Long productId; - - private String productPic; - - private String productName; - - private String productBrand; - - private String productSn; - - @ApiModelProperty(value = "销售价格") - private BigDecimal productPrice; - - @ApiModelProperty(value = "购买数量") - private Integer productQuantity; - - @ApiModelProperty(value = "商品sku编号") - private Long productSkuId; - - @ApiModelProperty(value = "商品sku条码") - private String productSkuCode; - - @ApiModelProperty(value = "商品分类id") - private Long productCategoryId; - - @ApiModelProperty(value = "商品促销名称") - private String promotionName; - - @ApiModelProperty(value = "商品促销分解金额") - private BigDecimal promotionAmount; - - @ApiModelProperty(value = "优惠券优惠分解金额") - private BigDecimal couponAmount; - - @ApiModelProperty(value = "积分优惠分解金额") - private BigDecimal integrationAmount; - - @ApiModelProperty(value = "该商品经过优惠后的分解金额") - private BigDecimal realAmount; - - private Integer giftIntegration; - - private Integer giftGrowth; - - @ApiModelProperty(value = "商品销售属性:[{'key':'颜色','value':'颜色'},{'key':'容量','value':'4G'}]") - private String productAttr; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getOrderId() { - return orderId; - } - - public void setOrderId(Long orderId) { - this.orderId = orderId; - } - - public String getOrderSn() { - return orderSn; - } - - public void setOrderSn(String orderSn) { - this.orderSn = orderSn; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public String getProductPic() { - return productPic; - } - - public void setProductPic(String productPic) { - this.productPic = productPic; - } - - public String getProductName() { - return productName; - } - - public void setProductName(String productName) { - this.productName = productName; - } - - public String getProductBrand() { - return productBrand; - } - - public void setProductBrand(String productBrand) { - this.productBrand = productBrand; - } - - public String getProductSn() { - return productSn; - } - - public void setProductSn(String productSn) { - this.productSn = productSn; - } - - public BigDecimal getProductPrice() { - return productPrice; - } - - public void setProductPrice(BigDecimal productPrice) { - this.productPrice = productPrice; - } - - public Integer getProductQuantity() { - return productQuantity; - } - - public void setProductQuantity(Integer productQuantity) { - this.productQuantity = productQuantity; - } - - public Long getProductSkuId() { - return productSkuId; - } - - public void setProductSkuId(Long productSkuId) { - this.productSkuId = productSkuId; - } - - public String getProductSkuCode() { - return productSkuCode; - } - - public void setProductSkuCode(String productSkuCode) { - this.productSkuCode = productSkuCode; - } - - public Long getProductCategoryId() { - return productCategoryId; - } - - public void setProductCategoryId(Long productCategoryId) { - this.productCategoryId = productCategoryId; - } - - public String getPromotionName() { - return promotionName; - } - - public void setPromotionName(String promotionName) { - this.promotionName = promotionName; - } - - public BigDecimal getPromotionAmount() { - return promotionAmount; - } - - public void setPromotionAmount(BigDecimal promotionAmount) { - this.promotionAmount = promotionAmount; - } - - public BigDecimal getCouponAmount() { - return couponAmount; - } - - public void setCouponAmount(BigDecimal couponAmount) { - this.couponAmount = couponAmount; - } - - public BigDecimal getIntegrationAmount() { - return integrationAmount; - } - - public void setIntegrationAmount(BigDecimal integrationAmount) { - this.integrationAmount = integrationAmount; - } - - public BigDecimal getRealAmount() { - return realAmount; - } - - public void setRealAmount(BigDecimal realAmount) { - this.realAmount = realAmount; - } - - public Integer getGiftIntegration() { - return giftIntegration; - } - - public void setGiftIntegration(Integer giftIntegration) { - this.giftIntegration = giftIntegration; - } - - public Integer getGiftGrowth() { - return giftGrowth; - } - - public void setGiftGrowth(Integer giftGrowth) { - this.giftGrowth = giftGrowth; - } - - public String getProductAttr() { - return productAttr; - } - - public void setProductAttr(String productAttr) { - this.productAttr = productAttr; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", orderId=").append(orderId); - sb.append(", orderSn=").append(orderSn); - sb.append(", productId=").append(productId); - sb.append(", productPic=").append(productPic); - sb.append(", productName=").append(productName); - sb.append(", productBrand=").append(productBrand); - sb.append(", productSn=").append(productSn); - sb.append(", productPrice=").append(productPrice); - sb.append(", productQuantity=").append(productQuantity); - sb.append(", productSkuId=").append(productSkuId); - sb.append(", productSkuCode=").append(productSkuCode); - sb.append(", productCategoryId=").append(productCategoryId); - sb.append(", promotionName=").append(promotionName); - sb.append(", promotionAmount=").append(promotionAmount); - sb.append(", couponAmount=").append(couponAmount); - sb.append(", integrationAmount=").append(integrationAmount); - sb.append(", realAmount=").append(realAmount); - sb.append(", giftIntegration=").append(giftIntegration); - sb.append(", giftGrowth=").append(giftGrowth); - sb.append(", productAttr=").append(productAttr); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java index e3b06a5..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java @@ -1,1540 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class OmsOrderItemExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public OmsOrderItemExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNull() { - addCriterion("order_id is null"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNotNull() { - addCriterion("order_id is not null"); - return (Criteria) this; - } - - public Criteria andOrderIdEqualTo(Long value) { - addCriterion("order_id =", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotEqualTo(Long value) { - addCriterion("order_id <>", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThan(Long value) { - addCriterion("order_id >", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { - addCriterion("order_id >=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThan(Long value) { - addCriterion("order_id <", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThanOrEqualTo(Long value) { - addCriterion("order_id <=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdIn(List values) { - addCriterion("order_id in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotIn(List values) { - addCriterion("order_id not in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdBetween(Long value1, Long value2) { - addCriterion("order_id between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotBetween(Long value1, Long value2) { - addCriterion("order_id not between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNull() { - addCriterion("order_sn is null"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNotNull() { - addCriterion("order_sn is not null"); - return (Criteria) this; - } - - public Criteria andOrderSnEqualTo(String value) { - addCriterion("order_sn =", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotEqualTo(String value) { - addCriterion("order_sn <>", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThan(String value) { - addCriterion("order_sn >", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThanOrEqualTo(String value) { - addCriterion("order_sn >=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThan(String value) { - addCriterion("order_sn <", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThanOrEqualTo(String value) { - addCriterion("order_sn <=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLike(String value) { - addCriterion("order_sn like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotLike(String value) { - addCriterion("order_sn not like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnIn(List values) { - addCriterion("order_sn in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotIn(List values) { - addCriterion("order_sn not in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnBetween(String value1, String value2) { - addCriterion("order_sn between", value1, value2, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotBetween(String value1, String value2) { - addCriterion("order_sn not between", value1, value2, "orderSn"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductPicIsNull() { - addCriterion("product_pic is null"); - return (Criteria) this; - } - - public Criteria andProductPicIsNotNull() { - addCriterion("product_pic is not null"); - return (Criteria) this; - } - - public Criteria andProductPicEqualTo(String value) { - addCriterion("product_pic =", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotEqualTo(String value) { - addCriterion("product_pic <>", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicGreaterThan(String value) { - addCriterion("product_pic >", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicGreaterThanOrEqualTo(String value) { - addCriterion("product_pic >=", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLessThan(String value) { - addCriterion("product_pic <", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLessThanOrEqualTo(String value) { - addCriterion("product_pic <=", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLike(String value) { - addCriterion("product_pic like", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotLike(String value) { - addCriterion("product_pic not like", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicIn(List values) { - addCriterion("product_pic in", values, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotIn(List values) { - addCriterion("product_pic not in", values, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicBetween(String value1, String value2) { - addCriterion("product_pic between", value1, value2, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotBetween(String value1, String value2) { - addCriterion("product_pic not between", value1, value2, "productPic"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductBrandIsNull() { - addCriterion("product_brand is null"); - return (Criteria) this; - } - - public Criteria andProductBrandIsNotNull() { - addCriterion("product_brand is not null"); - return (Criteria) this; - } - - public Criteria andProductBrandEqualTo(String value) { - addCriterion("product_brand =", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotEqualTo(String value) { - addCriterion("product_brand <>", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandGreaterThan(String value) { - addCriterion("product_brand >", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandGreaterThanOrEqualTo(String value) { - addCriterion("product_brand >=", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandLessThan(String value) { - addCriterion("product_brand <", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandLessThanOrEqualTo(String value) { - addCriterion("product_brand <=", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandLike(String value) { - addCriterion("product_brand like", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotLike(String value) { - addCriterion("product_brand not like", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandIn(List values) { - addCriterion("product_brand in", values, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotIn(List values) { - addCriterion("product_brand not in", values, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandBetween(String value1, String value2) { - addCriterion("product_brand between", value1, value2, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotBetween(String value1, String value2) { - addCriterion("product_brand not between", value1, value2, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductSnIsNull() { - addCriterion("product_sn is null"); - return (Criteria) this; - } - - public Criteria andProductSnIsNotNull() { - addCriterion("product_sn is not null"); - return (Criteria) this; - } - - public Criteria andProductSnEqualTo(String value) { - addCriterion("product_sn =", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotEqualTo(String value) { - addCriterion("product_sn <>", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnGreaterThan(String value) { - addCriterion("product_sn >", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnGreaterThanOrEqualTo(String value) { - addCriterion("product_sn >=", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLessThan(String value) { - addCriterion("product_sn <", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLessThanOrEqualTo(String value) { - addCriterion("product_sn <=", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLike(String value) { - addCriterion("product_sn like", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotLike(String value) { - addCriterion("product_sn not like", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnIn(List values) { - addCriterion("product_sn in", values, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotIn(List values) { - addCriterion("product_sn not in", values, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnBetween(String value1, String value2) { - addCriterion("product_sn between", value1, value2, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotBetween(String value1, String value2) { - addCriterion("product_sn not between", value1, value2, "productSn"); - return (Criteria) this; - } - - public Criteria andProductPriceIsNull() { - addCriterion("product_price is null"); - return (Criteria) this; - } - - public Criteria andProductPriceIsNotNull() { - addCriterion("product_price is not null"); - return (Criteria) this; - } - - public Criteria andProductPriceEqualTo(BigDecimal value) { - addCriterion("product_price =", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceNotEqualTo(BigDecimal value) { - addCriterion("product_price <>", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceGreaterThan(BigDecimal value) { - addCriterion("product_price >", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("product_price >=", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceLessThan(BigDecimal value) { - addCriterion("product_price <", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("product_price <=", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceIn(List values) { - addCriterion("product_price in", values, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceNotIn(List values) { - addCriterion("product_price not in", values, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_price between", value1, value2, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_price not between", value1, value2, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductQuantityIsNull() { - addCriterion("product_quantity is null"); - return (Criteria) this; - } - - public Criteria andProductQuantityIsNotNull() { - addCriterion("product_quantity is not null"); - return (Criteria) this; - } - - public Criteria andProductQuantityEqualTo(Integer value) { - addCriterion("product_quantity =", value, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityNotEqualTo(Integer value) { - addCriterion("product_quantity <>", value, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityGreaterThan(Integer value) { - addCriterion("product_quantity >", value, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityGreaterThanOrEqualTo(Integer value) { - addCriterion("product_quantity >=", value, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityLessThan(Integer value) { - addCriterion("product_quantity <", value, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityLessThanOrEqualTo(Integer value) { - addCriterion("product_quantity <=", value, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityIn(List values) { - addCriterion("product_quantity in", values, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityNotIn(List values) { - addCriterion("product_quantity not in", values, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityBetween(Integer value1, Integer value2) { - addCriterion("product_quantity between", value1, value2, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductQuantityNotBetween(Integer value1, Integer value2) { - addCriterion("product_quantity not between", value1, value2, "productQuantity"); - return (Criteria) this; - } - - public Criteria andProductSkuIdIsNull() { - addCriterion("product_sku_id is null"); - return (Criteria) this; - } - - public Criteria andProductSkuIdIsNotNull() { - addCriterion("product_sku_id is not null"); - return (Criteria) this; - } - - public Criteria andProductSkuIdEqualTo(Long value) { - addCriterion("product_sku_id =", value, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdNotEqualTo(Long value) { - addCriterion("product_sku_id <>", value, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdGreaterThan(Long value) { - addCriterion("product_sku_id >", value, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_sku_id >=", value, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdLessThan(Long value) { - addCriterion("product_sku_id <", value, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdLessThanOrEqualTo(Long value) { - addCriterion("product_sku_id <=", value, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdIn(List values) { - addCriterion("product_sku_id in", values, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdNotIn(List values) { - addCriterion("product_sku_id not in", values, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdBetween(Long value1, Long value2) { - addCriterion("product_sku_id between", value1, value2, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuIdNotBetween(Long value1, Long value2) { - addCriterion("product_sku_id not between", value1, value2, "productSkuId"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeIsNull() { - addCriterion("product_sku_code is null"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeIsNotNull() { - addCriterion("product_sku_code is not null"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeEqualTo(String value) { - addCriterion("product_sku_code =", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotEqualTo(String value) { - addCriterion("product_sku_code <>", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeGreaterThan(String value) { - addCriterion("product_sku_code >", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeGreaterThanOrEqualTo(String value) { - addCriterion("product_sku_code >=", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeLessThan(String value) { - addCriterion("product_sku_code <", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeLessThanOrEqualTo(String value) { - addCriterion("product_sku_code <=", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeLike(String value) { - addCriterion("product_sku_code like", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotLike(String value) { - addCriterion("product_sku_code not like", value, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeIn(List values) { - addCriterion("product_sku_code in", values, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotIn(List values) { - addCriterion("product_sku_code not in", values, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeBetween(String value1, String value2) { - addCriterion("product_sku_code between", value1, value2, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductSkuCodeNotBetween(String value1, String value2) { - addCriterion("product_sku_code not between", value1, value2, "productSkuCode"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNull() { - addCriterion("product_category_id is null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNotNull() { - addCriterion("product_category_id is not null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdEqualTo(Long value) { - addCriterion("product_category_id =", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotEqualTo(Long value) { - addCriterion("product_category_id <>", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThan(Long value) { - addCriterion("product_category_id >", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_category_id >=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThan(Long value) { - addCriterion("product_category_id <", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_category_id <=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIn(List values) { - addCriterion("product_category_id in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotIn(List values) { - addCriterion("product_category_id not in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_category_id between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_category_id not between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andPromotionNameIsNull() { - addCriterion("promotion_name is null"); - return (Criteria) this; - } - - public Criteria andPromotionNameIsNotNull() { - addCriterion("promotion_name is not null"); - return (Criteria) this; - } - - public Criteria andPromotionNameEqualTo(String value) { - addCriterion("promotion_name =", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameNotEqualTo(String value) { - addCriterion("promotion_name <>", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameGreaterThan(String value) { - addCriterion("promotion_name >", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameGreaterThanOrEqualTo(String value) { - addCriterion("promotion_name >=", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameLessThan(String value) { - addCriterion("promotion_name <", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameLessThanOrEqualTo(String value) { - addCriterion("promotion_name <=", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameLike(String value) { - addCriterion("promotion_name like", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameNotLike(String value) { - addCriterion("promotion_name not like", value, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameIn(List values) { - addCriterion("promotion_name in", values, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameNotIn(List values) { - addCriterion("promotion_name not in", values, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameBetween(String value1, String value2) { - addCriterion("promotion_name between", value1, value2, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionNameNotBetween(String value1, String value2) { - addCriterion("promotion_name not between", value1, value2, "promotionName"); - return (Criteria) this; - } - - public Criteria andPromotionAmountIsNull() { - addCriterion("promotion_amount is null"); - return (Criteria) this; - } - - public Criteria andPromotionAmountIsNotNull() { - addCriterion("promotion_amount is not null"); - return (Criteria) this; - } - - public Criteria andPromotionAmountEqualTo(BigDecimal value) { - addCriterion("promotion_amount =", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountNotEqualTo(BigDecimal value) { - addCriterion("promotion_amount <>", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountGreaterThan(BigDecimal value) { - addCriterion("promotion_amount >", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_amount >=", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountLessThan(BigDecimal value) { - addCriterion("promotion_amount <", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_amount <=", value, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountIn(List values) { - addCriterion("promotion_amount in", values, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountNotIn(List values) { - addCriterion("promotion_amount not in", values, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_amount between", value1, value2, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andPromotionAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_amount not between", value1, value2, "promotionAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountIsNull() { - addCriterion("coupon_amount is null"); - return (Criteria) this; - } - - public Criteria andCouponAmountIsNotNull() { - addCriterion("coupon_amount is not null"); - return (Criteria) this; - } - - public Criteria andCouponAmountEqualTo(BigDecimal value) { - addCriterion("coupon_amount =", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountNotEqualTo(BigDecimal value) { - addCriterion("coupon_amount <>", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountGreaterThan(BigDecimal value) { - addCriterion("coupon_amount >", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("coupon_amount >=", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountLessThan(BigDecimal value) { - addCriterion("coupon_amount <", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("coupon_amount <=", value, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountIn(List values) { - addCriterion("coupon_amount in", values, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountNotIn(List values) { - addCriterion("coupon_amount not in", values, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("coupon_amount between", value1, value2, "couponAmount"); - return (Criteria) this; - } - - public Criteria andCouponAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("coupon_amount not between", value1, value2, "couponAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountIsNull() { - addCriterion("integration_amount is null"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountIsNotNull() { - addCriterion("integration_amount is not null"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountEqualTo(BigDecimal value) { - addCriterion("integration_amount =", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountNotEqualTo(BigDecimal value) { - addCriterion("integration_amount <>", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountGreaterThan(BigDecimal value) { - addCriterion("integration_amount >", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("integration_amount >=", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountLessThan(BigDecimal value) { - addCriterion("integration_amount <", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("integration_amount <=", value, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountIn(List values) { - addCriterion("integration_amount in", values, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountNotIn(List values) { - addCriterion("integration_amount not in", values, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("integration_amount between", value1, value2, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andIntegrationAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("integration_amount not between", value1, value2, "integrationAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountIsNull() { - addCriterion("real_amount is null"); - return (Criteria) this; - } - - public Criteria andRealAmountIsNotNull() { - addCriterion("real_amount is not null"); - return (Criteria) this; - } - - public Criteria andRealAmountEqualTo(BigDecimal value) { - addCriterion("real_amount =", value, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountNotEqualTo(BigDecimal value) { - addCriterion("real_amount <>", value, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountGreaterThan(BigDecimal value) { - addCriterion("real_amount >", value, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("real_amount >=", value, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountLessThan(BigDecimal value) { - addCriterion("real_amount <", value, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("real_amount <=", value, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountIn(List values) { - addCriterion("real_amount in", values, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountNotIn(List values) { - addCriterion("real_amount not in", values, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("real_amount between", value1, value2, "realAmount"); - return (Criteria) this; - } - - public Criteria andRealAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("real_amount not between", value1, value2, "realAmount"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationIsNull() { - addCriterion("gift_integration is null"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationIsNotNull() { - addCriterion("gift_integration is not null"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationEqualTo(Integer value) { - addCriterion("gift_integration =", value, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationNotEqualTo(Integer value) { - addCriterion("gift_integration <>", value, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationGreaterThan(Integer value) { - addCriterion("gift_integration >", value, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationGreaterThanOrEqualTo(Integer value) { - addCriterion("gift_integration >=", value, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationLessThan(Integer value) { - addCriterion("gift_integration <", value, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationLessThanOrEqualTo(Integer value) { - addCriterion("gift_integration <=", value, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationIn(List values) { - addCriterion("gift_integration in", values, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationNotIn(List values) { - addCriterion("gift_integration not in", values, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationBetween(Integer value1, Integer value2) { - addCriterion("gift_integration between", value1, value2, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftIntegrationNotBetween(Integer value1, Integer value2) { - addCriterion("gift_integration not between", value1, value2, "giftIntegration"); - return (Criteria) this; - } - - public Criteria andGiftGrowthIsNull() { - addCriterion("gift_growth is null"); - return (Criteria) this; - } - - public Criteria andGiftGrowthIsNotNull() { - addCriterion("gift_growth is not null"); - return (Criteria) this; - } - - public Criteria andGiftGrowthEqualTo(Integer value) { - addCriterion("gift_growth =", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthNotEqualTo(Integer value) { - addCriterion("gift_growth <>", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthGreaterThan(Integer value) { - addCriterion("gift_growth >", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthGreaterThanOrEqualTo(Integer value) { - addCriterion("gift_growth >=", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthLessThan(Integer value) { - addCriterion("gift_growth <", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthLessThanOrEqualTo(Integer value) { - addCriterion("gift_growth <=", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthIn(List values) { - addCriterion("gift_growth in", values, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthNotIn(List values) { - addCriterion("gift_growth not in", values, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthBetween(Integer value1, Integer value2) { - addCriterion("gift_growth between", value1, value2, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthNotBetween(Integer value1, Integer value2) { - addCriterion("gift_growth not between", value1, value2, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andProductAttrIsNull() { - addCriterion("product_attr is null"); - return (Criteria) this; - } - - public Criteria andProductAttrIsNotNull() { - addCriterion("product_attr is not null"); - return (Criteria) this; - } - - public Criteria andProductAttrEqualTo(String value) { - addCriterion("product_attr =", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotEqualTo(String value) { - addCriterion("product_attr <>", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrGreaterThan(String value) { - addCriterion("product_attr >", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrGreaterThanOrEqualTo(String value) { - addCriterion("product_attr >=", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrLessThan(String value) { - addCriterion("product_attr <", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrLessThanOrEqualTo(String value) { - addCriterion("product_attr <=", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrLike(String value) { - addCriterion("product_attr like", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotLike(String value) { - addCriterion("product_attr not like", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrIn(List values) { - addCriterion("product_attr in", values, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotIn(List values) { - addCriterion("product_attr not in", values, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrBetween(String value1, String value2) { - addCriterion("product_attr between", value1, value2, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotBetween(String value1, String value2) { - addCriterion("product_attr not between", value1, value2, "productAttr"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java index 576352c..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class OmsOrderOperateHistory implements Serializable { - private Long id; - - @ApiModelProperty(value = "订单id") - private Long orderId; - - @ApiModelProperty(value = "操作人:用户;系统;后台管理员") - private String operateMan; - - @ApiModelProperty(value = "操作时间") - private Date createTime; - - @ApiModelProperty(value = "订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") - private Integer orderStatus; - - @ApiModelProperty(value = "备注") - private String note; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getOrderId() { - return orderId; - } - - public void setOrderId(Long orderId) { - this.orderId = orderId; - } - - public String getOperateMan() { - return operateMan; - } - - public void setOperateMan(String operateMan) { - this.operateMan = operateMan; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getOrderStatus() { - return orderStatus; - } - - public void setOrderStatus(Integer orderStatus) { - this.orderStatus = orderStatus; - } - - public String getNote() { - return note; - } - - public void setNote(String note) { - this.note = note; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", orderId=").append(orderId); - sb.append(", operateMan=").append(operateMan); - sb.append(", createTime=").append(createTime); - sb.append(", orderStatus=").append(orderStatus); - sb.append(", note=").append(note); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java index bc74b22..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java @@ -1,580 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class OmsOrderOperateHistoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public OmsOrderOperateHistoryExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNull() { - addCriterion("order_id is null"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNotNull() { - addCriterion("order_id is not null"); - return (Criteria) this; - } - - public Criteria andOrderIdEqualTo(Long value) { - addCriterion("order_id =", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotEqualTo(Long value) { - addCriterion("order_id <>", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThan(Long value) { - addCriterion("order_id >", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { - addCriterion("order_id >=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThan(Long value) { - addCriterion("order_id <", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThanOrEqualTo(Long value) { - addCriterion("order_id <=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdIn(List values) { - addCriterion("order_id in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotIn(List values) { - addCriterion("order_id not in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdBetween(Long value1, Long value2) { - addCriterion("order_id between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotBetween(Long value1, Long value2) { - addCriterion("order_id not between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andOperateManIsNull() { - addCriterion("operate_man is null"); - return (Criteria) this; - } - - public Criteria andOperateManIsNotNull() { - addCriterion("operate_man is not null"); - return (Criteria) this; - } - - public Criteria andOperateManEqualTo(String value) { - addCriterion("operate_man =", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotEqualTo(String value) { - addCriterion("operate_man <>", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThan(String value) { - addCriterion("operate_man >", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThanOrEqualTo(String value) { - addCriterion("operate_man >=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThan(String value) { - addCriterion("operate_man <", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThanOrEqualTo(String value) { - addCriterion("operate_man <=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLike(String value) { - addCriterion("operate_man like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotLike(String value) { - addCriterion("operate_man not like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManIn(List values) { - addCriterion("operate_man in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotIn(List values) { - addCriterion("operate_man not in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManBetween(String value1, String value2) { - addCriterion("operate_man between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotBetween(String value1, String value2) { - addCriterion("operate_man not between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andOrderStatusIsNull() { - addCriterion("order_status is null"); - return (Criteria) this; - } - - public Criteria andOrderStatusIsNotNull() { - addCriterion("order_status is not null"); - return (Criteria) this; - } - - public Criteria andOrderStatusEqualTo(Integer value) { - addCriterion("order_status =", value, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusNotEqualTo(Integer value) { - addCriterion("order_status <>", value, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusGreaterThan(Integer value) { - addCriterion("order_status >", value, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("order_status >=", value, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusLessThan(Integer value) { - addCriterion("order_status <", value, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusLessThanOrEqualTo(Integer value) { - addCriterion("order_status <=", value, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusIn(List values) { - addCriterion("order_status in", values, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusNotIn(List values) { - addCriterion("order_status not in", values, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusBetween(Integer value1, Integer value2) { - addCriterion("order_status between", value1, value2, "orderStatus"); - return (Criteria) this; - } - - public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) { - addCriterion("order_status not between", value1, value2, "orderStatus"); - return (Criteria) this; - } - - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java index 503b42a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java @@ -1,1971 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class OmsOrderReturnApplyExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public OmsOrderReturnApplyExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNull() { - addCriterion("order_id is null"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNotNull() { - addCriterion("order_id is not null"); - return (Criteria) this; - } - - public Criteria andOrderIdEqualTo(Long value) { - addCriterion("order_id =", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotEqualTo(Long value) { - addCriterion("order_id <>", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThan(Long value) { - addCriterion("order_id >", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { - addCriterion("order_id >=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThan(Long value) { - addCriterion("order_id <", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThanOrEqualTo(Long value) { - addCriterion("order_id <=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdIn(List values) { - addCriterion("order_id in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotIn(List values) { - addCriterion("order_id not in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdBetween(Long value1, Long value2) { - addCriterion("order_id between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotBetween(Long value1, Long value2) { - addCriterion("order_id not between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdIsNull() { - addCriterion("company_address_id is null"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdIsNotNull() { - addCriterion("company_address_id is not null"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdEqualTo(Long value) { - addCriterion("company_address_id =", value, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdNotEqualTo(Long value) { - addCriterion("company_address_id <>", value, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdGreaterThan(Long value) { - addCriterion("company_address_id >", value, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdGreaterThanOrEqualTo(Long value) { - addCriterion("company_address_id >=", value, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdLessThan(Long value) { - addCriterion("company_address_id <", value, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdLessThanOrEqualTo(Long value) { - addCriterion("company_address_id <=", value, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdIn(List values) { - addCriterion("company_address_id in", values, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdNotIn(List values) { - addCriterion("company_address_id not in", values, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdBetween(Long value1, Long value2) { - addCriterion("company_address_id between", value1, value2, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andCompanyAddressIdNotBetween(Long value1, Long value2) { - addCriterion("company_address_id not between", value1, value2, "companyAddressId"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNull() { - addCriterion("order_sn is null"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNotNull() { - addCriterion("order_sn is not null"); - return (Criteria) this; - } - - public Criteria andOrderSnEqualTo(String value) { - addCriterion("order_sn =", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotEqualTo(String value) { - addCriterion("order_sn <>", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThan(String value) { - addCriterion("order_sn >", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThanOrEqualTo(String value) { - addCriterion("order_sn >=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThan(String value) { - addCriterion("order_sn <", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThanOrEqualTo(String value) { - addCriterion("order_sn <=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLike(String value) { - addCriterion("order_sn like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotLike(String value) { - addCriterion("order_sn not like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnIn(List values) { - addCriterion("order_sn in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotIn(List values) { - addCriterion("order_sn not in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnBetween(String value1, String value2) { - addCriterion("order_sn between", value1, value2, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotBetween(String value1, String value2) { - addCriterion("order_sn not between", value1, value2, "orderSn"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andMemberUsernameIsNull() { - addCriterion("member_username is null"); - return (Criteria) this; - } - - public Criteria andMemberUsernameIsNotNull() { - addCriterion("member_username is not null"); - return (Criteria) this; - } - - public Criteria andMemberUsernameEqualTo(String value) { - addCriterion("member_username =", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotEqualTo(String value) { - addCriterion("member_username <>", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameGreaterThan(String value) { - addCriterion("member_username >", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameGreaterThanOrEqualTo(String value) { - addCriterion("member_username >=", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameLessThan(String value) { - addCriterion("member_username <", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameLessThanOrEqualTo(String value) { - addCriterion("member_username <=", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameLike(String value) { - addCriterion("member_username like", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotLike(String value) { - addCriterion("member_username not like", value, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameIn(List values) { - addCriterion("member_username in", values, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotIn(List values) { - addCriterion("member_username not in", values, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameBetween(String value1, String value2) { - addCriterion("member_username between", value1, value2, "memberUsername"); - return (Criteria) this; - } - - public Criteria andMemberUsernameNotBetween(String value1, String value2) { - addCriterion("member_username not between", value1, value2, "memberUsername"); - return (Criteria) this; - } - - public Criteria andReturnAmountIsNull() { - addCriterion("return_amount is null"); - return (Criteria) this; - } - - public Criteria andReturnAmountIsNotNull() { - addCriterion("return_amount is not null"); - return (Criteria) this; - } - - public Criteria andReturnAmountEqualTo(BigDecimal value) { - addCriterion("return_amount =", value, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountNotEqualTo(BigDecimal value) { - addCriterion("return_amount <>", value, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountGreaterThan(BigDecimal value) { - addCriterion("return_amount >", value, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("return_amount >=", value, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountLessThan(BigDecimal value) { - addCriterion("return_amount <", value, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("return_amount <=", value, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountIn(List values) { - addCriterion("return_amount in", values, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountNotIn(List values) { - addCriterion("return_amount not in", values, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("return_amount between", value1, value2, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("return_amount not between", value1, value2, "returnAmount"); - return (Criteria) this; - } - - public Criteria andReturnNameIsNull() { - addCriterion("return_name is null"); - return (Criteria) this; - } - - public Criteria andReturnNameIsNotNull() { - addCriterion("return_name is not null"); - return (Criteria) this; - } - - public Criteria andReturnNameEqualTo(String value) { - addCriterion("return_name =", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameNotEqualTo(String value) { - addCriterion("return_name <>", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameGreaterThan(String value) { - addCriterion("return_name >", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameGreaterThanOrEqualTo(String value) { - addCriterion("return_name >=", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameLessThan(String value) { - addCriterion("return_name <", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameLessThanOrEqualTo(String value) { - addCriterion("return_name <=", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameLike(String value) { - addCriterion("return_name like", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameNotLike(String value) { - addCriterion("return_name not like", value, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameIn(List values) { - addCriterion("return_name in", values, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameNotIn(List values) { - addCriterion("return_name not in", values, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameBetween(String value1, String value2) { - addCriterion("return_name between", value1, value2, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnNameNotBetween(String value1, String value2) { - addCriterion("return_name not between", value1, value2, "returnName"); - return (Criteria) this; - } - - public Criteria andReturnPhoneIsNull() { - addCriterion("return_phone is null"); - return (Criteria) this; - } - - public Criteria andReturnPhoneIsNotNull() { - addCriterion("return_phone is not null"); - return (Criteria) this; - } - - public Criteria andReturnPhoneEqualTo(String value) { - addCriterion("return_phone =", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneNotEqualTo(String value) { - addCriterion("return_phone <>", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneGreaterThan(String value) { - addCriterion("return_phone >", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneGreaterThanOrEqualTo(String value) { - addCriterion("return_phone >=", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneLessThan(String value) { - addCriterion("return_phone <", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneLessThanOrEqualTo(String value) { - addCriterion("return_phone <=", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneLike(String value) { - addCriterion("return_phone like", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneNotLike(String value) { - addCriterion("return_phone not like", value, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneIn(List values) { - addCriterion("return_phone in", values, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneNotIn(List values) { - addCriterion("return_phone not in", values, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneBetween(String value1, String value2) { - addCriterion("return_phone between", value1, value2, "returnPhone"); - return (Criteria) this; - } - - public Criteria andReturnPhoneNotBetween(String value1, String value2) { - addCriterion("return_phone not between", value1, value2, "returnPhone"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andHandleTimeIsNull() { - addCriterion("handle_time is null"); - return (Criteria) this; - } - - public Criteria andHandleTimeIsNotNull() { - addCriterion("handle_time is not null"); - return (Criteria) this; - } - - public Criteria andHandleTimeEqualTo(Date value) { - addCriterion("handle_time =", value, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeNotEqualTo(Date value) { - addCriterion("handle_time <>", value, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeGreaterThan(Date value) { - addCriterion("handle_time >", value, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeGreaterThanOrEqualTo(Date value) { - addCriterion("handle_time >=", value, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeLessThan(Date value) { - addCriterion("handle_time <", value, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeLessThanOrEqualTo(Date value) { - addCriterion("handle_time <=", value, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeIn(List values) { - addCriterion("handle_time in", values, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeNotIn(List values) { - addCriterion("handle_time not in", values, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeBetween(Date value1, Date value2) { - addCriterion("handle_time between", value1, value2, "handleTime"); - return (Criteria) this; - } - - public Criteria andHandleTimeNotBetween(Date value1, Date value2) { - addCriterion("handle_time not between", value1, value2, "handleTime"); - return (Criteria) this; - } - - public Criteria andProductPicIsNull() { - addCriterion("product_pic is null"); - return (Criteria) this; - } - - public Criteria andProductPicIsNotNull() { - addCriterion("product_pic is not null"); - return (Criteria) this; - } - - public Criteria andProductPicEqualTo(String value) { - addCriterion("product_pic =", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotEqualTo(String value) { - addCriterion("product_pic <>", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicGreaterThan(String value) { - addCriterion("product_pic >", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicGreaterThanOrEqualTo(String value) { - addCriterion("product_pic >=", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLessThan(String value) { - addCriterion("product_pic <", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLessThanOrEqualTo(String value) { - addCriterion("product_pic <=", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicLike(String value) { - addCriterion("product_pic like", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotLike(String value) { - addCriterion("product_pic not like", value, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicIn(List values) { - addCriterion("product_pic in", values, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotIn(List values) { - addCriterion("product_pic not in", values, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicBetween(String value1, String value2) { - addCriterion("product_pic between", value1, value2, "productPic"); - return (Criteria) this; - } - - public Criteria andProductPicNotBetween(String value1, String value2) { - addCriterion("product_pic not between", value1, value2, "productPic"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductBrandIsNull() { - addCriterion("product_brand is null"); - return (Criteria) this; - } - - public Criteria andProductBrandIsNotNull() { - addCriterion("product_brand is not null"); - return (Criteria) this; - } - - public Criteria andProductBrandEqualTo(String value) { - addCriterion("product_brand =", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotEqualTo(String value) { - addCriterion("product_brand <>", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandGreaterThan(String value) { - addCriterion("product_brand >", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandGreaterThanOrEqualTo(String value) { - addCriterion("product_brand >=", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandLessThan(String value) { - addCriterion("product_brand <", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandLessThanOrEqualTo(String value) { - addCriterion("product_brand <=", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandLike(String value) { - addCriterion("product_brand like", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotLike(String value) { - addCriterion("product_brand not like", value, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandIn(List values) { - addCriterion("product_brand in", values, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotIn(List values) { - addCriterion("product_brand not in", values, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandBetween(String value1, String value2) { - addCriterion("product_brand between", value1, value2, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductBrandNotBetween(String value1, String value2) { - addCriterion("product_brand not between", value1, value2, "productBrand"); - return (Criteria) this; - } - - public Criteria andProductAttrIsNull() { - addCriterion("product_attr is null"); - return (Criteria) this; - } - - public Criteria andProductAttrIsNotNull() { - addCriterion("product_attr is not null"); - return (Criteria) this; - } - - public Criteria andProductAttrEqualTo(String value) { - addCriterion("product_attr =", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotEqualTo(String value) { - addCriterion("product_attr <>", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrGreaterThan(String value) { - addCriterion("product_attr >", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrGreaterThanOrEqualTo(String value) { - addCriterion("product_attr >=", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrLessThan(String value) { - addCriterion("product_attr <", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrLessThanOrEqualTo(String value) { - addCriterion("product_attr <=", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrLike(String value) { - addCriterion("product_attr like", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotLike(String value) { - addCriterion("product_attr not like", value, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrIn(List values) { - addCriterion("product_attr in", values, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotIn(List values) { - addCriterion("product_attr not in", values, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrBetween(String value1, String value2) { - addCriterion("product_attr between", value1, value2, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductAttrNotBetween(String value1, String value2) { - addCriterion("product_attr not between", value1, value2, "productAttr"); - return (Criteria) this; - } - - public Criteria andProductCountIsNull() { - addCriterion("product_count is null"); - return (Criteria) this; - } - - public Criteria andProductCountIsNotNull() { - addCriterion("product_count is not null"); - return (Criteria) this; - } - - public Criteria andProductCountEqualTo(Integer value) { - addCriterion("product_count =", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotEqualTo(Integer value) { - addCriterion("product_count <>", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountGreaterThan(Integer value) { - addCriterion("product_count >", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { - addCriterion("product_count >=", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountLessThan(Integer value) { - addCriterion("product_count <", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountLessThanOrEqualTo(Integer value) { - addCriterion("product_count <=", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountIn(List values) { - addCriterion("product_count in", values, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotIn(List values) { - addCriterion("product_count not in", values, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountBetween(Integer value1, Integer value2) { - addCriterion("product_count between", value1, value2, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotBetween(Integer value1, Integer value2) { - addCriterion("product_count not between", value1, value2, "productCount"); - return (Criteria) this; - } - - public Criteria andProductPriceIsNull() { - addCriterion("product_price is null"); - return (Criteria) this; - } - - public Criteria andProductPriceIsNotNull() { - addCriterion("product_price is not null"); - return (Criteria) this; - } - - public Criteria andProductPriceEqualTo(BigDecimal value) { - addCriterion("product_price =", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceNotEqualTo(BigDecimal value) { - addCriterion("product_price <>", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceGreaterThan(BigDecimal value) { - addCriterion("product_price >", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("product_price >=", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceLessThan(BigDecimal value) { - addCriterion("product_price <", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("product_price <=", value, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceIn(List values) { - addCriterion("product_price in", values, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceNotIn(List values) { - addCriterion("product_price not in", values, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_price between", value1, value2, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_price not between", value1, value2, "productPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceIsNull() { - addCriterion("product_real_price is null"); - return (Criteria) this; - } - - public Criteria andProductRealPriceIsNotNull() { - addCriterion("product_real_price is not null"); - return (Criteria) this; - } - - public Criteria andProductRealPriceEqualTo(BigDecimal value) { - addCriterion("product_real_price =", value, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceNotEqualTo(BigDecimal value) { - addCriterion("product_real_price <>", value, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceGreaterThan(BigDecimal value) { - addCriterion("product_real_price >", value, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("product_real_price >=", value, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceLessThan(BigDecimal value) { - addCriterion("product_real_price <", value, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("product_real_price <=", value, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceIn(List values) { - addCriterion("product_real_price in", values, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceNotIn(List values) { - addCriterion("product_real_price not in", values, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_real_price between", value1, value2, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andProductRealPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_real_price not between", value1, value2, "productRealPrice"); - return (Criteria) this; - } - - public Criteria andReasonIsNull() { - addCriterion("reason is null"); - return (Criteria) this; - } - - public Criteria andReasonIsNotNull() { - addCriterion("reason is not null"); - return (Criteria) this; - } - - public Criteria andReasonEqualTo(String value) { - addCriterion("reason =", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonNotEqualTo(String value) { - addCriterion("reason <>", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonGreaterThan(String value) { - addCriterion("reason >", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonGreaterThanOrEqualTo(String value) { - addCriterion("reason >=", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonLessThan(String value) { - addCriterion("reason <", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonLessThanOrEqualTo(String value) { - addCriterion("reason <=", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonLike(String value) { - addCriterion("reason like", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonNotLike(String value) { - addCriterion("reason not like", value, "reason"); - return (Criteria) this; - } - - public Criteria andReasonIn(List values) { - addCriterion("reason in", values, "reason"); - return (Criteria) this; - } - - public Criteria andReasonNotIn(List values) { - addCriterion("reason not in", values, "reason"); - return (Criteria) this; - } - - public Criteria andReasonBetween(String value1, String value2) { - addCriterion("reason between", value1, value2, "reason"); - return (Criteria) this; - } - - public Criteria andReasonNotBetween(String value1, String value2) { - addCriterion("reason not between", value1, value2, "reason"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNull() { - addCriterion("description is null"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNotNull() { - addCriterion("description is not null"); - return (Criteria) this; - } - - public Criteria andDescriptionEqualTo(String value) { - addCriterion("description =", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotEqualTo(String value) { - addCriterion("description <>", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThan(String value) { - addCriterion("description >", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThanOrEqualTo(String value) { - addCriterion("description >=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThan(String value) { - addCriterion("description <", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThanOrEqualTo(String value) { - addCriterion("description <=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLike(String value) { - addCriterion("description like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotLike(String value) { - addCriterion("description not like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionIn(List values) { - addCriterion("description in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotIn(List values) { - addCriterion("description not in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionBetween(String value1, String value2) { - addCriterion("description between", value1, value2, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotBetween(String value1, String value2) { - addCriterion("description not between", value1, value2, "description"); - return (Criteria) this; - } - - public Criteria andProofPicsIsNull() { - addCriterion("proof_pics is null"); - return (Criteria) this; - } - - public Criteria andProofPicsIsNotNull() { - addCriterion("proof_pics is not null"); - return (Criteria) this; - } - - public Criteria andProofPicsEqualTo(String value) { - addCriterion("proof_pics =", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsNotEqualTo(String value) { - addCriterion("proof_pics <>", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsGreaterThan(String value) { - addCriterion("proof_pics >", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsGreaterThanOrEqualTo(String value) { - addCriterion("proof_pics >=", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsLessThan(String value) { - addCriterion("proof_pics <", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsLessThanOrEqualTo(String value) { - addCriterion("proof_pics <=", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsLike(String value) { - addCriterion("proof_pics like", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsNotLike(String value) { - addCriterion("proof_pics not like", value, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsIn(List values) { - addCriterion("proof_pics in", values, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsNotIn(List values) { - addCriterion("proof_pics not in", values, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsBetween(String value1, String value2) { - addCriterion("proof_pics between", value1, value2, "proofPics"); - return (Criteria) this; - } - - public Criteria andProofPicsNotBetween(String value1, String value2) { - addCriterion("proof_pics not between", value1, value2, "proofPics"); - return (Criteria) this; - } - - public Criteria andHandleNoteIsNull() { - addCriterion("handle_note is null"); - return (Criteria) this; - } - - public Criteria andHandleNoteIsNotNull() { - addCriterion("handle_note is not null"); - return (Criteria) this; - } - - public Criteria andHandleNoteEqualTo(String value) { - addCriterion("handle_note =", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteNotEqualTo(String value) { - addCriterion("handle_note <>", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteGreaterThan(String value) { - addCriterion("handle_note >", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteGreaterThanOrEqualTo(String value) { - addCriterion("handle_note >=", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteLessThan(String value) { - addCriterion("handle_note <", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteLessThanOrEqualTo(String value) { - addCriterion("handle_note <=", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteLike(String value) { - addCriterion("handle_note like", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteNotLike(String value) { - addCriterion("handle_note not like", value, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteIn(List values) { - addCriterion("handle_note in", values, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteNotIn(List values) { - addCriterion("handle_note not in", values, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteBetween(String value1, String value2) { - addCriterion("handle_note between", value1, value2, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleNoteNotBetween(String value1, String value2) { - addCriterion("handle_note not between", value1, value2, "handleNote"); - return (Criteria) this; - } - - public Criteria andHandleManIsNull() { - addCriterion("handle_man is null"); - return (Criteria) this; - } - - public Criteria andHandleManIsNotNull() { - addCriterion("handle_man is not null"); - return (Criteria) this; - } - - public Criteria andHandleManEqualTo(String value) { - addCriterion("handle_man =", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManNotEqualTo(String value) { - addCriterion("handle_man <>", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManGreaterThan(String value) { - addCriterion("handle_man >", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManGreaterThanOrEqualTo(String value) { - addCriterion("handle_man >=", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManLessThan(String value) { - addCriterion("handle_man <", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManLessThanOrEqualTo(String value) { - addCriterion("handle_man <=", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManLike(String value) { - addCriterion("handle_man like", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManNotLike(String value) { - addCriterion("handle_man not like", value, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManIn(List values) { - addCriterion("handle_man in", values, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManNotIn(List values) { - addCriterion("handle_man not in", values, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManBetween(String value1, String value2) { - addCriterion("handle_man between", value1, value2, "handleMan"); - return (Criteria) this; - } - - public Criteria andHandleManNotBetween(String value1, String value2) { - addCriterion("handle_man not between", value1, value2, "handleMan"); - return (Criteria) this; - } - - public Criteria andReceiveManIsNull() { - addCriterion("receive_man is null"); - return (Criteria) this; - } - - public Criteria andReceiveManIsNotNull() { - addCriterion("receive_man is not null"); - return (Criteria) this; - } - - public Criteria andReceiveManEqualTo(String value) { - addCriterion("receive_man =", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManNotEqualTo(String value) { - addCriterion("receive_man <>", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManGreaterThan(String value) { - addCriterion("receive_man >", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManGreaterThanOrEqualTo(String value) { - addCriterion("receive_man >=", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManLessThan(String value) { - addCriterion("receive_man <", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManLessThanOrEqualTo(String value) { - addCriterion("receive_man <=", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManLike(String value) { - addCriterion("receive_man like", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManNotLike(String value) { - addCriterion("receive_man not like", value, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManIn(List values) { - addCriterion("receive_man in", values, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManNotIn(List values) { - addCriterion("receive_man not in", values, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManBetween(String value1, String value2) { - addCriterion("receive_man between", value1, value2, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveManNotBetween(String value1, String value2) { - addCriterion("receive_man not between", value1, value2, "receiveMan"); - return (Criteria) this; - } - - public Criteria andReceiveTimeIsNull() { - addCriterion("receive_time is null"); - return (Criteria) this; - } - - public Criteria andReceiveTimeIsNotNull() { - addCriterion("receive_time is not null"); - return (Criteria) this; - } - - public Criteria andReceiveTimeEqualTo(Date value) { - addCriterion("receive_time =", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeNotEqualTo(Date value) { - addCriterion("receive_time <>", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeGreaterThan(Date value) { - addCriterion("receive_time >", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) { - addCriterion("receive_time >=", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeLessThan(Date value) { - addCriterion("receive_time <", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeLessThanOrEqualTo(Date value) { - addCriterion("receive_time <=", value, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeIn(List values) { - addCriterion("receive_time in", values, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeNotIn(List values) { - addCriterion("receive_time not in", values, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeBetween(Date value1, Date value2) { - addCriterion("receive_time between", value1, value2, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveTimeNotBetween(Date value1, Date value2) { - addCriterion("receive_time not between", value1, value2, "receiveTime"); - return (Criteria) this; - } - - public Criteria andReceiveNoteIsNull() { - addCriterion("receive_note is null"); - return (Criteria) this; - } - - public Criteria andReceiveNoteIsNotNull() { - addCriterion("receive_note is not null"); - return (Criteria) this; - } - - public Criteria andReceiveNoteEqualTo(String value) { - addCriterion("receive_note =", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteNotEqualTo(String value) { - addCriterion("receive_note <>", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteGreaterThan(String value) { - addCriterion("receive_note >", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteGreaterThanOrEqualTo(String value) { - addCriterion("receive_note >=", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteLessThan(String value) { - addCriterion("receive_note <", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteLessThanOrEqualTo(String value) { - addCriterion("receive_note <=", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteLike(String value) { - addCriterion("receive_note like", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteNotLike(String value) { - addCriterion("receive_note not like", value, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteIn(List values) { - addCriterion("receive_note in", values, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteNotIn(List values) { - addCriterion("receive_note not in", values, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteBetween(String value1, String value2) { - addCriterion("receive_note between", value1, value2, "receiveNote"); - return (Criteria) this; - } - - public Criteria andReceiveNoteNotBetween(String value1, String value2) { - addCriterion("receive_note not between", value1, value2, "receiveNote"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java index 8d4390b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java @@ -1,78 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class OmsOrderReturnReason implements Serializable { - private Long id; - - @ApiModelProperty(value = "退货类型") - private String name; - - private Integer sort; - - @ApiModelProperty(value = "状态:0->不启用;1->启用") - private Integer status; - - @ApiModelProperty(value = "添加时间") - private Date createTime; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", sort=").append(sort); - sb.append(", status=").append(status); - sb.append(", createTime=").append(createTime); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java index aeeb85d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java @@ -1,510 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class OmsOrderReturnReasonExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public OmsOrderReturnReasonExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java index 3a7ec29..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java @@ -1,90 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class OmsOrderSetting implements Serializable { - private Long id; - - @ApiModelProperty(value = "秒杀订单超时关闭时间(分)") - private Integer flashOrderOvertime; - - @ApiModelProperty(value = "正常订单超时时间(分)") - private Integer normalOrderOvertime; - - @ApiModelProperty(value = "发货后自动确认收货时间(天)") - private Integer confirmOvertime; - - @ApiModelProperty(value = "自动完成交易时间,不能申请售后(天)") - private Integer finishOvertime; - - @ApiModelProperty(value = "订单完成后自动好评时间(天)") - private Integer commentOvertime; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Integer getFlashOrderOvertime() { - return flashOrderOvertime; - } - - public void setFlashOrderOvertime(Integer flashOrderOvertime) { - this.flashOrderOvertime = flashOrderOvertime; - } - - public Integer getNormalOrderOvertime() { - return normalOrderOvertime; - } - - public void setNormalOrderOvertime(Integer normalOrderOvertime) { - this.normalOrderOvertime = normalOrderOvertime; - } - - public Integer getConfirmOvertime() { - return confirmOvertime; - } - - public void setConfirmOvertime(Integer confirmOvertime) { - this.confirmOvertime = confirmOvertime; - } - - public Integer getFinishOvertime() { - return finishOvertime; - } - - public void setFinishOvertime(Integer finishOvertime) { - this.finishOvertime = finishOvertime; - } - - public Integer getCommentOvertime() { - return commentOvertime; - } - - public void setCommentOvertime(Integer commentOvertime) { - this.commentOvertime = commentOvertime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", flashOrderOvertime=").append(flashOrderOvertime); - sb.append(", normalOrderOvertime=").append(normalOrderOvertime); - sb.append(", confirmOvertime=").append(confirmOvertime); - sb.append(", finishOvertime=").append(finishOvertime); - sb.append(", commentOvertime=").append(commentOvertime); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java index e4055e7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java @@ -1,559 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class OmsOrderSettingExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public OmsOrderSettingExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeIsNull() { - addCriterion("flash_order_overtime is null"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeIsNotNull() { - addCriterion("flash_order_overtime is not null"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeEqualTo(Integer value) { - addCriterion("flash_order_overtime =", value, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeNotEqualTo(Integer value) { - addCriterion("flash_order_overtime <>", value, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeGreaterThan(Integer value) { - addCriterion("flash_order_overtime >", value, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeGreaterThanOrEqualTo(Integer value) { - addCriterion("flash_order_overtime >=", value, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeLessThan(Integer value) { - addCriterion("flash_order_overtime <", value, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeLessThanOrEqualTo(Integer value) { - addCriterion("flash_order_overtime <=", value, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeIn(List values) { - addCriterion("flash_order_overtime in", values, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeNotIn(List values) { - addCriterion("flash_order_overtime not in", values, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeBetween(Integer value1, Integer value2) { - addCriterion("flash_order_overtime between", value1, value2, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andFlashOrderOvertimeNotBetween(Integer value1, Integer value2) { - addCriterion("flash_order_overtime not between", value1, value2, "flashOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeIsNull() { - addCriterion("normal_order_overtime is null"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeIsNotNull() { - addCriterion("normal_order_overtime is not null"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeEqualTo(Integer value) { - addCriterion("normal_order_overtime =", value, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeNotEqualTo(Integer value) { - addCriterion("normal_order_overtime <>", value, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeGreaterThan(Integer value) { - addCriterion("normal_order_overtime >", value, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeGreaterThanOrEqualTo(Integer value) { - addCriterion("normal_order_overtime >=", value, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeLessThan(Integer value) { - addCriterion("normal_order_overtime <", value, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeLessThanOrEqualTo(Integer value) { - addCriterion("normal_order_overtime <=", value, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeIn(List values) { - addCriterion("normal_order_overtime in", values, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeNotIn(List values) { - addCriterion("normal_order_overtime not in", values, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeBetween(Integer value1, Integer value2) { - addCriterion("normal_order_overtime between", value1, value2, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andNormalOrderOvertimeNotBetween(Integer value1, Integer value2) { - addCriterion("normal_order_overtime not between", value1, value2, "normalOrderOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeIsNull() { - addCriterion("confirm_overtime is null"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeIsNotNull() { - addCriterion("confirm_overtime is not null"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeEqualTo(Integer value) { - addCriterion("confirm_overtime =", value, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeNotEqualTo(Integer value) { - addCriterion("confirm_overtime <>", value, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeGreaterThan(Integer value) { - addCriterion("confirm_overtime >", value, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeGreaterThanOrEqualTo(Integer value) { - addCriterion("confirm_overtime >=", value, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeLessThan(Integer value) { - addCriterion("confirm_overtime <", value, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeLessThanOrEqualTo(Integer value) { - addCriterion("confirm_overtime <=", value, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeIn(List values) { - addCriterion("confirm_overtime in", values, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeNotIn(List values) { - addCriterion("confirm_overtime not in", values, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeBetween(Integer value1, Integer value2) { - addCriterion("confirm_overtime between", value1, value2, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andConfirmOvertimeNotBetween(Integer value1, Integer value2) { - addCriterion("confirm_overtime not between", value1, value2, "confirmOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeIsNull() { - addCriterion("finish_overtime is null"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeIsNotNull() { - addCriterion("finish_overtime is not null"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeEqualTo(Integer value) { - addCriterion("finish_overtime =", value, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeNotEqualTo(Integer value) { - addCriterion("finish_overtime <>", value, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeGreaterThan(Integer value) { - addCriterion("finish_overtime >", value, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeGreaterThanOrEqualTo(Integer value) { - addCriterion("finish_overtime >=", value, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeLessThan(Integer value) { - addCriterion("finish_overtime <", value, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeLessThanOrEqualTo(Integer value) { - addCriterion("finish_overtime <=", value, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeIn(List values) { - addCriterion("finish_overtime in", values, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeNotIn(List values) { - addCriterion("finish_overtime not in", values, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeBetween(Integer value1, Integer value2) { - addCriterion("finish_overtime between", value1, value2, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andFinishOvertimeNotBetween(Integer value1, Integer value2) { - addCriterion("finish_overtime not between", value1, value2, "finishOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeIsNull() { - addCriterion("comment_overtime is null"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeIsNotNull() { - addCriterion("comment_overtime is not null"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeEqualTo(Integer value) { - addCriterion("comment_overtime =", value, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeNotEqualTo(Integer value) { - addCriterion("comment_overtime <>", value, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeGreaterThan(Integer value) { - addCriterion("comment_overtime >", value, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeGreaterThanOrEqualTo(Integer value) { - addCriterion("comment_overtime >=", value, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeLessThan(Integer value) { - addCriterion("comment_overtime <", value, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeLessThanOrEqualTo(Integer value) { - addCriterion("comment_overtime <=", value, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeIn(List values) { - addCriterion("comment_overtime in", values, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeNotIn(List values) { - addCriterion("comment_overtime not in", values, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeBetween(Integer value1, Integer value2) { - addCriterion("comment_overtime between", value1, value2, "commentOvertime"); - return (Criteria) this; - } - - public Criteria andCommentOvertimeNotBetween(Integer value1, Integer value2) { - addCriterion("comment_overtime not between", value1, value2, "commentOvertime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java index 3a24ddb..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java @@ -1,85 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class PmsAlbum implements Serializable { - private Long id; - - private String name; - - private String coverPic; - - private Integer picCount; - - private Integer sort; - - private String description; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getCoverPic() { - return coverPic; - } - - public void setCoverPic(String coverPic) { - this.coverPic = coverPic; - } - - public Integer getPicCount() { - return picCount; - } - - public void setPicCount(Integer picCount) { - this.picCount = picCount; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", coverPic=").append(coverPic); - sb.append(", picCount=").append(picCount); - sb.append(", sort=").append(sort); - sb.append(", description=").append(description); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java index bc406c2..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java @@ -1,589 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsAlbumExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsAlbumExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andCoverPicIsNull() { - addCriterion("cover_pic is null"); - return (Criteria) this; - } - - public Criteria andCoverPicIsNotNull() { - addCriterion("cover_pic is not null"); - return (Criteria) this; - } - - public Criteria andCoverPicEqualTo(String value) { - addCriterion("cover_pic =", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicNotEqualTo(String value) { - addCriterion("cover_pic <>", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicGreaterThan(String value) { - addCriterion("cover_pic >", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicGreaterThanOrEqualTo(String value) { - addCriterion("cover_pic >=", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicLessThan(String value) { - addCriterion("cover_pic <", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicLessThanOrEqualTo(String value) { - addCriterion("cover_pic <=", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicLike(String value) { - addCriterion("cover_pic like", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicNotLike(String value) { - addCriterion("cover_pic not like", value, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicIn(List values) { - addCriterion("cover_pic in", values, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicNotIn(List values) { - addCriterion("cover_pic not in", values, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicBetween(String value1, String value2) { - addCriterion("cover_pic between", value1, value2, "coverPic"); - return (Criteria) this; - } - - public Criteria andCoverPicNotBetween(String value1, String value2) { - addCriterion("cover_pic not between", value1, value2, "coverPic"); - return (Criteria) this; - } - - public Criteria andPicCountIsNull() { - addCriterion("pic_count is null"); - return (Criteria) this; - } - - public Criteria andPicCountIsNotNull() { - addCriterion("pic_count is not null"); - return (Criteria) this; - } - - public Criteria andPicCountEqualTo(Integer value) { - addCriterion("pic_count =", value, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountNotEqualTo(Integer value) { - addCriterion("pic_count <>", value, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountGreaterThan(Integer value) { - addCriterion("pic_count >", value, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountGreaterThanOrEqualTo(Integer value) { - addCriterion("pic_count >=", value, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountLessThan(Integer value) { - addCriterion("pic_count <", value, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountLessThanOrEqualTo(Integer value) { - addCriterion("pic_count <=", value, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountIn(List values) { - addCriterion("pic_count in", values, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountNotIn(List values) { - addCriterion("pic_count not in", values, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountBetween(Integer value1, Integer value2) { - addCriterion("pic_count between", value1, value2, "picCount"); - return (Criteria) this; - } - - public Criteria andPicCountNotBetween(Integer value1, Integer value2) { - addCriterion("pic_count not between", value1, value2, "picCount"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNull() { - addCriterion("description is null"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNotNull() { - addCriterion("description is not null"); - return (Criteria) this; - } - - public Criteria andDescriptionEqualTo(String value) { - addCriterion("description =", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotEqualTo(String value) { - addCriterion("description <>", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThan(String value) { - addCriterion("description >", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThanOrEqualTo(String value) { - addCriterion("description >=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThan(String value) { - addCriterion("description <", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThanOrEqualTo(String value) { - addCriterion("description <=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLike(String value) { - addCriterion("description like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotLike(String value) { - addCriterion("description not like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionIn(List values) { - addCriterion("description in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotIn(List values) { - addCriterion("description not in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionBetween(String value1, String value2) { - addCriterion("description between", value1, value2, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotBetween(String value1, String value2) { - addCriterion("description not between", value1, value2, "description"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java index ca4a81b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class PmsAlbumPic implements Serializable { - private Long id; - - private Long albumId; - - private String pic; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getAlbumId() { - return albumId; - } - - public void setAlbumId(Long albumId) { - this.albumId = albumId; - } - - public String getPic() { - return pic; - } - - public void setPic(String pic) { - this.pic = pic; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", albumId=").append(albumId); - sb.append(", pic=").append(pic); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java index 4ee4192..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java @@ -1,389 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsAlbumPicExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsAlbumPicExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andAlbumIdIsNull() { - addCriterion("album_id is null"); - return (Criteria) this; - } - - public Criteria andAlbumIdIsNotNull() { - addCriterion("album_id is not null"); - return (Criteria) this; - } - - public Criteria andAlbumIdEqualTo(Long value) { - addCriterion("album_id =", value, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdNotEqualTo(Long value) { - addCriterion("album_id <>", value, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdGreaterThan(Long value) { - addCriterion("album_id >", value, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdGreaterThanOrEqualTo(Long value) { - addCriterion("album_id >=", value, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdLessThan(Long value) { - addCriterion("album_id <", value, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdLessThanOrEqualTo(Long value) { - addCriterion("album_id <=", value, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdIn(List values) { - addCriterion("album_id in", values, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdNotIn(List values) { - addCriterion("album_id not in", values, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdBetween(Long value1, Long value2) { - addCriterion("album_id between", value1, value2, "albumId"); - return (Criteria) this; - } - - public Criteria andAlbumIdNotBetween(Long value1, Long value2) { - addCriterion("album_id not between", value1, value2, "albumId"); - return (Criteria) this; - } - - public Criteria andPicIsNull() { - addCriterion("pic is null"); - return (Criteria) this; - } - - public Criteria andPicIsNotNull() { - addCriterion("pic is not null"); - return (Criteria) this; - } - - public Criteria andPicEqualTo(String value) { - addCriterion("pic =", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotEqualTo(String value) { - addCriterion("pic <>", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThan(String value) { - addCriterion("pic >", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThanOrEqualTo(String value) { - addCriterion("pic >=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThan(String value) { - addCriterion("pic <", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThanOrEqualTo(String value) { - addCriterion("pic <=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLike(String value) { - addCriterion("pic like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotLike(String value) { - addCriterion("pic not like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicIn(List values) { - addCriterion("pic in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotIn(List values) { - addCriterion("pic not in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicBetween(String value1, String value2) { - addCriterion("pic between", value1, value2, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotBetween(String value1, String value2) { - addCriterion("pic not between", value1, value2, "pic"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java index 611e5c9..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java @@ -1,839 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsBrandExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsBrandExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andFirstLetterIsNull() { - addCriterion("first_letter is null"); - return (Criteria) this; - } - - public Criteria andFirstLetterIsNotNull() { - addCriterion("first_letter is not null"); - return (Criteria) this; - } - - public Criteria andFirstLetterEqualTo(String value) { - addCriterion("first_letter =", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterNotEqualTo(String value) { - addCriterion("first_letter <>", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterGreaterThan(String value) { - addCriterion("first_letter >", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterGreaterThanOrEqualTo(String value) { - addCriterion("first_letter >=", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterLessThan(String value) { - addCriterion("first_letter <", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterLessThanOrEqualTo(String value) { - addCriterion("first_letter <=", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterLike(String value) { - addCriterion("first_letter like", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterNotLike(String value) { - addCriterion("first_letter not like", value, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterIn(List values) { - addCriterion("first_letter in", values, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterNotIn(List values) { - addCriterion("first_letter not in", values, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterBetween(String value1, String value2) { - addCriterion("first_letter between", value1, value2, "firstLetter"); - return (Criteria) this; - } - - public Criteria andFirstLetterNotBetween(String value1, String value2) { - addCriterion("first_letter not between", value1, value2, "firstLetter"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andFactoryStatusIsNull() { - addCriterion("factory_status is null"); - return (Criteria) this; - } - - public Criteria andFactoryStatusIsNotNull() { - addCriterion("factory_status is not null"); - return (Criteria) this; - } - - public Criteria andFactoryStatusEqualTo(Integer value) { - addCriterion("factory_status =", value, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusNotEqualTo(Integer value) { - addCriterion("factory_status <>", value, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusGreaterThan(Integer value) { - addCriterion("factory_status >", value, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("factory_status >=", value, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusLessThan(Integer value) { - addCriterion("factory_status <", value, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusLessThanOrEqualTo(Integer value) { - addCriterion("factory_status <=", value, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusIn(List values) { - addCriterion("factory_status in", values, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusNotIn(List values) { - addCriterion("factory_status not in", values, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusBetween(Integer value1, Integer value2) { - addCriterion("factory_status between", value1, value2, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andFactoryStatusNotBetween(Integer value1, Integer value2) { - addCriterion("factory_status not between", value1, value2, "factoryStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - public Criteria andProductCountIsNull() { - addCriterion("product_count is null"); - return (Criteria) this; - } - - public Criteria andProductCountIsNotNull() { - addCriterion("product_count is not null"); - return (Criteria) this; - } - - public Criteria andProductCountEqualTo(Integer value) { - addCriterion("product_count =", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotEqualTo(Integer value) { - addCriterion("product_count <>", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountGreaterThan(Integer value) { - addCriterion("product_count >", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { - addCriterion("product_count >=", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountLessThan(Integer value) { - addCriterion("product_count <", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountLessThanOrEqualTo(Integer value) { - addCriterion("product_count <=", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountIn(List values) { - addCriterion("product_count in", values, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotIn(List values) { - addCriterion("product_count not in", values, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountBetween(Integer value1, Integer value2) { - addCriterion("product_count between", value1, value2, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotBetween(Integer value1, Integer value2) { - addCriterion("product_count not between", value1, value2, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountIsNull() { - addCriterion("product_comment_count is null"); - return (Criteria) this; - } - - public Criteria andProductCommentCountIsNotNull() { - addCriterion("product_comment_count is not null"); - return (Criteria) this; - } - - public Criteria andProductCommentCountEqualTo(Integer value) { - addCriterion("product_comment_count =", value, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountNotEqualTo(Integer value) { - addCriterion("product_comment_count <>", value, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountGreaterThan(Integer value) { - addCriterion("product_comment_count >", value, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountGreaterThanOrEqualTo(Integer value) { - addCriterion("product_comment_count >=", value, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountLessThan(Integer value) { - addCriterion("product_comment_count <", value, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountLessThanOrEqualTo(Integer value) { - addCriterion("product_comment_count <=", value, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountIn(List values) { - addCriterion("product_comment_count in", values, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountNotIn(List values) { - addCriterion("product_comment_count not in", values, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountBetween(Integer value1, Integer value2) { - addCriterion("product_comment_count between", value1, value2, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andProductCommentCountNotBetween(Integer value1, Integer value2) { - addCriterion("product_comment_count not between", value1, value2, "productCommentCount"); - return (Criteria) this; - } - - public Criteria andLogoIsNull() { - addCriterion("logo is null"); - return (Criteria) this; - } - - public Criteria andLogoIsNotNull() { - addCriterion("logo is not null"); - return (Criteria) this; - } - - public Criteria andLogoEqualTo(String value) { - addCriterion("logo =", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoNotEqualTo(String value) { - addCriterion("logo <>", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoGreaterThan(String value) { - addCriterion("logo >", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoGreaterThanOrEqualTo(String value) { - addCriterion("logo >=", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoLessThan(String value) { - addCriterion("logo <", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoLessThanOrEqualTo(String value) { - addCriterion("logo <=", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoLike(String value) { - addCriterion("logo like", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoNotLike(String value) { - addCriterion("logo not like", value, "logo"); - return (Criteria) this; - } - - public Criteria andLogoIn(List values) { - addCriterion("logo in", values, "logo"); - return (Criteria) this; - } - - public Criteria andLogoNotIn(List values) { - addCriterion("logo not in", values, "logo"); - return (Criteria) this; - } - - public Criteria andLogoBetween(String value1, String value2) { - addCriterion("logo between", value1, value2, "logo"); - return (Criteria) this; - } - - public Criteria andLogoNotBetween(String value1, String value2) { - addCriterion("logo not between", value1, value2, "logo"); - return (Criteria) this; - } - - public Criteria andBigPicIsNull() { - addCriterion("big_pic is null"); - return (Criteria) this; - } - - public Criteria andBigPicIsNotNull() { - addCriterion("big_pic is not null"); - return (Criteria) this; - } - - public Criteria andBigPicEqualTo(String value) { - addCriterion("big_pic =", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicNotEqualTo(String value) { - addCriterion("big_pic <>", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicGreaterThan(String value) { - addCriterion("big_pic >", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicGreaterThanOrEqualTo(String value) { - addCriterion("big_pic >=", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicLessThan(String value) { - addCriterion("big_pic <", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicLessThanOrEqualTo(String value) { - addCriterion("big_pic <=", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicLike(String value) { - addCriterion("big_pic like", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicNotLike(String value) { - addCriterion("big_pic not like", value, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicIn(List values) { - addCriterion("big_pic in", values, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicNotIn(List values) { - addCriterion("big_pic not in", values, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicBetween(String value1, String value2) { - addCriterion("big_pic between", value1, value2, "bigPic"); - return (Criteria) this; - } - - public Criteria andBigPicNotBetween(String value1, String value2) { - addCriterion("big_pic not between", value1, value2, "bigPic"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java index cf1e0a7..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java @@ -1,190 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class PmsComment implements Serializable { - private Long id; - - private Long productId; - - private String memberNickName; - - private String productName; - - @ApiModelProperty(value = "评价星数:0->5") - private Integer star; - - @ApiModelProperty(value = "评价的ip") - private String memberIp; - - private Date createTime; - - private Integer showStatus; - - @ApiModelProperty(value = "购买时的商品属性") - private String productAttribute; - - private Integer collectCouont; - - private Integer readCount; - - @ApiModelProperty(value = "上传图片地址,以逗号隔开") - private String pics; - - @ApiModelProperty(value = "评论用户头像") - private String memberIcon; - - private Integer replayCount; - - private String content; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public String getMemberNickName() { - return memberNickName; - } - - public void setMemberNickName(String memberNickName) { - this.memberNickName = memberNickName; - } - - public String getProductName() { - return productName; - } - - public void setProductName(String productName) { - this.productName = productName; - } - - public Integer getStar() { - return star; - } - - public void setStar(Integer star) { - this.star = star; - } - - public String getMemberIp() { - return memberIp; - } - - public void setMemberIp(String memberIp) { - this.memberIp = memberIp; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getShowStatus() { - return showStatus; - } - - public void setShowStatus(Integer showStatus) { - this.showStatus = showStatus; - } - - public String getProductAttribute() { - return productAttribute; - } - - public void setProductAttribute(String productAttribute) { - this.productAttribute = productAttribute; - } - - public Integer getCollectCouont() { - return collectCouont; - } - - public void setCollectCouont(Integer collectCouont) { - this.collectCouont = collectCouont; - } - - public Integer getReadCount() { - return readCount; - } - - public void setReadCount(Integer readCount) { - this.readCount = readCount; - } - - public String getPics() { - return pics; - } - - public void setPics(String pics) { - this.pics = pics; - } - - public String getMemberIcon() { - return memberIcon; - } - - public void setMemberIcon(String memberIcon) { - this.memberIcon = memberIcon; - } - - public Integer getReplayCount() { - return replayCount; - } - - public void setReplayCount(Integer replayCount) { - this.replayCount = replayCount; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", memberNickName=").append(memberNickName); - sb.append(", productName=").append(productName); - sb.append(", star=").append(star); - sb.append(", memberIp=").append(memberIp); - sb.append(", createTime=").append(createTime); - sb.append(", showStatus=").append(showStatus); - sb.append(", productAttribute=").append(productAttribute); - sb.append(", collectCouont=").append(collectCouont); - sb.append(", readCount=").append(readCount); - sb.append(", pics=").append(pics); - sb.append(", memberIcon=").append(memberIcon); - sb.append(", replayCount=").append(replayCount); - sb.append(", content=").append(content); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java index 0823077..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java @@ -1,1100 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class PmsCommentExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsCommentExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIsNull() { - addCriterion("member_nick_name is null"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIsNotNull() { - addCriterion("member_nick_name is not null"); - return (Criteria) this; - } - - public Criteria andMemberNickNameEqualTo(String value) { - addCriterion("member_nick_name =", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotEqualTo(String value) { - addCriterion("member_nick_name <>", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameGreaterThan(String value) { - addCriterion("member_nick_name >", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { - addCriterion("member_nick_name >=", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLessThan(String value) { - addCriterion("member_nick_name <", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLessThanOrEqualTo(String value) { - addCriterion("member_nick_name <=", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLike(String value) { - addCriterion("member_nick_name like", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotLike(String value) { - addCriterion("member_nick_name not like", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIn(List values) { - addCriterion("member_nick_name in", values, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotIn(List values) { - addCriterion("member_nick_name not in", values, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameBetween(String value1, String value2) { - addCriterion("member_nick_name between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotBetween(String value1, String value2) { - addCriterion("member_nick_name not between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andStarIsNull() { - addCriterion("star is null"); - return (Criteria) this; - } - - public Criteria andStarIsNotNull() { - addCriterion("star is not null"); - return (Criteria) this; - } - - public Criteria andStarEqualTo(Integer value) { - addCriterion("star =", value, "star"); - return (Criteria) this; - } - - public Criteria andStarNotEqualTo(Integer value) { - addCriterion("star <>", value, "star"); - return (Criteria) this; - } - - public Criteria andStarGreaterThan(Integer value) { - addCriterion("star >", value, "star"); - return (Criteria) this; - } - - public Criteria andStarGreaterThanOrEqualTo(Integer value) { - addCriterion("star >=", value, "star"); - return (Criteria) this; - } - - public Criteria andStarLessThan(Integer value) { - addCriterion("star <", value, "star"); - return (Criteria) this; - } - - public Criteria andStarLessThanOrEqualTo(Integer value) { - addCriterion("star <=", value, "star"); - return (Criteria) this; - } - - public Criteria andStarIn(List values) { - addCriterion("star in", values, "star"); - return (Criteria) this; - } - - public Criteria andStarNotIn(List values) { - addCriterion("star not in", values, "star"); - return (Criteria) this; - } - - public Criteria andStarBetween(Integer value1, Integer value2) { - addCriterion("star between", value1, value2, "star"); - return (Criteria) this; - } - - public Criteria andStarNotBetween(Integer value1, Integer value2) { - addCriterion("star not between", value1, value2, "star"); - return (Criteria) this; - } - - public Criteria andMemberIpIsNull() { - addCriterion("member_ip is null"); - return (Criteria) this; - } - - public Criteria andMemberIpIsNotNull() { - addCriterion("member_ip is not null"); - return (Criteria) this; - } - - public Criteria andMemberIpEqualTo(String value) { - addCriterion("member_ip =", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpNotEqualTo(String value) { - addCriterion("member_ip <>", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpGreaterThan(String value) { - addCriterion("member_ip >", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpGreaterThanOrEqualTo(String value) { - addCriterion("member_ip >=", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpLessThan(String value) { - addCriterion("member_ip <", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpLessThanOrEqualTo(String value) { - addCriterion("member_ip <=", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpLike(String value) { - addCriterion("member_ip like", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpNotLike(String value) { - addCriterion("member_ip not like", value, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpIn(List values) { - addCriterion("member_ip in", values, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpNotIn(List values) { - addCriterion("member_ip not in", values, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpBetween(String value1, String value2) { - addCriterion("member_ip between", value1, value2, "memberIp"); - return (Criteria) this; - } - - public Criteria andMemberIpNotBetween(String value1, String value2) { - addCriterion("member_ip not between", value1, value2, "memberIp"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - public Criteria andProductAttributeIsNull() { - addCriterion("product_attribute is null"); - return (Criteria) this; - } - - public Criteria andProductAttributeIsNotNull() { - addCriterion("product_attribute is not null"); - return (Criteria) this; - } - - public Criteria andProductAttributeEqualTo(String value) { - addCriterion("product_attribute =", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeNotEqualTo(String value) { - addCriterion("product_attribute <>", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeGreaterThan(String value) { - addCriterion("product_attribute >", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeGreaterThanOrEqualTo(String value) { - addCriterion("product_attribute >=", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeLessThan(String value) { - addCriterion("product_attribute <", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeLessThanOrEqualTo(String value) { - addCriterion("product_attribute <=", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeLike(String value) { - addCriterion("product_attribute like", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeNotLike(String value) { - addCriterion("product_attribute not like", value, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeIn(List values) { - addCriterion("product_attribute in", values, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeNotIn(List values) { - addCriterion("product_attribute not in", values, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeBetween(String value1, String value2) { - addCriterion("product_attribute between", value1, value2, "productAttribute"); - return (Criteria) this; - } - - public Criteria andProductAttributeNotBetween(String value1, String value2) { - addCriterion("product_attribute not between", value1, value2, "productAttribute"); - return (Criteria) this; - } - - public Criteria andCollectCouontIsNull() { - addCriterion("collect_couont is null"); - return (Criteria) this; - } - - public Criteria andCollectCouontIsNotNull() { - addCriterion("collect_couont is not null"); - return (Criteria) this; - } - - public Criteria andCollectCouontEqualTo(Integer value) { - addCriterion("collect_couont =", value, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontNotEqualTo(Integer value) { - addCriterion("collect_couont <>", value, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontGreaterThan(Integer value) { - addCriterion("collect_couont >", value, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontGreaterThanOrEqualTo(Integer value) { - addCriterion("collect_couont >=", value, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontLessThan(Integer value) { - addCriterion("collect_couont <", value, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontLessThanOrEqualTo(Integer value) { - addCriterion("collect_couont <=", value, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontIn(List values) { - addCriterion("collect_couont in", values, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontNotIn(List values) { - addCriterion("collect_couont not in", values, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontBetween(Integer value1, Integer value2) { - addCriterion("collect_couont between", value1, value2, "collectCouont"); - return (Criteria) this; - } - - public Criteria andCollectCouontNotBetween(Integer value1, Integer value2) { - addCriterion("collect_couont not between", value1, value2, "collectCouont"); - return (Criteria) this; - } - - public Criteria andReadCountIsNull() { - addCriterion("read_count is null"); - return (Criteria) this; - } - - public Criteria andReadCountIsNotNull() { - addCriterion("read_count is not null"); - return (Criteria) this; - } - - public Criteria andReadCountEqualTo(Integer value) { - addCriterion("read_count =", value, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountNotEqualTo(Integer value) { - addCriterion("read_count <>", value, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountGreaterThan(Integer value) { - addCriterion("read_count >", value, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { - addCriterion("read_count >=", value, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountLessThan(Integer value) { - addCriterion("read_count <", value, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountLessThanOrEqualTo(Integer value) { - addCriterion("read_count <=", value, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountIn(List values) { - addCriterion("read_count in", values, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountNotIn(List values) { - addCriterion("read_count not in", values, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountBetween(Integer value1, Integer value2) { - addCriterion("read_count between", value1, value2, "readCount"); - return (Criteria) this; - } - - public Criteria andReadCountNotBetween(Integer value1, Integer value2) { - addCriterion("read_count not between", value1, value2, "readCount"); - return (Criteria) this; - } - - public Criteria andPicsIsNull() { - addCriterion("pics is null"); - return (Criteria) this; - } - - public Criteria andPicsIsNotNull() { - addCriterion("pics is not null"); - return (Criteria) this; - } - - public Criteria andPicsEqualTo(String value) { - addCriterion("pics =", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsNotEqualTo(String value) { - addCriterion("pics <>", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsGreaterThan(String value) { - addCriterion("pics >", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsGreaterThanOrEqualTo(String value) { - addCriterion("pics >=", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsLessThan(String value) { - addCriterion("pics <", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsLessThanOrEqualTo(String value) { - addCriterion("pics <=", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsLike(String value) { - addCriterion("pics like", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsNotLike(String value) { - addCriterion("pics not like", value, "pics"); - return (Criteria) this; - } - - public Criteria andPicsIn(List values) { - addCriterion("pics in", values, "pics"); - return (Criteria) this; - } - - public Criteria andPicsNotIn(List values) { - addCriterion("pics not in", values, "pics"); - return (Criteria) this; - } - - public Criteria andPicsBetween(String value1, String value2) { - addCriterion("pics between", value1, value2, "pics"); - return (Criteria) this; - } - - public Criteria andPicsNotBetween(String value1, String value2) { - addCriterion("pics not between", value1, value2, "pics"); - return (Criteria) this; - } - - public Criteria andMemberIconIsNull() { - addCriterion("member_icon is null"); - return (Criteria) this; - } - - public Criteria andMemberIconIsNotNull() { - addCriterion("member_icon is not null"); - return (Criteria) this; - } - - public Criteria andMemberIconEqualTo(String value) { - addCriterion("member_icon =", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotEqualTo(String value) { - addCriterion("member_icon <>", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconGreaterThan(String value) { - addCriterion("member_icon >", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconGreaterThanOrEqualTo(String value) { - addCriterion("member_icon >=", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconLessThan(String value) { - addCriterion("member_icon <", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconLessThanOrEqualTo(String value) { - addCriterion("member_icon <=", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconLike(String value) { - addCriterion("member_icon like", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotLike(String value) { - addCriterion("member_icon not like", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconIn(List values) { - addCriterion("member_icon in", values, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotIn(List values) { - addCriterion("member_icon not in", values, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconBetween(String value1, String value2) { - addCriterion("member_icon between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotBetween(String value1, String value2) { - addCriterion("member_icon not between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - public Criteria andReplayCountIsNull() { - addCriterion("replay_count is null"); - return (Criteria) this; - } - - public Criteria andReplayCountIsNotNull() { - addCriterion("replay_count is not null"); - return (Criteria) this; - } - - public Criteria andReplayCountEqualTo(Integer value) { - addCriterion("replay_count =", value, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountNotEqualTo(Integer value) { - addCriterion("replay_count <>", value, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountGreaterThan(Integer value) { - addCriterion("replay_count >", value, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountGreaterThanOrEqualTo(Integer value) { - addCriterion("replay_count >=", value, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountLessThan(Integer value) { - addCriterion("replay_count <", value, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountLessThanOrEqualTo(Integer value) { - addCriterion("replay_count <=", value, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountIn(List values) { - addCriterion("replay_count in", values, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountNotIn(List values) { - addCriterion("replay_count not in", values, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountBetween(Integer value1, Integer value2) { - addCriterion("replay_count between", value1, value2, "replayCount"); - return (Criteria) this; - } - - public Criteria andReplayCountNotBetween(Integer value1, Integer value2) { - addCriterion("replay_count not between", value1, value2, "replayCount"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java index f5e1ff3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java @@ -1,98 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class PmsCommentReplay implements Serializable { - private Long id; - - private Long commentId; - - private String memberNickName; - - private String memberIcon; - - private String content; - - private Date createTime; - - @ApiModelProperty(value = "评论人员类型;0->会员;1->管理员") - private Integer type; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getCommentId() { - return commentId; - } - - public void setCommentId(Long commentId) { - this.commentId = commentId; - } - - public String getMemberNickName() { - return memberNickName; - } - - public void setMemberNickName(String memberNickName) { - this.memberNickName = memberNickName; - } - - public String getMemberIcon() { - return memberIcon; - } - - public void setMemberIcon(String memberIcon) { - this.memberIcon = memberIcon; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", commentId=").append(commentId); - sb.append(", memberNickName=").append(memberNickName); - sb.append(", memberIcon=").append(memberIcon); - sb.append(", content=").append(content); - sb.append(", createTime=").append(createTime); - sb.append(", type=").append(type); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java index 88eaf06..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java @@ -1,650 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class PmsCommentReplayExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsCommentReplayExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andCommentIdIsNull() { - addCriterion("comment_id is null"); - return (Criteria) this; - } - - public Criteria andCommentIdIsNotNull() { - addCriterion("comment_id is not null"); - return (Criteria) this; - } - - public Criteria andCommentIdEqualTo(Long value) { - addCriterion("comment_id =", value, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdNotEqualTo(Long value) { - addCriterion("comment_id <>", value, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdGreaterThan(Long value) { - addCriterion("comment_id >", value, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdGreaterThanOrEqualTo(Long value) { - addCriterion("comment_id >=", value, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdLessThan(Long value) { - addCriterion("comment_id <", value, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdLessThanOrEqualTo(Long value) { - addCriterion("comment_id <=", value, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdIn(List values) { - addCriterion("comment_id in", values, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdNotIn(List values) { - addCriterion("comment_id not in", values, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdBetween(Long value1, Long value2) { - addCriterion("comment_id between", value1, value2, "commentId"); - return (Criteria) this; - } - - public Criteria andCommentIdNotBetween(Long value1, Long value2) { - addCriterion("comment_id not between", value1, value2, "commentId"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIsNull() { - addCriterion("member_nick_name is null"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIsNotNull() { - addCriterion("member_nick_name is not null"); - return (Criteria) this; - } - - public Criteria andMemberNickNameEqualTo(String value) { - addCriterion("member_nick_name =", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotEqualTo(String value) { - addCriterion("member_nick_name <>", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameGreaterThan(String value) { - addCriterion("member_nick_name >", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { - addCriterion("member_nick_name >=", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLessThan(String value) { - addCriterion("member_nick_name <", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLessThanOrEqualTo(String value) { - addCriterion("member_nick_name <=", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameLike(String value) { - addCriterion("member_nick_name like", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotLike(String value) { - addCriterion("member_nick_name not like", value, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameIn(List values) { - addCriterion("member_nick_name in", values, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotIn(List values) { - addCriterion("member_nick_name not in", values, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameBetween(String value1, String value2) { - addCriterion("member_nick_name between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberNickNameNotBetween(String value1, String value2) { - addCriterion("member_nick_name not between", value1, value2, "memberNickName"); - return (Criteria) this; - } - - public Criteria andMemberIconIsNull() { - addCriterion("member_icon is null"); - return (Criteria) this; - } - - public Criteria andMemberIconIsNotNull() { - addCriterion("member_icon is not null"); - return (Criteria) this; - } - - public Criteria andMemberIconEqualTo(String value) { - addCriterion("member_icon =", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotEqualTo(String value) { - addCriterion("member_icon <>", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconGreaterThan(String value) { - addCriterion("member_icon >", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconGreaterThanOrEqualTo(String value) { - addCriterion("member_icon >=", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconLessThan(String value) { - addCriterion("member_icon <", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconLessThanOrEqualTo(String value) { - addCriterion("member_icon <=", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconLike(String value) { - addCriterion("member_icon like", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotLike(String value) { - addCriterion("member_icon not like", value, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconIn(List values) { - addCriterion("member_icon in", values, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotIn(List values) { - addCriterion("member_icon not in", values, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconBetween(String value1, String value2) { - addCriterion("member_icon between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - public Criteria andMemberIconNotBetween(String value1, String value2) { - addCriterion("member_icon not between", value1, value2, "memberIcon"); - return (Criteria) this; - } - - public Criteria andContentIsNull() { - addCriterion("content is null"); - return (Criteria) this; - } - - public Criteria andContentIsNotNull() { - addCriterion("content is not null"); - return (Criteria) this; - } - - public Criteria andContentEqualTo(String value) { - addCriterion("content =", value, "content"); - return (Criteria) this; - } - - public Criteria andContentNotEqualTo(String value) { - addCriterion("content <>", value, "content"); - return (Criteria) this; - } - - public Criteria andContentGreaterThan(String value) { - addCriterion("content >", value, "content"); - return (Criteria) this; - } - - public Criteria andContentGreaterThanOrEqualTo(String value) { - addCriterion("content >=", value, "content"); - return (Criteria) this; - } - - public Criteria andContentLessThan(String value) { - addCriterion("content <", value, "content"); - return (Criteria) this; - } - - public Criteria andContentLessThanOrEqualTo(String value) { - addCriterion("content <=", value, "content"); - return (Criteria) this; - } - - public Criteria andContentLike(String value) { - addCriterion("content like", value, "content"); - return (Criteria) this; - } - - public Criteria andContentNotLike(String value) { - addCriterion("content not like", value, "content"); - return (Criteria) this; - } - - public Criteria andContentIn(List values) { - addCriterion("content in", values, "content"); - return (Criteria) this; - } - - public Criteria andContentNotIn(List values) { - addCriterion("content not in", values, "content"); - return (Criteria) this; - } - - public Criteria andContentBetween(String value1, String value2) { - addCriterion("content between", value1, value2, "content"); - return (Criteria) this; - } - - public Criteria andContentNotBetween(String value1, String value2) { - addCriterion("content not between", value1, value2, "content"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java index 94c3147..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java @@ -1,112 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsFeightTemplate implements Serializable { - private Long id; - - private String name; - - @ApiModelProperty(value = "计费类型:0->按重量;1->按件数") - private Integer chargeType; - - @ApiModelProperty(value = "首重kg") - private BigDecimal firstWeight; - - @ApiModelProperty(value = "首费(元)") - private BigDecimal firstFee; - - private BigDecimal continueWeight; - - private BigDecimal continmeFee; - - @ApiModelProperty(value = "目的地(省、市)") - private String dest; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getChargeType() { - return chargeType; - } - - public void setChargeType(Integer chargeType) { - this.chargeType = chargeType; - } - - public BigDecimal getFirstWeight() { - return firstWeight; - } - - public void setFirstWeight(BigDecimal firstWeight) { - this.firstWeight = firstWeight; - } - - public BigDecimal getFirstFee() { - return firstFee; - } - - public void setFirstFee(BigDecimal firstFee) { - this.firstFee = firstFee; - } - - public BigDecimal getContinueWeight() { - return continueWeight; - } - - public void setContinueWeight(BigDecimal continueWeight) { - this.continueWeight = continueWeight; - } - - public BigDecimal getContinmeFee() { - return continmeFee; - } - - public void setContinmeFee(BigDecimal continmeFee) { - this.continmeFee = continmeFee; - } - - public String getDest() { - return dest; - } - - public void setDest(String dest) { - this.dest = dest; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", chargeType=").append(chargeType); - sb.append(", firstWeight=").append(firstWeight); - sb.append(", firstFee=").append(firstFee); - sb.append(", continueWeight=").append(continueWeight); - sb.append(", continmeFee=").append(continmeFee); - sb.append(", dest=").append(dest); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java index 900dbaa..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java @@ -1,700 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class PmsFeightTemplateExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsFeightTemplateExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andChargeTypeIsNull() { - addCriterion("charge_type is null"); - return (Criteria) this; - } - - public Criteria andChargeTypeIsNotNull() { - addCriterion("charge_type is not null"); - return (Criteria) this; - } - - public Criteria andChargeTypeEqualTo(Integer value) { - addCriterion("charge_type =", value, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeNotEqualTo(Integer value) { - addCriterion("charge_type <>", value, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeGreaterThan(Integer value) { - addCriterion("charge_type >", value, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("charge_type >=", value, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeLessThan(Integer value) { - addCriterion("charge_type <", value, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeLessThanOrEqualTo(Integer value) { - addCriterion("charge_type <=", value, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeIn(List values) { - addCriterion("charge_type in", values, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeNotIn(List values) { - addCriterion("charge_type not in", values, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeBetween(Integer value1, Integer value2) { - addCriterion("charge_type between", value1, value2, "chargeType"); - return (Criteria) this; - } - - public Criteria andChargeTypeNotBetween(Integer value1, Integer value2) { - addCriterion("charge_type not between", value1, value2, "chargeType"); - return (Criteria) this; - } - - public Criteria andFirstWeightIsNull() { - addCriterion("first_weight is null"); - return (Criteria) this; - } - - public Criteria andFirstWeightIsNotNull() { - addCriterion("first_weight is not null"); - return (Criteria) this; - } - - public Criteria andFirstWeightEqualTo(BigDecimal value) { - addCriterion("first_weight =", value, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightNotEqualTo(BigDecimal value) { - addCriterion("first_weight <>", value, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightGreaterThan(BigDecimal value) { - addCriterion("first_weight >", value, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("first_weight >=", value, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightLessThan(BigDecimal value) { - addCriterion("first_weight <", value, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightLessThanOrEqualTo(BigDecimal value) { - addCriterion("first_weight <=", value, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightIn(List values) { - addCriterion("first_weight in", values, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightNotIn(List values) { - addCriterion("first_weight not in", values, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("first_weight between", value1, value2, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstWeightNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("first_weight not between", value1, value2, "firstWeight"); - return (Criteria) this; - } - - public Criteria andFirstFeeIsNull() { - addCriterion("first_fee is null"); - return (Criteria) this; - } - - public Criteria andFirstFeeIsNotNull() { - addCriterion("first_fee is not null"); - return (Criteria) this; - } - - public Criteria andFirstFeeEqualTo(BigDecimal value) { - addCriterion("first_fee =", value, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeNotEqualTo(BigDecimal value) { - addCriterion("first_fee <>", value, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeGreaterThan(BigDecimal value) { - addCriterion("first_fee >", value, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("first_fee >=", value, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeLessThan(BigDecimal value) { - addCriterion("first_fee <", value, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeLessThanOrEqualTo(BigDecimal value) { - addCriterion("first_fee <=", value, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeIn(List values) { - addCriterion("first_fee in", values, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeNotIn(List values) { - addCriterion("first_fee not in", values, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("first_fee between", value1, value2, "firstFee"); - return (Criteria) this; - } - - public Criteria andFirstFeeNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("first_fee not between", value1, value2, "firstFee"); - return (Criteria) this; - } - - public Criteria andContinueWeightIsNull() { - addCriterion("continue_weight is null"); - return (Criteria) this; - } - - public Criteria andContinueWeightIsNotNull() { - addCriterion("continue_weight is not null"); - return (Criteria) this; - } - - public Criteria andContinueWeightEqualTo(BigDecimal value) { - addCriterion("continue_weight =", value, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightNotEqualTo(BigDecimal value) { - addCriterion("continue_weight <>", value, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightGreaterThan(BigDecimal value) { - addCriterion("continue_weight >", value, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("continue_weight >=", value, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightLessThan(BigDecimal value) { - addCriterion("continue_weight <", value, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightLessThanOrEqualTo(BigDecimal value) { - addCriterion("continue_weight <=", value, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightIn(List values) { - addCriterion("continue_weight in", values, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightNotIn(List values) { - addCriterion("continue_weight not in", values, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("continue_weight between", value1, value2, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinueWeightNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("continue_weight not between", value1, value2, "continueWeight"); - return (Criteria) this; - } - - public Criteria andContinmeFeeIsNull() { - addCriterion("continme_fee is null"); - return (Criteria) this; - } - - public Criteria andContinmeFeeIsNotNull() { - addCriterion("continme_fee is not null"); - return (Criteria) this; - } - - public Criteria andContinmeFeeEqualTo(BigDecimal value) { - addCriterion("continme_fee =", value, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeNotEqualTo(BigDecimal value) { - addCriterion("continme_fee <>", value, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeGreaterThan(BigDecimal value) { - addCriterion("continme_fee >", value, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("continme_fee >=", value, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeLessThan(BigDecimal value) { - addCriterion("continme_fee <", value, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeLessThanOrEqualTo(BigDecimal value) { - addCriterion("continme_fee <=", value, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeIn(List values) { - addCriterion("continme_fee in", values, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeNotIn(List values) { - addCriterion("continme_fee not in", values, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("continme_fee between", value1, value2, "continmeFee"); - return (Criteria) this; - } - - public Criteria andContinmeFeeNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("continme_fee not between", value1, value2, "continmeFee"); - return (Criteria) this; - } - - public Criteria andDestIsNull() { - addCriterion("dest is null"); - return (Criteria) this; - } - - public Criteria andDestIsNotNull() { - addCriterion("dest is not null"); - return (Criteria) this; - } - - public Criteria andDestEqualTo(String value) { - addCriterion("dest =", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestNotEqualTo(String value) { - addCriterion("dest <>", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestGreaterThan(String value) { - addCriterion("dest >", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestGreaterThanOrEqualTo(String value) { - addCriterion("dest >=", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestLessThan(String value) { - addCriterion("dest <", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestLessThanOrEqualTo(String value) { - addCriterion("dest <=", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestLike(String value) { - addCriterion("dest like", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestNotLike(String value) { - addCriterion("dest not like", value, "dest"); - return (Criteria) this; - } - - public Criteria andDestIn(List values) { - addCriterion("dest in", values, "dest"); - return (Criteria) this; - } - - public Criteria andDestNotIn(List values) { - addCriterion("dest not in", values, "dest"); - return (Criteria) this; - } - - public Criteria andDestBetween(String value1, String value2) { - addCriterion("dest between", value1, value2, "dest"); - return (Criteria) this; - } - - public Criteria andDestNotBetween(String value1, String value2) { - addCriterion("dest not between", value1, value2, "dest"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java index 4053be3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java @@ -1,76 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsMemberPrice implements Serializable { - private Long id; - - private Long productId; - - private Long memberLevelId; - - @ApiModelProperty(value = "会员价格") - private BigDecimal memberPrice; - - private String memberLevelName; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public Long getMemberLevelId() { - return memberLevelId; - } - - public void setMemberLevelId(Long memberLevelId) { - this.memberLevelId = memberLevelId; - } - - public BigDecimal getMemberPrice() { - return memberPrice; - } - - public void setMemberPrice(BigDecimal memberPrice) { - this.memberPrice = memberPrice; - } - - public String getMemberLevelName() { - return memberLevelName; - } - - public void setMemberLevelName(String memberLevelName) { - this.memberLevelName = memberLevelName; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", memberLevelId=").append(memberLevelId); - sb.append(", memberPrice=").append(memberPrice); - sb.append(", memberLevelName=").append(memberLevelName); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java index 6098bdb..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java @@ -1,510 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class PmsMemberPriceExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsMemberPriceExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdIsNull() { - addCriterion("member_level_id is null"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdIsNotNull() { - addCriterion("member_level_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdEqualTo(Long value) { - addCriterion("member_level_id =", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdNotEqualTo(Long value) { - addCriterion("member_level_id <>", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdGreaterThan(Long value) { - addCriterion("member_level_id >", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_level_id >=", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdLessThan(Long value) { - addCriterion("member_level_id <", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdLessThanOrEqualTo(Long value) { - addCriterion("member_level_id <=", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdIn(List values) { - addCriterion("member_level_id in", values, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdNotIn(List values) { - addCriterion("member_level_id not in", values, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdBetween(Long value1, Long value2) { - addCriterion("member_level_id between", value1, value2, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdNotBetween(Long value1, Long value2) { - addCriterion("member_level_id not between", value1, value2, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberPriceIsNull() { - addCriterion("member_price is null"); - return (Criteria) this; - } - - public Criteria andMemberPriceIsNotNull() { - addCriterion("member_price is not null"); - return (Criteria) this; - } - - public Criteria andMemberPriceEqualTo(BigDecimal value) { - addCriterion("member_price =", value, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceNotEqualTo(BigDecimal value) { - addCriterion("member_price <>", value, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceGreaterThan(BigDecimal value) { - addCriterion("member_price >", value, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("member_price >=", value, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceLessThan(BigDecimal value) { - addCriterion("member_price <", value, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("member_price <=", value, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceIn(List values) { - addCriterion("member_price in", values, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceNotIn(List values) { - addCriterion("member_price not in", values, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("member_price between", value1, value2, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("member_price not between", value1, value2, "memberPrice"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameIsNull() { - addCriterion("member_level_name is null"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameIsNotNull() { - addCriterion("member_level_name is not null"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameEqualTo(String value) { - addCriterion("member_level_name =", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameNotEqualTo(String value) { - addCriterion("member_level_name <>", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameGreaterThan(String value) { - addCriterion("member_level_name >", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameGreaterThanOrEqualTo(String value) { - addCriterion("member_level_name >=", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameLessThan(String value) { - addCriterion("member_level_name <", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameLessThanOrEqualTo(String value) { - addCriterion("member_level_name <=", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameLike(String value) { - addCriterion("member_level_name like", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameNotLike(String value) { - addCriterion("member_level_name not like", value, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameIn(List values) { - addCriterion("member_level_name in", values, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameNotIn(List values) { - addCriterion("member_level_name not in", values, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameBetween(String value1, String value2) { - addCriterion("member_level_name between", value1, value2, "memberLevelName"); - return (Criteria) this; - } - - public Criteria andMemberLevelNameNotBetween(String value1, String value2) { - addCriterion("member_level_name not between", value1, value2, "memberLevelName"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java index b7e95cf..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java @@ -1,160 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class PmsProductAttribute implements Serializable { - private Long id; - - private Long productAttributeCategoryId; - - private String name; - - @ApiModelProperty(value = "属性选择类型:0->唯一;1->单选;2->多选") - private Integer selectType; - - @ApiModelProperty(value = "属性录入方式:0->手工录入;1->从列表中选取") - private Integer inputType; - - @ApiModelProperty(value = "可选值列表,以逗号隔开") - private String inputList; - - @ApiModelProperty(value = "排序字段:最高的可以单独上传图片") - private Integer sort; - - @ApiModelProperty(value = "分类筛选样式:1->普通;1->颜色") - private Integer filterType; - - @ApiModelProperty(value = "检索类型;0->不需要进行检索;1->关键字检索;2->范围检索") - private Integer searchType; - - @ApiModelProperty(value = "相同属性产品是否关联;0->不关联;1->关联") - private Integer relatedStatus; - - @ApiModelProperty(value = "是否支持手动新增;0->不支持;1->支持") - private Integer handAddStatus; - - @ApiModelProperty(value = "属性的类型;0->规格;1->参数") - private Integer type; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductAttributeCategoryId() { - return productAttributeCategoryId; - } - - public void setProductAttributeCategoryId(Long productAttributeCategoryId) { - this.productAttributeCategoryId = productAttributeCategoryId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getSelectType() { - return selectType; - } - - public void setSelectType(Integer selectType) { - this.selectType = selectType; - } - - public Integer getInputType() { - return inputType; - } - - public void setInputType(Integer inputType) { - this.inputType = inputType; - } - - public String getInputList() { - return inputList; - } - - public void setInputList(String inputList) { - this.inputList = inputList; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - public Integer getFilterType() { - return filterType; - } - - public void setFilterType(Integer filterType) { - this.filterType = filterType; - } - - public Integer getSearchType() { - return searchType; - } - - public void setSearchType(Integer searchType) { - this.searchType = searchType; - } - - public Integer getRelatedStatus() { - return relatedStatus; - } - - public void setRelatedStatus(Integer relatedStatus) { - this.relatedStatus = relatedStatus; - } - - public Integer getHandAddStatus() { - return handAddStatus; - } - - public void setHandAddStatus(Integer handAddStatus) { - this.handAddStatus = handAddStatus; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productAttributeCategoryId=").append(productAttributeCategoryId); - sb.append(", name=").append(name); - sb.append(", selectType=").append(selectType); - sb.append(", inputType=").append(inputType); - sb.append(", inputList=").append(inputList); - sb.append(", sort=").append(sort); - sb.append(", filterType=").append(filterType); - sb.append(", searchType=").append(searchType); - sb.append(", relatedStatus=").append(relatedStatus); - sb.append(", handAddStatus=").append(handAddStatus); - sb.append(", type=").append(type); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java index b6ca15f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java @@ -1,449 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsProductAttributeCategoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductAttributeCategoryExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andAttributeCountIsNull() { - addCriterion("attribute_count is null"); - return (Criteria) this; - } - - public Criteria andAttributeCountIsNotNull() { - addCriterion("attribute_count is not null"); - return (Criteria) this; - } - - public Criteria andAttributeCountEqualTo(Integer value) { - addCriterion("attribute_count =", value, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountNotEqualTo(Integer value) { - addCriterion("attribute_count <>", value, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountGreaterThan(Integer value) { - addCriterion("attribute_count >", value, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountGreaterThanOrEqualTo(Integer value) { - addCriterion("attribute_count >=", value, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountLessThan(Integer value) { - addCriterion("attribute_count <", value, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountLessThanOrEqualTo(Integer value) { - addCriterion("attribute_count <=", value, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountIn(List values) { - addCriterion("attribute_count in", values, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountNotIn(List values) { - addCriterion("attribute_count not in", values, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountBetween(Integer value1, Integer value2) { - addCriterion("attribute_count between", value1, value2, "attributeCount"); - return (Criteria) this; - } - - public Criteria andAttributeCountNotBetween(Integer value1, Integer value2) { - addCriterion("attribute_count not between", value1, value2, "attributeCount"); - return (Criteria) this; - } - - public Criteria andParamCountIsNull() { - addCriterion("param_count is null"); - return (Criteria) this; - } - - public Criteria andParamCountIsNotNull() { - addCriterion("param_count is not null"); - return (Criteria) this; - } - - public Criteria andParamCountEqualTo(Integer value) { - addCriterion("param_count =", value, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountNotEqualTo(Integer value) { - addCriterion("param_count <>", value, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountGreaterThan(Integer value) { - addCriterion("param_count >", value, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountGreaterThanOrEqualTo(Integer value) { - addCriterion("param_count >=", value, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountLessThan(Integer value) { - addCriterion("param_count <", value, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountLessThanOrEqualTo(Integer value) { - addCriterion("param_count <=", value, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountIn(List values) { - addCriterion("param_count in", values, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountNotIn(List values) { - addCriterion("param_count not in", values, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountBetween(Integer value1, Integer value2) { - addCriterion("param_count between", value1, value2, "paramCount"); - return (Criteria) this; - } - - public Criteria andParamCountNotBetween(Integer value1, Integer value2) { - addCriterion("param_count not between", value1, value2, "paramCount"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java index 0ab45c3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java @@ -1,939 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsProductAttributeExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductAttributeExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdIsNull() { - addCriterion("product_attribute_category_id is null"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdIsNotNull() { - addCriterion("product_attribute_category_id is not null"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdEqualTo(Long value) { - addCriterion("product_attribute_category_id =", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdNotEqualTo(Long value) { - addCriterion("product_attribute_category_id <>", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdGreaterThan(Long value) { - addCriterion("product_attribute_category_id >", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_attribute_category_id >=", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdLessThan(Long value) { - addCriterion("product_attribute_category_id <", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_attribute_category_id <=", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdIn(List values) { - addCriterion("product_attribute_category_id in", values, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdNotIn(List values) { - addCriterion("product_attribute_category_id not in", values, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_attribute_category_id between", value1, value2, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_attribute_category_id not between", value1, value2, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andSelectTypeIsNull() { - addCriterion("select_type is null"); - return (Criteria) this; - } - - public Criteria andSelectTypeIsNotNull() { - addCriterion("select_type is not null"); - return (Criteria) this; - } - - public Criteria andSelectTypeEqualTo(Integer value) { - addCriterion("select_type =", value, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeNotEqualTo(Integer value) { - addCriterion("select_type <>", value, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeGreaterThan(Integer value) { - addCriterion("select_type >", value, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("select_type >=", value, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeLessThan(Integer value) { - addCriterion("select_type <", value, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeLessThanOrEqualTo(Integer value) { - addCriterion("select_type <=", value, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeIn(List values) { - addCriterion("select_type in", values, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeNotIn(List values) { - addCriterion("select_type not in", values, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeBetween(Integer value1, Integer value2) { - addCriterion("select_type between", value1, value2, "selectType"); - return (Criteria) this; - } - - public Criteria andSelectTypeNotBetween(Integer value1, Integer value2) { - addCriterion("select_type not between", value1, value2, "selectType"); - return (Criteria) this; - } - - public Criteria andInputTypeIsNull() { - addCriterion("input_type is null"); - return (Criteria) this; - } - - public Criteria andInputTypeIsNotNull() { - addCriterion("input_type is not null"); - return (Criteria) this; - } - - public Criteria andInputTypeEqualTo(Integer value) { - addCriterion("input_type =", value, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeNotEqualTo(Integer value) { - addCriterion("input_type <>", value, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeGreaterThan(Integer value) { - addCriterion("input_type >", value, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("input_type >=", value, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeLessThan(Integer value) { - addCriterion("input_type <", value, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeLessThanOrEqualTo(Integer value) { - addCriterion("input_type <=", value, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeIn(List values) { - addCriterion("input_type in", values, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeNotIn(List values) { - addCriterion("input_type not in", values, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeBetween(Integer value1, Integer value2) { - addCriterion("input_type between", value1, value2, "inputType"); - return (Criteria) this; - } - - public Criteria andInputTypeNotBetween(Integer value1, Integer value2) { - addCriterion("input_type not between", value1, value2, "inputType"); - return (Criteria) this; - } - - public Criteria andInputListIsNull() { - addCriterion("input_list is null"); - return (Criteria) this; - } - - public Criteria andInputListIsNotNull() { - addCriterion("input_list is not null"); - return (Criteria) this; - } - - public Criteria andInputListEqualTo(String value) { - addCriterion("input_list =", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListNotEqualTo(String value) { - addCriterion("input_list <>", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListGreaterThan(String value) { - addCriterion("input_list >", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListGreaterThanOrEqualTo(String value) { - addCriterion("input_list >=", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListLessThan(String value) { - addCriterion("input_list <", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListLessThanOrEqualTo(String value) { - addCriterion("input_list <=", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListLike(String value) { - addCriterion("input_list like", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListNotLike(String value) { - addCriterion("input_list not like", value, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListIn(List values) { - addCriterion("input_list in", values, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListNotIn(List values) { - addCriterion("input_list not in", values, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListBetween(String value1, String value2) { - addCriterion("input_list between", value1, value2, "inputList"); - return (Criteria) this; - } - - public Criteria andInputListNotBetween(String value1, String value2) { - addCriterion("input_list not between", value1, value2, "inputList"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andFilterTypeIsNull() { - addCriterion("filter_type is null"); - return (Criteria) this; - } - - public Criteria andFilterTypeIsNotNull() { - addCriterion("filter_type is not null"); - return (Criteria) this; - } - - public Criteria andFilterTypeEqualTo(Integer value) { - addCriterion("filter_type =", value, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeNotEqualTo(Integer value) { - addCriterion("filter_type <>", value, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeGreaterThan(Integer value) { - addCriterion("filter_type >", value, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("filter_type >=", value, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeLessThan(Integer value) { - addCriterion("filter_type <", value, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeLessThanOrEqualTo(Integer value) { - addCriterion("filter_type <=", value, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeIn(List values) { - addCriterion("filter_type in", values, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeNotIn(List values) { - addCriterion("filter_type not in", values, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeBetween(Integer value1, Integer value2) { - addCriterion("filter_type between", value1, value2, "filterType"); - return (Criteria) this; - } - - public Criteria andFilterTypeNotBetween(Integer value1, Integer value2) { - addCriterion("filter_type not between", value1, value2, "filterType"); - return (Criteria) this; - } - - public Criteria andSearchTypeIsNull() { - addCriterion("search_type is null"); - return (Criteria) this; - } - - public Criteria andSearchTypeIsNotNull() { - addCriterion("search_type is not null"); - return (Criteria) this; - } - - public Criteria andSearchTypeEqualTo(Integer value) { - addCriterion("search_type =", value, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeNotEqualTo(Integer value) { - addCriterion("search_type <>", value, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeGreaterThan(Integer value) { - addCriterion("search_type >", value, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("search_type >=", value, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeLessThan(Integer value) { - addCriterion("search_type <", value, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeLessThanOrEqualTo(Integer value) { - addCriterion("search_type <=", value, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeIn(List values) { - addCriterion("search_type in", values, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeNotIn(List values) { - addCriterion("search_type not in", values, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeBetween(Integer value1, Integer value2) { - addCriterion("search_type between", value1, value2, "searchType"); - return (Criteria) this; - } - - public Criteria andSearchTypeNotBetween(Integer value1, Integer value2) { - addCriterion("search_type not between", value1, value2, "searchType"); - return (Criteria) this; - } - - public Criteria andRelatedStatusIsNull() { - addCriterion("related_status is null"); - return (Criteria) this; - } - - public Criteria andRelatedStatusIsNotNull() { - addCriterion("related_status is not null"); - return (Criteria) this; - } - - public Criteria andRelatedStatusEqualTo(Integer value) { - addCriterion("related_status =", value, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusNotEqualTo(Integer value) { - addCriterion("related_status <>", value, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusGreaterThan(Integer value) { - addCriterion("related_status >", value, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("related_status >=", value, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusLessThan(Integer value) { - addCriterion("related_status <", value, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusLessThanOrEqualTo(Integer value) { - addCriterion("related_status <=", value, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusIn(List values) { - addCriterion("related_status in", values, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusNotIn(List values) { - addCriterion("related_status not in", values, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusBetween(Integer value1, Integer value2) { - addCriterion("related_status between", value1, value2, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andRelatedStatusNotBetween(Integer value1, Integer value2) { - addCriterion("related_status not between", value1, value2, "relatedStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusIsNull() { - addCriterion("hand_add_status is null"); - return (Criteria) this; - } - - public Criteria andHandAddStatusIsNotNull() { - addCriterion("hand_add_status is not null"); - return (Criteria) this; - } - - public Criteria andHandAddStatusEqualTo(Integer value) { - addCriterion("hand_add_status =", value, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusNotEqualTo(Integer value) { - addCriterion("hand_add_status <>", value, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusGreaterThan(Integer value) { - addCriterion("hand_add_status >", value, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("hand_add_status >=", value, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusLessThan(Integer value) { - addCriterion("hand_add_status <", value, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusLessThanOrEqualTo(Integer value) { - addCriterion("hand_add_status <=", value, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusIn(List values) { - addCriterion("hand_add_status in", values, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusNotIn(List values) { - addCriterion("hand_add_status not in", values, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusBetween(Integer value1, Integer value2) { - addCriterion("hand_add_status between", value1, value2, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andHandAddStatusNotBetween(Integer value1, Integer value2) { - addCriterion("hand_add_status not between", value1, value2, "handAddStatus"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java index a8b046e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java @@ -1,64 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class PmsProductAttributeValue implements Serializable { - private Long id; - - private Long productId; - - private Long productAttributeId; - - @ApiModelProperty(value = "手动添加规格或参数的值,参数单值,规格有多个时以逗号隔开") - private String value; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public Long getProductAttributeId() { - return productAttributeId; - } - - public void setProductAttributeId(Long productAttributeId) { - this.productAttributeId = productAttributeId; - } - - public String getValue() { - return value; - } - - public void setValue(String value) { - this.value = value; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", productAttributeId=").append(productAttributeId); - sb.append(", value=").append(value); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java index 3cc7711..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java @@ -1,449 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsProductAttributeValueExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductAttributeValueExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdIsNull() { - addCriterion("product_attribute_id is null"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdIsNotNull() { - addCriterion("product_attribute_id is not null"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdEqualTo(Long value) { - addCriterion("product_attribute_id =", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdNotEqualTo(Long value) { - addCriterion("product_attribute_id <>", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdGreaterThan(Long value) { - addCriterion("product_attribute_id >", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_attribute_id >=", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdLessThan(Long value) { - addCriterion("product_attribute_id <", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdLessThanOrEqualTo(Long value) { - addCriterion("product_attribute_id <=", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdIn(List values) { - addCriterion("product_attribute_id in", values, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdNotIn(List values) { - addCriterion("product_attribute_id not in", values, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdBetween(Long value1, Long value2) { - addCriterion("product_attribute_id between", value1, value2, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdNotBetween(Long value1, Long value2) { - addCriterion("product_attribute_id not between", value1, value2, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andValueIsNull() { - addCriterion("value is null"); - return (Criteria) this; - } - - public Criteria andValueIsNotNull() { - addCriterion("value is not null"); - return (Criteria) this; - } - - public Criteria andValueEqualTo(String value) { - addCriterion("value =", value, "value"); - return (Criteria) this; - } - - public Criteria andValueNotEqualTo(String value) { - addCriterion("value <>", value, "value"); - return (Criteria) this; - } - - public Criteria andValueGreaterThan(String value) { - addCriterion("value >", value, "value"); - return (Criteria) this; - } - - public Criteria andValueGreaterThanOrEqualTo(String value) { - addCriterion("value >=", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLessThan(String value) { - addCriterion("value <", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLessThanOrEqualTo(String value) { - addCriterion("value <=", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLike(String value) { - addCriterion("value like", value, "value"); - return (Criteria) this; - } - - public Criteria andValueNotLike(String value) { - addCriterion("value not like", value, "value"); - return (Criteria) this; - } - - public Criteria andValueIn(List values) { - addCriterion("value in", values, "value"); - return (Criteria) this; - } - - public Criteria andValueNotIn(List values) { - addCriterion("value not in", values, "value"); - return (Criteria) this; - } - - public Criteria andValueBetween(String value1, String value2) { - addCriterion("value between", value1, value2, "value"); - return (Criteria) this; - } - - public Criteria andValueNotBetween(String value1, String value2) { - addCriterion("value not between", value1, value2, "value"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java index f9b578a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class PmsProductCategoryAttributeRelation implements Serializable { - private Long id; - - private Long productCategoryId; - - private Long productAttributeId; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductCategoryId() { - return productCategoryId; - } - - public void setProductCategoryId(Long productCategoryId) { - this.productCategoryId = productCategoryId; - } - - public Long getProductAttributeId() { - return productAttributeId; - } - - public void setProductAttributeId(Long productAttributeId) { - this.productAttributeId = productAttributeId; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productCategoryId=").append(productCategoryId); - sb.append(", productAttributeId=").append(productAttributeId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java index bbd1d80..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java @@ -1,379 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsProductCategoryAttributeRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductCategoryAttributeRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNull() { - addCriterion("product_category_id is null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNotNull() { - addCriterion("product_category_id is not null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdEqualTo(Long value) { - addCriterion("product_category_id =", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotEqualTo(Long value) { - addCriterion("product_category_id <>", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThan(Long value) { - addCriterion("product_category_id >", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_category_id >=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThan(Long value) { - addCriterion("product_category_id <", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_category_id <=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIn(List values) { - addCriterion("product_category_id in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotIn(List values) { - addCriterion("product_category_id not in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_category_id between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_category_id not between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdIsNull() { - addCriterion("product_attribute_id is null"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdIsNotNull() { - addCriterion("product_attribute_id is not null"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdEqualTo(Long value) { - addCriterion("product_attribute_id =", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdNotEqualTo(Long value) { - addCriterion("product_attribute_id <>", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdGreaterThan(Long value) { - addCriterion("product_attribute_id >", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_attribute_id >=", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdLessThan(Long value) { - addCriterion("product_attribute_id <", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdLessThanOrEqualTo(Long value) { - addCriterion("product_attribute_id <=", value, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdIn(List values) { - addCriterion("product_attribute_id in", values, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdNotIn(List values) { - addCriterion("product_attribute_id not in", values, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdBetween(Long value1, Long value2) { - addCriterion("product_attribute_id between", value1, value2, "productAttributeId"); - return (Criteria) this; - } - - public Criteria andProductAttributeIdNotBetween(Long value1, Long value2) { - addCriterion("product_attribute_id not between", value1, value2, "productAttributeId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java index 75f0a48..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java @@ -1,899 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class PmsProductCategoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductCategoryExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andParentIdIsNull() { - addCriterion("parent_id is null"); - return (Criteria) this; - } - - public Criteria andParentIdIsNotNull() { - addCriterion("parent_id is not null"); - return (Criteria) this; - } - - public Criteria andParentIdEqualTo(Long value) { - addCriterion("parent_id =", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotEqualTo(Long value) { - addCriterion("parent_id <>", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThan(Long value) { - addCriterion("parent_id >", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThanOrEqualTo(Long value) { - addCriterion("parent_id >=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThan(Long value) { - addCriterion("parent_id <", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThanOrEqualTo(Long value) { - addCriterion("parent_id <=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdIn(List values) { - addCriterion("parent_id in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotIn(List values) { - addCriterion("parent_id not in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdBetween(Long value1, Long value2) { - addCriterion("parent_id between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotBetween(Long value1, Long value2) { - addCriterion("parent_id not between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andLevelIsNull() { - addCriterion("level is null"); - return (Criteria) this; - } - - public Criteria andLevelIsNotNull() { - addCriterion("level is not null"); - return (Criteria) this; - } - - public Criteria andLevelEqualTo(Integer value) { - addCriterion("level =", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelNotEqualTo(Integer value) { - addCriterion("level <>", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelGreaterThan(Integer value) { - addCriterion("level >", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelGreaterThanOrEqualTo(Integer value) { - addCriterion("level >=", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelLessThan(Integer value) { - addCriterion("level <", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelLessThanOrEqualTo(Integer value) { - addCriterion("level <=", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelIn(List values) { - addCriterion("level in", values, "level"); - return (Criteria) this; - } - - public Criteria andLevelNotIn(List values) { - addCriterion("level not in", values, "level"); - return (Criteria) this; - } - - public Criteria andLevelBetween(Integer value1, Integer value2) { - addCriterion("level between", value1, value2, "level"); - return (Criteria) this; - } - - public Criteria andLevelNotBetween(Integer value1, Integer value2) { - addCriterion("level not between", value1, value2, "level"); - return (Criteria) this; - } - - public Criteria andProductCountIsNull() { - addCriterion("product_count is null"); - return (Criteria) this; - } - - public Criteria andProductCountIsNotNull() { - addCriterion("product_count is not null"); - return (Criteria) this; - } - - public Criteria andProductCountEqualTo(Integer value) { - addCriterion("product_count =", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotEqualTo(Integer value) { - addCriterion("product_count <>", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountGreaterThan(Integer value) { - addCriterion("product_count >", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { - addCriterion("product_count >=", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountLessThan(Integer value) { - addCriterion("product_count <", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountLessThanOrEqualTo(Integer value) { - addCriterion("product_count <=", value, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountIn(List values) { - addCriterion("product_count in", values, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotIn(List values) { - addCriterion("product_count not in", values, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountBetween(Integer value1, Integer value2) { - addCriterion("product_count between", value1, value2, "productCount"); - return (Criteria) this; - } - - public Criteria andProductCountNotBetween(Integer value1, Integer value2) { - addCriterion("product_count not between", value1, value2, "productCount"); - return (Criteria) this; - } - - public Criteria andProductUnitIsNull() { - addCriterion("product_unit is null"); - return (Criteria) this; - } - - public Criteria andProductUnitIsNotNull() { - addCriterion("product_unit is not null"); - return (Criteria) this; - } - - public Criteria andProductUnitEqualTo(String value) { - addCriterion("product_unit =", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitNotEqualTo(String value) { - addCriterion("product_unit <>", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitGreaterThan(String value) { - addCriterion("product_unit >", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitGreaterThanOrEqualTo(String value) { - addCriterion("product_unit >=", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitLessThan(String value) { - addCriterion("product_unit <", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitLessThanOrEqualTo(String value) { - addCriterion("product_unit <=", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitLike(String value) { - addCriterion("product_unit like", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitNotLike(String value) { - addCriterion("product_unit not like", value, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitIn(List values) { - addCriterion("product_unit in", values, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitNotIn(List values) { - addCriterion("product_unit not in", values, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitBetween(String value1, String value2) { - addCriterion("product_unit between", value1, value2, "productUnit"); - return (Criteria) this; - } - - public Criteria andProductUnitNotBetween(String value1, String value2) { - addCriterion("product_unit not between", value1, value2, "productUnit"); - return (Criteria) this; - } - - public Criteria andNavStatusIsNull() { - addCriterion("nav_status is null"); - return (Criteria) this; - } - - public Criteria andNavStatusIsNotNull() { - addCriterion("nav_status is not null"); - return (Criteria) this; - } - - public Criteria andNavStatusEqualTo(Integer value) { - addCriterion("nav_status =", value, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusNotEqualTo(Integer value) { - addCriterion("nav_status <>", value, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusGreaterThan(Integer value) { - addCriterion("nav_status >", value, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("nav_status >=", value, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusLessThan(Integer value) { - addCriterion("nav_status <", value, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusLessThanOrEqualTo(Integer value) { - addCriterion("nav_status <=", value, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusIn(List values) { - addCriterion("nav_status in", values, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusNotIn(List values) { - addCriterion("nav_status not in", values, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusBetween(Integer value1, Integer value2) { - addCriterion("nav_status between", value1, value2, "navStatus"); - return (Criteria) this; - } - - public Criteria andNavStatusNotBetween(Integer value1, Integer value2) { - addCriterion("nav_status not between", value1, value2, "navStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNull() { - addCriterion("show_status is null"); - return (Criteria) this; - } - - public Criteria andShowStatusIsNotNull() { - addCriterion("show_status is not null"); - return (Criteria) this; - } - - public Criteria andShowStatusEqualTo(Integer value) { - addCriterion("show_status =", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotEqualTo(Integer value) { - addCriterion("show_status <>", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThan(Integer value) { - addCriterion("show_status >", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("show_status >=", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThan(Integer value) { - addCriterion("show_status <", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusLessThanOrEqualTo(Integer value) { - addCriterion("show_status <=", value, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusIn(List values) { - addCriterion("show_status in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotIn(List values) { - addCriterion("show_status not in", values, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusBetween(Integer value1, Integer value2) { - addCriterion("show_status between", value1, value2, "showStatus"); - return (Criteria) this; - } - - public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { - addCriterion("show_status not between", value1, value2, "showStatus"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andKeywordsIsNull() { - addCriterion("keywords is null"); - return (Criteria) this; - } - - public Criteria andKeywordsIsNotNull() { - addCriterion("keywords is not null"); - return (Criteria) this; - } - - public Criteria andKeywordsEqualTo(String value) { - addCriterion("keywords =", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotEqualTo(String value) { - addCriterion("keywords <>", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsGreaterThan(String value) { - addCriterion("keywords >", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsGreaterThanOrEqualTo(String value) { - addCriterion("keywords >=", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsLessThan(String value) { - addCriterion("keywords <", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsLessThanOrEqualTo(String value) { - addCriterion("keywords <=", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsLike(String value) { - addCriterion("keywords like", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotLike(String value) { - addCriterion("keywords not like", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsIn(List values) { - addCriterion("keywords in", values, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotIn(List values) { - addCriterion("keywords not in", values, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsBetween(String value1, String value2) { - addCriterion("keywords between", value1, value2, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotBetween(String value1, String value2) { - addCriterion("keywords not between", value1, value2, "keywords"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java index 71561c0..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java @@ -1,2601 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class PmsProductExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andBrandIdIsNull() { - addCriterion("brand_id is null"); - return (Criteria) this; - } - - public Criteria andBrandIdIsNotNull() { - addCriterion("brand_id is not null"); - return (Criteria) this; - } - - public Criteria andBrandIdEqualTo(Long value) { - addCriterion("brand_id =", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdNotEqualTo(Long value) { - addCriterion("brand_id <>", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdGreaterThan(Long value) { - addCriterion("brand_id >", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdGreaterThanOrEqualTo(Long value) { - addCriterion("brand_id >=", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdLessThan(Long value) { - addCriterion("brand_id <", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdLessThanOrEqualTo(Long value) { - addCriterion("brand_id <=", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdIn(List values) { - addCriterion("brand_id in", values, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdNotIn(List values) { - addCriterion("brand_id not in", values, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdBetween(Long value1, Long value2) { - addCriterion("brand_id between", value1, value2, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdNotBetween(Long value1, Long value2) { - addCriterion("brand_id not between", value1, value2, "brandId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNull() { - addCriterion("product_category_id is null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNotNull() { - addCriterion("product_category_id is not null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdEqualTo(Long value) { - addCriterion("product_category_id =", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotEqualTo(Long value) { - addCriterion("product_category_id <>", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThan(Long value) { - addCriterion("product_category_id >", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_category_id >=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThan(Long value) { - addCriterion("product_category_id <", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_category_id <=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIn(List values) { - addCriterion("product_category_id in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotIn(List values) { - addCriterion("product_category_id not in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_category_id between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_category_id not between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdIsNull() { - addCriterion("feight_template_id is null"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdIsNotNull() { - addCriterion("feight_template_id is not null"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdEqualTo(Long value) { - addCriterion("feight_template_id =", value, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdNotEqualTo(Long value) { - addCriterion("feight_template_id <>", value, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdGreaterThan(Long value) { - addCriterion("feight_template_id >", value, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdGreaterThanOrEqualTo(Long value) { - addCriterion("feight_template_id >=", value, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdLessThan(Long value) { - addCriterion("feight_template_id <", value, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdLessThanOrEqualTo(Long value) { - addCriterion("feight_template_id <=", value, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdIn(List values) { - addCriterion("feight_template_id in", values, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdNotIn(List values) { - addCriterion("feight_template_id not in", values, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdBetween(Long value1, Long value2) { - addCriterion("feight_template_id between", value1, value2, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andFeightTemplateIdNotBetween(Long value1, Long value2) { - addCriterion("feight_template_id not between", value1, value2, "feightTemplateId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdIsNull() { - addCriterion("product_attribute_category_id is null"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdIsNotNull() { - addCriterion("product_attribute_category_id is not null"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdEqualTo(Long value) { - addCriterion("product_attribute_category_id =", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdNotEqualTo(Long value) { - addCriterion("product_attribute_category_id <>", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdGreaterThan(Long value) { - addCriterion("product_attribute_category_id >", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_attribute_category_id >=", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdLessThan(Long value) { - addCriterion("product_attribute_category_id <", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_attribute_category_id <=", value, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdIn(List values) { - addCriterion("product_attribute_category_id in", values, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdNotIn(List values) { - addCriterion("product_attribute_category_id not in", values, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_attribute_category_id between", value1, value2, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andProductAttributeCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_attribute_category_id not between", value1, value2, "productAttributeCategoryId"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andPicIsNull() { - addCriterion("pic is null"); - return (Criteria) this; - } - - public Criteria andPicIsNotNull() { - addCriterion("pic is not null"); - return (Criteria) this; - } - - public Criteria andPicEqualTo(String value) { - addCriterion("pic =", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotEqualTo(String value) { - addCriterion("pic <>", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThan(String value) { - addCriterion("pic >", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThanOrEqualTo(String value) { - addCriterion("pic >=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThan(String value) { - addCriterion("pic <", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThanOrEqualTo(String value) { - addCriterion("pic <=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLike(String value) { - addCriterion("pic like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotLike(String value) { - addCriterion("pic not like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicIn(List values) { - addCriterion("pic in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotIn(List values) { - addCriterion("pic not in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicBetween(String value1, String value2) { - addCriterion("pic between", value1, value2, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotBetween(String value1, String value2) { - addCriterion("pic not between", value1, value2, "pic"); - return (Criteria) this; - } - - public Criteria andProductSnIsNull() { - addCriterion("product_sn is null"); - return (Criteria) this; - } - - public Criteria andProductSnIsNotNull() { - addCriterion("product_sn is not null"); - return (Criteria) this; - } - - public Criteria andProductSnEqualTo(String value) { - addCriterion("product_sn =", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotEqualTo(String value) { - addCriterion("product_sn <>", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnGreaterThan(String value) { - addCriterion("product_sn >", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnGreaterThanOrEqualTo(String value) { - addCriterion("product_sn >=", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLessThan(String value) { - addCriterion("product_sn <", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLessThanOrEqualTo(String value) { - addCriterion("product_sn <=", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLike(String value) { - addCriterion("product_sn like", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotLike(String value) { - addCriterion("product_sn not like", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnIn(List values) { - addCriterion("product_sn in", values, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotIn(List values) { - addCriterion("product_sn not in", values, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnBetween(String value1, String value2) { - addCriterion("product_sn between", value1, value2, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotBetween(String value1, String value2) { - addCriterion("product_sn not between", value1, value2, "productSn"); - return (Criteria) this; - } - - public Criteria andDeleteStatusIsNull() { - addCriterion("delete_status is null"); - return (Criteria) this; - } - - public Criteria andDeleteStatusIsNotNull() { - addCriterion("delete_status is not null"); - return (Criteria) this; - } - - public Criteria andDeleteStatusEqualTo(Integer value) { - addCriterion("delete_status =", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusNotEqualTo(Integer value) { - addCriterion("delete_status <>", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusGreaterThan(Integer value) { - addCriterion("delete_status >", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("delete_status >=", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusLessThan(Integer value) { - addCriterion("delete_status <", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) { - addCriterion("delete_status <=", value, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusIn(List values) { - addCriterion("delete_status in", values, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusNotIn(List values) { - addCriterion("delete_status not in", values, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusBetween(Integer value1, Integer value2) { - addCriterion("delete_status between", value1, value2, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) { - addCriterion("delete_status not between", value1, value2, "deleteStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusIsNull() { - addCriterion("publish_status is null"); - return (Criteria) this; - } - - public Criteria andPublishStatusIsNotNull() { - addCriterion("publish_status is not null"); - return (Criteria) this; - } - - public Criteria andPublishStatusEqualTo(Integer value) { - addCriterion("publish_status =", value, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusNotEqualTo(Integer value) { - addCriterion("publish_status <>", value, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusGreaterThan(Integer value) { - addCriterion("publish_status >", value, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("publish_status >=", value, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusLessThan(Integer value) { - addCriterion("publish_status <", value, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusLessThanOrEqualTo(Integer value) { - addCriterion("publish_status <=", value, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusIn(List values) { - addCriterion("publish_status in", values, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusNotIn(List values) { - addCriterion("publish_status not in", values, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusBetween(Integer value1, Integer value2) { - addCriterion("publish_status between", value1, value2, "publishStatus"); - return (Criteria) this; - } - - public Criteria andPublishStatusNotBetween(Integer value1, Integer value2) { - addCriterion("publish_status not between", value1, value2, "publishStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusIsNull() { - addCriterion("new_status is null"); - return (Criteria) this; - } - - public Criteria andNewStatusIsNotNull() { - addCriterion("new_status is not null"); - return (Criteria) this; - } - - public Criteria andNewStatusEqualTo(Integer value) { - addCriterion("new_status =", value, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusNotEqualTo(Integer value) { - addCriterion("new_status <>", value, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusGreaterThan(Integer value) { - addCriterion("new_status >", value, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("new_status >=", value, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusLessThan(Integer value) { - addCriterion("new_status <", value, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusLessThanOrEqualTo(Integer value) { - addCriterion("new_status <=", value, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusIn(List values) { - addCriterion("new_status in", values, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusNotIn(List values) { - addCriterion("new_status not in", values, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusBetween(Integer value1, Integer value2) { - addCriterion("new_status between", value1, value2, "newStatus"); - return (Criteria) this; - } - - public Criteria andNewStatusNotBetween(Integer value1, Integer value2) { - addCriterion("new_status not between", value1, value2, "newStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusIsNull() { - addCriterion("recommand_status is null"); - return (Criteria) this; - } - - public Criteria andRecommandStatusIsNotNull() { - addCriterion("recommand_status is not null"); - return (Criteria) this; - } - - public Criteria andRecommandStatusEqualTo(Integer value) { - addCriterion("recommand_status =", value, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusNotEqualTo(Integer value) { - addCriterion("recommand_status <>", value, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusGreaterThan(Integer value) { - addCriterion("recommand_status >", value, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("recommand_status >=", value, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusLessThan(Integer value) { - addCriterion("recommand_status <", value, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusLessThanOrEqualTo(Integer value) { - addCriterion("recommand_status <=", value, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusIn(List values) { - addCriterion("recommand_status in", values, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusNotIn(List values) { - addCriterion("recommand_status not in", values, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusBetween(Integer value1, Integer value2) { - addCriterion("recommand_status between", value1, value2, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andRecommandStatusNotBetween(Integer value1, Integer value2) { - addCriterion("recommand_status not between", value1, value2, "recommandStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusIsNull() { - addCriterion("verify_status is null"); - return (Criteria) this; - } - - public Criteria andVerifyStatusIsNotNull() { - addCriterion("verify_status is not null"); - return (Criteria) this; - } - - public Criteria andVerifyStatusEqualTo(Integer value) { - addCriterion("verify_status =", value, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusNotEqualTo(Integer value) { - addCriterion("verify_status <>", value, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusGreaterThan(Integer value) { - addCriterion("verify_status >", value, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("verify_status >=", value, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusLessThan(Integer value) { - addCriterion("verify_status <", value, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusLessThanOrEqualTo(Integer value) { - addCriterion("verify_status <=", value, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusIn(List values) { - addCriterion("verify_status in", values, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusNotIn(List values) { - addCriterion("verify_status not in", values, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusBetween(Integer value1, Integer value2) { - addCriterion("verify_status between", value1, value2, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andVerifyStatusNotBetween(Integer value1, Integer value2) { - addCriterion("verify_status not between", value1, value2, "verifyStatus"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSaleIsNull() { - addCriterion("sale is null"); - return (Criteria) this; - } - - public Criteria andSaleIsNotNull() { - addCriterion("sale is not null"); - return (Criteria) this; - } - - public Criteria andSaleEqualTo(Integer value) { - addCriterion("sale =", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleNotEqualTo(Integer value) { - addCriterion("sale <>", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleGreaterThan(Integer value) { - addCriterion("sale >", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleGreaterThanOrEqualTo(Integer value) { - addCriterion("sale >=", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleLessThan(Integer value) { - addCriterion("sale <", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleLessThanOrEqualTo(Integer value) { - addCriterion("sale <=", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleIn(List values) { - addCriterion("sale in", values, "sale"); - return (Criteria) this; - } - - public Criteria andSaleNotIn(List values) { - addCriterion("sale not in", values, "sale"); - return (Criteria) this; - } - - public Criteria andSaleBetween(Integer value1, Integer value2) { - addCriterion("sale between", value1, value2, "sale"); - return (Criteria) this; - } - - public Criteria andSaleNotBetween(Integer value1, Integer value2) { - addCriterion("sale not between", value1, value2, "sale"); - return (Criteria) this; - } - - public Criteria andPriceIsNull() { - addCriterion("price is null"); - return (Criteria) this; - } - - public Criteria andPriceIsNotNull() { - addCriterion("price is not null"); - return (Criteria) this; - } - - public Criteria andPriceEqualTo(BigDecimal value) { - addCriterion("price =", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotEqualTo(BigDecimal value) { - addCriterion("price <>", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThan(BigDecimal value) { - addCriterion("price >", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("price >=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThan(BigDecimal value) { - addCriterion("price <", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("price <=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceIn(List values) { - addCriterion("price in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotIn(List values) { - addCriterion("price not in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price not between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andPromotionPriceIsNull() { - addCriterion("promotion_price is null"); - return (Criteria) this; - } - - public Criteria andPromotionPriceIsNotNull() { - addCriterion("promotion_price is not null"); - return (Criteria) this; - } - - public Criteria andPromotionPriceEqualTo(BigDecimal value) { - addCriterion("promotion_price =", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceNotEqualTo(BigDecimal value) { - addCriterion("promotion_price <>", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceGreaterThan(BigDecimal value) { - addCriterion("promotion_price >", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_price >=", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceLessThan(BigDecimal value) { - addCriterion("promotion_price <", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_price <=", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceIn(List values) { - addCriterion("promotion_price in", values, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceNotIn(List values) { - addCriterion("promotion_price not in", values, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_price between", value1, value2, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_price not between", value1, value2, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andGiftGrowthIsNull() { - addCriterion("gift_growth is null"); - return (Criteria) this; - } - - public Criteria andGiftGrowthIsNotNull() { - addCriterion("gift_growth is not null"); - return (Criteria) this; - } - - public Criteria andGiftGrowthEqualTo(Integer value) { - addCriterion("gift_growth =", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthNotEqualTo(Integer value) { - addCriterion("gift_growth <>", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthGreaterThan(Integer value) { - addCriterion("gift_growth >", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthGreaterThanOrEqualTo(Integer value) { - addCriterion("gift_growth >=", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthLessThan(Integer value) { - addCriterion("gift_growth <", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthLessThanOrEqualTo(Integer value) { - addCriterion("gift_growth <=", value, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthIn(List values) { - addCriterion("gift_growth in", values, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthNotIn(List values) { - addCriterion("gift_growth not in", values, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthBetween(Integer value1, Integer value2) { - addCriterion("gift_growth between", value1, value2, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftGrowthNotBetween(Integer value1, Integer value2) { - addCriterion("gift_growth not between", value1, value2, "giftGrowth"); - return (Criteria) this; - } - - public Criteria andGiftPointIsNull() { - addCriterion("gift_point is null"); - return (Criteria) this; - } - - public Criteria andGiftPointIsNotNull() { - addCriterion("gift_point is not null"); - return (Criteria) this; - } - - public Criteria andGiftPointEqualTo(Integer value) { - addCriterion("gift_point =", value, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointNotEqualTo(Integer value) { - addCriterion("gift_point <>", value, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointGreaterThan(Integer value) { - addCriterion("gift_point >", value, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointGreaterThanOrEqualTo(Integer value) { - addCriterion("gift_point >=", value, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointLessThan(Integer value) { - addCriterion("gift_point <", value, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointLessThanOrEqualTo(Integer value) { - addCriterion("gift_point <=", value, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointIn(List values) { - addCriterion("gift_point in", values, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointNotIn(List values) { - addCriterion("gift_point not in", values, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointBetween(Integer value1, Integer value2) { - addCriterion("gift_point between", value1, value2, "giftPoint"); - return (Criteria) this; - } - - public Criteria andGiftPointNotBetween(Integer value1, Integer value2) { - addCriterion("gift_point not between", value1, value2, "giftPoint"); - return (Criteria) this; - } - - public Criteria andUsePointLimitIsNull() { - addCriterion("use_point_limit is null"); - return (Criteria) this; - } - - public Criteria andUsePointLimitIsNotNull() { - addCriterion("use_point_limit is not null"); - return (Criteria) this; - } - - public Criteria andUsePointLimitEqualTo(Integer value) { - addCriterion("use_point_limit =", value, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNotEqualTo(Integer value) { - addCriterion("use_point_limit <>", value, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitGreaterThan(Integer value) { - addCriterion("use_point_limit >", value, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitGreaterThanOrEqualTo(Integer value) { - addCriterion("use_point_limit >=", value, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitLessThan(Integer value) { - addCriterion("use_point_limit <", value, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitLessThanOrEqualTo(Integer value) { - addCriterion("use_point_limit <=", value, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitIn(List values) { - addCriterion("use_point_limit in", values, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNotIn(List values) { - addCriterion("use_point_limit not in", values, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitBetween(Integer value1, Integer value2) { - addCriterion("use_point_limit between", value1, value2, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNotBetween(Integer value1, Integer value2) { - addCriterion("use_point_limit not between", value1, value2, "usePointLimit"); - return (Criteria) this; - } - - public Criteria andSubTitleIsNull() { - addCriterion("sub_title is null"); - return (Criteria) this; - } - - public Criteria andSubTitleIsNotNull() { - addCriterion("sub_title is not null"); - return (Criteria) this; - } - - public Criteria andSubTitleEqualTo(String value) { - addCriterion("sub_title =", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotEqualTo(String value) { - addCriterion("sub_title <>", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleGreaterThan(String value) { - addCriterion("sub_title >", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleGreaterThanOrEqualTo(String value) { - addCriterion("sub_title >=", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleLessThan(String value) { - addCriterion("sub_title <", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleLessThanOrEqualTo(String value) { - addCriterion("sub_title <=", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleLike(String value) { - addCriterion("sub_title like", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotLike(String value) { - addCriterion("sub_title not like", value, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleIn(List values) { - addCriterion("sub_title in", values, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotIn(List values) { - addCriterion("sub_title not in", values, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleBetween(String value1, String value2) { - addCriterion("sub_title between", value1, value2, "subTitle"); - return (Criteria) this; - } - - public Criteria andSubTitleNotBetween(String value1, String value2) { - addCriterion("sub_title not between", value1, value2, "subTitle"); - return (Criteria) this; - } - - public Criteria andOriginalPriceIsNull() { - addCriterion("original_price is null"); - return (Criteria) this; - } - - public Criteria andOriginalPriceIsNotNull() { - addCriterion("original_price is not null"); - return (Criteria) this; - } - - public Criteria andOriginalPriceEqualTo(BigDecimal value) { - addCriterion("original_price =", value, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceNotEqualTo(BigDecimal value) { - addCriterion("original_price <>", value, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceGreaterThan(BigDecimal value) { - addCriterion("original_price >", value, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("original_price >=", value, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceLessThan(BigDecimal value) { - addCriterion("original_price <", value, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("original_price <=", value, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceIn(List values) { - addCriterion("original_price in", values, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceNotIn(List values) { - addCriterion("original_price not in", values, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("original_price between", value1, value2, "originalPrice"); - return (Criteria) this; - } - - public Criteria andOriginalPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("original_price not between", value1, value2, "originalPrice"); - return (Criteria) this; - } - - public Criteria andStockIsNull() { - addCriterion("stock is null"); - return (Criteria) this; - } - - public Criteria andStockIsNotNull() { - addCriterion("stock is not null"); - return (Criteria) this; - } - - public Criteria andStockEqualTo(Integer value) { - addCriterion("stock =", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockNotEqualTo(Integer value) { - addCriterion("stock <>", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockGreaterThan(Integer value) { - addCriterion("stock >", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockGreaterThanOrEqualTo(Integer value) { - addCriterion("stock >=", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockLessThan(Integer value) { - addCriterion("stock <", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockLessThanOrEqualTo(Integer value) { - addCriterion("stock <=", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockIn(List values) { - addCriterion("stock in", values, "stock"); - return (Criteria) this; - } - - public Criteria andStockNotIn(List values) { - addCriterion("stock not in", values, "stock"); - return (Criteria) this; - } - - public Criteria andStockBetween(Integer value1, Integer value2) { - addCriterion("stock between", value1, value2, "stock"); - return (Criteria) this; - } - - public Criteria andStockNotBetween(Integer value1, Integer value2) { - addCriterion("stock not between", value1, value2, "stock"); - return (Criteria) this; - } - - public Criteria andLowStockIsNull() { - addCriterion("low_stock is null"); - return (Criteria) this; - } - - public Criteria andLowStockIsNotNull() { - addCriterion("low_stock is not null"); - return (Criteria) this; - } - - public Criteria andLowStockEqualTo(Integer value) { - addCriterion("low_stock =", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockNotEqualTo(Integer value) { - addCriterion("low_stock <>", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockGreaterThan(Integer value) { - addCriterion("low_stock >", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockGreaterThanOrEqualTo(Integer value) { - addCriterion("low_stock >=", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockLessThan(Integer value) { - addCriterion("low_stock <", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockLessThanOrEqualTo(Integer value) { - addCriterion("low_stock <=", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockIn(List values) { - addCriterion("low_stock in", values, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockNotIn(List values) { - addCriterion("low_stock not in", values, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockBetween(Integer value1, Integer value2) { - addCriterion("low_stock between", value1, value2, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockNotBetween(Integer value1, Integer value2) { - addCriterion("low_stock not between", value1, value2, "lowStock"); - return (Criteria) this; - } - - public Criteria andUnitIsNull() { - addCriterion("unit is null"); - return (Criteria) this; - } - - public Criteria andUnitIsNotNull() { - addCriterion("unit is not null"); - return (Criteria) this; - } - - public Criteria andUnitEqualTo(String value) { - addCriterion("unit =", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotEqualTo(String value) { - addCriterion("unit <>", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitGreaterThan(String value) { - addCriterion("unit >", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitGreaterThanOrEqualTo(String value) { - addCriterion("unit >=", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLessThan(String value) { - addCriterion("unit <", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLessThanOrEqualTo(String value) { - addCriterion("unit <=", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLike(String value) { - addCriterion("unit like", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotLike(String value) { - addCriterion("unit not like", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitIn(List values) { - addCriterion("unit in", values, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotIn(List values) { - addCriterion("unit not in", values, "unit"); - return (Criteria) this; - } - - public Criteria andUnitBetween(String value1, String value2) { - addCriterion("unit between", value1, value2, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotBetween(String value1, String value2) { - addCriterion("unit not between", value1, value2, "unit"); - return (Criteria) this; - } - - public Criteria andWeightIsNull() { - addCriterion("weight is null"); - return (Criteria) this; - } - - public Criteria andWeightIsNotNull() { - addCriterion("weight is not null"); - return (Criteria) this; - } - - public Criteria andWeightEqualTo(BigDecimal value) { - addCriterion("weight =", value, "weight"); - return (Criteria) this; - } - - public Criteria andWeightNotEqualTo(BigDecimal value) { - addCriterion("weight <>", value, "weight"); - return (Criteria) this; - } - - public Criteria andWeightGreaterThan(BigDecimal value) { - addCriterion("weight >", value, "weight"); - return (Criteria) this; - } - - public Criteria andWeightGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("weight >=", value, "weight"); - return (Criteria) this; - } - - public Criteria andWeightLessThan(BigDecimal value) { - addCriterion("weight <", value, "weight"); - return (Criteria) this; - } - - public Criteria andWeightLessThanOrEqualTo(BigDecimal value) { - addCriterion("weight <=", value, "weight"); - return (Criteria) this; - } - - public Criteria andWeightIn(List values) { - addCriterion("weight in", values, "weight"); - return (Criteria) this; - } - - public Criteria andWeightNotIn(List values) { - addCriterion("weight not in", values, "weight"); - return (Criteria) this; - } - - public Criteria andWeightBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("weight between", value1, value2, "weight"); - return (Criteria) this; - } - - public Criteria andWeightNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("weight not between", value1, value2, "weight"); - return (Criteria) this; - } - - public Criteria andPreviewStatusIsNull() { - addCriterion("preview_status is null"); - return (Criteria) this; - } - - public Criteria andPreviewStatusIsNotNull() { - addCriterion("preview_status is not null"); - return (Criteria) this; - } - - public Criteria andPreviewStatusEqualTo(Integer value) { - addCriterion("preview_status =", value, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusNotEqualTo(Integer value) { - addCriterion("preview_status <>", value, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusGreaterThan(Integer value) { - addCriterion("preview_status >", value, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("preview_status >=", value, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusLessThan(Integer value) { - addCriterion("preview_status <", value, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusLessThanOrEqualTo(Integer value) { - addCriterion("preview_status <=", value, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusIn(List values) { - addCriterion("preview_status in", values, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusNotIn(List values) { - addCriterion("preview_status not in", values, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusBetween(Integer value1, Integer value2) { - addCriterion("preview_status between", value1, value2, "previewStatus"); - return (Criteria) this; - } - - public Criteria andPreviewStatusNotBetween(Integer value1, Integer value2) { - addCriterion("preview_status not between", value1, value2, "previewStatus"); - return (Criteria) this; - } - - public Criteria andServiceIdsIsNull() { - addCriterion("service_ids is null"); - return (Criteria) this; - } - - public Criteria andServiceIdsIsNotNull() { - addCriterion("service_ids is not null"); - return (Criteria) this; - } - - public Criteria andServiceIdsEqualTo(String value) { - addCriterion("service_ids =", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsNotEqualTo(String value) { - addCriterion("service_ids <>", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsGreaterThan(String value) { - addCriterion("service_ids >", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsGreaterThanOrEqualTo(String value) { - addCriterion("service_ids >=", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsLessThan(String value) { - addCriterion("service_ids <", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsLessThanOrEqualTo(String value) { - addCriterion("service_ids <=", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsLike(String value) { - addCriterion("service_ids like", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsNotLike(String value) { - addCriterion("service_ids not like", value, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsIn(List values) { - addCriterion("service_ids in", values, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsNotIn(List values) { - addCriterion("service_ids not in", values, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsBetween(String value1, String value2) { - addCriterion("service_ids between", value1, value2, "serviceIds"); - return (Criteria) this; - } - - public Criteria andServiceIdsNotBetween(String value1, String value2) { - addCriterion("service_ids not between", value1, value2, "serviceIds"); - return (Criteria) this; - } - - public Criteria andKeywordsIsNull() { - addCriterion("keywords is null"); - return (Criteria) this; - } - - public Criteria andKeywordsIsNotNull() { - addCriterion("keywords is not null"); - return (Criteria) this; - } - - public Criteria andKeywordsEqualTo(String value) { - addCriterion("keywords =", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotEqualTo(String value) { - addCriterion("keywords <>", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsGreaterThan(String value) { - addCriterion("keywords >", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsGreaterThanOrEqualTo(String value) { - addCriterion("keywords >=", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsLessThan(String value) { - addCriterion("keywords <", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsLessThanOrEqualTo(String value) { - addCriterion("keywords <=", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsLike(String value) { - addCriterion("keywords like", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotLike(String value) { - addCriterion("keywords not like", value, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsIn(List values) { - addCriterion("keywords in", values, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotIn(List values) { - addCriterion("keywords not in", values, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsBetween(String value1, String value2) { - addCriterion("keywords between", value1, value2, "keywords"); - return (Criteria) this; - } - - public Criteria andKeywordsNotBetween(String value1, String value2) { - addCriterion("keywords not between", value1, value2, "keywords"); - return (Criteria) this; - } - - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andAlbumPicsIsNull() { - addCriterion("album_pics is null"); - return (Criteria) this; - } - - public Criteria andAlbumPicsIsNotNull() { - addCriterion("album_pics is not null"); - return (Criteria) this; - } - - public Criteria andAlbumPicsEqualTo(String value) { - addCriterion("album_pics =", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsNotEqualTo(String value) { - addCriterion("album_pics <>", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsGreaterThan(String value) { - addCriterion("album_pics >", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsGreaterThanOrEqualTo(String value) { - addCriterion("album_pics >=", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsLessThan(String value) { - addCriterion("album_pics <", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsLessThanOrEqualTo(String value) { - addCriterion("album_pics <=", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsLike(String value) { - addCriterion("album_pics like", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsNotLike(String value) { - addCriterion("album_pics not like", value, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsIn(List values) { - addCriterion("album_pics in", values, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsNotIn(List values) { - addCriterion("album_pics not in", values, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsBetween(String value1, String value2) { - addCriterion("album_pics between", value1, value2, "albumPics"); - return (Criteria) this; - } - - public Criteria andAlbumPicsNotBetween(String value1, String value2) { - addCriterion("album_pics not between", value1, value2, "albumPics"); - return (Criteria) this; - } - - public Criteria andDetailTitleIsNull() { - addCriterion("detail_title is null"); - return (Criteria) this; - } - - public Criteria andDetailTitleIsNotNull() { - addCriterion("detail_title is not null"); - return (Criteria) this; - } - - public Criteria andDetailTitleEqualTo(String value) { - addCriterion("detail_title =", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleNotEqualTo(String value) { - addCriterion("detail_title <>", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleGreaterThan(String value) { - addCriterion("detail_title >", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleGreaterThanOrEqualTo(String value) { - addCriterion("detail_title >=", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleLessThan(String value) { - addCriterion("detail_title <", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleLessThanOrEqualTo(String value) { - addCriterion("detail_title <=", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleLike(String value) { - addCriterion("detail_title like", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleNotLike(String value) { - addCriterion("detail_title not like", value, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleIn(List values) { - addCriterion("detail_title in", values, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleNotIn(List values) { - addCriterion("detail_title not in", values, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleBetween(String value1, String value2) { - addCriterion("detail_title between", value1, value2, "detailTitle"); - return (Criteria) this; - } - - public Criteria andDetailTitleNotBetween(String value1, String value2) { - addCriterion("detail_title not between", value1, value2, "detailTitle"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeIsNull() { - addCriterion("promotion_start_time is null"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeIsNotNull() { - addCriterion("promotion_start_time is not null"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeEqualTo(Date value) { - addCriterion("promotion_start_time =", value, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeNotEqualTo(Date value) { - addCriterion("promotion_start_time <>", value, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeGreaterThan(Date value) { - addCriterion("promotion_start_time >", value, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeGreaterThanOrEqualTo(Date value) { - addCriterion("promotion_start_time >=", value, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeLessThan(Date value) { - addCriterion("promotion_start_time <", value, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeLessThanOrEqualTo(Date value) { - addCriterion("promotion_start_time <=", value, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeIn(List values) { - addCriterion("promotion_start_time in", values, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeNotIn(List values) { - addCriterion("promotion_start_time not in", values, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeBetween(Date value1, Date value2) { - addCriterion("promotion_start_time between", value1, value2, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionStartTimeNotBetween(Date value1, Date value2) { - addCriterion("promotion_start_time not between", value1, value2, "promotionStartTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeIsNull() { - addCriterion("promotion_end_time is null"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeIsNotNull() { - addCriterion("promotion_end_time is not null"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeEqualTo(Date value) { - addCriterion("promotion_end_time =", value, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeNotEqualTo(Date value) { - addCriterion("promotion_end_time <>", value, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeGreaterThan(Date value) { - addCriterion("promotion_end_time >", value, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeGreaterThanOrEqualTo(Date value) { - addCriterion("promotion_end_time >=", value, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeLessThan(Date value) { - addCriterion("promotion_end_time <", value, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeLessThanOrEqualTo(Date value) { - addCriterion("promotion_end_time <=", value, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeIn(List values) { - addCriterion("promotion_end_time in", values, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeNotIn(List values) { - addCriterion("promotion_end_time not in", values, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeBetween(Date value1, Date value2) { - addCriterion("promotion_end_time between", value1, value2, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionEndTimeNotBetween(Date value1, Date value2) { - addCriterion("promotion_end_time not between", value1, value2, "promotionEndTime"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitIsNull() { - addCriterion("promotion_per_limit is null"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitIsNotNull() { - addCriterion("promotion_per_limit is not null"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitEqualTo(Integer value) { - addCriterion("promotion_per_limit =", value, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitNotEqualTo(Integer value) { - addCriterion("promotion_per_limit <>", value, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitGreaterThan(Integer value) { - addCriterion("promotion_per_limit >", value, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitGreaterThanOrEqualTo(Integer value) { - addCriterion("promotion_per_limit >=", value, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitLessThan(Integer value) { - addCriterion("promotion_per_limit <", value, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitLessThanOrEqualTo(Integer value) { - addCriterion("promotion_per_limit <=", value, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitIn(List values) { - addCriterion("promotion_per_limit in", values, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitNotIn(List values) { - addCriterion("promotion_per_limit not in", values, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitBetween(Integer value1, Integer value2) { - addCriterion("promotion_per_limit between", value1, value2, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionPerLimitNotBetween(Integer value1, Integer value2) { - addCriterion("promotion_per_limit not between", value1, value2, "promotionPerLimit"); - return (Criteria) this; - } - - public Criteria andPromotionTypeIsNull() { - addCriterion("promotion_type is null"); - return (Criteria) this; - } - - public Criteria andPromotionTypeIsNotNull() { - addCriterion("promotion_type is not null"); - return (Criteria) this; - } - - public Criteria andPromotionTypeEqualTo(Integer value) { - addCriterion("promotion_type =", value, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeNotEqualTo(Integer value) { - addCriterion("promotion_type <>", value, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeGreaterThan(Integer value) { - addCriterion("promotion_type >", value, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("promotion_type >=", value, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeLessThan(Integer value) { - addCriterion("promotion_type <", value, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeLessThanOrEqualTo(Integer value) { - addCriterion("promotion_type <=", value, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeIn(List values) { - addCriterion("promotion_type in", values, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeNotIn(List values) { - addCriterion("promotion_type not in", values, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeBetween(Integer value1, Integer value2) { - addCriterion("promotion_type between", value1, value2, "promotionType"); - return (Criteria) this; - } - - public Criteria andPromotionTypeNotBetween(Integer value1, Integer value2) { - addCriterion("promotion_type not between", value1, value2, "promotionType"); - return (Criteria) this; - } - - public Criteria andBrandNameIsNull() { - addCriterion("brand_name is null"); - return (Criteria) this; - } - - public Criteria andBrandNameIsNotNull() { - addCriterion("brand_name is not null"); - return (Criteria) this; - } - - public Criteria andBrandNameEqualTo(String value) { - addCriterion("brand_name =", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotEqualTo(String value) { - addCriterion("brand_name <>", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameGreaterThan(String value) { - addCriterion("brand_name >", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameGreaterThanOrEqualTo(String value) { - addCriterion("brand_name >=", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameLessThan(String value) { - addCriterion("brand_name <", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameLessThanOrEqualTo(String value) { - addCriterion("brand_name <=", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameLike(String value) { - addCriterion("brand_name like", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotLike(String value) { - addCriterion("brand_name not like", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameIn(List values) { - addCriterion("brand_name in", values, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotIn(List values) { - addCriterion("brand_name not in", values, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameBetween(String value1, String value2) { - addCriterion("brand_name between", value1, value2, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotBetween(String value1, String value2) { - addCriterion("brand_name not between", value1, value2, "brandName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameIsNull() { - addCriterion("product_category_name is null"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameIsNotNull() { - addCriterion("product_category_name is not null"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameEqualTo(String value) { - addCriterion("product_category_name =", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotEqualTo(String value) { - addCriterion("product_category_name <>", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameGreaterThan(String value) { - addCriterion("product_category_name >", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameGreaterThanOrEqualTo(String value) { - addCriterion("product_category_name >=", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameLessThan(String value) { - addCriterion("product_category_name <", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameLessThanOrEqualTo(String value) { - addCriterion("product_category_name <=", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameLike(String value) { - addCriterion("product_category_name like", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotLike(String value) { - addCriterion("product_category_name not like", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameIn(List values) { - addCriterion("product_category_name in", values, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotIn(List values) { - addCriterion("product_category_name not in", values, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameBetween(String value1, String value2) { - addCriterion("product_category_name between", value1, value2, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotBetween(String value1, String value2) { - addCriterion("product_category_name not between", value1, value2, "productCategoryName"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java index ad40de0..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java @@ -1,64 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsProductFullReduction implements Serializable { - private Long id; - - private Long productId; - - private BigDecimal fullPrice; - - private BigDecimal reducePrice; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public BigDecimal getFullPrice() { - return fullPrice; - } - - public void setFullPrice(BigDecimal fullPrice) { - this.fullPrice = fullPrice; - } - - public BigDecimal getReducePrice() { - return reducePrice; - } - - public void setReducePrice(BigDecimal reducePrice) { - this.reducePrice = reducePrice; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", fullPrice=").append(fullPrice); - sb.append(", reducePrice=").append(reducePrice); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java index f1a9d70..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java @@ -1,440 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class PmsProductFullReductionExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductFullReductionExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andFullPriceIsNull() { - addCriterion("full_price is null"); - return (Criteria) this; - } - - public Criteria andFullPriceIsNotNull() { - addCriterion("full_price is not null"); - return (Criteria) this; - } - - public Criteria andFullPriceEqualTo(BigDecimal value) { - addCriterion("full_price =", value, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceNotEqualTo(BigDecimal value) { - addCriterion("full_price <>", value, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceGreaterThan(BigDecimal value) { - addCriterion("full_price >", value, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("full_price >=", value, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceLessThan(BigDecimal value) { - addCriterion("full_price <", value, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("full_price <=", value, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceIn(List values) { - addCriterion("full_price in", values, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceNotIn(List values) { - addCriterion("full_price not in", values, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("full_price between", value1, value2, "fullPrice"); - return (Criteria) this; - } - - public Criteria andFullPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("full_price not between", value1, value2, "fullPrice"); - return (Criteria) this; - } - - public Criteria andReducePriceIsNull() { - addCriterion("reduce_price is null"); - return (Criteria) this; - } - - public Criteria andReducePriceIsNotNull() { - addCriterion("reduce_price is not null"); - return (Criteria) this; - } - - public Criteria andReducePriceEqualTo(BigDecimal value) { - addCriterion("reduce_price =", value, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceNotEqualTo(BigDecimal value) { - addCriterion("reduce_price <>", value, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceGreaterThan(BigDecimal value) { - addCriterion("reduce_price >", value, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("reduce_price >=", value, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceLessThan(BigDecimal value) { - addCriterion("reduce_price <", value, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("reduce_price <=", value, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceIn(List values) { - addCriterion("reduce_price in", values, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceNotIn(List values) { - addCriterion("reduce_price not in", values, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("reduce_price between", value1, value2, "reducePrice"); - return (Criteria) this; - } - - public Criteria andReducePriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("reduce_price not between", value1, value2, "reducePrice"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java index 30c622e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java @@ -1,78 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsProductLadder implements Serializable { - private Long id; - - private Long productId; - - @ApiModelProperty(value = "满足的商品数量") - private Integer count; - - @ApiModelProperty(value = "折扣") - private BigDecimal discount; - - @ApiModelProperty(value = "折后价格") - private BigDecimal price; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public Integer getCount() { - return count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public BigDecimal getDiscount() { - return discount; - } - - public void setDiscount(BigDecimal discount) { - this.discount = discount; - } - - public BigDecimal getPrice() { - return price; - } - - public void setPrice(BigDecimal price) { - this.price = price; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", count=").append(count); - sb.append(", discount=").append(discount); - sb.append(", price=").append(price); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java index c27e415..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java @@ -1,500 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class PmsProductLadderExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductLadderExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andCountIsNull() { - addCriterion("count is null"); - return (Criteria) this; - } - - public Criteria andCountIsNotNull() { - addCriterion("count is not null"); - return (Criteria) this; - } - - public Criteria andCountEqualTo(Integer value) { - addCriterion("count =", value, "count"); - return (Criteria) this; - } - - public Criteria andCountNotEqualTo(Integer value) { - addCriterion("count <>", value, "count"); - return (Criteria) this; - } - - public Criteria andCountGreaterThan(Integer value) { - addCriterion("count >", value, "count"); - return (Criteria) this; - } - - public Criteria andCountGreaterThanOrEqualTo(Integer value) { - addCriterion("count >=", value, "count"); - return (Criteria) this; - } - - public Criteria andCountLessThan(Integer value) { - addCriterion("count <", value, "count"); - return (Criteria) this; - } - - public Criteria andCountLessThanOrEqualTo(Integer value) { - addCriterion("count <=", value, "count"); - return (Criteria) this; - } - - public Criteria andCountIn(List values) { - addCriterion("count in", values, "count"); - return (Criteria) this; - } - - public Criteria andCountNotIn(List values) { - addCriterion("count not in", values, "count"); - return (Criteria) this; - } - - public Criteria andCountBetween(Integer value1, Integer value2) { - addCriterion("count between", value1, value2, "count"); - return (Criteria) this; - } - - public Criteria andCountNotBetween(Integer value1, Integer value2) { - addCriterion("count not between", value1, value2, "count"); - return (Criteria) this; - } - - public Criteria andDiscountIsNull() { - addCriterion("discount is null"); - return (Criteria) this; - } - - public Criteria andDiscountIsNotNull() { - addCriterion("discount is not null"); - return (Criteria) this; - } - - public Criteria andDiscountEqualTo(BigDecimal value) { - addCriterion("discount =", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountNotEqualTo(BigDecimal value) { - addCriterion("discount <>", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountGreaterThan(BigDecimal value) { - addCriterion("discount >", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("discount >=", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountLessThan(BigDecimal value) { - addCriterion("discount <", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountLessThanOrEqualTo(BigDecimal value) { - addCriterion("discount <=", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountIn(List values) { - addCriterion("discount in", values, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountNotIn(List values) { - addCriterion("discount not in", values, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("discount between", value1, value2, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("discount not between", value1, value2, "discount"); - return (Criteria) this; - } - - public Criteria andPriceIsNull() { - addCriterion("price is null"); - return (Criteria) this; - } - - public Criteria andPriceIsNotNull() { - addCriterion("price is not null"); - return (Criteria) this; - } - - public Criteria andPriceEqualTo(BigDecimal value) { - addCriterion("price =", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotEqualTo(BigDecimal value) { - addCriterion("price <>", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThan(BigDecimal value) { - addCriterion("price >", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("price >=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThan(BigDecimal value) { - addCriterion("price <", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("price <=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceIn(List values) { - addCriterion("price in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotIn(List values) { - addCriterion("price not in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price not between", value1, value2, "price"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java index 4cc507f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java @@ -1,155 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -public class PmsProductOperateLog implements Serializable { - private Long id; - - private Long productId; - - private BigDecimal priceOld; - - private BigDecimal priceNew; - - private BigDecimal salePriceOld; - - private BigDecimal salePriceNew; - - @ApiModelProperty(value = "赠送的积分") - private Integer giftPointOld; - - private Integer giftPointNew; - - private Integer usePointLimitOld; - - private Integer usePointLimitNew; - - @ApiModelProperty(value = "操作人") - private String operateMan; - - private Date createTime; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public BigDecimal getPriceOld() { - return priceOld; - } - - public void setPriceOld(BigDecimal priceOld) { - this.priceOld = priceOld; - } - - public BigDecimal getPriceNew() { - return priceNew; - } - - public void setPriceNew(BigDecimal priceNew) { - this.priceNew = priceNew; - } - - public BigDecimal getSalePriceOld() { - return salePriceOld; - } - - public void setSalePriceOld(BigDecimal salePriceOld) { - this.salePriceOld = salePriceOld; - } - - public BigDecimal getSalePriceNew() { - return salePriceNew; - } - - public void setSalePriceNew(BigDecimal salePriceNew) { - this.salePriceNew = salePriceNew; - } - - public Integer getGiftPointOld() { - return giftPointOld; - } - - public void setGiftPointOld(Integer giftPointOld) { - this.giftPointOld = giftPointOld; - } - - public Integer getGiftPointNew() { - return giftPointNew; - } - - public void setGiftPointNew(Integer giftPointNew) { - this.giftPointNew = giftPointNew; - } - - public Integer getUsePointLimitOld() { - return usePointLimitOld; - } - - public void setUsePointLimitOld(Integer usePointLimitOld) { - this.usePointLimitOld = usePointLimitOld; - } - - public Integer getUsePointLimitNew() { - return usePointLimitNew; - } - - public void setUsePointLimitNew(Integer usePointLimitNew) { - this.usePointLimitNew = usePointLimitNew; - } - - public String getOperateMan() { - return operateMan; - } - - public void setOperateMan(String operateMan) { - this.operateMan = operateMan; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", priceOld=").append(priceOld); - sb.append(", priceNew=").append(priceNew); - sb.append(", salePriceOld=").append(salePriceOld); - sb.append(", salePriceNew=").append(salePriceNew); - sb.append(", giftPointOld=").append(giftPointOld); - sb.append(", giftPointNew=").append(giftPointNew); - sb.append(", usePointLimitOld=").append(usePointLimitOld); - sb.append(", usePointLimitNew=").append(usePointLimitNew); - sb.append(", operateMan=").append(operateMan); - sb.append(", createTime=").append(createTime); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java index 3a66910..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java @@ -1,931 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class PmsProductOperateLogExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductOperateLogExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andPriceOldIsNull() { - addCriterion("price_old is null"); - return (Criteria) this; - } - - public Criteria andPriceOldIsNotNull() { - addCriterion("price_old is not null"); - return (Criteria) this; - } - - public Criteria andPriceOldEqualTo(BigDecimal value) { - addCriterion("price_old =", value, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldNotEqualTo(BigDecimal value) { - addCriterion("price_old <>", value, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldGreaterThan(BigDecimal value) { - addCriterion("price_old >", value, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("price_old >=", value, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldLessThan(BigDecimal value) { - addCriterion("price_old <", value, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldLessThanOrEqualTo(BigDecimal value) { - addCriterion("price_old <=", value, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldIn(List values) { - addCriterion("price_old in", values, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldNotIn(List values) { - addCriterion("price_old not in", values, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price_old between", value1, value2, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceOldNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price_old not between", value1, value2, "priceOld"); - return (Criteria) this; - } - - public Criteria andPriceNewIsNull() { - addCriterion("price_new is null"); - return (Criteria) this; - } - - public Criteria andPriceNewIsNotNull() { - addCriterion("price_new is not null"); - return (Criteria) this; - } - - public Criteria andPriceNewEqualTo(BigDecimal value) { - addCriterion("price_new =", value, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewNotEqualTo(BigDecimal value) { - addCriterion("price_new <>", value, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewGreaterThan(BigDecimal value) { - addCriterion("price_new >", value, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("price_new >=", value, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewLessThan(BigDecimal value) { - addCriterion("price_new <", value, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewLessThanOrEqualTo(BigDecimal value) { - addCriterion("price_new <=", value, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewIn(List values) { - addCriterion("price_new in", values, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewNotIn(List values) { - addCriterion("price_new not in", values, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price_new between", value1, value2, "priceNew"); - return (Criteria) this; - } - - public Criteria andPriceNewNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price_new not between", value1, value2, "priceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceOldIsNull() { - addCriterion("sale_price_old is null"); - return (Criteria) this; - } - - public Criteria andSalePriceOldIsNotNull() { - addCriterion("sale_price_old is not null"); - return (Criteria) this; - } - - public Criteria andSalePriceOldEqualTo(BigDecimal value) { - addCriterion("sale_price_old =", value, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldNotEqualTo(BigDecimal value) { - addCriterion("sale_price_old <>", value, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldGreaterThan(BigDecimal value) { - addCriterion("sale_price_old >", value, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("sale_price_old >=", value, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldLessThan(BigDecimal value) { - addCriterion("sale_price_old <", value, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldLessThanOrEqualTo(BigDecimal value) { - addCriterion("sale_price_old <=", value, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldIn(List values) { - addCriterion("sale_price_old in", values, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldNotIn(List values) { - addCriterion("sale_price_old not in", values, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("sale_price_old between", value1, value2, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceOldNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("sale_price_old not between", value1, value2, "salePriceOld"); - return (Criteria) this; - } - - public Criteria andSalePriceNewIsNull() { - addCriterion("sale_price_new is null"); - return (Criteria) this; - } - - public Criteria andSalePriceNewIsNotNull() { - addCriterion("sale_price_new is not null"); - return (Criteria) this; - } - - public Criteria andSalePriceNewEqualTo(BigDecimal value) { - addCriterion("sale_price_new =", value, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewNotEqualTo(BigDecimal value) { - addCriterion("sale_price_new <>", value, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewGreaterThan(BigDecimal value) { - addCriterion("sale_price_new >", value, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("sale_price_new >=", value, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewLessThan(BigDecimal value) { - addCriterion("sale_price_new <", value, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewLessThanOrEqualTo(BigDecimal value) { - addCriterion("sale_price_new <=", value, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewIn(List values) { - addCriterion("sale_price_new in", values, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewNotIn(List values) { - addCriterion("sale_price_new not in", values, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("sale_price_new between", value1, value2, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andSalePriceNewNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("sale_price_new not between", value1, value2, "salePriceNew"); - return (Criteria) this; - } - - public Criteria andGiftPointOldIsNull() { - addCriterion("gift_point_old is null"); - return (Criteria) this; - } - - public Criteria andGiftPointOldIsNotNull() { - addCriterion("gift_point_old is not null"); - return (Criteria) this; - } - - public Criteria andGiftPointOldEqualTo(Integer value) { - addCriterion("gift_point_old =", value, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldNotEqualTo(Integer value) { - addCriterion("gift_point_old <>", value, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldGreaterThan(Integer value) { - addCriterion("gift_point_old >", value, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldGreaterThanOrEqualTo(Integer value) { - addCriterion("gift_point_old >=", value, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldLessThan(Integer value) { - addCriterion("gift_point_old <", value, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldLessThanOrEqualTo(Integer value) { - addCriterion("gift_point_old <=", value, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldIn(List values) { - addCriterion("gift_point_old in", values, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldNotIn(List values) { - addCriterion("gift_point_old not in", values, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldBetween(Integer value1, Integer value2) { - addCriterion("gift_point_old between", value1, value2, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointOldNotBetween(Integer value1, Integer value2) { - addCriterion("gift_point_old not between", value1, value2, "giftPointOld"); - return (Criteria) this; - } - - public Criteria andGiftPointNewIsNull() { - addCriterion("gift_point_new is null"); - return (Criteria) this; - } - - public Criteria andGiftPointNewIsNotNull() { - addCriterion("gift_point_new is not null"); - return (Criteria) this; - } - - public Criteria andGiftPointNewEqualTo(Integer value) { - addCriterion("gift_point_new =", value, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewNotEqualTo(Integer value) { - addCriterion("gift_point_new <>", value, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewGreaterThan(Integer value) { - addCriterion("gift_point_new >", value, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewGreaterThanOrEqualTo(Integer value) { - addCriterion("gift_point_new >=", value, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewLessThan(Integer value) { - addCriterion("gift_point_new <", value, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewLessThanOrEqualTo(Integer value) { - addCriterion("gift_point_new <=", value, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewIn(List values) { - addCriterion("gift_point_new in", values, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewNotIn(List values) { - addCriterion("gift_point_new not in", values, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewBetween(Integer value1, Integer value2) { - addCriterion("gift_point_new between", value1, value2, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andGiftPointNewNotBetween(Integer value1, Integer value2) { - addCriterion("gift_point_new not between", value1, value2, "giftPointNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldIsNull() { - addCriterion("use_point_limit_old is null"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldIsNotNull() { - addCriterion("use_point_limit_old is not null"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldEqualTo(Integer value) { - addCriterion("use_point_limit_old =", value, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldNotEqualTo(Integer value) { - addCriterion("use_point_limit_old <>", value, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldGreaterThan(Integer value) { - addCriterion("use_point_limit_old >", value, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldGreaterThanOrEqualTo(Integer value) { - addCriterion("use_point_limit_old >=", value, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldLessThan(Integer value) { - addCriterion("use_point_limit_old <", value, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldLessThanOrEqualTo(Integer value) { - addCriterion("use_point_limit_old <=", value, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldIn(List values) { - addCriterion("use_point_limit_old in", values, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldNotIn(List values) { - addCriterion("use_point_limit_old not in", values, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldBetween(Integer value1, Integer value2) { - addCriterion("use_point_limit_old between", value1, value2, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitOldNotBetween(Integer value1, Integer value2) { - addCriterion("use_point_limit_old not between", value1, value2, "usePointLimitOld"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewIsNull() { - addCriterion("use_point_limit_new is null"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewIsNotNull() { - addCriterion("use_point_limit_new is not null"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewEqualTo(Integer value) { - addCriterion("use_point_limit_new =", value, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewNotEqualTo(Integer value) { - addCriterion("use_point_limit_new <>", value, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewGreaterThan(Integer value) { - addCriterion("use_point_limit_new >", value, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewGreaterThanOrEqualTo(Integer value) { - addCriterion("use_point_limit_new >=", value, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewLessThan(Integer value) { - addCriterion("use_point_limit_new <", value, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewLessThanOrEqualTo(Integer value) { - addCriterion("use_point_limit_new <=", value, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewIn(List values) { - addCriterion("use_point_limit_new in", values, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewNotIn(List values) { - addCriterion("use_point_limit_new not in", values, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewBetween(Integer value1, Integer value2) { - addCriterion("use_point_limit_new between", value1, value2, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andUsePointLimitNewNotBetween(Integer value1, Integer value2) { - addCriterion("use_point_limit_new not between", value1, value2, "usePointLimitNew"); - return (Criteria) this; - } - - public Criteria andOperateManIsNull() { - addCriterion("operate_man is null"); - return (Criteria) this; - } - - public Criteria andOperateManIsNotNull() { - addCriterion("operate_man is not null"); - return (Criteria) this; - } - - public Criteria andOperateManEqualTo(String value) { - addCriterion("operate_man =", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotEqualTo(String value) { - addCriterion("operate_man <>", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThan(String value) { - addCriterion("operate_man >", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThanOrEqualTo(String value) { - addCriterion("operate_man >=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThan(String value) { - addCriterion("operate_man <", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThanOrEqualTo(String value) { - addCriterion("operate_man <=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLike(String value) { - addCriterion("operate_man like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotLike(String value) { - addCriterion("operate_man not like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManIn(List values) { - addCriterion("operate_man in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotIn(List values) { - addCriterion("operate_man not in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManBetween(String value1, String value2) { - addCriterion("operate_man between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotBetween(String value1, String value2) { - addCriterion("operate_man not between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java index 3057e9b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java @@ -1,88 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class PmsProductVertifyRecord implements Serializable { - private Long id; - - private Long productId; - - private Date createTime; - - @ApiModelProperty(value = "审核人") - private String vertifyMan; - - private Integer status; - - @ApiModelProperty(value = "反馈详情") - private String detail; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getVertifyMan() { - return vertifyMan; - } - - public void setVertifyMan(String vertifyMan) { - this.vertifyMan = vertifyMan; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public String getDetail() { - return detail; - } - - public void setDetail(String detail) { - this.detail = detail; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", createTime=").append(createTime); - sb.append(", vertifyMan=").append(vertifyMan); - sb.append(", status=").append(status); - sb.append(", detail=").append(detail); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java index c9fb11f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java @@ -1,580 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class PmsProductVertifyRecordExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsProductVertifyRecordExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andVertifyManIsNull() { - addCriterion("vertify_man is null"); - return (Criteria) this; - } - - public Criteria andVertifyManIsNotNull() { - addCriterion("vertify_man is not null"); - return (Criteria) this; - } - - public Criteria andVertifyManEqualTo(String value) { - addCriterion("vertify_man =", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManNotEqualTo(String value) { - addCriterion("vertify_man <>", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManGreaterThan(String value) { - addCriterion("vertify_man >", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManGreaterThanOrEqualTo(String value) { - addCriterion("vertify_man >=", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManLessThan(String value) { - addCriterion("vertify_man <", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManLessThanOrEqualTo(String value) { - addCriterion("vertify_man <=", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManLike(String value) { - addCriterion("vertify_man like", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManNotLike(String value) { - addCriterion("vertify_man not like", value, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManIn(List values) { - addCriterion("vertify_man in", values, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManNotIn(List values) { - addCriterion("vertify_man not in", values, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManBetween(String value1, String value2) { - addCriterion("vertify_man between", value1, value2, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andVertifyManNotBetween(String value1, String value2) { - addCriterion("vertify_man not between", value1, value2, "vertifyMan"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andDetailIsNull() { - addCriterion("detail is null"); - return (Criteria) this; - } - - public Criteria andDetailIsNotNull() { - addCriterion("detail is not null"); - return (Criteria) this; - } - - public Criteria andDetailEqualTo(String value) { - addCriterion("detail =", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailNotEqualTo(String value) { - addCriterion("detail <>", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailGreaterThan(String value) { - addCriterion("detail >", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailGreaterThanOrEqualTo(String value) { - addCriterion("detail >=", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailLessThan(String value) { - addCriterion("detail <", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailLessThanOrEqualTo(String value) { - addCriterion("detail <=", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailLike(String value) { - addCriterion("detail like", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailNotLike(String value) { - addCriterion("detail not like", value, "detail"); - return (Criteria) this; - } - - public Criteria andDetailIn(List values) { - addCriterion("detail in", values, "detail"); - return (Criteria) this; - } - - public Criteria andDetailNotIn(List values) { - addCriterion("detail not in", values, "detail"); - return (Criteria) this; - } - - public Criteria andDetailBetween(String value1, String value2) { - addCriterion("detail between", value1, value2, "detail"); - return (Criteria) this; - } - - public Criteria andDetailNotBetween(String value1, String value2) { - addCriterion("detail not between", value1, value2, "detail"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java index 0653776..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java @@ -1,149 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsSkuStock implements Serializable { - private Long id; - - private Long productId; - - @ApiModelProperty(value = "sku编码") - private String skuCode; - - private BigDecimal price; - - @ApiModelProperty(value = "库存") - private Integer stock; - - @ApiModelProperty(value = "预警库存") - private Integer lowStock; - - @ApiModelProperty(value = "展示图片") - private String pic; - - @ApiModelProperty(value = "销量") - private Integer sale; - - @ApiModelProperty(value = "单品促销价格") - private BigDecimal promotionPrice; - - @ApiModelProperty(value = "锁定库存") - private Integer lockStock; - - @ApiModelProperty(value = "商品销售属性,json格式") - private String spData; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public String getSkuCode() { - return skuCode; - } - - public void setSkuCode(String skuCode) { - this.skuCode = skuCode; - } - - public BigDecimal getPrice() { - return price; - } - - public void setPrice(BigDecimal price) { - this.price = price; - } - - public Integer getStock() { - return stock; - } - - public void setStock(Integer stock) { - this.stock = stock; - } - - public Integer getLowStock() { - return lowStock; - } - - public void setLowStock(Integer lowStock) { - this.lowStock = lowStock; - } - - public String getPic() { - return pic; - } - - public void setPic(String pic) { - this.pic = pic; - } - - public Integer getSale() { - return sale; - } - - public void setSale(Integer sale) { - this.sale = sale; - } - - public BigDecimal getPromotionPrice() { - return promotionPrice; - } - - public void setPromotionPrice(BigDecimal promotionPrice) { - this.promotionPrice = promotionPrice; - } - - public Integer getLockStock() { - return lockStock; - } - - public void setLockStock(Integer lockStock) { - this.lockStock = lockStock; - } - - public String getSpData() { - return spData; - } - - public void setSpData(String spData) { - this.spData = spData; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", skuCode=").append(skuCode); - sb.append(", price=").append(price); - sb.append(", stock=").append(stock); - sb.append(", lowStock=").append(lowStock); - sb.append(", pic=").append(pic); - sb.append(", sale=").append(sale); - sb.append(", promotionPrice=").append(promotionPrice); - sb.append(", lockStock=").append(lockStock); - sb.append(", spData=").append(spData); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java index 8b6cc77..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java @@ -1,890 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class PmsSkuStockExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public PmsSkuStockExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andSkuCodeIsNull() { - addCriterion("sku_code is null"); - return (Criteria) this; - } - - public Criteria andSkuCodeIsNotNull() { - addCriterion("sku_code is not null"); - return (Criteria) this; - } - - public Criteria andSkuCodeEqualTo(String value) { - addCriterion("sku_code =", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeNotEqualTo(String value) { - addCriterion("sku_code <>", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeGreaterThan(String value) { - addCriterion("sku_code >", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeGreaterThanOrEqualTo(String value) { - addCriterion("sku_code >=", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeLessThan(String value) { - addCriterion("sku_code <", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeLessThanOrEqualTo(String value) { - addCriterion("sku_code <=", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeLike(String value) { - addCriterion("sku_code like", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeNotLike(String value) { - addCriterion("sku_code not like", value, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeIn(List values) { - addCriterion("sku_code in", values, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeNotIn(List values) { - addCriterion("sku_code not in", values, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeBetween(String value1, String value2) { - addCriterion("sku_code between", value1, value2, "skuCode"); - return (Criteria) this; - } - - public Criteria andSkuCodeNotBetween(String value1, String value2) { - addCriterion("sku_code not between", value1, value2, "skuCode"); - return (Criteria) this; - } - - public Criteria andPriceIsNull() { - addCriterion("price is null"); - return (Criteria) this; - } - - public Criteria andPriceIsNotNull() { - addCriterion("price is not null"); - return (Criteria) this; - } - - public Criteria andPriceEqualTo(BigDecimal value) { - addCriterion("price =", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotEqualTo(BigDecimal value) { - addCriterion("price <>", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThan(BigDecimal value) { - addCriterion("price >", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("price >=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThan(BigDecimal value) { - addCriterion("price <", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("price <=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceIn(List values) { - addCriterion("price in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotIn(List values) { - addCriterion("price not in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price not between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andStockIsNull() { - addCriterion("stock is null"); - return (Criteria) this; - } - - public Criteria andStockIsNotNull() { - addCriterion("stock is not null"); - return (Criteria) this; - } - - public Criteria andStockEqualTo(Integer value) { - addCriterion("stock =", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockNotEqualTo(Integer value) { - addCriterion("stock <>", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockGreaterThan(Integer value) { - addCriterion("stock >", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockGreaterThanOrEqualTo(Integer value) { - addCriterion("stock >=", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockLessThan(Integer value) { - addCriterion("stock <", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockLessThanOrEqualTo(Integer value) { - addCriterion("stock <=", value, "stock"); - return (Criteria) this; - } - - public Criteria andStockIn(List values) { - addCriterion("stock in", values, "stock"); - return (Criteria) this; - } - - public Criteria andStockNotIn(List values) { - addCriterion("stock not in", values, "stock"); - return (Criteria) this; - } - - public Criteria andStockBetween(Integer value1, Integer value2) { - addCriterion("stock between", value1, value2, "stock"); - return (Criteria) this; - } - - public Criteria andStockNotBetween(Integer value1, Integer value2) { - addCriterion("stock not between", value1, value2, "stock"); - return (Criteria) this; - } - - public Criteria andLowStockIsNull() { - addCriterion("low_stock is null"); - return (Criteria) this; - } - - public Criteria andLowStockIsNotNull() { - addCriterion("low_stock is not null"); - return (Criteria) this; - } - - public Criteria andLowStockEqualTo(Integer value) { - addCriterion("low_stock =", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockNotEqualTo(Integer value) { - addCriterion("low_stock <>", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockGreaterThan(Integer value) { - addCriterion("low_stock >", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockGreaterThanOrEqualTo(Integer value) { - addCriterion("low_stock >=", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockLessThan(Integer value) { - addCriterion("low_stock <", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockLessThanOrEqualTo(Integer value) { - addCriterion("low_stock <=", value, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockIn(List values) { - addCriterion("low_stock in", values, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockNotIn(List values) { - addCriterion("low_stock not in", values, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockBetween(Integer value1, Integer value2) { - addCriterion("low_stock between", value1, value2, "lowStock"); - return (Criteria) this; - } - - public Criteria andLowStockNotBetween(Integer value1, Integer value2) { - addCriterion("low_stock not between", value1, value2, "lowStock"); - return (Criteria) this; - } - - public Criteria andPicIsNull() { - addCriterion("pic is null"); - return (Criteria) this; - } - - public Criteria andPicIsNotNull() { - addCriterion("pic is not null"); - return (Criteria) this; - } - - public Criteria andPicEqualTo(String value) { - addCriterion("pic =", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotEqualTo(String value) { - addCriterion("pic <>", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThan(String value) { - addCriterion("pic >", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThanOrEqualTo(String value) { - addCriterion("pic >=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThan(String value) { - addCriterion("pic <", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThanOrEqualTo(String value) { - addCriterion("pic <=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLike(String value) { - addCriterion("pic like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotLike(String value) { - addCriterion("pic not like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicIn(List values) { - addCriterion("pic in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotIn(List values) { - addCriterion("pic not in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicBetween(String value1, String value2) { - addCriterion("pic between", value1, value2, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotBetween(String value1, String value2) { - addCriterion("pic not between", value1, value2, "pic"); - return (Criteria) this; - } - - public Criteria andSaleIsNull() { - addCriterion("sale is null"); - return (Criteria) this; - } - - public Criteria andSaleIsNotNull() { - addCriterion("sale is not null"); - return (Criteria) this; - } - - public Criteria andSaleEqualTo(Integer value) { - addCriterion("sale =", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleNotEqualTo(Integer value) { - addCriterion("sale <>", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleGreaterThan(Integer value) { - addCriterion("sale >", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleGreaterThanOrEqualTo(Integer value) { - addCriterion("sale >=", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleLessThan(Integer value) { - addCriterion("sale <", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleLessThanOrEqualTo(Integer value) { - addCriterion("sale <=", value, "sale"); - return (Criteria) this; - } - - public Criteria andSaleIn(List values) { - addCriterion("sale in", values, "sale"); - return (Criteria) this; - } - - public Criteria andSaleNotIn(List values) { - addCriterion("sale not in", values, "sale"); - return (Criteria) this; - } - - public Criteria andSaleBetween(Integer value1, Integer value2) { - addCriterion("sale between", value1, value2, "sale"); - return (Criteria) this; - } - - public Criteria andSaleNotBetween(Integer value1, Integer value2) { - addCriterion("sale not between", value1, value2, "sale"); - return (Criteria) this; - } - - public Criteria andPromotionPriceIsNull() { - addCriterion("promotion_price is null"); - return (Criteria) this; - } - - public Criteria andPromotionPriceIsNotNull() { - addCriterion("promotion_price is not null"); - return (Criteria) this; - } - - public Criteria andPromotionPriceEqualTo(BigDecimal value) { - addCriterion("promotion_price =", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceNotEqualTo(BigDecimal value) { - addCriterion("promotion_price <>", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceGreaterThan(BigDecimal value) { - addCriterion("promotion_price >", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_price >=", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceLessThan(BigDecimal value) { - addCriterion("promotion_price <", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("promotion_price <=", value, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceIn(List values) { - addCriterion("promotion_price in", values, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceNotIn(List values) { - addCriterion("promotion_price not in", values, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_price between", value1, value2, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("promotion_price not between", value1, value2, "promotionPrice"); - return (Criteria) this; - } - - public Criteria andLockStockIsNull() { - addCriterion("lock_stock is null"); - return (Criteria) this; - } - - public Criteria andLockStockIsNotNull() { - addCriterion("lock_stock is not null"); - return (Criteria) this; - } - - public Criteria andLockStockEqualTo(Integer value) { - addCriterion("lock_stock =", value, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockNotEqualTo(Integer value) { - addCriterion("lock_stock <>", value, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockGreaterThan(Integer value) { - addCriterion("lock_stock >", value, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockGreaterThanOrEqualTo(Integer value) { - addCriterion("lock_stock >=", value, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockLessThan(Integer value) { - addCriterion("lock_stock <", value, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockLessThanOrEqualTo(Integer value) { - addCriterion("lock_stock <=", value, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockIn(List values) { - addCriterion("lock_stock in", values, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockNotIn(List values) { - addCriterion("lock_stock not in", values, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockBetween(Integer value1, Integer value2) { - addCriterion("lock_stock between", value1, value2, "lockStock"); - return (Criteria) this; - } - - public Criteria andLockStockNotBetween(Integer value1, Integer value2) { - addCriterion("lock_stock not between", value1, value2, "lockStock"); - return (Criteria) this; - } - - public Criteria andSpDataIsNull() { - addCriterion("sp_data is null"); - return (Criteria) this; - } - - public Criteria andSpDataIsNotNull() { - addCriterion("sp_data is not null"); - return (Criteria) this; - } - - public Criteria andSpDataEqualTo(String value) { - addCriterion("sp_data =", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotEqualTo(String value) { - addCriterion("sp_data <>", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataGreaterThan(String value) { - addCriterion("sp_data >", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataGreaterThanOrEqualTo(String value) { - addCriterion("sp_data >=", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataLessThan(String value) { - addCriterion("sp_data <", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataLessThanOrEqualTo(String value) { - addCriterion("sp_data <=", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataLike(String value) { - addCriterion("sp_data like", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotLike(String value) { - addCriterion("sp_data not like", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataIn(List values) { - addCriterion("sp_data in", values, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotIn(List values) { - addCriterion("sp_data not in", values, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataBetween(String value1, String value2) { - addCriterion("sp_data between", value1, value2, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotBetween(String value1, String value2) { - addCriterion("sp_data not between", value1, value2, "spData"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java index 9d38669..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java @@ -1,1311 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class SmsCouponExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsCouponExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andPlatformIsNull() { - addCriterion("platform is null"); - return (Criteria) this; - } - - public Criteria andPlatformIsNotNull() { - addCriterion("platform is not null"); - return (Criteria) this; - } - - public Criteria andPlatformEqualTo(Integer value) { - addCriterion("platform =", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformNotEqualTo(Integer value) { - addCriterion("platform <>", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformGreaterThan(Integer value) { - addCriterion("platform >", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformGreaterThanOrEqualTo(Integer value) { - addCriterion("platform >=", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformLessThan(Integer value) { - addCriterion("platform <", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformLessThanOrEqualTo(Integer value) { - addCriterion("platform <=", value, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformIn(List values) { - addCriterion("platform in", values, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformNotIn(List values) { - addCriterion("platform not in", values, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformBetween(Integer value1, Integer value2) { - addCriterion("platform between", value1, value2, "platform"); - return (Criteria) this; - } - - public Criteria andPlatformNotBetween(Integer value1, Integer value2) { - addCriterion("platform not between", value1, value2, "platform"); - return (Criteria) this; - } - - public Criteria andCountIsNull() { - addCriterion("count is null"); - return (Criteria) this; - } - - public Criteria andCountIsNotNull() { - addCriterion("count is not null"); - return (Criteria) this; - } - - public Criteria andCountEqualTo(Integer value) { - addCriterion("count =", value, "count"); - return (Criteria) this; - } - - public Criteria andCountNotEqualTo(Integer value) { - addCriterion("count <>", value, "count"); - return (Criteria) this; - } - - public Criteria andCountGreaterThan(Integer value) { - addCriterion("count >", value, "count"); - return (Criteria) this; - } - - public Criteria andCountGreaterThanOrEqualTo(Integer value) { - addCriterion("count >=", value, "count"); - return (Criteria) this; - } - - public Criteria andCountLessThan(Integer value) { - addCriterion("count <", value, "count"); - return (Criteria) this; - } - - public Criteria andCountLessThanOrEqualTo(Integer value) { - addCriterion("count <=", value, "count"); - return (Criteria) this; - } - - public Criteria andCountIn(List values) { - addCriterion("count in", values, "count"); - return (Criteria) this; - } - - public Criteria andCountNotIn(List values) { - addCriterion("count not in", values, "count"); - return (Criteria) this; - } - - public Criteria andCountBetween(Integer value1, Integer value2) { - addCriterion("count between", value1, value2, "count"); - return (Criteria) this; - } - - public Criteria andCountNotBetween(Integer value1, Integer value2) { - addCriterion("count not between", value1, value2, "count"); - return (Criteria) this; - } - - public Criteria andAmountIsNull() { - addCriterion("amount is null"); - return (Criteria) this; - } - - public Criteria andAmountIsNotNull() { - addCriterion("amount is not null"); - return (Criteria) this; - } - - public Criteria andAmountEqualTo(BigDecimal value) { - addCriterion("amount =", value, "amount"); - return (Criteria) this; - } - - public Criteria andAmountNotEqualTo(BigDecimal value) { - addCriterion("amount <>", value, "amount"); - return (Criteria) this; - } - - public Criteria andAmountGreaterThan(BigDecimal value) { - addCriterion("amount >", value, "amount"); - return (Criteria) this; - } - - public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("amount >=", value, "amount"); - return (Criteria) this; - } - - public Criteria andAmountLessThan(BigDecimal value) { - addCriterion("amount <", value, "amount"); - return (Criteria) this; - } - - public Criteria andAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("amount <=", value, "amount"); - return (Criteria) this; - } - - public Criteria andAmountIn(List values) { - addCriterion("amount in", values, "amount"); - return (Criteria) this; - } - - public Criteria andAmountNotIn(List values) { - addCriterion("amount not in", values, "amount"); - return (Criteria) this; - } - - public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("amount between", value1, value2, "amount"); - return (Criteria) this; - } - - public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("amount not between", value1, value2, "amount"); - return (Criteria) this; - } - - public Criteria andPerLimitIsNull() { - addCriterion("per_limit is null"); - return (Criteria) this; - } - - public Criteria andPerLimitIsNotNull() { - addCriterion("per_limit is not null"); - return (Criteria) this; - } - - public Criteria andPerLimitEqualTo(Integer value) { - addCriterion("per_limit =", value, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitNotEqualTo(Integer value) { - addCriterion("per_limit <>", value, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitGreaterThan(Integer value) { - addCriterion("per_limit >", value, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitGreaterThanOrEqualTo(Integer value) { - addCriterion("per_limit >=", value, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitLessThan(Integer value) { - addCriterion("per_limit <", value, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitLessThanOrEqualTo(Integer value) { - addCriterion("per_limit <=", value, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitIn(List values) { - addCriterion("per_limit in", values, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitNotIn(List values) { - addCriterion("per_limit not in", values, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitBetween(Integer value1, Integer value2) { - addCriterion("per_limit between", value1, value2, "perLimit"); - return (Criteria) this; - } - - public Criteria andPerLimitNotBetween(Integer value1, Integer value2) { - addCriterion("per_limit not between", value1, value2, "perLimit"); - return (Criteria) this; - } - - public Criteria andMinPointIsNull() { - addCriterion("min_point is null"); - return (Criteria) this; - } - - public Criteria andMinPointIsNotNull() { - addCriterion("min_point is not null"); - return (Criteria) this; - } - - public Criteria andMinPointEqualTo(BigDecimal value) { - addCriterion("min_point =", value, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointNotEqualTo(BigDecimal value) { - addCriterion("min_point <>", value, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointGreaterThan(BigDecimal value) { - addCriterion("min_point >", value, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("min_point >=", value, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointLessThan(BigDecimal value) { - addCriterion("min_point <", value, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointLessThanOrEqualTo(BigDecimal value) { - addCriterion("min_point <=", value, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointIn(List values) { - addCriterion("min_point in", values, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointNotIn(List values) { - addCriterion("min_point not in", values, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("min_point between", value1, value2, "minPoint"); - return (Criteria) this; - } - - public Criteria andMinPointNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("min_point not between", value1, value2, "minPoint"); - return (Criteria) this; - } - - public Criteria andStartTimeIsNull() { - addCriterion("start_time is null"); - return (Criteria) this; - } - - public Criteria andStartTimeIsNotNull() { - addCriterion("start_time is not null"); - return (Criteria) this; - } - - public Criteria andStartTimeEqualTo(Date value) { - addCriterion("start_time =", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotEqualTo(Date value) { - addCriterion("start_time <>", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeGreaterThan(Date value) { - addCriterion("start_time >", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { - addCriterion("start_time >=", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeLessThan(Date value) { - addCriterion("start_time <", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeLessThanOrEqualTo(Date value) { - addCriterion("start_time <=", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeIn(List values) { - addCriterion("start_time in", values, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotIn(List values) { - addCriterion("start_time not in", values, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeBetween(Date value1, Date value2) { - addCriterion("start_time between", value1, value2, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotBetween(Date value1, Date value2) { - addCriterion("start_time not between", value1, value2, "startTime"); - return (Criteria) this; - } - - public Criteria andEndTimeIsNull() { - addCriterion("end_time is null"); - return (Criteria) this; - } - - public Criteria andEndTimeIsNotNull() { - addCriterion("end_time is not null"); - return (Criteria) this; - } - - public Criteria andEndTimeEqualTo(Date value) { - addCriterion("end_time =", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotEqualTo(Date value) { - addCriterion("end_time <>", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeGreaterThan(Date value) { - addCriterion("end_time >", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { - addCriterion("end_time >=", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeLessThan(Date value) { - addCriterion("end_time <", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeLessThanOrEqualTo(Date value) { - addCriterion("end_time <=", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeIn(List values) { - addCriterion("end_time in", values, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotIn(List values) { - addCriterion("end_time not in", values, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeBetween(Date value1, Date value2) { - addCriterion("end_time between", value1, value2, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotBetween(Date value1, Date value2) { - addCriterion("end_time not between", value1, value2, "endTime"); - return (Criteria) this; - } - - public Criteria andUseTypeIsNull() { - addCriterion("use_type is null"); - return (Criteria) this; - } - - public Criteria andUseTypeIsNotNull() { - addCriterion("use_type is not null"); - return (Criteria) this; - } - - public Criteria andUseTypeEqualTo(Integer value) { - addCriterion("use_type =", value, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeNotEqualTo(Integer value) { - addCriterion("use_type <>", value, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeGreaterThan(Integer value) { - addCriterion("use_type >", value, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("use_type >=", value, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeLessThan(Integer value) { - addCriterion("use_type <", value, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeLessThanOrEqualTo(Integer value) { - addCriterion("use_type <=", value, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeIn(List values) { - addCriterion("use_type in", values, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeNotIn(List values) { - addCriterion("use_type not in", values, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeBetween(Integer value1, Integer value2) { - addCriterion("use_type between", value1, value2, "useType"); - return (Criteria) this; - } - - public Criteria andUseTypeNotBetween(Integer value1, Integer value2) { - addCriterion("use_type not between", value1, value2, "useType"); - return (Criteria) this; - } - - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andPublishCountIsNull() { - addCriterion("publish_count is null"); - return (Criteria) this; - } - - public Criteria andPublishCountIsNotNull() { - addCriterion("publish_count is not null"); - return (Criteria) this; - } - - public Criteria andPublishCountEqualTo(Integer value) { - addCriterion("publish_count =", value, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountNotEqualTo(Integer value) { - addCriterion("publish_count <>", value, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountGreaterThan(Integer value) { - addCriterion("publish_count >", value, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountGreaterThanOrEqualTo(Integer value) { - addCriterion("publish_count >=", value, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountLessThan(Integer value) { - addCriterion("publish_count <", value, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountLessThanOrEqualTo(Integer value) { - addCriterion("publish_count <=", value, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountIn(List values) { - addCriterion("publish_count in", values, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountNotIn(List values) { - addCriterion("publish_count not in", values, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountBetween(Integer value1, Integer value2) { - addCriterion("publish_count between", value1, value2, "publishCount"); - return (Criteria) this; - } - - public Criteria andPublishCountNotBetween(Integer value1, Integer value2) { - addCriterion("publish_count not between", value1, value2, "publishCount"); - return (Criteria) this; - } - - public Criteria andUseCountIsNull() { - addCriterion("use_count is null"); - return (Criteria) this; - } - - public Criteria andUseCountIsNotNull() { - addCriterion("use_count is not null"); - return (Criteria) this; - } - - public Criteria andUseCountEqualTo(Integer value) { - addCriterion("use_count =", value, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountNotEqualTo(Integer value) { - addCriterion("use_count <>", value, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountGreaterThan(Integer value) { - addCriterion("use_count >", value, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountGreaterThanOrEqualTo(Integer value) { - addCriterion("use_count >=", value, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountLessThan(Integer value) { - addCriterion("use_count <", value, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountLessThanOrEqualTo(Integer value) { - addCriterion("use_count <=", value, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountIn(List values) { - addCriterion("use_count in", values, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountNotIn(List values) { - addCriterion("use_count not in", values, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountBetween(Integer value1, Integer value2) { - addCriterion("use_count between", value1, value2, "useCount"); - return (Criteria) this; - } - - public Criteria andUseCountNotBetween(Integer value1, Integer value2) { - addCriterion("use_count not between", value1, value2, "useCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountIsNull() { - addCriterion("receive_count is null"); - return (Criteria) this; - } - - public Criteria andReceiveCountIsNotNull() { - addCriterion("receive_count is not null"); - return (Criteria) this; - } - - public Criteria andReceiveCountEqualTo(Integer value) { - addCriterion("receive_count =", value, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountNotEqualTo(Integer value) { - addCriterion("receive_count <>", value, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountGreaterThan(Integer value) { - addCriterion("receive_count >", value, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountGreaterThanOrEqualTo(Integer value) { - addCriterion("receive_count >=", value, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountLessThan(Integer value) { - addCriterion("receive_count <", value, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountLessThanOrEqualTo(Integer value) { - addCriterion("receive_count <=", value, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountIn(List values) { - addCriterion("receive_count in", values, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountNotIn(List values) { - addCriterion("receive_count not in", values, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountBetween(Integer value1, Integer value2) { - addCriterion("receive_count between", value1, value2, "receiveCount"); - return (Criteria) this; - } - - public Criteria andReceiveCountNotBetween(Integer value1, Integer value2) { - addCriterion("receive_count not between", value1, value2, "receiveCount"); - return (Criteria) this; - } - - public Criteria andEnableTimeIsNull() { - addCriterion("enable_time is null"); - return (Criteria) this; - } - - public Criteria andEnableTimeIsNotNull() { - addCriterion("enable_time is not null"); - return (Criteria) this; - } - - public Criteria andEnableTimeEqualTo(Date value) { - addCriterion("enable_time =", value, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeNotEqualTo(Date value) { - addCriterion("enable_time <>", value, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeGreaterThan(Date value) { - addCriterion("enable_time >", value, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeGreaterThanOrEqualTo(Date value) { - addCriterion("enable_time >=", value, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeLessThan(Date value) { - addCriterion("enable_time <", value, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeLessThanOrEqualTo(Date value) { - addCriterion("enable_time <=", value, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeIn(List values) { - addCriterion("enable_time in", values, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeNotIn(List values) { - addCriterion("enable_time not in", values, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeBetween(Date value1, Date value2) { - addCriterion("enable_time between", value1, value2, "enableTime"); - return (Criteria) this; - } - - public Criteria andEnableTimeNotBetween(Date value1, Date value2) { - addCriterion("enable_time not between", value1, value2, "enableTime"); - return (Criteria) this; - } - - public Criteria andCodeIsNull() { - addCriterion("code is null"); - return (Criteria) this; - } - - public Criteria andCodeIsNotNull() { - addCriterion("code is not null"); - return (Criteria) this; - } - - public Criteria andCodeEqualTo(String value) { - addCriterion("code =", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeNotEqualTo(String value) { - addCriterion("code <>", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeGreaterThan(String value) { - addCriterion("code >", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeGreaterThanOrEqualTo(String value) { - addCriterion("code >=", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeLessThan(String value) { - addCriterion("code <", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeLessThanOrEqualTo(String value) { - addCriterion("code <=", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeLike(String value) { - addCriterion("code like", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeNotLike(String value) { - addCriterion("code not like", value, "code"); - return (Criteria) this; - } - - public Criteria andCodeIn(List values) { - addCriterion("code in", values, "code"); - return (Criteria) this; - } - - public Criteria andCodeNotIn(List values) { - addCriterion("code not in", values, "code"); - return (Criteria) this; - } - - public Criteria andCodeBetween(String value1, String value2) { - addCriterion("code between", value1, value2, "code"); - return (Criteria) this; - } - - public Criteria andCodeNotBetween(String value1, String value2) { - addCriterion("code not between", value1, value2, "code"); - return (Criteria) this; - } - - public Criteria andMemberLevelIsNull() { - addCriterion("member_level is null"); - return (Criteria) this; - } - - public Criteria andMemberLevelIsNotNull() { - addCriterion("member_level is not null"); - return (Criteria) this; - } - - public Criteria andMemberLevelEqualTo(Integer value) { - addCriterion("member_level =", value, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelNotEqualTo(Integer value) { - addCriterion("member_level <>", value, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelGreaterThan(Integer value) { - addCriterion("member_level >", value, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelGreaterThanOrEqualTo(Integer value) { - addCriterion("member_level >=", value, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelLessThan(Integer value) { - addCriterion("member_level <", value, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelLessThanOrEqualTo(Integer value) { - addCriterion("member_level <=", value, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelIn(List values) { - addCriterion("member_level in", values, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelNotIn(List values) { - addCriterion("member_level not in", values, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelBetween(Integer value1, Integer value2) { - addCriterion("member_level between", value1, value2, "memberLevel"); - return (Criteria) this; - } - - public Criteria andMemberLevelNotBetween(Integer value1, Integer value2) { - addCriterion("member_level not between", value1, value2, "memberLevel"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java index 27bd2ff..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java @@ -1,890 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class SmsCouponHistoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsCouponHistoryExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNull() { - addCriterion("coupon_id is null"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNotNull() { - addCriterion("coupon_id is not null"); - return (Criteria) this; - } - - public Criteria andCouponIdEqualTo(Long value) { - addCriterion("coupon_id =", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotEqualTo(Long value) { - addCriterion("coupon_id <>", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThan(Long value) { - addCriterion("coupon_id >", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { - addCriterion("coupon_id >=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThan(Long value) { - addCriterion("coupon_id <", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThanOrEqualTo(Long value) { - addCriterion("coupon_id <=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdIn(List values) { - addCriterion("coupon_id in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotIn(List values) { - addCriterion("coupon_id not in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdBetween(Long value1, Long value2) { - addCriterion("coupon_id between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotBetween(Long value1, Long value2) { - addCriterion("coupon_id not between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andCouponCodeIsNull() { - addCriterion("coupon_code is null"); - return (Criteria) this; - } - - public Criteria andCouponCodeIsNotNull() { - addCriterion("coupon_code is not null"); - return (Criteria) this; - } - - public Criteria andCouponCodeEqualTo(String value) { - addCriterion("coupon_code =", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeNotEqualTo(String value) { - addCriterion("coupon_code <>", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeGreaterThan(String value) { - addCriterion("coupon_code >", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeGreaterThanOrEqualTo(String value) { - addCriterion("coupon_code >=", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeLessThan(String value) { - addCriterion("coupon_code <", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeLessThanOrEqualTo(String value) { - addCriterion("coupon_code <=", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeLike(String value) { - addCriterion("coupon_code like", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeNotLike(String value) { - addCriterion("coupon_code not like", value, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeIn(List values) { - addCriterion("coupon_code in", values, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeNotIn(List values) { - addCriterion("coupon_code not in", values, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeBetween(String value1, String value2) { - addCriterion("coupon_code between", value1, value2, "couponCode"); - return (Criteria) this; - } - - public Criteria andCouponCodeNotBetween(String value1, String value2) { - addCriterion("coupon_code not between", value1, value2, "couponCode"); - return (Criteria) this; - } - - public Criteria andMemberNicknameIsNull() { - addCriterion("member_nickname is null"); - return (Criteria) this; - } - - public Criteria andMemberNicknameIsNotNull() { - addCriterion("member_nickname is not null"); - return (Criteria) this; - } - - public Criteria andMemberNicknameEqualTo(String value) { - addCriterion("member_nickname =", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameNotEqualTo(String value) { - addCriterion("member_nickname <>", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameGreaterThan(String value) { - addCriterion("member_nickname >", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameGreaterThanOrEqualTo(String value) { - addCriterion("member_nickname >=", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameLessThan(String value) { - addCriterion("member_nickname <", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameLessThanOrEqualTo(String value) { - addCriterion("member_nickname <=", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameLike(String value) { - addCriterion("member_nickname like", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameNotLike(String value) { - addCriterion("member_nickname not like", value, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameIn(List values) { - addCriterion("member_nickname in", values, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameNotIn(List values) { - addCriterion("member_nickname not in", values, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameBetween(String value1, String value2) { - addCriterion("member_nickname between", value1, value2, "memberNickname"); - return (Criteria) this; - } - - public Criteria andMemberNicknameNotBetween(String value1, String value2) { - addCriterion("member_nickname not between", value1, value2, "memberNickname"); - return (Criteria) this; - } - - public Criteria andGetTypeIsNull() { - addCriterion("get_type is null"); - return (Criteria) this; - } - - public Criteria andGetTypeIsNotNull() { - addCriterion("get_type is not null"); - return (Criteria) this; - } - - public Criteria andGetTypeEqualTo(Integer value) { - addCriterion("get_type =", value, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeNotEqualTo(Integer value) { - addCriterion("get_type <>", value, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeGreaterThan(Integer value) { - addCriterion("get_type >", value, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("get_type >=", value, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeLessThan(Integer value) { - addCriterion("get_type <", value, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeLessThanOrEqualTo(Integer value) { - addCriterion("get_type <=", value, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeIn(List values) { - addCriterion("get_type in", values, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeNotIn(List values) { - addCriterion("get_type not in", values, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeBetween(Integer value1, Integer value2) { - addCriterion("get_type between", value1, value2, "getType"); - return (Criteria) this; - } - - public Criteria andGetTypeNotBetween(Integer value1, Integer value2) { - addCriterion("get_type not between", value1, value2, "getType"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andUseStatusIsNull() { - addCriterion("use_status is null"); - return (Criteria) this; - } - - public Criteria andUseStatusIsNotNull() { - addCriterion("use_status is not null"); - return (Criteria) this; - } - - public Criteria andUseStatusEqualTo(Integer value) { - addCriterion("use_status =", value, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusNotEqualTo(Integer value) { - addCriterion("use_status <>", value, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusGreaterThan(Integer value) { - addCriterion("use_status >", value, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("use_status >=", value, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusLessThan(Integer value) { - addCriterion("use_status <", value, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusLessThanOrEqualTo(Integer value) { - addCriterion("use_status <=", value, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusIn(List values) { - addCriterion("use_status in", values, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusNotIn(List values) { - addCriterion("use_status not in", values, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusBetween(Integer value1, Integer value2) { - addCriterion("use_status between", value1, value2, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseStatusNotBetween(Integer value1, Integer value2) { - addCriterion("use_status not between", value1, value2, "useStatus"); - return (Criteria) this; - } - - public Criteria andUseTimeIsNull() { - addCriterion("use_time is null"); - return (Criteria) this; - } - - public Criteria andUseTimeIsNotNull() { - addCriterion("use_time is not null"); - return (Criteria) this; - } - - public Criteria andUseTimeEqualTo(Date value) { - addCriterion("use_time =", value, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeNotEqualTo(Date value) { - addCriterion("use_time <>", value, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeGreaterThan(Date value) { - addCriterion("use_time >", value, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeGreaterThanOrEqualTo(Date value) { - addCriterion("use_time >=", value, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeLessThan(Date value) { - addCriterion("use_time <", value, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeLessThanOrEqualTo(Date value) { - addCriterion("use_time <=", value, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeIn(List values) { - addCriterion("use_time in", values, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeNotIn(List values) { - addCriterion("use_time not in", values, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeBetween(Date value1, Date value2) { - addCriterion("use_time between", value1, value2, "useTime"); - return (Criteria) this; - } - - public Criteria andUseTimeNotBetween(Date value1, Date value2) { - addCriterion("use_time not between", value1, value2, "useTime"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNull() { - addCriterion("order_id is null"); - return (Criteria) this; - } - - public Criteria andOrderIdIsNotNull() { - addCriterion("order_id is not null"); - return (Criteria) this; - } - - public Criteria andOrderIdEqualTo(Long value) { - addCriterion("order_id =", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotEqualTo(Long value) { - addCriterion("order_id <>", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThan(Long value) { - addCriterion("order_id >", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { - addCriterion("order_id >=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThan(Long value) { - addCriterion("order_id <", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdLessThanOrEqualTo(Long value) { - addCriterion("order_id <=", value, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdIn(List values) { - addCriterion("order_id in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotIn(List values) { - addCriterion("order_id not in", values, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdBetween(Long value1, Long value2) { - addCriterion("order_id between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderIdNotBetween(Long value1, Long value2) { - addCriterion("order_id not between", value1, value2, "orderId"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNull() { - addCriterion("order_sn is null"); - return (Criteria) this; - } - - public Criteria andOrderSnIsNotNull() { - addCriterion("order_sn is not null"); - return (Criteria) this; - } - - public Criteria andOrderSnEqualTo(String value) { - addCriterion("order_sn =", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotEqualTo(String value) { - addCriterion("order_sn <>", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThan(String value) { - addCriterion("order_sn >", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnGreaterThanOrEqualTo(String value) { - addCriterion("order_sn >=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThan(String value) { - addCriterion("order_sn <", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLessThanOrEqualTo(String value) { - addCriterion("order_sn <=", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnLike(String value) { - addCriterion("order_sn like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotLike(String value) { - addCriterion("order_sn not like", value, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnIn(List values) { - addCriterion("order_sn in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotIn(List values) { - addCriterion("order_sn not in", values, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnBetween(String value1, String value2) { - addCriterion("order_sn between", value1, value2, "orderSn"); - return (Criteria) this; - } - - public Criteria andOrderSnNotBetween(String value1, String value2) { - addCriterion("order_sn not between", value1, value2, "orderSn"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java index 496d472..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java @@ -1,76 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class SmsCouponProductCategoryRelation implements Serializable { - private Long id; - - private Long couponId; - - private Long productCategoryId; - - @ApiModelProperty(value = "产品分类名称") - private String productCategoryName; - - @ApiModelProperty(value = "父分类名称") - private String parentCategoryName; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getCouponId() { - return couponId; - } - - public void setCouponId(Long couponId) { - this.couponId = couponId; - } - - public Long getProductCategoryId() { - return productCategoryId; - } - - public void setProductCategoryId(Long productCategoryId) { - this.productCategoryId = productCategoryId; - } - - public String getProductCategoryName() { - return productCategoryName; - } - - public void setProductCategoryName(String productCategoryName) { - this.productCategoryName = productCategoryName; - } - - public String getParentCategoryName() { - return parentCategoryName; - } - - public void setParentCategoryName(String parentCategoryName) { - this.parentCategoryName = parentCategoryName; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", couponId=").append(couponId); - sb.append(", productCategoryId=").append(productCategoryId); - sb.append(", productCategoryName=").append(productCategoryName); - sb.append(", parentCategoryName=").append(parentCategoryName); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java index 76fe8df..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java @@ -1,519 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class SmsCouponProductCategoryRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsCouponProductCategoryRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNull() { - addCriterion("coupon_id is null"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNotNull() { - addCriterion("coupon_id is not null"); - return (Criteria) this; - } - - public Criteria andCouponIdEqualTo(Long value) { - addCriterion("coupon_id =", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotEqualTo(Long value) { - addCriterion("coupon_id <>", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThan(Long value) { - addCriterion("coupon_id >", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { - addCriterion("coupon_id >=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThan(Long value) { - addCriterion("coupon_id <", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThanOrEqualTo(Long value) { - addCriterion("coupon_id <=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdIn(List values) { - addCriterion("coupon_id in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotIn(List values) { - addCriterion("coupon_id not in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdBetween(Long value1, Long value2) { - addCriterion("coupon_id between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotBetween(Long value1, Long value2) { - addCriterion("coupon_id not between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNull() { - addCriterion("product_category_id is null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNotNull() { - addCriterion("product_category_id is not null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdEqualTo(Long value) { - addCriterion("product_category_id =", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotEqualTo(Long value) { - addCriterion("product_category_id <>", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThan(Long value) { - addCriterion("product_category_id >", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_category_id >=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThan(Long value) { - addCriterion("product_category_id <", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_category_id <=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIn(List values) { - addCriterion("product_category_id in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotIn(List values) { - addCriterion("product_category_id not in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_category_id between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_category_id not between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameIsNull() { - addCriterion("product_category_name is null"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameIsNotNull() { - addCriterion("product_category_name is not null"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameEqualTo(String value) { - addCriterion("product_category_name =", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotEqualTo(String value) { - addCriterion("product_category_name <>", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameGreaterThan(String value) { - addCriterion("product_category_name >", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameGreaterThanOrEqualTo(String value) { - addCriterion("product_category_name >=", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameLessThan(String value) { - addCriterion("product_category_name <", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameLessThanOrEqualTo(String value) { - addCriterion("product_category_name <=", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameLike(String value) { - addCriterion("product_category_name like", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotLike(String value) { - addCriterion("product_category_name not like", value, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameIn(List values) { - addCriterion("product_category_name in", values, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotIn(List values) { - addCriterion("product_category_name not in", values, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameBetween(String value1, String value2) { - addCriterion("product_category_name between", value1, value2, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andProductCategoryNameNotBetween(String value1, String value2) { - addCriterion("product_category_name not between", value1, value2, "productCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameIsNull() { - addCriterion("parent_category_name is null"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameIsNotNull() { - addCriterion("parent_category_name is not null"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameEqualTo(String value) { - addCriterion("parent_category_name =", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameNotEqualTo(String value) { - addCriterion("parent_category_name <>", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameGreaterThan(String value) { - addCriterion("parent_category_name >", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameGreaterThanOrEqualTo(String value) { - addCriterion("parent_category_name >=", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameLessThan(String value) { - addCriterion("parent_category_name <", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameLessThanOrEqualTo(String value) { - addCriterion("parent_category_name <=", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameLike(String value) { - addCriterion("parent_category_name like", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameNotLike(String value) { - addCriterion("parent_category_name not like", value, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameIn(List values) { - addCriterion("parent_category_name in", values, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameNotIn(List values) { - addCriterion("parent_category_name not in", values, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameBetween(String value1, String value2) { - addCriterion("parent_category_name between", value1, value2, "parentCategoryName"); - return (Criteria) this; - } - - public Criteria andParentCategoryNameNotBetween(String value1, String value2) { - addCriterion("parent_category_name not between", value1, value2, "parentCategoryName"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java index 2b6fcae..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java @@ -1,76 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class SmsCouponProductRelation implements Serializable { - private Long id; - - private Long couponId; - - private Long productId; - - @ApiModelProperty(value = "商品名称") - private String productName; - - @ApiModelProperty(value = "商品编码") - private String productSn; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getCouponId() { - return couponId; - } - - public void setCouponId(Long couponId) { - this.couponId = couponId; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public String getProductName() { - return productName; - } - - public void setProductName(String productName) { - this.productName = productName; - } - - public String getProductSn() { - return productSn; - } - - public void setProductSn(String productSn) { - this.productSn = productSn; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", couponId=").append(couponId); - sb.append(", productId=").append(productId); - sb.append(", productName=").append(productName); - sb.append(", productSn=").append(productSn); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java index ea39d00..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java @@ -1,519 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class SmsCouponProductRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsCouponProductRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNull() { - addCriterion("coupon_id is null"); - return (Criteria) this; - } - - public Criteria andCouponIdIsNotNull() { - addCriterion("coupon_id is not null"); - return (Criteria) this; - } - - public Criteria andCouponIdEqualTo(Long value) { - addCriterion("coupon_id =", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotEqualTo(Long value) { - addCriterion("coupon_id <>", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThan(Long value) { - addCriterion("coupon_id >", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { - addCriterion("coupon_id >=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThan(Long value) { - addCriterion("coupon_id <", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdLessThanOrEqualTo(Long value) { - addCriterion("coupon_id <=", value, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdIn(List values) { - addCriterion("coupon_id in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotIn(List values) { - addCriterion("coupon_id not in", values, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdBetween(Long value1, Long value2) { - addCriterion("coupon_id between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andCouponIdNotBetween(Long value1, Long value2) { - addCriterion("coupon_id not between", value1, value2, "couponId"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductSnIsNull() { - addCriterion("product_sn is null"); - return (Criteria) this; - } - - public Criteria andProductSnIsNotNull() { - addCriterion("product_sn is not null"); - return (Criteria) this; - } - - public Criteria andProductSnEqualTo(String value) { - addCriterion("product_sn =", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotEqualTo(String value) { - addCriterion("product_sn <>", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnGreaterThan(String value) { - addCriterion("product_sn >", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnGreaterThanOrEqualTo(String value) { - addCriterion("product_sn >=", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLessThan(String value) { - addCriterion("product_sn <", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLessThanOrEqualTo(String value) { - addCriterion("product_sn <=", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnLike(String value) { - addCriterion("product_sn like", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotLike(String value) { - addCriterion("product_sn not like", value, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnIn(List values) { - addCriterion("product_sn in", values, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotIn(List values) { - addCriterion("product_sn not in", values, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnBetween(String value1, String value2) { - addCriterion("product_sn between", value1, value2, "productSn"); - return (Criteria) this; - } - - public Criteria andProductSnNotBetween(String value1, String value2) { - addCriterion("product_sn not between", value1, value2, "productSn"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java index 981d814..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class SmsFlashPromotion implements Serializable { - private Long id; - - @ApiModelProperty(value = "秒杀时间段名称") - private String title; - - @ApiModelProperty(value = "开始日期") - private Date startDate; - - @ApiModelProperty(value = "结束日期") - private Date endDate; - - @ApiModelProperty(value = "上下线状态") - private Integer status; - - @ApiModelProperty(value = "创建时间") - private Date createTime; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Date getStartDate() { - return startDate; - } - - public void setStartDate(Date startDate) { - this.startDate = startDate; - } - - public Date getEndDate() { - return endDate; - } - - public void setEndDate(Date endDate) { - this.endDate = endDate; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", title=").append(title); - sb.append(", startDate=").append(startDate); - sb.append(", endDate=").append(endDate); - sb.append(", status=").append(status); - sb.append(", createTime=").append(createTime); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java index d377d4e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java @@ -1,597 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.Iterator; -import java.util.List; - -public class SmsFlashPromotionExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsFlashPromotionExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - protected void addCriterionForJDBCDate(String condition, Date value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Date(value.getTime()), property); - } - - protected void addCriterionForJDBCDate(String condition, List values, String property) { - if (values == null || values.size() == 0) { - throw new RuntimeException("Value list for " + property + " cannot be null or empty"); - } - List dateList = new ArrayList<>(); - Iterator iter = values.iterator(); - while (iter.hasNext()) { - dateList.add(new java.sql.Date(iter.next().getTime())); - } - addCriterion(condition, dateList, property); - } - - protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andTitleIsNull() { - addCriterion("title is null"); - return (Criteria) this; - } - - public Criteria andTitleIsNotNull() { - addCriterion("title is not null"); - return (Criteria) this; - } - - public Criteria andTitleEqualTo(String value) { - addCriterion("title =", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotEqualTo(String value) { - addCriterion("title <>", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleGreaterThan(String value) { - addCriterion("title >", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleGreaterThanOrEqualTo(String value) { - addCriterion("title >=", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLessThan(String value) { - addCriterion("title <", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLessThanOrEqualTo(String value) { - addCriterion("title <=", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLike(String value) { - addCriterion("title like", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotLike(String value) { - addCriterion("title not like", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleIn(List values) { - addCriterion("title in", values, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotIn(List values) { - addCriterion("title not in", values, "title"); - return (Criteria) this; - } - - public Criteria andTitleBetween(String value1, String value2) { - addCriterion("title between", value1, value2, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotBetween(String value1, String value2) { - addCriterion("title not between", value1, value2, "title"); - return (Criteria) this; - } - - public Criteria andStartDateIsNull() { - addCriterion("start_date is null"); - return (Criteria) this; - } - - public Criteria andStartDateIsNotNull() { - addCriterion("start_date is not null"); - return (Criteria) this; - } - - public Criteria andStartDateEqualTo(Date value) { - addCriterionForJDBCDate("start_date =", value, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateNotEqualTo(Date value) { - addCriterionForJDBCDate("start_date <>", value, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateGreaterThan(Date value) { - addCriterionForJDBCDate("start_date >", value, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateGreaterThanOrEqualTo(Date value) { - addCriterionForJDBCDate("start_date >=", value, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateLessThan(Date value) { - addCriterionForJDBCDate("start_date <", value, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateLessThanOrEqualTo(Date value) { - addCriterionForJDBCDate("start_date <=", value, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateIn(List values) { - addCriterionForJDBCDate("start_date in", values, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateNotIn(List values) { - addCriterionForJDBCDate("start_date not in", values, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateBetween(Date value1, Date value2) { - addCriterionForJDBCDate("start_date between", value1, value2, "startDate"); - return (Criteria) this; - } - - public Criteria andStartDateNotBetween(Date value1, Date value2) { - addCriterionForJDBCDate("start_date not between", value1, value2, "startDate"); - return (Criteria) this; - } - - public Criteria andEndDateIsNull() { - addCriterion("end_date is null"); - return (Criteria) this; - } - - public Criteria andEndDateIsNotNull() { - addCriterion("end_date is not null"); - return (Criteria) this; - } - - public Criteria andEndDateEqualTo(Date value) { - addCriterionForJDBCDate("end_date =", value, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateNotEqualTo(Date value) { - addCriterionForJDBCDate("end_date <>", value, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateGreaterThan(Date value) { - addCriterionForJDBCDate("end_date >", value, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateGreaterThanOrEqualTo(Date value) { - addCriterionForJDBCDate("end_date >=", value, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateLessThan(Date value) { - addCriterionForJDBCDate("end_date <", value, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateLessThanOrEqualTo(Date value) { - addCriterionForJDBCDate("end_date <=", value, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateIn(List values) { - addCriterionForJDBCDate("end_date in", values, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateNotIn(List values) { - addCriterionForJDBCDate("end_date not in", values, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateBetween(Date value1, Date value2) { - addCriterionForJDBCDate("end_date between", value1, value2, "endDate"); - return (Criteria) this; - } - - public Criteria andEndDateNotBetween(Date value1, Date value2) { - addCriterionForJDBCDate("end_date not between", value1, value2, "endDate"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java index 1b15855..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java @@ -1,98 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class SmsFlashPromotionLog implements Serializable { - private Integer id; - - private Integer memberId; - - private Long productId; - - private String memberPhone; - - private String productName; - - @ApiModelProperty(value = "会员订阅时间") - private Date subscribeTime; - - private Date sendTime; - - private static final long serialVersionUID = 1L; - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getMemberId() { - return memberId; - } - - public void setMemberId(Integer memberId) { - this.memberId = memberId; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public String getMemberPhone() { - return memberPhone; - } - - public void setMemberPhone(String memberPhone) { - this.memberPhone = memberPhone; - } - - public String getProductName() { - return productName; - } - - public void setProductName(String productName) { - this.productName = productName; - } - - public Date getSubscribeTime() { - return subscribeTime; - } - - public void setSubscribeTime(Date subscribeTime) { - this.subscribeTime = subscribeTime; - } - - public Date getSendTime() { - return sendTime; - } - - public void setSendTime(Date sendTime) { - this.sendTime = sendTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberId=").append(memberId); - sb.append(", productId=").append(productId); - sb.append(", memberPhone=").append(memberPhone); - sb.append(", productName=").append(productName); - sb.append(", subscribeTime=").append(subscribeTime); - sb.append(", sendTime=").append(sendTime); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java index 55058d3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java @@ -1,640 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class SmsFlashPromotionLogExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsFlashPromotionLogExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Integer value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Integer value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Integer value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Integer value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Integer value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Integer value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Integer value1, Integer value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Integer value1, Integer value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Integer value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Integer value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Integer value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Integer value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Integer value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Integer value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Integer value1, Integer value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Integer value1, Integer value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andMemberPhoneIsNull() { - addCriterion("member_phone is null"); - return (Criteria) this; - } - - public Criteria andMemberPhoneIsNotNull() { - addCriterion("member_phone is not null"); - return (Criteria) this; - } - - public Criteria andMemberPhoneEqualTo(String value) { - addCriterion("member_phone =", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneNotEqualTo(String value) { - addCriterion("member_phone <>", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneGreaterThan(String value) { - addCriterion("member_phone >", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneGreaterThanOrEqualTo(String value) { - addCriterion("member_phone >=", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneLessThan(String value) { - addCriterion("member_phone <", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneLessThanOrEqualTo(String value) { - addCriterion("member_phone <=", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneLike(String value) { - addCriterion("member_phone like", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneNotLike(String value) { - addCriterion("member_phone not like", value, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneIn(List values) { - addCriterion("member_phone in", values, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneNotIn(List values) { - addCriterion("member_phone not in", values, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneBetween(String value1, String value2) { - addCriterion("member_phone between", value1, value2, "memberPhone"); - return (Criteria) this; - } - - public Criteria andMemberPhoneNotBetween(String value1, String value2) { - addCriterion("member_phone not between", value1, value2, "memberPhone"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeIsNull() { - addCriterion("subscribe_time is null"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeIsNotNull() { - addCriterion("subscribe_time is not null"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeEqualTo(Date value) { - addCriterion("subscribe_time =", value, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeNotEqualTo(Date value) { - addCriterion("subscribe_time <>", value, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeGreaterThan(Date value) { - addCriterion("subscribe_time >", value, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeGreaterThanOrEqualTo(Date value) { - addCriterion("subscribe_time >=", value, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeLessThan(Date value) { - addCriterion("subscribe_time <", value, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeLessThanOrEqualTo(Date value) { - addCriterion("subscribe_time <=", value, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeIn(List values) { - addCriterion("subscribe_time in", values, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeNotIn(List values) { - addCriterion("subscribe_time not in", values, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeBetween(Date value1, Date value2) { - addCriterion("subscribe_time between", value1, value2, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSubscribeTimeNotBetween(Date value1, Date value2) { - addCriterion("subscribe_time not between", value1, value2, "subscribeTime"); - return (Criteria) this; - } - - public Criteria andSendTimeIsNull() { - addCriterion("send_time is null"); - return (Criteria) this; - } - - public Criteria andSendTimeIsNotNull() { - addCriterion("send_time is not null"); - return (Criteria) this; - } - - public Criteria andSendTimeEqualTo(Date value) { - addCriterion("send_time =", value, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeNotEqualTo(Date value) { - addCriterion("send_time <>", value, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeGreaterThan(Date value) { - addCriterion("send_time >", value, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeGreaterThanOrEqualTo(Date value) { - addCriterion("send_time >=", value, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeLessThan(Date value) { - addCriterion("send_time <", value, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeLessThanOrEqualTo(Date value) { - addCriterion("send_time <=", value, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeIn(List values) { - addCriterion("send_time in", values, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeNotIn(List values) { - addCriterion("send_time not in", values, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeBetween(Date value1, Date value2) { - addCriterion("send_time between", value1, value2, "sendTime"); - return (Criteria) this; - } - - public Criteria andSendTimeNotBetween(Date value1, Date value2) { - addCriterion("send_time not between", value1, value2, "sendTime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java index 41c6f49..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java @@ -1,680 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class SmsFlashPromotionProductRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsFlashPromotionProductRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdIsNull() { - addCriterion("flash_promotion_id is null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdIsNotNull() { - addCriterion("flash_promotion_id is not null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdEqualTo(Long value) { - addCriterion("flash_promotion_id =", value, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdNotEqualTo(Long value) { - addCriterion("flash_promotion_id <>", value, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdGreaterThan(Long value) { - addCriterion("flash_promotion_id >", value, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdGreaterThanOrEqualTo(Long value) { - addCriterion("flash_promotion_id >=", value, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdLessThan(Long value) { - addCriterion("flash_promotion_id <", value, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdLessThanOrEqualTo(Long value) { - addCriterion("flash_promotion_id <=", value, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdIn(List values) { - addCriterion("flash_promotion_id in", values, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdNotIn(List values) { - addCriterion("flash_promotion_id not in", values, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdBetween(Long value1, Long value2) { - addCriterion("flash_promotion_id between", value1, value2, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionIdNotBetween(Long value1, Long value2) { - addCriterion("flash_promotion_id not between", value1, value2, "flashPromotionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdIsNull() { - addCriterion("flash_promotion_session_id is null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdIsNotNull() { - addCriterion("flash_promotion_session_id is not null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdEqualTo(Long value) { - addCriterion("flash_promotion_session_id =", value, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdNotEqualTo(Long value) { - addCriterion("flash_promotion_session_id <>", value, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdGreaterThan(Long value) { - addCriterion("flash_promotion_session_id >", value, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdGreaterThanOrEqualTo(Long value) { - addCriterion("flash_promotion_session_id >=", value, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdLessThan(Long value) { - addCriterion("flash_promotion_session_id <", value, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdLessThanOrEqualTo(Long value) { - addCriterion("flash_promotion_session_id <=", value, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdIn(List values) { - addCriterion("flash_promotion_session_id in", values, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdNotIn(List values) { - addCriterion("flash_promotion_session_id not in", values, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdBetween(Long value1, Long value2) { - addCriterion("flash_promotion_session_id between", value1, value2, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionSessionIdNotBetween(Long value1, Long value2) { - addCriterion("flash_promotion_session_id not between", value1, value2, "flashPromotionSessionId"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceIsNull() { - addCriterion("flash_promotion_price is null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceIsNotNull() { - addCriterion("flash_promotion_price is not null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceEqualTo(BigDecimal value) { - addCriterion("flash_promotion_price =", value, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceNotEqualTo(BigDecimal value) { - addCriterion("flash_promotion_price <>", value, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceGreaterThan(BigDecimal value) { - addCriterion("flash_promotion_price >", value, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("flash_promotion_price >=", value, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceLessThan(BigDecimal value) { - addCriterion("flash_promotion_price <", value, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("flash_promotion_price <=", value, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceIn(List values) { - addCriterion("flash_promotion_price in", values, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceNotIn(List values) { - addCriterion("flash_promotion_price not in", values, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("flash_promotion_price between", value1, value2, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("flash_promotion_price not between", value1, value2, "flashPromotionPrice"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountIsNull() { - addCriterion("flash_promotion_count is null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountIsNotNull() { - addCriterion("flash_promotion_count is not null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountEqualTo(Integer value) { - addCriterion("flash_promotion_count =", value, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountNotEqualTo(Integer value) { - addCriterion("flash_promotion_count <>", value, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountGreaterThan(Integer value) { - addCriterion("flash_promotion_count >", value, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountGreaterThanOrEqualTo(Integer value) { - addCriterion("flash_promotion_count >=", value, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountLessThan(Integer value) { - addCriterion("flash_promotion_count <", value, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountLessThanOrEqualTo(Integer value) { - addCriterion("flash_promotion_count <=", value, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountIn(List values) { - addCriterion("flash_promotion_count in", values, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountNotIn(List values) { - addCriterion("flash_promotion_count not in", values, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountBetween(Integer value1, Integer value2) { - addCriterion("flash_promotion_count between", value1, value2, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionCountNotBetween(Integer value1, Integer value2) { - addCriterion("flash_promotion_count not between", value1, value2, "flashPromotionCount"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitIsNull() { - addCriterion("flash_promotion_limit is null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitIsNotNull() { - addCriterion("flash_promotion_limit is not null"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitEqualTo(Integer value) { - addCriterion("flash_promotion_limit =", value, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitNotEqualTo(Integer value) { - addCriterion("flash_promotion_limit <>", value, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitGreaterThan(Integer value) { - addCriterion("flash_promotion_limit >", value, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitGreaterThanOrEqualTo(Integer value) { - addCriterion("flash_promotion_limit >=", value, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitLessThan(Integer value) { - addCriterion("flash_promotion_limit <", value, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitLessThanOrEqualTo(Integer value) { - addCriterion("flash_promotion_limit <=", value, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitIn(List values) { - addCriterion("flash_promotion_limit in", values, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitNotIn(List values) { - addCriterion("flash_promotion_limit not in", values, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitBetween(Integer value1, Integer value2) { - addCriterion("flash_promotion_limit between", value1, value2, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andFlashPromotionLimitNotBetween(Integer value1, Integer value2) { - addCriterion("flash_promotion_limit not between", value1, value2, "flashPromotionLimit"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java index f3e4aa6..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java @@ -1,597 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.Iterator; -import java.util.List; - -public class SmsFlashPromotionSessionExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsFlashPromotionSessionExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - protected void addCriterionForJDBCTime(String condition, Date value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Time(value.getTime()), property); - } - - protected void addCriterionForJDBCTime(String condition, List values, String property) { - if (values == null || values.size() == 0) { - throw new RuntimeException("Value list for " + property + " cannot be null or empty"); - } - List timeList = new ArrayList<>(); - Iterator iter = values.iterator(); - while (iter.hasNext()) { - timeList.add(new java.sql.Time(iter.next().getTime())); - } - addCriterion(condition, timeList, property); - } - - protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andStartTimeIsNull() { - addCriterion("start_time is null"); - return (Criteria) this; - } - - public Criteria andStartTimeIsNotNull() { - addCriterion("start_time is not null"); - return (Criteria) this; - } - - public Criteria andStartTimeEqualTo(Date value) { - addCriterionForJDBCTime("start_time =", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotEqualTo(Date value) { - addCriterionForJDBCTime("start_time <>", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeGreaterThan(Date value) { - addCriterionForJDBCTime("start_time >", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { - addCriterionForJDBCTime("start_time >=", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeLessThan(Date value) { - addCriterionForJDBCTime("start_time <", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeLessThanOrEqualTo(Date value) { - addCriterionForJDBCTime("start_time <=", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeIn(List values) { - addCriterionForJDBCTime("start_time in", values, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotIn(List values) { - addCriterionForJDBCTime("start_time not in", values, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeBetween(Date value1, Date value2) { - addCriterionForJDBCTime("start_time between", value1, value2, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotBetween(Date value1, Date value2) { - addCriterionForJDBCTime("start_time not between", value1, value2, "startTime"); - return (Criteria) this; - } - - public Criteria andEndTimeIsNull() { - addCriterion("end_time is null"); - return (Criteria) this; - } - - public Criteria andEndTimeIsNotNull() { - addCriterion("end_time is not null"); - return (Criteria) this; - } - - public Criteria andEndTimeEqualTo(Date value) { - addCriterionForJDBCTime("end_time =", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotEqualTo(Date value) { - addCriterionForJDBCTime("end_time <>", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeGreaterThan(Date value) { - addCriterionForJDBCTime("end_time >", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { - addCriterionForJDBCTime("end_time >=", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeLessThan(Date value) { - addCriterionForJDBCTime("end_time <", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeLessThanOrEqualTo(Date value) { - addCriterionForJDBCTime("end_time <=", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeIn(List values) { - addCriterionForJDBCTime("end_time in", values, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotIn(List values) { - addCriterionForJDBCTime("end_time not in", values, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeBetween(Date value1, Date value2) { - addCriterionForJDBCTime("end_time between", value1, value2, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotBetween(Date value1, Date value2) { - addCriterionForJDBCTime("end_time not between", value1, value2, "endTime"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java index 0213684..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java @@ -1,159 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class SmsHomeAdvertise implements Serializable { - private Long id; - - private String name; - - @ApiModelProperty(value = "轮播位置:0->PC首页轮播;1->app首页轮播") - private Integer type; - - private String pic; - - private Date startTime; - - private Date endTime; - - @ApiModelProperty(value = "上下线状态:0->下线;1->上线") - private Integer status; - - @ApiModelProperty(value = "点击数") - private Integer clickCount; - - @ApiModelProperty(value = "下单数") - private Integer orderCount; - - @ApiModelProperty(value = "链接地址") - private String url; - - @ApiModelProperty(value = "备注") - private String note; - - @ApiModelProperty(value = "排序") - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getPic() { - return pic; - } - - public void setPic(String pic) { - this.pic = pic; - } - - public Date getStartTime() { - return startTime; - } - - public void setStartTime(Date startTime) { - this.startTime = startTime; - } - - public Date getEndTime() { - return endTime; - } - - public void setEndTime(Date endTime) { - this.endTime = endTime; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Integer getClickCount() { - return clickCount; - } - - public void setClickCount(Integer clickCount) { - this.clickCount = clickCount; - } - - public Integer getOrderCount() { - return orderCount; - } - - public void setOrderCount(Integer orderCount) { - this.orderCount = orderCount; - } - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public String getNote() { - return note; - } - - public void setNote(String note) { - this.note = note; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", type=").append(type); - sb.append(", pic=").append(pic); - sb.append(", startTime=").append(startTime); - sb.append(", endTime=").append(endTime); - sb.append(", status=").append(status); - sb.append(", clickCount=").append(clickCount); - sb.append(", orderCount=").append(orderCount); - sb.append(", url=").append(url); - sb.append(", note=").append(note); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java index cc23745..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java @@ -1,960 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class SmsHomeAdvertiseExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsHomeAdvertiseExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andPicIsNull() { - addCriterion("pic is null"); - return (Criteria) this; - } - - public Criteria andPicIsNotNull() { - addCriterion("pic is not null"); - return (Criteria) this; - } - - public Criteria andPicEqualTo(String value) { - addCriterion("pic =", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotEqualTo(String value) { - addCriterion("pic <>", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThan(String value) { - addCriterion("pic >", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicGreaterThanOrEqualTo(String value) { - addCriterion("pic >=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThan(String value) { - addCriterion("pic <", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLessThanOrEqualTo(String value) { - addCriterion("pic <=", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicLike(String value) { - addCriterion("pic like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotLike(String value) { - addCriterion("pic not like", value, "pic"); - return (Criteria) this; - } - - public Criteria andPicIn(List values) { - addCriterion("pic in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotIn(List values) { - addCriterion("pic not in", values, "pic"); - return (Criteria) this; - } - - public Criteria andPicBetween(String value1, String value2) { - addCriterion("pic between", value1, value2, "pic"); - return (Criteria) this; - } - - public Criteria andPicNotBetween(String value1, String value2) { - addCriterion("pic not between", value1, value2, "pic"); - return (Criteria) this; - } - - public Criteria andStartTimeIsNull() { - addCriterion("start_time is null"); - return (Criteria) this; - } - - public Criteria andStartTimeIsNotNull() { - addCriterion("start_time is not null"); - return (Criteria) this; - } - - public Criteria andStartTimeEqualTo(Date value) { - addCriterion("start_time =", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotEqualTo(Date value) { - addCriterion("start_time <>", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeGreaterThan(Date value) { - addCriterion("start_time >", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { - addCriterion("start_time >=", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeLessThan(Date value) { - addCriterion("start_time <", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeLessThanOrEqualTo(Date value) { - addCriterion("start_time <=", value, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeIn(List values) { - addCriterion("start_time in", values, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotIn(List values) { - addCriterion("start_time not in", values, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeBetween(Date value1, Date value2) { - addCriterion("start_time between", value1, value2, "startTime"); - return (Criteria) this; - } - - public Criteria andStartTimeNotBetween(Date value1, Date value2) { - addCriterion("start_time not between", value1, value2, "startTime"); - return (Criteria) this; - } - - public Criteria andEndTimeIsNull() { - addCriterion("end_time is null"); - return (Criteria) this; - } - - public Criteria andEndTimeIsNotNull() { - addCriterion("end_time is not null"); - return (Criteria) this; - } - - public Criteria andEndTimeEqualTo(Date value) { - addCriterion("end_time =", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotEqualTo(Date value) { - addCriterion("end_time <>", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeGreaterThan(Date value) { - addCriterion("end_time >", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { - addCriterion("end_time >=", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeLessThan(Date value) { - addCriterion("end_time <", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeLessThanOrEqualTo(Date value) { - addCriterion("end_time <=", value, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeIn(List values) { - addCriterion("end_time in", values, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotIn(List values) { - addCriterion("end_time not in", values, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeBetween(Date value1, Date value2) { - addCriterion("end_time between", value1, value2, "endTime"); - return (Criteria) this; - } - - public Criteria andEndTimeNotBetween(Date value1, Date value2) { - addCriterion("end_time not between", value1, value2, "endTime"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andClickCountIsNull() { - addCriterion("click_count is null"); - return (Criteria) this; - } - - public Criteria andClickCountIsNotNull() { - addCriterion("click_count is not null"); - return (Criteria) this; - } - - public Criteria andClickCountEqualTo(Integer value) { - addCriterion("click_count =", value, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountNotEqualTo(Integer value) { - addCriterion("click_count <>", value, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountGreaterThan(Integer value) { - addCriterion("click_count >", value, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountGreaterThanOrEqualTo(Integer value) { - addCriterion("click_count >=", value, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountLessThan(Integer value) { - addCriterion("click_count <", value, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountLessThanOrEqualTo(Integer value) { - addCriterion("click_count <=", value, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountIn(List values) { - addCriterion("click_count in", values, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountNotIn(List values) { - addCriterion("click_count not in", values, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountBetween(Integer value1, Integer value2) { - addCriterion("click_count between", value1, value2, "clickCount"); - return (Criteria) this; - } - - public Criteria andClickCountNotBetween(Integer value1, Integer value2) { - addCriterion("click_count not between", value1, value2, "clickCount"); - return (Criteria) this; - } - - public Criteria andOrderCountIsNull() { - addCriterion("order_count is null"); - return (Criteria) this; - } - - public Criteria andOrderCountIsNotNull() { - addCriterion("order_count is not null"); - return (Criteria) this; - } - - public Criteria andOrderCountEqualTo(Integer value) { - addCriterion("order_count =", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountNotEqualTo(Integer value) { - addCriterion("order_count <>", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountGreaterThan(Integer value) { - addCriterion("order_count >", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountGreaterThanOrEqualTo(Integer value) { - addCriterion("order_count >=", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountLessThan(Integer value) { - addCriterion("order_count <", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountLessThanOrEqualTo(Integer value) { - addCriterion("order_count <=", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountIn(List values) { - addCriterion("order_count in", values, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountNotIn(List values) { - addCriterion("order_count not in", values, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountBetween(Integer value1, Integer value2) { - addCriterion("order_count between", value1, value2, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountNotBetween(Integer value1, Integer value2) { - addCriterion("order_count not between", value1, value2, "orderCount"); - return (Criteria) this; - } - - public Criteria andUrlIsNull() { - addCriterion("url is null"); - return (Criteria) this; - } - - public Criteria andUrlIsNotNull() { - addCriterion("url is not null"); - return (Criteria) this; - } - - public Criteria andUrlEqualTo(String value) { - addCriterion("url =", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotEqualTo(String value) { - addCriterion("url <>", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlGreaterThan(String value) { - addCriterion("url >", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlGreaterThanOrEqualTo(String value) { - addCriterion("url >=", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlLessThan(String value) { - addCriterion("url <", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlLessThanOrEqualTo(String value) { - addCriterion("url <=", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlLike(String value) { - addCriterion("url like", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotLike(String value) { - addCriterion("url not like", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlIn(List values) { - addCriterion("url in", values, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotIn(List values) { - addCriterion("url not in", values, "url"); - return (Criteria) this; - } - - public Criteria andUrlBetween(String value1, String value2) { - addCriterion("url between", value1, value2, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotBetween(String value1, String value2) { - addCriterion("url not between", value1, value2, "url"); - return (Criteria) this; - } - - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java index 1b6dab3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class SmsHomeBrand implements Serializable { - private Long id; - - private Long brandId; - - private String brandName; - - private Integer recommendStatus; - - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getBrandId() { - return brandId; - } - - public void setBrandId(Long brandId) { - this.brandId = brandId; - } - - public String getBrandName() { - return brandName; - } - - public void setBrandName(String brandName) { - this.brandName = brandName; - } - - public Integer getRecommendStatus() { - return recommendStatus; - } - - public void setRecommendStatus(Integer recommendStatus) { - this.recommendStatus = recommendStatus; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", brandId=").append(brandId); - sb.append(", brandName=").append(brandName); - sb.append(", recommendStatus=").append(recommendStatus); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java index ce08d4f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java @@ -1,509 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class SmsHomeBrandExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsHomeBrandExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andBrandIdIsNull() { - addCriterion("brand_id is null"); - return (Criteria) this; - } - - public Criteria andBrandIdIsNotNull() { - addCriterion("brand_id is not null"); - return (Criteria) this; - } - - public Criteria andBrandIdEqualTo(Long value) { - addCriterion("brand_id =", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdNotEqualTo(Long value) { - addCriterion("brand_id <>", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdGreaterThan(Long value) { - addCriterion("brand_id >", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdGreaterThanOrEqualTo(Long value) { - addCriterion("brand_id >=", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdLessThan(Long value) { - addCriterion("brand_id <", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdLessThanOrEqualTo(Long value) { - addCriterion("brand_id <=", value, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdIn(List values) { - addCriterion("brand_id in", values, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdNotIn(List values) { - addCriterion("brand_id not in", values, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdBetween(Long value1, Long value2) { - addCriterion("brand_id between", value1, value2, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandIdNotBetween(Long value1, Long value2) { - addCriterion("brand_id not between", value1, value2, "brandId"); - return (Criteria) this; - } - - public Criteria andBrandNameIsNull() { - addCriterion("brand_name is null"); - return (Criteria) this; - } - - public Criteria andBrandNameIsNotNull() { - addCriterion("brand_name is not null"); - return (Criteria) this; - } - - public Criteria andBrandNameEqualTo(String value) { - addCriterion("brand_name =", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotEqualTo(String value) { - addCriterion("brand_name <>", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameGreaterThan(String value) { - addCriterion("brand_name >", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameGreaterThanOrEqualTo(String value) { - addCriterion("brand_name >=", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameLessThan(String value) { - addCriterion("brand_name <", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameLessThanOrEqualTo(String value) { - addCriterion("brand_name <=", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameLike(String value) { - addCriterion("brand_name like", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotLike(String value) { - addCriterion("brand_name not like", value, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameIn(List values) { - addCriterion("brand_name in", values, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotIn(List values) { - addCriterion("brand_name not in", values, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameBetween(String value1, String value2) { - addCriterion("brand_name between", value1, value2, "brandName"); - return (Criteria) this; - } - - public Criteria andBrandNameNotBetween(String value1, String value2) { - addCriterion("brand_name not between", value1, value2, "brandName"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNull() { - addCriterion("recommend_status is null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNotNull() { - addCriterion("recommend_status is not null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusEqualTo(Integer value) { - addCriterion("recommend_status =", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotEqualTo(Integer value) { - addCriterion("recommend_status <>", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThan(Integer value) { - addCriterion("recommend_status >", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("recommend_status >=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThan(Integer value) { - addCriterion("recommend_status <", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { - addCriterion("recommend_status <=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIn(List values) { - addCriterion("recommend_status in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotIn(List values) { - addCriterion("recommend_status not in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { - addCriterion("recommend_status between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { - addCriterion("recommend_status not between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java index cb07d19..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class SmsHomeNewProduct implements Serializable { - private Long id; - - private Long productId; - - private String productName; - - private Integer recommendStatus; - - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public String getProductName() { - return productName; - } - - public void setProductName(String productName) { - this.productName = productName; - } - - public Integer getRecommendStatus() { - return recommendStatus; - } - - public void setRecommendStatus(Integer recommendStatus) { - this.recommendStatus = recommendStatus; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", productName=").append(productName); - sb.append(", recommendStatus=").append(recommendStatus); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java index 908652c..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java @@ -1,509 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class SmsHomeNewProductExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsHomeNewProductExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNull() { - addCriterion("recommend_status is null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNotNull() { - addCriterion("recommend_status is not null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusEqualTo(Integer value) { - addCriterion("recommend_status =", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotEqualTo(Integer value) { - addCriterion("recommend_status <>", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThan(Integer value) { - addCriterion("recommend_status >", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("recommend_status >=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThan(Integer value) { - addCriterion("recommend_status <", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { - addCriterion("recommend_status <=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIn(List values) { - addCriterion("recommend_status in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotIn(List values) { - addCriterion("recommend_status not in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { - addCriterion("recommend_status between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { - addCriterion("recommend_status not between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java index c09c044..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class SmsHomeRecommendProduct implements Serializable { - private Long id; - - private Long productId; - - private String productName; - - private Integer recommendStatus; - - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getProductId() { - return productId; - } - - public void setProductId(Long productId) { - this.productId = productId; - } - - public String getProductName() { - return productName; - } - - public void setProductName(String productName) { - this.productName = productName; - } - - public Integer getRecommendStatus() { - return recommendStatus; - } - - public void setRecommendStatus(Integer recommendStatus) { - this.recommendStatus = recommendStatus; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", productId=").append(productId); - sb.append(", productName=").append(productName); - sb.append(", recommendStatus=").append(recommendStatus); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java index 73a8c72..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java @@ -1,509 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class SmsHomeRecommendProductExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsHomeRecommendProductExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andProductIdIsNull() { - addCriterion("product_id is null"); - return (Criteria) this; - } - - public Criteria andProductIdIsNotNull() { - addCriterion("product_id is not null"); - return (Criteria) this; - } - - public Criteria andProductIdEqualTo(Long value) { - addCriterion("product_id =", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotEqualTo(Long value) { - addCriterion("product_id <>", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThan(Long value) { - addCriterion("product_id >", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_id >=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThan(Long value) { - addCriterion("product_id <", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdLessThanOrEqualTo(Long value) { - addCriterion("product_id <=", value, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdIn(List values) { - addCriterion("product_id in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotIn(List values) { - addCriterion("product_id not in", values, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdBetween(Long value1, Long value2) { - addCriterion("product_id between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductIdNotBetween(Long value1, Long value2) { - addCriterion("product_id not between", value1, value2, "productId"); - return (Criteria) this; - } - - public Criteria andProductNameIsNull() { - addCriterion("product_name is null"); - return (Criteria) this; - } - - public Criteria andProductNameIsNotNull() { - addCriterion("product_name is not null"); - return (Criteria) this; - } - - public Criteria andProductNameEqualTo(String value) { - addCriterion("product_name =", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotEqualTo(String value) { - addCriterion("product_name <>", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThan(String value) { - addCriterion("product_name >", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameGreaterThanOrEqualTo(String value) { - addCriterion("product_name >=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThan(String value) { - addCriterion("product_name <", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLessThanOrEqualTo(String value) { - addCriterion("product_name <=", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameLike(String value) { - addCriterion("product_name like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotLike(String value) { - addCriterion("product_name not like", value, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameIn(List values) { - addCriterion("product_name in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotIn(List values) { - addCriterion("product_name not in", values, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameBetween(String value1, String value2) { - addCriterion("product_name between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andProductNameNotBetween(String value1, String value2) { - addCriterion("product_name not between", value1, value2, "productName"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNull() { - addCriterion("recommend_status is null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNotNull() { - addCriterion("recommend_status is not null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusEqualTo(Integer value) { - addCriterion("recommend_status =", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotEqualTo(Integer value) { - addCriterion("recommend_status <>", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThan(Integer value) { - addCriterion("recommend_status >", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("recommend_status >=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThan(Integer value) { - addCriterion("recommend_status <", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { - addCriterion("recommend_status <=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIn(List values) { - addCriterion("recommend_status in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotIn(List values) { - addCriterion("recommend_status not in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { - addCriterion("recommend_status between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { - addCriterion("recommend_status not between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java index e97f869..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class SmsHomeRecommendSubject implements Serializable { - private Long id; - - private Long subjectId; - - private String subjectName; - - private Integer recommendStatus; - - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getSubjectId() { - return subjectId; - } - - public void setSubjectId(Long subjectId) { - this.subjectId = subjectId; - } - - public String getSubjectName() { - return subjectName; - } - - public void setSubjectName(String subjectName) { - this.subjectName = subjectName; - } - - public Integer getRecommendStatus() { - return recommendStatus; - } - - public void setRecommendStatus(Integer recommendStatus) { - this.recommendStatus = recommendStatus; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", subjectId=").append(subjectId); - sb.append(", subjectName=").append(subjectName); - sb.append(", recommendStatus=").append(recommendStatus); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java index bccd3d8..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java @@ -1,509 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class SmsHomeRecommendSubjectExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public SmsHomeRecommendSubjectExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andSubjectIdIsNull() { - addCriterion("subject_id is null"); - return (Criteria) this; - } - - public Criteria andSubjectIdIsNotNull() { - addCriterion("subject_id is not null"); - return (Criteria) this; - } - - public Criteria andSubjectIdEqualTo(Long value) { - addCriterion("subject_id =", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdNotEqualTo(Long value) { - addCriterion("subject_id <>", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdGreaterThan(Long value) { - addCriterion("subject_id >", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { - addCriterion("subject_id >=", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdLessThan(Long value) { - addCriterion("subject_id <", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdLessThanOrEqualTo(Long value) { - addCriterion("subject_id <=", value, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdIn(List values) { - addCriterion("subject_id in", values, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdNotIn(List values) { - addCriterion("subject_id not in", values, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdBetween(Long value1, Long value2) { - addCriterion("subject_id between", value1, value2, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectIdNotBetween(Long value1, Long value2) { - addCriterion("subject_id not between", value1, value2, "subjectId"); - return (Criteria) this; - } - - public Criteria andSubjectNameIsNull() { - addCriterion("subject_name is null"); - return (Criteria) this; - } - - public Criteria andSubjectNameIsNotNull() { - addCriterion("subject_name is not null"); - return (Criteria) this; - } - - public Criteria andSubjectNameEqualTo(String value) { - addCriterion("subject_name =", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameNotEqualTo(String value) { - addCriterion("subject_name <>", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameGreaterThan(String value) { - addCriterion("subject_name >", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameGreaterThanOrEqualTo(String value) { - addCriterion("subject_name >=", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameLessThan(String value) { - addCriterion("subject_name <", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameLessThanOrEqualTo(String value) { - addCriterion("subject_name <=", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameLike(String value) { - addCriterion("subject_name like", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameNotLike(String value) { - addCriterion("subject_name not like", value, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameIn(List values) { - addCriterion("subject_name in", values, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameNotIn(List values) { - addCriterion("subject_name not in", values, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameBetween(String value1, String value2) { - addCriterion("subject_name between", value1, value2, "subjectName"); - return (Criteria) this; - } - - public Criteria andSubjectNameNotBetween(String value1, String value2) { - addCriterion("subject_name not between", value1, value2, "subjectName"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNull() { - addCriterion("recommend_status is null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIsNotNull() { - addCriterion("recommend_status is not null"); - return (Criteria) this; - } - - public Criteria andRecommendStatusEqualTo(Integer value) { - addCriterion("recommend_status =", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotEqualTo(Integer value) { - addCriterion("recommend_status <>", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThan(Integer value) { - addCriterion("recommend_status >", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("recommend_status >=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThan(Integer value) { - addCriterion("recommend_status <", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { - addCriterion("recommend_status <=", value, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusIn(List values) { - addCriterion("recommend_status in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotIn(List values) { - addCriterion("recommend_status not in", values, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { - addCriterion("recommend_status between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { - addCriterion("recommend_status not between", value1, value2, "recommendStatus"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java index 4ec3239..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java @@ -1,860 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsAdminExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsAdminExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andUsernameIsNull() { - addCriterion("username is null"); - return (Criteria) this; - } - - public Criteria andUsernameIsNotNull() { - addCriterion("username is not null"); - return (Criteria) this; - } - - public Criteria andUsernameEqualTo(String value) { - addCriterion("username =", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotEqualTo(String value) { - addCriterion("username <>", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameGreaterThan(String value) { - addCriterion("username >", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameGreaterThanOrEqualTo(String value) { - addCriterion("username >=", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLessThan(String value) { - addCriterion("username <", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLessThanOrEqualTo(String value) { - addCriterion("username <=", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLike(String value) { - addCriterion("username like", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotLike(String value) { - addCriterion("username not like", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameIn(List values) { - addCriterion("username in", values, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotIn(List values) { - addCriterion("username not in", values, "username"); - return (Criteria) this; - } - - public Criteria andUsernameBetween(String value1, String value2) { - addCriterion("username between", value1, value2, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotBetween(String value1, String value2) { - addCriterion("username not between", value1, value2, "username"); - return (Criteria) this; - } - - public Criteria andPasswordIsNull() { - addCriterion("password is null"); - return (Criteria) this; - } - - public Criteria andPasswordIsNotNull() { - addCriterion("password is not null"); - return (Criteria) this; - } - - public Criteria andPasswordEqualTo(String value) { - addCriterion("password =", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotEqualTo(String value) { - addCriterion("password <>", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordGreaterThan(String value) { - addCriterion("password >", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordGreaterThanOrEqualTo(String value) { - addCriterion("password >=", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordLessThan(String value) { - addCriterion("password <", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordLessThanOrEqualTo(String value) { - addCriterion("password <=", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordLike(String value) { - addCriterion("password like", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotLike(String value) { - addCriterion("password not like", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordIn(List values) { - addCriterion("password in", values, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotIn(List values) { - addCriterion("password not in", values, "password"); - return (Criteria) this; - } - - public Criteria andPasswordBetween(String value1, String value2) { - addCriterion("password between", value1, value2, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotBetween(String value1, String value2) { - addCriterion("password not between", value1, value2, "password"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andEmailIsNull() { - addCriterion("email is null"); - return (Criteria) this; - } - - public Criteria andEmailIsNotNull() { - addCriterion("email is not null"); - return (Criteria) this; - } - - public Criteria andEmailEqualTo(String value) { - addCriterion("email =", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotEqualTo(String value) { - addCriterion("email <>", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailGreaterThan(String value) { - addCriterion("email >", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailGreaterThanOrEqualTo(String value) { - addCriterion("email >=", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailLessThan(String value) { - addCriterion("email <", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailLessThanOrEqualTo(String value) { - addCriterion("email <=", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailLike(String value) { - addCriterion("email like", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotLike(String value) { - addCriterion("email not like", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailIn(List values) { - addCriterion("email in", values, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotIn(List values) { - addCriterion("email not in", values, "email"); - return (Criteria) this; - } - - public Criteria andEmailBetween(String value1, String value2) { - addCriterion("email between", value1, value2, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotBetween(String value1, String value2) { - addCriterion("email not between", value1, value2, "email"); - return (Criteria) this; - } - - public Criteria andNickNameIsNull() { - addCriterion("nick_name is null"); - return (Criteria) this; - } - - public Criteria andNickNameIsNotNull() { - addCriterion("nick_name is not null"); - return (Criteria) this; - } - - public Criteria andNickNameEqualTo(String value) { - addCriterion("nick_name =", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameNotEqualTo(String value) { - addCriterion("nick_name <>", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameGreaterThan(String value) { - addCriterion("nick_name >", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameGreaterThanOrEqualTo(String value) { - addCriterion("nick_name >=", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameLessThan(String value) { - addCriterion("nick_name <", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameLessThanOrEqualTo(String value) { - addCriterion("nick_name <=", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameLike(String value) { - addCriterion("nick_name like", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameNotLike(String value) { - addCriterion("nick_name not like", value, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameIn(List values) { - addCriterion("nick_name in", values, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameNotIn(List values) { - addCriterion("nick_name not in", values, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameBetween(String value1, String value2) { - addCriterion("nick_name between", value1, value2, "nickName"); - return (Criteria) this; - } - - public Criteria andNickNameNotBetween(String value1, String value2) { - addCriterion("nick_name not between", value1, value2, "nickName"); - return (Criteria) this; - } - - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeIsNull() { - addCriterion("login_time is null"); - return (Criteria) this; - } - - public Criteria andLoginTimeIsNotNull() { - addCriterion("login_time is not null"); - return (Criteria) this; - } - - public Criteria andLoginTimeEqualTo(Date value) { - addCriterion("login_time =", value, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeNotEqualTo(Date value) { - addCriterion("login_time <>", value, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeGreaterThan(Date value) { - addCriterion("login_time >", value, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeGreaterThanOrEqualTo(Date value) { - addCriterion("login_time >=", value, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeLessThan(Date value) { - addCriterion("login_time <", value, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeLessThanOrEqualTo(Date value) { - addCriterion("login_time <=", value, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeIn(List values) { - addCriterion("login_time in", values, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeNotIn(List values) { - addCriterion("login_time not in", values, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeBetween(Date value1, Date value2) { - addCriterion("login_time between", value1, value2, "loginTime"); - return (Criteria) this; - } - - public Criteria andLoginTimeNotBetween(Date value1, Date value2) { - addCriterion("login_time not between", value1, value2, "loginTime"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java index 1b0b243..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java @@ -1,87 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class UmsAdminLoginLog implements Serializable { - private Long id; - - private Long adminId; - - private Date createTime; - - private String ip; - - private String address; - - @ApiModelProperty(value = "浏览器登录类型") - private String userAgent; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getAdminId() { - return adminId; - } - - public void setAdminId(Long adminId) { - this.adminId = adminId; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getIp() { - return ip; - } - - public void setIp(String ip) { - this.ip = ip; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address; - } - - public String getUserAgent() { - return userAgent; - } - - public void setUserAgent(String userAgent) { - this.userAgent = userAgent; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", adminId=").append(adminId); - sb.append(", createTime=").append(createTime); - sb.append(", ip=").append(ip); - sb.append(", address=").append(address); - sb.append(", userAgent=").append(userAgent); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java index 1ff86de..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java @@ -1,590 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsAdminLoginLogExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsAdminLoginLogExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andAdminIdIsNull() { - addCriterion("admin_id is null"); - return (Criteria) this; - } - - public Criteria andAdminIdIsNotNull() { - addCriterion("admin_id is not null"); - return (Criteria) this; - } - - public Criteria andAdminIdEqualTo(Long value) { - addCriterion("admin_id =", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotEqualTo(Long value) { - addCriterion("admin_id <>", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdGreaterThan(Long value) { - addCriterion("admin_id >", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdGreaterThanOrEqualTo(Long value) { - addCriterion("admin_id >=", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdLessThan(Long value) { - addCriterion("admin_id <", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdLessThanOrEqualTo(Long value) { - addCriterion("admin_id <=", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdIn(List values) { - addCriterion("admin_id in", values, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotIn(List values) { - addCriterion("admin_id not in", values, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdBetween(Long value1, Long value2) { - addCriterion("admin_id between", value1, value2, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotBetween(Long value1, Long value2) { - addCriterion("admin_id not between", value1, value2, "adminId"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andIpIsNull() { - addCriterion("ip is null"); - return (Criteria) this; - } - - public Criteria andIpIsNotNull() { - addCriterion("ip is not null"); - return (Criteria) this; - } - - public Criteria andIpEqualTo(String value) { - addCriterion("ip =", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotEqualTo(String value) { - addCriterion("ip <>", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpGreaterThan(String value) { - addCriterion("ip >", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpGreaterThanOrEqualTo(String value) { - addCriterion("ip >=", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpLessThan(String value) { - addCriterion("ip <", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpLessThanOrEqualTo(String value) { - addCriterion("ip <=", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpLike(String value) { - addCriterion("ip like", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotLike(String value) { - addCriterion("ip not like", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpIn(List values) { - addCriterion("ip in", values, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotIn(List values) { - addCriterion("ip not in", values, "ip"); - return (Criteria) this; - } - - public Criteria andIpBetween(String value1, String value2) { - addCriterion("ip between", value1, value2, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotBetween(String value1, String value2) { - addCriterion("ip not between", value1, value2, "ip"); - return (Criteria) this; - } - - public Criteria andAddressIsNull() { - addCriterion("address is null"); - return (Criteria) this; - } - - public Criteria andAddressIsNotNull() { - addCriterion("address is not null"); - return (Criteria) this; - } - - public Criteria andAddressEqualTo(String value) { - addCriterion("address =", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotEqualTo(String value) { - addCriterion("address <>", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressGreaterThan(String value) { - addCriterion("address >", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressGreaterThanOrEqualTo(String value) { - addCriterion("address >=", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLessThan(String value) { - addCriterion("address <", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLessThanOrEqualTo(String value) { - addCriterion("address <=", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLike(String value) { - addCriterion("address like", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotLike(String value) { - addCriterion("address not like", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressIn(List values) { - addCriterion("address in", values, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotIn(List values) { - addCriterion("address not in", values, "address"); - return (Criteria) this; - } - - public Criteria andAddressBetween(String value1, String value2) { - addCriterion("address between", value1, value2, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotBetween(String value1, String value2) { - addCriterion("address not between", value1, value2, "address"); - return (Criteria) this; - } - - public Criteria andUserAgentIsNull() { - addCriterion("user_agent is null"); - return (Criteria) this; - } - - public Criteria andUserAgentIsNotNull() { - addCriterion("user_agent is not null"); - return (Criteria) this; - } - - public Criteria andUserAgentEqualTo(String value) { - addCriterion("user_agent =", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentNotEqualTo(String value) { - addCriterion("user_agent <>", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentGreaterThan(String value) { - addCriterion("user_agent >", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentGreaterThanOrEqualTo(String value) { - addCriterion("user_agent >=", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentLessThan(String value) { - addCriterion("user_agent <", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentLessThanOrEqualTo(String value) { - addCriterion("user_agent <=", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentLike(String value) { - addCriterion("user_agent like", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentNotLike(String value) { - addCriterion("user_agent not like", value, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentIn(List values) { - addCriterion("user_agent in", values, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentNotIn(List values) { - addCriterion("user_agent not in", values, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentBetween(String value1, String value2) { - addCriterion("user_agent between", value1, value2, "userAgent"); - return (Criteria) this; - } - - public Criteria andUserAgentNotBetween(String value1, String value2) { - addCriterion("user_agent not between", value1, value2, "userAgent"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java index 296ab5d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java @@ -1,63 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class UmsAdminPermissionRelation implements Serializable { - private Long id; - - private Long adminId; - - private Long permissionId; - - private Integer type; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getAdminId() { - return adminId; - } - - public void setAdminId(Long adminId) { - this.adminId = adminId; - } - - public Long getPermissionId() { - return permissionId; - } - - public void setPermissionId(Long permissionId) { - this.permissionId = permissionId; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", adminId=").append(adminId); - sb.append(", permissionId=").append(permissionId); - sb.append(", type=").append(type); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java index f3e7e42..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java @@ -1,439 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsAdminPermissionRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsAdminPermissionRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andAdminIdIsNull() { - addCriterion("admin_id is null"); - return (Criteria) this; - } - - public Criteria andAdminIdIsNotNull() { - addCriterion("admin_id is not null"); - return (Criteria) this; - } - - public Criteria andAdminIdEqualTo(Long value) { - addCriterion("admin_id =", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotEqualTo(Long value) { - addCriterion("admin_id <>", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdGreaterThan(Long value) { - addCriterion("admin_id >", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdGreaterThanOrEqualTo(Long value) { - addCriterion("admin_id >=", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdLessThan(Long value) { - addCriterion("admin_id <", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdLessThanOrEqualTo(Long value) { - addCriterion("admin_id <=", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdIn(List values) { - addCriterion("admin_id in", values, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotIn(List values) { - addCriterion("admin_id not in", values, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdBetween(Long value1, Long value2) { - addCriterion("admin_id between", value1, value2, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotBetween(Long value1, Long value2) { - addCriterion("admin_id not between", value1, value2, "adminId"); - return (Criteria) this; - } - - public Criteria andPermissionIdIsNull() { - addCriterion("permission_id is null"); - return (Criteria) this; - } - - public Criteria andPermissionIdIsNotNull() { - addCriterion("permission_id is not null"); - return (Criteria) this; - } - - public Criteria andPermissionIdEqualTo(Long value) { - addCriterion("permission_id =", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdNotEqualTo(Long value) { - addCriterion("permission_id <>", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdGreaterThan(Long value) { - addCriterion("permission_id >", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdGreaterThanOrEqualTo(Long value) { - addCriterion("permission_id >=", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdLessThan(Long value) { - addCriterion("permission_id <", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdLessThanOrEqualTo(Long value) { - addCriterion("permission_id <=", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdIn(List values) { - addCriterion("permission_id in", values, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdNotIn(List values) { - addCriterion("permission_id not in", values, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdBetween(Long value1, Long value2) { - addCriterion("permission_id between", value1, value2, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdNotBetween(Long value1, Long value2) { - addCriterion("permission_id not between", value1, value2, "permissionId"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java index 28ce302..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class UmsAdminRoleRelation implements Serializable { - private Long id; - - private Long adminId; - - private Long roleId; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getAdminId() { - return adminId; - } - - public void setAdminId(Long adminId) { - this.adminId = adminId; - } - - public Long getRoleId() { - return roleId; - } - - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", adminId=").append(adminId); - sb.append(", roleId=").append(roleId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java index d8d1df2..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java @@ -1,379 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsAdminRoleRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsAdminRoleRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andAdminIdIsNull() { - addCriterion("admin_id is null"); - return (Criteria) this; - } - - public Criteria andAdminIdIsNotNull() { - addCriterion("admin_id is not null"); - return (Criteria) this; - } - - public Criteria andAdminIdEqualTo(Long value) { - addCriterion("admin_id =", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotEqualTo(Long value) { - addCriterion("admin_id <>", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdGreaterThan(Long value) { - addCriterion("admin_id >", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdGreaterThanOrEqualTo(Long value) { - addCriterion("admin_id >=", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdLessThan(Long value) { - addCriterion("admin_id <", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdLessThanOrEqualTo(Long value) { - addCriterion("admin_id <=", value, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdIn(List values) { - addCriterion("admin_id in", values, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotIn(List values) { - addCriterion("admin_id not in", values, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdBetween(Long value1, Long value2) { - addCriterion("admin_id between", value1, value2, "adminId"); - return (Criteria) this; - } - - public Criteria andAdminIdNotBetween(Long value1, Long value2) { - addCriterion("admin_id not between", value1, value2, "adminId"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNull() { - addCriterion("role_id is null"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNotNull() { - addCriterion("role_id is not null"); - return (Criteria) this; - } - - public Criteria andRoleIdEqualTo(Long value) { - addCriterion("role_id =", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotEqualTo(Long value) { - addCriterion("role_id <>", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThan(Long value) { - addCriterion("role_id >", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThanOrEqualTo(Long value) { - addCriterion("role_id >=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThan(Long value) { - addCriterion("role_id <", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThanOrEqualTo(Long value) { - addCriterion("role_id <=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdIn(List values) { - addCriterion("role_id in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotIn(List values) { - addCriterion("role_id not in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdBetween(Long value1, Long value2) { - addCriterion("role_id between", value1, value2, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotBetween(Long value1, Long value2) { - addCriterion("role_id not between", value1, value2, "roleId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java index 6f19d1a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java @@ -1,113 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class UmsGrowthChangeHistory implements Serializable { - private Long id; - - private Long memberId; - - private Date createTime; - - @ApiModelProperty(value = "改变类型:0->增加;1->减少") - private Integer changeType; - - @ApiModelProperty(value = "积分改变数量") - private Integer changeCount; - - @ApiModelProperty(value = "操作人员") - private String operateMan; - - @ApiModelProperty(value = "操作备注") - private String operateNote; - - @ApiModelProperty(value = "积分来源:0->购物;1->管理员修改") - private Integer sourceType; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getMemberId() { - return memberId; - } - - public void setMemberId(Long memberId) { - this.memberId = memberId; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getChangeType() { - return changeType; - } - - public void setChangeType(Integer changeType) { - this.changeType = changeType; - } - - public Integer getChangeCount() { - return changeCount; - } - - public void setChangeCount(Integer changeCount) { - this.changeCount = changeCount; - } - - public String getOperateMan() { - return operateMan; - } - - public void setOperateMan(String operateMan) { - this.operateMan = operateMan; - } - - public String getOperateNote() { - return operateNote; - } - - public void setOperateNote(String operateNote) { - this.operateNote = operateNote; - } - - public Integer getSourceType() { - return sourceType; - } - - public void setSourceType(Integer sourceType) { - this.sourceType = sourceType; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberId=").append(memberId); - sb.append(", createTime=").append(createTime); - sb.append(", changeType=").append(changeType); - sb.append(", changeCount=").append(changeCount); - sb.append(", operateMan=").append(operateMan); - sb.append(", operateNote=").append(operateNote); - sb.append(", sourceType=").append(sourceType); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java index 5d97472..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java @@ -1,700 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsGrowthChangeHistoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsGrowthChangeHistoryExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andChangeTypeIsNull() { - addCriterion("change_type is null"); - return (Criteria) this; - } - - public Criteria andChangeTypeIsNotNull() { - addCriterion("change_type is not null"); - return (Criteria) this; - } - - public Criteria andChangeTypeEqualTo(Integer value) { - addCriterion("change_type =", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeNotEqualTo(Integer value) { - addCriterion("change_type <>", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeGreaterThan(Integer value) { - addCriterion("change_type >", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("change_type >=", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeLessThan(Integer value) { - addCriterion("change_type <", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeLessThanOrEqualTo(Integer value) { - addCriterion("change_type <=", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeIn(List values) { - addCriterion("change_type in", values, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeNotIn(List values) { - addCriterion("change_type not in", values, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeBetween(Integer value1, Integer value2) { - addCriterion("change_type between", value1, value2, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeNotBetween(Integer value1, Integer value2) { - addCriterion("change_type not between", value1, value2, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeCountIsNull() { - addCriterion("change_count is null"); - return (Criteria) this; - } - - public Criteria andChangeCountIsNotNull() { - addCriterion("change_count is not null"); - return (Criteria) this; - } - - public Criteria andChangeCountEqualTo(Integer value) { - addCriterion("change_count =", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountNotEqualTo(Integer value) { - addCriterion("change_count <>", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountGreaterThan(Integer value) { - addCriterion("change_count >", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountGreaterThanOrEqualTo(Integer value) { - addCriterion("change_count >=", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountLessThan(Integer value) { - addCriterion("change_count <", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountLessThanOrEqualTo(Integer value) { - addCriterion("change_count <=", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountIn(List values) { - addCriterion("change_count in", values, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountNotIn(List values) { - addCriterion("change_count not in", values, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountBetween(Integer value1, Integer value2) { - addCriterion("change_count between", value1, value2, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountNotBetween(Integer value1, Integer value2) { - addCriterion("change_count not between", value1, value2, "changeCount"); - return (Criteria) this; - } - - public Criteria andOperateManIsNull() { - addCriterion("operate_man is null"); - return (Criteria) this; - } - - public Criteria andOperateManIsNotNull() { - addCriterion("operate_man is not null"); - return (Criteria) this; - } - - public Criteria andOperateManEqualTo(String value) { - addCriterion("operate_man =", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotEqualTo(String value) { - addCriterion("operate_man <>", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThan(String value) { - addCriterion("operate_man >", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThanOrEqualTo(String value) { - addCriterion("operate_man >=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThan(String value) { - addCriterion("operate_man <", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThanOrEqualTo(String value) { - addCriterion("operate_man <=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLike(String value) { - addCriterion("operate_man like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotLike(String value) { - addCriterion("operate_man not like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManIn(List values) { - addCriterion("operate_man in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotIn(List values) { - addCriterion("operate_man not in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManBetween(String value1, String value2) { - addCriterion("operate_man between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotBetween(String value1, String value2) { - addCriterion("operate_man not between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateNoteIsNull() { - addCriterion("operate_note is null"); - return (Criteria) this; - } - - public Criteria andOperateNoteIsNotNull() { - addCriterion("operate_note is not null"); - return (Criteria) this; - } - - public Criteria andOperateNoteEqualTo(String value) { - addCriterion("operate_note =", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotEqualTo(String value) { - addCriterion("operate_note <>", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteGreaterThan(String value) { - addCriterion("operate_note >", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteGreaterThanOrEqualTo(String value) { - addCriterion("operate_note >=", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteLessThan(String value) { - addCriterion("operate_note <", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteLessThanOrEqualTo(String value) { - addCriterion("operate_note <=", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteLike(String value) { - addCriterion("operate_note like", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotLike(String value) { - addCriterion("operate_note not like", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteIn(List values) { - addCriterion("operate_note in", values, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotIn(List values) { - addCriterion("operate_note not in", values, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteBetween(String value1, String value2) { - addCriterion("operate_note between", value1, value2, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotBetween(String value1, String value2) { - addCriterion("operate_note not between", value1, value2, "operateNote"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNull() { - addCriterion("source_type is null"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNotNull() { - addCriterion("source_type is not null"); - return (Criteria) this; - } - - public Criteria andSourceTypeEqualTo(Integer value) { - addCriterion("source_type =", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotEqualTo(Integer value) { - addCriterion("source_type <>", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThan(Integer value) { - addCriterion("source_type >", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("source_type >=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThan(Integer value) { - addCriterion("source_type <", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { - addCriterion("source_type <=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeIn(List values) { - addCriterion("source_type in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotIn(List values) { - addCriterion("source_type not in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeBetween(Integer value1, Integer value2) { - addCriterion("source_type between", value1, value2, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { - addCriterion("source_type not between", value1, value2, "sourceType"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java index 910f279..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java @@ -1,113 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class UmsIntegrationChangeHistory implements Serializable { - private Long id; - - private Long memberId; - - private Date createTime; - - @ApiModelProperty(value = "改变类型:0->增加;1->减少") - private Integer changeType; - - @ApiModelProperty(value = "积分改变数量") - private Integer changeCount; - - @ApiModelProperty(value = "操作人员") - private String operateMan; - - @ApiModelProperty(value = "操作备注") - private String operateNote; - - @ApiModelProperty(value = "积分来源:0->购物;1->管理员修改") - private Integer sourceType; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getMemberId() { - return memberId; - } - - public void setMemberId(Long memberId) { - this.memberId = memberId; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getChangeType() { - return changeType; - } - - public void setChangeType(Integer changeType) { - this.changeType = changeType; - } - - public Integer getChangeCount() { - return changeCount; - } - - public void setChangeCount(Integer changeCount) { - this.changeCount = changeCount; - } - - public String getOperateMan() { - return operateMan; - } - - public void setOperateMan(String operateMan) { - this.operateMan = operateMan; - } - - public String getOperateNote() { - return operateNote; - } - - public void setOperateNote(String operateNote) { - this.operateNote = operateNote; - } - - public Integer getSourceType() { - return sourceType; - } - - public void setSourceType(Integer sourceType) { - this.sourceType = sourceType; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberId=").append(memberId); - sb.append(", createTime=").append(createTime); - sb.append(", changeType=").append(changeType); - sb.append(", changeCount=").append(changeCount); - sb.append(", operateMan=").append(operateMan); - sb.append(", operateNote=").append(operateNote); - sb.append(", sourceType=").append(sourceType); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java index a38b5da..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java @@ -1,700 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsIntegrationChangeHistoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsIntegrationChangeHistoryExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andChangeTypeIsNull() { - addCriterion("change_type is null"); - return (Criteria) this; - } - - public Criteria andChangeTypeIsNotNull() { - addCriterion("change_type is not null"); - return (Criteria) this; - } - - public Criteria andChangeTypeEqualTo(Integer value) { - addCriterion("change_type =", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeNotEqualTo(Integer value) { - addCriterion("change_type <>", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeGreaterThan(Integer value) { - addCriterion("change_type >", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("change_type >=", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeLessThan(Integer value) { - addCriterion("change_type <", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeLessThanOrEqualTo(Integer value) { - addCriterion("change_type <=", value, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeIn(List values) { - addCriterion("change_type in", values, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeNotIn(List values) { - addCriterion("change_type not in", values, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeBetween(Integer value1, Integer value2) { - addCriterion("change_type between", value1, value2, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeTypeNotBetween(Integer value1, Integer value2) { - addCriterion("change_type not between", value1, value2, "changeType"); - return (Criteria) this; - } - - public Criteria andChangeCountIsNull() { - addCriterion("change_count is null"); - return (Criteria) this; - } - - public Criteria andChangeCountIsNotNull() { - addCriterion("change_count is not null"); - return (Criteria) this; - } - - public Criteria andChangeCountEqualTo(Integer value) { - addCriterion("change_count =", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountNotEqualTo(Integer value) { - addCriterion("change_count <>", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountGreaterThan(Integer value) { - addCriterion("change_count >", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountGreaterThanOrEqualTo(Integer value) { - addCriterion("change_count >=", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountLessThan(Integer value) { - addCriterion("change_count <", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountLessThanOrEqualTo(Integer value) { - addCriterion("change_count <=", value, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountIn(List values) { - addCriterion("change_count in", values, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountNotIn(List values) { - addCriterion("change_count not in", values, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountBetween(Integer value1, Integer value2) { - addCriterion("change_count between", value1, value2, "changeCount"); - return (Criteria) this; - } - - public Criteria andChangeCountNotBetween(Integer value1, Integer value2) { - addCriterion("change_count not between", value1, value2, "changeCount"); - return (Criteria) this; - } - - public Criteria andOperateManIsNull() { - addCriterion("operate_man is null"); - return (Criteria) this; - } - - public Criteria andOperateManIsNotNull() { - addCriterion("operate_man is not null"); - return (Criteria) this; - } - - public Criteria andOperateManEqualTo(String value) { - addCriterion("operate_man =", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotEqualTo(String value) { - addCriterion("operate_man <>", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThan(String value) { - addCriterion("operate_man >", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManGreaterThanOrEqualTo(String value) { - addCriterion("operate_man >=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThan(String value) { - addCriterion("operate_man <", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLessThanOrEqualTo(String value) { - addCriterion("operate_man <=", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManLike(String value) { - addCriterion("operate_man like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotLike(String value) { - addCriterion("operate_man not like", value, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManIn(List values) { - addCriterion("operate_man in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotIn(List values) { - addCriterion("operate_man not in", values, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManBetween(String value1, String value2) { - addCriterion("operate_man between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateManNotBetween(String value1, String value2) { - addCriterion("operate_man not between", value1, value2, "operateMan"); - return (Criteria) this; - } - - public Criteria andOperateNoteIsNull() { - addCriterion("operate_note is null"); - return (Criteria) this; - } - - public Criteria andOperateNoteIsNotNull() { - addCriterion("operate_note is not null"); - return (Criteria) this; - } - - public Criteria andOperateNoteEqualTo(String value) { - addCriterion("operate_note =", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotEqualTo(String value) { - addCriterion("operate_note <>", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteGreaterThan(String value) { - addCriterion("operate_note >", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteGreaterThanOrEqualTo(String value) { - addCriterion("operate_note >=", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteLessThan(String value) { - addCriterion("operate_note <", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteLessThanOrEqualTo(String value) { - addCriterion("operate_note <=", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteLike(String value) { - addCriterion("operate_note like", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotLike(String value) { - addCriterion("operate_note not like", value, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteIn(List values) { - addCriterion("operate_note in", values, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotIn(List values) { - addCriterion("operate_note not in", values, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteBetween(String value1, String value2) { - addCriterion("operate_note between", value1, value2, "operateNote"); - return (Criteria) this; - } - - public Criteria andOperateNoteNotBetween(String value1, String value2) { - addCriterion("operate_note not between", value1, value2, "operateNote"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNull() { - addCriterion("source_type is null"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNotNull() { - addCriterion("source_type is not null"); - return (Criteria) this; - } - - public Criteria andSourceTypeEqualTo(Integer value) { - addCriterion("source_type =", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotEqualTo(Integer value) { - addCriterion("source_type <>", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThan(Integer value) { - addCriterion("source_type >", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("source_type >=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThan(Integer value) { - addCriterion("source_type <", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { - addCriterion("source_type <=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeIn(List values) { - addCriterion("source_type in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotIn(List values) { - addCriterion("source_type not in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeBetween(Integer value1, Integer value2) { - addCriterion("source_type between", value1, value2, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { - addCriterion("source_type not between", value1, value2, "sourceType"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java index dfeceaf..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java @@ -1,78 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class UmsIntegrationConsumeSetting implements Serializable { - private Long id; - - @ApiModelProperty(value = "每一元需要抵扣的积分数量") - private Integer deductionPerAmount; - - @ApiModelProperty(value = "每笔订单最高抵用百分比") - private Integer maxPercentPerOrder; - - @ApiModelProperty(value = "每次使用积分最小单位100") - private Integer useUnit; - - @ApiModelProperty(value = "是否可以和优惠券同用;0->不可以;1->可以") - private Integer couponStatus; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Integer getDeductionPerAmount() { - return deductionPerAmount; - } - - public void setDeductionPerAmount(Integer deductionPerAmount) { - this.deductionPerAmount = deductionPerAmount; - } - - public Integer getMaxPercentPerOrder() { - return maxPercentPerOrder; - } - - public void setMaxPercentPerOrder(Integer maxPercentPerOrder) { - this.maxPercentPerOrder = maxPercentPerOrder; - } - - public Integer getUseUnit() { - return useUnit; - } - - public void setUseUnit(Integer useUnit) { - this.useUnit = useUnit; - } - - public Integer getCouponStatus() { - return couponStatus; - } - - public void setCouponStatus(Integer couponStatus) { - this.couponStatus = couponStatus; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", deductionPerAmount=").append(deductionPerAmount); - sb.append(", maxPercentPerOrder=").append(maxPercentPerOrder); - sb.append(", useUnit=").append(useUnit); - sb.append(", couponStatus=").append(couponStatus); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java index ff0f373..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java @@ -1,499 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsIntegrationConsumeSettingExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsIntegrationConsumeSettingExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountIsNull() { - addCriterion("deduction_per_amount is null"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountIsNotNull() { - addCriterion("deduction_per_amount is not null"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountEqualTo(Integer value) { - addCriterion("deduction_per_amount =", value, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountNotEqualTo(Integer value) { - addCriterion("deduction_per_amount <>", value, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountGreaterThan(Integer value) { - addCriterion("deduction_per_amount >", value, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountGreaterThanOrEqualTo(Integer value) { - addCriterion("deduction_per_amount >=", value, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountLessThan(Integer value) { - addCriterion("deduction_per_amount <", value, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountLessThanOrEqualTo(Integer value) { - addCriterion("deduction_per_amount <=", value, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountIn(List values) { - addCriterion("deduction_per_amount in", values, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountNotIn(List values) { - addCriterion("deduction_per_amount not in", values, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountBetween(Integer value1, Integer value2) { - addCriterion("deduction_per_amount between", value1, value2, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andDeductionPerAmountNotBetween(Integer value1, Integer value2) { - addCriterion("deduction_per_amount not between", value1, value2, "deductionPerAmount"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderIsNull() { - addCriterion("max_percent_per_order is null"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderIsNotNull() { - addCriterion("max_percent_per_order is not null"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderEqualTo(Integer value) { - addCriterion("max_percent_per_order =", value, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderNotEqualTo(Integer value) { - addCriterion("max_percent_per_order <>", value, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderGreaterThan(Integer value) { - addCriterion("max_percent_per_order >", value, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderGreaterThanOrEqualTo(Integer value) { - addCriterion("max_percent_per_order >=", value, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderLessThan(Integer value) { - addCriterion("max_percent_per_order <", value, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderLessThanOrEqualTo(Integer value) { - addCriterion("max_percent_per_order <=", value, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderIn(List values) { - addCriterion("max_percent_per_order in", values, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderNotIn(List values) { - addCriterion("max_percent_per_order not in", values, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderBetween(Integer value1, Integer value2) { - addCriterion("max_percent_per_order between", value1, value2, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPercentPerOrderNotBetween(Integer value1, Integer value2) { - addCriterion("max_percent_per_order not between", value1, value2, "maxPercentPerOrder"); - return (Criteria) this; - } - - public Criteria andUseUnitIsNull() { - addCriterion("use_unit is null"); - return (Criteria) this; - } - - public Criteria andUseUnitIsNotNull() { - addCriterion("use_unit is not null"); - return (Criteria) this; - } - - public Criteria andUseUnitEqualTo(Integer value) { - addCriterion("use_unit =", value, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitNotEqualTo(Integer value) { - addCriterion("use_unit <>", value, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitGreaterThan(Integer value) { - addCriterion("use_unit >", value, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitGreaterThanOrEqualTo(Integer value) { - addCriterion("use_unit >=", value, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitLessThan(Integer value) { - addCriterion("use_unit <", value, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitLessThanOrEqualTo(Integer value) { - addCriterion("use_unit <=", value, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitIn(List values) { - addCriterion("use_unit in", values, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitNotIn(List values) { - addCriterion("use_unit not in", values, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitBetween(Integer value1, Integer value2) { - addCriterion("use_unit between", value1, value2, "useUnit"); - return (Criteria) this; - } - - public Criteria andUseUnitNotBetween(Integer value1, Integer value2) { - addCriterion("use_unit not between", value1, value2, "useUnit"); - return (Criteria) this; - } - - public Criteria andCouponStatusIsNull() { - addCriterion("coupon_status is null"); - return (Criteria) this; - } - - public Criteria andCouponStatusIsNotNull() { - addCriterion("coupon_status is not null"); - return (Criteria) this; - } - - public Criteria andCouponStatusEqualTo(Integer value) { - addCriterion("coupon_status =", value, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusNotEqualTo(Integer value) { - addCriterion("coupon_status <>", value, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusGreaterThan(Integer value) { - addCriterion("coupon_status >", value, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("coupon_status >=", value, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusLessThan(Integer value) { - addCriterion("coupon_status <", value, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusLessThanOrEqualTo(Integer value) { - addCriterion("coupon_status <=", value, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusIn(List values) { - addCriterion("coupon_status in", values, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusNotIn(List values) { - addCriterion("coupon_status not in", values, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusBetween(Integer value1, Integer value2) { - addCriterion("coupon_status between", value1, value2, "couponStatus"); - return (Criteria) this; - } - - public Criteria andCouponStatusNotBetween(Integer value1, Integer value2) { - addCriterion("coupon_status not between", value1, value2, "couponStatus"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java index 76731ca..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java @@ -1,1447 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.Iterator; -import java.util.List; - -public class UmsMemberExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - protected void addCriterionForJDBCDate(String condition, Date value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Date(value.getTime()), property); - } - - protected void addCriterionForJDBCDate(String condition, List values, String property) { - if (values == null || values.size() == 0) { - throw new RuntimeException("Value list for " + property + " cannot be null or empty"); - } - List dateList = new ArrayList<>(); - Iterator iter = values.iterator(); - while (iter.hasNext()) { - dateList.add(new java.sql.Date(iter.next().getTime())); - } - addCriterion(condition, dateList, property); - } - - protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdIsNull() { - addCriterion("member_level_id is null"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdIsNotNull() { - addCriterion("member_level_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdEqualTo(Long value) { - addCriterion("member_level_id =", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdNotEqualTo(Long value) { - addCriterion("member_level_id <>", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdGreaterThan(Long value) { - addCriterion("member_level_id >", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_level_id >=", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdLessThan(Long value) { - addCriterion("member_level_id <", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdLessThanOrEqualTo(Long value) { - addCriterion("member_level_id <=", value, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdIn(List values) { - addCriterion("member_level_id in", values, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdNotIn(List values) { - addCriterion("member_level_id not in", values, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdBetween(Long value1, Long value2) { - addCriterion("member_level_id between", value1, value2, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andMemberLevelIdNotBetween(Long value1, Long value2) { - addCriterion("member_level_id not between", value1, value2, "memberLevelId"); - return (Criteria) this; - } - - public Criteria andUsernameIsNull() { - addCriterion("username is null"); - return (Criteria) this; - } - - public Criteria andUsernameIsNotNull() { - addCriterion("username is not null"); - return (Criteria) this; - } - - public Criteria andUsernameEqualTo(String value) { - addCriterion("username =", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotEqualTo(String value) { - addCriterion("username <>", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameGreaterThan(String value) { - addCriterion("username >", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameGreaterThanOrEqualTo(String value) { - addCriterion("username >=", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLessThan(String value) { - addCriterion("username <", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLessThanOrEqualTo(String value) { - addCriterion("username <=", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLike(String value) { - addCriterion("username like", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotLike(String value) { - addCriterion("username not like", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameIn(List values) { - addCriterion("username in", values, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotIn(List values) { - addCriterion("username not in", values, "username"); - return (Criteria) this; - } - - public Criteria andUsernameBetween(String value1, String value2) { - addCriterion("username between", value1, value2, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotBetween(String value1, String value2) { - addCriterion("username not between", value1, value2, "username"); - return (Criteria) this; - } - - public Criteria andPasswordIsNull() { - addCriterion("password is null"); - return (Criteria) this; - } - - public Criteria andPasswordIsNotNull() { - addCriterion("password is not null"); - return (Criteria) this; - } - - public Criteria andPasswordEqualTo(String value) { - addCriterion("password =", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotEqualTo(String value) { - addCriterion("password <>", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordGreaterThan(String value) { - addCriterion("password >", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordGreaterThanOrEqualTo(String value) { - addCriterion("password >=", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordLessThan(String value) { - addCriterion("password <", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordLessThanOrEqualTo(String value) { - addCriterion("password <=", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordLike(String value) { - addCriterion("password like", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotLike(String value) { - addCriterion("password not like", value, "password"); - return (Criteria) this; - } - - public Criteria andPasswordIn(List values) { - addCriterion("password in", values, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotIn(List values) { - addCriterion("password not in", values, "password"); - return (Criteria) this; - } - - public Criteria andPasswordBetween(String value1, String value2) { - addCriterion("password between", value1, value2, "password"); - return (Criteria) this; - } - - public Criteria andPasswordNotBetween(String value1, String value2) { - addCriterion("password not between", value1, value2, "password"); - return (Criteria) this; - } - - public Criteria andNicknameIsNull() { - addCriterion("nickname is null"); - return (Criteria) this; - } - - public Criteria andNicknameIsNotNull() { - addCriterion("nickname is not null"); - return (Criteria) this; - } - - public Criteria andNicknameEqualTo(String value) { - addCriterion("nickname =", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameNotEqualTo(String value) { - addCriterion("nickname <>", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameGreaterThan(String value) { - addCriterion("nickname >", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameGreaterThanOrEqualTo(String value) { - addCriterion("nickname >=", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameLessThan(String value) { - addCriterion("nickname <", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameLessThanOrEqualTo(String value) { - addCriterion("nickname <=", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameLike(String value) { - addCriterion("nickname like", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameNotLike(String value) { - addCriterion("nickname not like", value, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameIn(List values) { - addCriterion("nickname in", values, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameNotIn(List values) { - addCriterion("nickname not in", values, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameBetween(String value1, String value2) { - addCriterion("nickname between", value1, value2, "nickname"); - return (Criteria) this; - } - - public Criteria andNicknameNotBetween(String value1, String value2) { - addCriterion("nickname not between", value1, value2, "nickname"); - return (Criteria) this; - } - - public Criteria andPhoneIsNull() { - addCriterion("phone is null"); - return (Criteria) this; - } - - public Criteria andPhoneIsNotNull() { - addCriterion("phone is not null"); - return (Criteria) this; - } - - public Criteria andPhoneEqualTo(String value) { - addCriterion("phone =", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotEqualTo(String value) { - addCriterion("phone <>", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneGreaterThan(String value) { - addCriterion("phone >", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneGreaterThanOrEqualTo(String value) { - addCriterion("phone >=", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneLessThan(String value) { - addCriterion("phone <", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneLessThanOrEqualTo(String value) { - addCriterion("phone <=", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneLike(String value) { - addCriterion("phone like", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotLike(String value) { - addCriterion("phone not like", value, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneIn(List values) { - addCriterion("phone in", values, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotIn(List values) { - addCriterion("phone not in", values, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneBetween(String value1, String value2) { - addCriterion("phone between", value1, value2, "phone"); - return (Criteria) this; - } - - public Criteria andPhoneNotBetween(String value1, String value2) { - addCriterion("phone not between", value1, value2, "phone"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andGenderIsNull() { - addCriterion("gender is null"); - return (Criteria) this; - } - - public Criteria andGenderIsNotNull() { - addCriterion("gender is not null"); - return (Criteria) this; - } - - public Criteria andGenderEqualTo(Integer value) { - addCriterion("gender =", value, "gender"); - return (Criteria) this; - } - - public Criteria andGenderNotEqualTo(Integer value) { - addCriterion("gender <>", value, "gender"); - return (Criteria) this; - } - - public Criteria andGenderGreaterThan(Integer value) { - addCriterion("gender >", value, "gender"); - return (Criteria) this; - } - - public Criteria andGenderGreaterThanOrEqualTo(Integer value) { - addCriterion("gender >=", value, "gender"); - return (Criteria) this; - } - - public Criteria andGenderLessThan(Integer value) { - addCriterion("gender <", value, "gender"); - return (Criteria) this; - } - - public Criteria andGenderLessThanOrEqualTo(Integer value) { - addCriterion("gender <=", value, "gender"); - return (Criteria) this; - } - - public Criteria andGenderIn(List values) { - addCriterion("gender in", values, "gender"); - return (Criteria) this; - } - - public Criteria andGenderNotIn(List values) { - addCriterion("gender not in", values, "gender"); - return (Criteria) this; - } - - public Criteria andGenderBetween(Integer value1, Integer value2) { - addCriterion("gender between", value1, value2, "gender"); - return (Criteria) this; - } - - public Criteria andGenderNotBetween(Integer value1, Integer value2) { - addCriterion("gender not between", value1, value2, "gender"); - return (Criteria) this; - } - - public Criteria andBirthdayIsNull() { - addCriterion("birthday is null"); - return (Criteria) this; - } - - public Criteria andBirthdayIsNotNull() { - addCriterion("birthday is not null"); - return (Criteria) this; - } - - public Criteria andBirthdayEqualTo(Date value) { - addCriterionForJDBCDate("birthday =", value, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayNotEqualTo(Date value) { - addCriterionForJDBCDate("birthday <>", value, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayGreaterThan(Date value) { - addCriterionForJDBCDate("birthday >", value, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayGreaterThanOrEqualTo(Date value) { - addCriterionForJDBCDate("birthday >=", value, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayLessThan(Date value) { - addCriterionForJDBCDate("birthday <", value, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayLessThanOrEqualTo(Date value) { - addCriterionForJDBCDate("birthday <=", value, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayIn(List values) { - addCriterionForJDBCDate("birthday in", values, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayNotIn(List values) { - addCriterionForJDBCDate("birthday not in", values, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayBetween(Date value1, Date value2) { - addCriterionForJDBCDate("birthday between", value1, value2, "birthday"); - return (Criteria) this; - } - - public Criteria andBirthdayNotBetween(Date value1, Date value2) { - addCriterionForJDBCDate("birthday not between", value1, value2, "birthday"); - return (Criteria) this; - } - - public Criteria andCityIsNull() { - addCriterion("city is null"); - return (Criteria) this; - } - - public Criteria andCityIsNotNull() { - addCriterion("city is not null"); - return (Criteria) this; - } - - public Criteria andCityEqualTo(String value) { - addCriterion("city =", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotEqualTo(String value) { - addCriterion("city <>", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThan(String value) { - addCriterion("city >", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThanOrEqualTo(String value) { - addCriterion("city >=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThan(String value) { - addCriterion("city <", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThanOrEqualTo(String value) { - addCriterion("city <=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLike(String value) { - addCriterion("city like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotLike(String value) { - addCriterion("city not like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityIn(List values) { - addCriterion("city in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityNotIn(List values) { - addCriterion("city not in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityBetween(String value1, String value2) { - addCriterion("city between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andCityNotBetween(String value1, String value2) { - addCriterion("city not between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andJobIsNull() { - addCriterion("job is null"); - return (Criteria) this; - } - - public Criteria andJobIsNotNull() { - addCriterion("job is not null"); - return (Criteria) this; - } - - public Criteria andJobEqualTo(String value) { - addCriterion("job =", value, "job"); - return (Criteria) this; - } - - public Criteria andJobNotEqualTo(String value) { - addCriterion("job <>", value, "job"); - return (Criteria) this; - } - - public Criteria andJobGreaterThan(String value) { - addCriterion("job >", value, "job"); - return (Criteria) this; - } - - public Criteria andJobGreaterThanOrEqualTo(String value) { - addCriterion("job >=", value, "job"); - return (Criteria) this; - } - - public Criteria andJobLessThan(String value) { - addCriterion("job <", value, "job"); - return (Criteria) this; - } - - public Criteria andJobLessThanOrEqualTo(String value) { - addCriterion("job <=", value, "job"); - return (Criteria) this; - } - - public Criteria andJobLike(String value) { - addCriterion("job like", value, "job"); - return (Criteria) this; - } - - public Criteria andJobNotLike(String value) { - addCriterion("job not like", value, "job"); - return (Criteria) this; - } - - public Criteria andJobIn(List values) { - addCriterion("job in", values, "job"); - return (Criteria) this; - } - - public Criteria andJobNotIn(List values) { - addCriterion("job not in", values, "job"); - return (Criteria) this; - } - - public Criteria andJobBetween(String value1, String value2) { - addCriterion("job between", value1, value2, "job"); - return (Criteria) this; - } - - public Criteria andJobNotBetween(String value1, String value2) { - addCriterion("job not between", value1, value2, "job"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureIsNull() { - addCriterion("personalized_signature is null"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureIsNotNull() { - addCriterion("personalized_signature is not null"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureEqualTo(String value) { - addCriterion("personalized_signature =", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureNotEqualTo(String value) { - addCriterion("personalized_signature <>", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureGreaterThan(String value) { - addCriterion("personalized_signature >", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureGreaterThanOrEqualTo(String value) { - addCriterion("personalized_signature >=", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureLessThan(String value) { - addCriterion("personalized_signature <", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureLessThanOrEqualTo(String value) { - addCriterion("personalized_signature <=", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureLike(String value) { - addCriterion("personalized_signature like", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureNotLike(String value) { - addCriterion("personalized_signature not like", value, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureIn(List values) { - addCriterion("personalized_signature in", values, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureNotIn(List values) { - addCriterion("personalized_signature not in", values, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureBetween(String value1, String value2) { - addCriterion("personalized_signature between", value1, value2, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andPersonalizedSignatureNotBetween(String value1, String value2) { - addCriterion("personalized_signature not between", value1, value2, "personalizedSignature"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNull() { - addCriterion("source_type is null"); - return (Criteria) this; - } - - public Criteria andSourceTypeIsNotNull() { - addCriterion("source_type is not null"); - return (Criteria) this; - } - - public Criteria andSourceTypeEqualTo(Integer value) { - addCriterion("source_type =", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotEqualTo(Integer value) { - addCriterion("source_type <>", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThan(Integer value) { - addCriterion("source_type >", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("source_type >=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThan(Integer value) { - addCriterion("source_type <", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { - addCriterion("source_type <=", value, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeIn(List values) { - addCriterion("source_type in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotIn(List values) { - addCriterion("source_type not in", values, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeBetween(Integer value1, Integer value2) { - addCriterion("source_type between", value1, value2, "sourceType"); - return (Criteria) this; - } - - public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { - addCriterion("source_type not between", value1, value2, "sourceType"); - return (Criteria) this; - } - - public Criteria andIntegrationIsNull() { - addCriterion("integration is null"); - return (Criteria) this; - } - - public Criteria andIntegrationIsNotNull() { - addCriterion("integration is not null"); - return (Criteria) this; - } - - public Criteria andIntegrationEqualTo(Integer value) { - addCriterion("integration =", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationNotEqualTo(Integer value) { - addCriterion("integration <>", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationGreaterThan(Integer value) { - addCriterion("integration >", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationGreaterThanOrEqualTo(Integer value) { - addCriterion("integration >=", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationLessThan(Integer value) { - addCriterion("integration <", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationLessThanOrEqualTo(Integer value) { - addCriterion("integration <=", value, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationIn(List values) { - addCriterion("integration in", values, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationNotIn(List values) { - addCriterion("integration not in", values, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationBetween(Integer value1, Integer value2) { - addCriterion("integration between", value1, value2, "integration"); - return (Criteria) this; - } - - public Criteria andIntegrationNotBetween(Integer value1, Integer value2) { - addCriterion("integration not between", value1, value2, "integration"); - return (Criteria) this; - } - - public Criteria andGrowthIsNull() { - addCriterion("growth is null"); - return (Criteria) this; - } - - public Criteria andGrowthIsNotNull() { - addCriterion("growth is not null"); - return (Criteria) this; - } - - public Criteria andGrowthEqualTo(Integer value) { - addCriterion("growth =", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotEqualTo(Integer value) { - addCriterion("growth <>", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthGreaterThan(Integer value) { - addCriterion("growth >", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { - addCriterion("growth >=", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthLessThan(Integer value) { - addCriterion("growth <", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthLessThanOrEqualTo(Integer value) { - addCriterion("growth <=", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthIn(List values) { - addCriterion("growth in", values, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotIn(List values) { - addCriterion("growth not in", values, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthBetween(Integer value1, Integer value2) { - addCriterion("growth between", value1, value2, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotBetween(Integer value1, Integer value2) { - addCriterion("growth not between", value1, value2, "growth"); - return (Criteria) this; - } - - public Criteria andLuckeyCountIsNull() { - addCriterion("luckey_count is null"); - return (Criteria) this; - } - - public Criteria andLuckeyCountIsNotNull() { - addCriterion("luckey_count is not null"); - return (Criteria) this; - } - - public Criteria andLuckeyCountEqualTo(Integer value) { - addCriterion("luckey_count =", value, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountNotEqualTo(Integer value) { - addCriterion("luckey_count <>", value, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountGreaterThan(Integer value) { - addCriterion("luckey_count >", value, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountGreaterThanOrEqualTo(Integer value) { - addCriterion("luckey_count >=", value, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountLessThan(Integer value) { - addCriterion("luckey_count <", value, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountLessThanOrEqualTo(Integer value) { - addCriterion("luckey_count <=", value, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountIn(List values) { - addCriterion("luckey_count in", values, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountNotIn(List values) { - addCriterion("luckey_count not in", values, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountBetween(Integer value1, Integer value2) { - addCriterion("luckey_count between", value1, value2, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andLuckeyCountNotBetween(Integer value1, Integer value2) { - addCriterion("luckey_count not between", value1, value2, "luckeyCount"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationIsNull() { - addCriterion("history_integration is null"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationIsNotNull() { - addCriterion("history_integration is not null"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationEqualTo(Integer value) { - addCriterion("history_integration =", value, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationNotEqualTo(Integer value) { - addCriterion("history_integration <>", value, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationGreaterThan(Integer value) { - addCriterion("history_integration >", value, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationGreaterThanOrEqualTo(Integer value) { - addCriterion("history_integration >=", value, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationLessThan(Integer value) { - addCriterion("history_integration <", value, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationLessThanOrEqualTo(Integer value) { - addCriterion("history_integration <=", value, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationIn(List values) { - addCriterion("history_integration in", values, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationNotIn(List values) { - addCriterion("history_integration not in", values, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationBetween(Integer value1, Integer value2) { - addCriterion("history_integration between", value1, value2, "historyIntegration"); - return (Criteria) this; - } - - public Criteria andHistoryIntegrationNotBetween(Integer value1, Integer value2) { - addCriterion("history_integration not between", value1, value2, "historyIntegration"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java index ad937a4..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java @@ -1,172 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class UmsMemberLevel implements Serializable { - private Long id; - - private String name; - - private Integer growthPoint; - - @ApiModelProperty(value = "是否为默认等级:0->不是;1->是") - private Integer defaultStatus; - - @ApiModelProperty(value = "免运费标准") - private BigDecimal freeFreightPoint; - - @ApiModelProperty(value = "每次评价获取的成长值") - private Integer commentGrowthPoint; - - @ApiModelProperty(value = "是否有免邮特权") - private Integer priviledgeFreeFreight; - - @ApiModelProperty(value = "是否有签到特权") - private Integer priviledgeSignIn; - - @ApiModelProperty(value = "是否有评论获奖励特权") - private Integer priviledgeComment; - - @ApiModelProperty(value = "是否有专享活动特权") - private Integer priviledgePromotion; - - @ApiModelProperty(value = "是否有会员价格特权") - private Integer priviledgeMemberPrice; - - @ApiModelProperty(value = "是否有生日特权") - private Integer priviledgeBirthday; - - private String note; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getGrowthPoint() { - return growthPoint; - } - - public void setGrowthPoint(Integer growthPoint) { - this.growthPoint = growthPoint; - } - - public Integer getDefaultStatus() { - return defaultStatus; - } - - public void setDefaultStatus(Integer defaultStatus) { - this.defaultStatus = defaultStatus; - } - - public BigDecimal getFreeFreightPoint() { - return freeFreightPoint; - } - - public void setFreeFreightPoint(BigDecimal freeFreightPoint) { - this.freeFreightPoint = freeFreightPoint; - } - - public Integer getCommentGrowthPoint() { - return commentGrowthPoint; - } - - public void setCommentGrowthPoint(Integer commentGrowthPoint) { - this.commentGrowthPoint = commentGrowthPoint; - } - - public Integer getPriviledgeFreeFreight() { - return priviledgeFreeFreight; - } - - public void setPriviledgeFreeFreight(Integer priviledgeFreeFreight) { - this.priviledgeFreeFreight = priviledgeFreeFreight; - } - - public Integer getPriviledgeSignIn() { - return priviledgeSignIn; - } - - public void setPriviledgeSignIn(Integer priviledgeSignIn) { - this.priviledgeSignIn = priviledgeSignIn; - } - - public Integer getPriviledgeComment() { - return priviledgeComment; - } - - public void setPriviledgeComment(Integer priviledgeComment) { - this.priviledgeComment = priviledgeComment; - } - - public Integer getPriviledgePromotion() { - return priviledgePromotion; - } - - public void setPriviledgePromotion(Integer priviledgePromotion) { - this.priviledgePromotion = priviledgePromotion; - } - - public Integer getPriviledgeMemberPrice() { - return priviledgeMemberPrice; - } - - public void setPriviledgeMemberPrice(Integer priviledgeMemberPrice) { - this.priviledgeMemberPrice = priviledgeMemberPrice; - } - - public Integer getPriviledgeBirthday() { - return priviledgeBirthday; - } - - public void setPriviledgeBirthday(Integer priviledgeBirthday) { - this.priviledgeBirthday = priviledgeBirthday; - } - - public String getNote() { - return note; - } - - public void setNote(String note) { - this.note = note; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", growthPoint=").append(growthPoint); - sb.append(", defaultStatus=").append(defaultStatus); - sb.append(", freeFreightPoint=").append(freeFreightPoint); - sb.append(", commentGrowthPoint=").append(commentGrowthPoint); - sb.append(", priviledgeFreeFreight=").append(priviledgeFreeFreight); - sb.append(", priviledgeSignIn=").append(priviledgeSignIn); - sb.append(", priviledgeComment=").append(priviledgeComment); - sb.append(", priviledgePromotion=").append(priviledgePromotion); - sb.append(", priviledgeMemberPrice=").append(priviledgeMemberPrice); - sb.append(", priviledgeBirthday=").append(priviledgeBirthday); - sb.append(", note=").append(note); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java index e387cf2..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java @@ -1,1000 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class UmsMemberLevelExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberLevelExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andGrowthPointIsNull() { - addCriterion("growth_point is null"); - return (Criteria) this; - } - - public Criteria andGrowthPointIsNotNull() { - addCriterion("growth_point is not null"); - return (Criteria) this; - } - - public Criteria andGrowthPointEqualTo(Integer value) { - addCriterion("growth_point =", value, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointNotEqualTo(Integer value) { - addCriterion("growth_point <>", value, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointGreaterThan(Integer value) { - addCriterion("growth_point >", value, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointGreaterThanOrEqualTo(Integer value) { - addCriterion("growth_point >=", value, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointLessThan(Integer value) { - addCriterion("growth_point <", value, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointLessThanOrEqualTo(Integer value) { - addCriterion("growth_point <=", value, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointIn(List values) { - addCriterion("growth_point in", values, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointNotIn(List values) { - addCriterion("growth_point not in", values, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointBetween(Integer value1, Integer value2) { - addCriterion("growth_point between", value1, value2, "growthPoint"); - return (Criteria) this; - } - - public Criteria andGrowthPointNotBetween(Integer value1, Integer value2) { - addCriterion("growth_point not between", value1, value2, "growthPoint"); - return (Criteria) this; - } - - public Criteria andDefaultStatusIsNull() { - addCriterion("default_status is null"); - return (Criteria) this; - } - - public Criteria andDefaultStatusIsNotNull() { - addCriterion("default_status is not null"); - return (Criteria) this; - } - - public Criteria andDefaultStatusEqualTo(Integer value) { - addCriterion("default_status =", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusNotEqualTo(Integer value) { - addCriterion("default_status <>", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusGreaterThan(Integer value) { - addCriterion("default_status >", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("default_status >=", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusLessThan(Integer value) { - addCriterion("default_status <", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusLessThanOrEqualTo(Integer value) { - addCriterion("default_status <=", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusIn(List values) { - addCriterion("default_status in", values, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusNotIn(List values) { - addCriterion("default_status not in", values, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusBetween(Integer value1, Integer value2) { - addCriterion("default_status between", value1, value2, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusNotBetween(Integer value1, Integer value2) { - addCriterion("default_status not between", value1, value2, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointIsNull() { - addCriterion("free_freight_point is null"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointIsNotNull() { - addCriterion("free_freight_point is not null"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointEqualTo(BigDecimal value) { - addCriterion("free_freight_point =", value, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointNotEqualTo(BigDecimal value) { - addCriterion("free_freight_point <>", value, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointGreaterThan(BigDecimal value) { - addCriterion("free_freight_point >", value, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("free_freight_point >=", value, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointLessThan(BigDecimal value) { - addCriterion("free_freight_point <", value, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointLessThanOrEqualTo(BigDecimal value) { - addCriterion("free_freight_point <=", value, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointIn(List values) { - addCriterion("free_freight_point in", values, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointNotIn(List values) { - addCriterion("free_freight_point not in", values, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("free_freight_point between", value1, value2, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andFreeFreightPointNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("free_freight_point not between", value1, value2, "freeFreightPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointIsNull() { - addCriterion("comment_growth_point is null"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointIsNotNull() { - addCriterion("comment_growth_point is not null"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointEqualTo(Integer value) { - addCriterion("comment_growth_point =", value, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointNotEqualTo(Integer value) { - addCriterion("comment_growth_point <>", value, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointGreaterThan(Integer value) { - addCriterion("comment_growth_point >", value, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointGreaterThanOrEqualTo(Integer value) { - addCriterion("comment_growth_point >=", value, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointLessThan(Integer value) { - addCriterion("comment_growth_point <", value, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointLessThanOrEqualTo(Integer value) { - addCriterion("comment_growth_point <=", value, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointIn(List values) { - addCriterion("comment_growth_point in", values, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointNotIn(List values) { - addCriterion("comment_growth_point not in", values, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointBetween(Integer value1, Integer value2) { - addCriterion("comment_growth_point between", value1, value2, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andCommentGrowthPointNotBetween(Integer value1, Integer value2) { - addCriterion("comment_growth_point not between", value1, value2, "commentGrowthPoint"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightIsNull() { - addCriterion("priviledge_free_freight is null"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightIsNotNull() { - addCriterion("priviledge_free_freight is not null"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightEqualTo(Integer value) { - addCriterion("priviledge_free_freight =", value, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightNotEqualTo(Integer value) { - addCriterion("priviledge_free_freight <>", value, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightGreaterThan(Integer value) { - addCriterion("priviledge_free_freight >", value, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightGreaterThanOrEqualTo(Integer value) { - addCriterion("priviledge_free_freight >=", value, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightLessThan(Integer value) { - addCriterion("priviledge_free_freight <", value, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightLessThanOrEqualTo(Integer value) { - addCriterion("priviledge_free_freight <=", value, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightIn(List values) { - addCriterion("priviledge_free_freight in", values, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightNotIn(List values) { - addCriterion("priviledge_free_freight not in", values, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightBetween(Integer value1, Integer value2) { - addCriterion("priviledge_free_freight between", value1, value2, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeFreeFreightNotBetween(Integer value1, Integer value2) { - addCriterion("priviledge_free_freight not between", value1, value2, "priviledgeFreeFreight"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInIsNull() { - addCriterion("priviledge_sign_in is null"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInIsNotNull() { - addCriterion("priviledge_sign_in is not null"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInEqualTo(Integer value) { - addCriterion("priviledge_sign_in =", value, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInNotEqualTo(Integer value) { - addCriterion("priviledge_sign_in <>", value, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInGreaterThan(Integer value) { - addCriterion("priviledge_sign_in >", value, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInGreaterThanOrEqualTo(Integer value) { - addCriterion("priviledge_sign_in >=", value, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInLessThan(Integer value) { - addCriterion("priviledge_sign_in <", value, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInLessThanOrEqualTo(Integer value) { - addCriterion("priviledge_sign_in <=", value, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInIn(List values) { - addCriterion("priviledge_sign_in in", values, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInNotIn(List values) { - addCriterion("priviledge_sign_in not in", values, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInBetween(Integer value1, Integer value2) { - addCriterion("priviledge_sign_in between", value1, value2, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeSignInNotBetween(Integer value1, Integer value2) { - addCriterion("priviledge_sign_in not between", value1, value2, "priviledgeSignIn"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentIsNull() { - addCriterion("priviledge_comment is null"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentIsNotNull() { - addCriterion("priviledge_comment is not null"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentEqualTo(Integer value) { - addCriterion("priviledge_comment =", value, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentNotEqualTo(Integer value) { - addCriterion("priviledge_comment <>", value, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentGreaterThan(Integer value) { - addCriterion("priviledge_comment >", value, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentGreaterThanOrEqualTo(Integer value) { - addCriterion("priviledge_comment >=", value, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentLessThan(Integer value) { - addCriterion("priviledge_comment <", value, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentLessThanOrEqualTo(Integer value) { - addCriterion("priviledge_comment <=", value, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentIn(List values) { - addCriterion("priviledge_comment in", values, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentNotIn(List values) { - addCriterion("priviledge_comment not in", values, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentBetween(Integer value1, Integer value2) { - addCriterion("priviledge_comment between", value1, value2, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgeCommentNotBetween(Integer value1, Integer value2) { - addCriterion("priviledge_comment not between", value1, value2, "priviledgeComment"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionIsNull() { - addCriterion("priviledge_promotion is null"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionIsNotNull() { - addCriterion("priviledge_promotion is not null"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionEqualTo(Integer value) { - addCriterion("priviledge_promotion =", value, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionNotEqualTo(Integer value) { - addCriterion("priviledge_promotion <>", value, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionGreaterThan(Integer value) { - addCriterion("priviledge_promotion >", value, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionGreaterThanOrEqualTo(Integer value) { - addCriterion("priviledge_promotion >=", value, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionLessThan(Integer value) { - addCriterion("priviledge_promotion <", value, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionLessThanOrEqualTo(Integer value) { - addCriterion("priviledge_promotion <=", value, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionIn(List values) { - addCriterion("priviledge_promotion in", values, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionNotIn(List values) { - addCriterion("priviledge_promotion not in", values, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionBetween(Integer value1, Integer value2) { - addCriterion("priviledge_promotion between", value1, value2, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgePromotionNotBetween(Integer value1, Integer value2) { - addCriterion("priviledge_promotion not between", value1, value2, "priviledgePromotion"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceIsNull() { - addCriterion("priviledge_member_price is null"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceIsNotNull() { - addCriterion("priviledge_member_price is not null"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceEqualTo(Integer value) { - addCriterion("priviledge_member_price =", value, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceNotEqualTo(Integer value) { - addCriterion("priviledge_member_price <>", value, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceGreaterThan(Integer value) { - addCriterion("priviledge_member_price >", value, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceGreaterThanOrEqualTo(Integer value) { - addCriterion("priviledge_member_price >=", value, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceLessThan(Integer value) { - addCriterion("priviledge_member_price <", value, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceLessThanOrEqualTo(Integer value) { - addCriterion("priviledge_member_price <=", value, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceIn(List values) { - addCriterion("priviledge_member_price in", values, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceNotIn(List values) { - addCriterion("priviledge_member_price not in", values, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceBetween(Integer value1, Integer value2) { - addCriterion("priviledge_member_price between", value1, value2, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeMemberPriceNotBetween(Integer value1, Integer value2) { - addCriterion("priviledge_member_price not between", value1, value2, "priviledgeMemberPrice"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayIsNull() { - addCriterion("priviledge_birthday is null"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayIsNotNull() { - addCriterion("priviledge_birthday is not null"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayEqualTo(Integer value) { - addCriterion("priviledge_birthday =", value, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayNotEqualTo(Integer value) { - addCriterion("priviledge_birthday <>", value, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayGreaterThan(Integer value) { - addCriterion("priviledge_birthday >", value, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayGreaterThanOrEqualTo(Integer value) { - addCriterion("priviledge_birthday >=", value, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayLessThan(Integer value) { - addCriterion("priviledge_birthday <", value, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayLessThanOrEqualTo(Integer value) { - addCriterion("priviledge_birthday <=", value, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayIn(List values) { - addCriterion("priviledge_birthday in", values, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayNotIn(List values) { - addCriterion("priviledge_birthday not in", values, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayBetween(Integer value1, Integer value2) { - addCriterion("priviledge_birthday between", value1, value2, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andPriviledgeBirthdayNotBetween(Integer value1, Integer value2) { - addCriterion("priviledge_birthday not between", value1, value2, "priviledgeBirthday"); - return (Criteria) this; - } - - public Criteria andNoteIsNull() { - addCriterion("note is null"); - return (Criteria) this; - } - - public Criteria andNoteIsNotNull() { - addCriterion("note is not null"); - return (Criteria) this; - } - - public Criteria andNoteEqualTo(String value) { - addCriterion("note =", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotEqualTo(String value) { - addCriterion("note <>", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThan(String value) { - addCriterion("note >", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteGreaterThanOrEqualTo(String value) { - addCriterion("note >=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThan(String value) { - addCriterion("note <", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLessThanOrEqualTo(String value) { - addCriterion("note <=", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteLike(String value) { - addCriterion("note like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotLike(String value) { - addCriterion("note not like", value, "note"); - return (Criteria) this; - } - - public Criteria andNoteIn(List values) { - addCriterion("note in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotIn(List values) { - addCriterion("note not in", values, "note"); - return (Criteria) this; - } - - public Criteria andNoteBetween(String value1, String value2) { - addCriterion("note between", value1, value2, "note"); - return (Criteria) this; - } - - public Criteria andNoteNotBetween(String value1, String value2) { - addCriterion("note not between", value1, value2, "note"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java index 9205c44..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java @@ -1,98 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class UmsMemberLoginLog implements Serializable { - private Long id; - - private Long memberId; - - private Date createTime; - - private String ip; - - private String city; - - @ApiModelProperty(value = "登录类型:0->PC;1->android;2->ios;3->小程序") - private Integer loginType; - - private String province; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getMemberId() { - return memberId; - } - - public void setMemberId(Long memberId) { - this.memberId = memberId; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getIp() { - return ip; - } - - public void setIp(String ip) { - this.ip = ip; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public Integer getLoginType() { - return loginType; - } - - public void setLoginType(Integer loginType) { - this.loginType = loginType; - } - - public String getProvince() { - return province; - } - - public void setProvince(String province) { - this.province = province; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberId=").append(memberId); - sb.append(", createTime=").append(createTime); - sb.append(", ip=").append(ip); - sb.append(", city=").append(city); - sb.append(", loginType=").append(loginType); - sb.append(", province=").append(province); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java index bda629d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java @@ -1,650 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsMemberLoginLogExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberLoginLogExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andIpIsNull() { - addCriterion("ip is null"); - return (Criteria) this; - } - - public Criteria andIpIsNotNull() { - addCriterion("ip is not null"); - return (Criteria) this; - } - - public Criteria andIpEqualTo(String value) { - addCriterion("ip =", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotEqualTo(String value) { - addCriterion("ip <>", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpGreaterThan(String value) { - addCriterion("ip >", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpGreaterThanOrEqualTo(String value) { - addCriterion("ip >=", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpLessThan(String value) { - addCriterion("ip <", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpLessThanOrEqualTo(String value) { - addCriterion("ip <=", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpLike(String value) { - addCriterion("ip like", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotLike(String value) { - addCriterion("ip not like", value, "ip"); - return (Criteria) this; - } - - public Criteria andIpIn(List values) { - addCriterion("ip in", values, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotIn(List values) { - addCriterion("ip not in", values, "ip"); - return (Criteria) this; - } - - public Criteria andIpBetween(String value1, String value2) { - addCriterion("ip between", value1, value2, "ip"); - return (Criteria) this; - } - - public Criteria andIpNotBetween(String value1, String value2) { - addCriterion("ip not between", value1, value2, "ip"); - return (Criteria) this; - } - - public Criteria andCityIsNull() { - addCriterion("city is null"); - return (Criteria) this; - } - - public Criteria andCityIsNotNull() { - addCriterion("city is not null"); - return (Criteria) this; - } - - public Criteria andCityEqualTo(String value) { - addCriterion("city =", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotEqualTo(String value) { - addCriterion("city <>", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThan(String value) { - addCriterion("city >", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThanOrEqualTo(String value) { - addCriterion("city >=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThan(String value) { - addCriterion("city <", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThanOrEqualTo(String value) { - addCriterion("city <=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLike(String value) { - addCriterion("city like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotLike(String value) { - addCriterion("city not like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityIn(List values) { - addCriterion("city in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityNotIn(List values) { - addCriterion("city not in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityBetween(String value1, String value2) { - addCriterion("city between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andCityNotBetween(String value1, String value2) { - addCriterion("city not between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andLoginTypeIsNull() { - addCriterion("login_type is null"); - return (Criteria) this; - } - - public Criteria andLoginTypeIsNotNull() { - addCriterion("login_type is not null"); - return (Criteria) this; - } - - public Criteria andLoginTypeEqualTo(Integer value) { - addCriterion("login_type =", value, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeNotEqualTo(Integer value) { - addCriterion("login_type <>", value, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeGreaterThan(Integer value) { - addCriterion("login_type >", value, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("login_type >=", value, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeLessThan(Integer value) { - addCriterion("login_type <", value, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeLessThanOrEqualTo(Integer value) { - addCriterion("login_type <=", value, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeIn(List values) { - addCriterion("login_type in", values, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeNotIn(List values) { - addCriterion("login_type not in", values, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeBetween(Integer value1, Integer value2) { - addCriterion("login_type between", value1, value2, "loginType"); - return (Criteria) this; - } - - public Criteria andLoginTypeNotBetween(Integer value1, Integer value2) { - addCriterion("login_type not between", value1, value2, "loginType"); - return (Criteria) this; - } - - public Criteria andProvinceIsNull() { - addCriterion("province is null"); - return (Criteria) this; - } - - public Criteria andProvinceIsNotNull() { - addCriterion("province is not null"); - return (Criteria) this; - } - - public Criteria andProvinceEqualTo(String value) { - addCriterion("province =", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotEqualTo(String value) { - addCriterion("province <>", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceGreaterThan(String value) { - addCriterion("province >", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceGreaterThanOrEqualTo(String value) { - addCriterion("province >=", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLessThan(String value) { - addCriterion("province <", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLessThanOrEqualTo(String value) { - addCriterion("province <=", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLike(String value) { - addCriterion("province like", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotLike(String value) { - addCriterion("province not like", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceIn(List values) { - addCriterion("province in", values, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotIn(List values) { - addCriterion("province not in", values, "province"); - return (Criteria) this; - } - - public Criteria andProvinceBetween(String value1, String value2) { - addCriterion("province between", value1, value2, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotBetween(String value1, String value2) { - addCriterion("province not between", value1, value2, "province"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java index 94f27d3..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class UmsMemberMemberTagRelation implements Serializable { - private Long id; - - private Long memberId; - - private Long tagId; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getMemberId() { - return memberId; - } - - public void setMemberId(Long memberId) { - this.memberId = memberId; - } - - public Long getTagId() { - return tagId; - } - - public void setTagId(Long tagId) { - this.tagId = tagId; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberId=").append(memberId); - sb.append(", tagId=").append(tagId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java index eeda427..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java @@ -1,379 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsMemberMemberTagRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberMemberTagRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andTagIdIsNull() { - addCriterion("tag_id is null"); - return (Criteria) this; - } - - public Criteria andTagIdIsNotNull() { - addCriterion("tag_id is not null"); - return (Criteria) this; - } - - public Criteria andTagIdEqualTo(Long value) { - addCriterion("tag_id =", value, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdNotEqualTo(Long value) { - addCriterion("tag_id <>", value, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdGreaterThan(Long value) { - addCriterion("tag_id >", value, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdGreaterThanOrEqualTo(Long value) { - addCriterion("tag_id >=", value, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdLessThan(Long value) { - addCriterion("tag_id <", value, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdLessThanOrEqualTo(Long value) { - addCriterion("tag_id <=", value, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdIn(List values) { - addCriterion("tag_id in", values, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdNotIn(List values) { - addCriterion("tag_id not in", values, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdBetween(Long value1, Long value2) { - addCriterion("tag_id between", value1, value2, "tagId"); - return (Criteria) this; - } - - public Criteria andTagIdNotBetween(Long value1, Long value2) { - addCriterion("tag_id not between", value1, value2, "tagId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java index 3dcc404..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class UmsMemberProductCategoryRelation implements Serializable { - private Long id; - - private Long memberId; - - private Long productCategoryId; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getMemberId() { - return memberId; - } - - public void setMemberId(Long memberId) { - this.memberId = memberId; - } - - public Long getProductCategoryId() { - return productCategoryId; - } - - public void setProductCategoryId(Long productCategoryId) { - this.productCategoryId = productCategoryId; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberId=").append(memberId); - sb.append(", productCategoryId=").append(productCategoryId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java index 5634f1c..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java @@ -1,379 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsMemberProductCategoryRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberProductCategoryRelationExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNull() { - addCriterion("product_category_id is null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIsNotNull() { - addCriterion("product_category_id is not null"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdEqualTo(Long value) { - addCriterion("product_category_id =", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotEqualTo(Long value) { - addCriterion("product_category_id <>", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThan(Long value) { - addCriterion("product_category_id >", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("product_category_id >=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThan(Long value) { - addCriterion("product_category_id <", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("product_category_id <=", value, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdIn(List values) { - addCriterion("product_category_id in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotIn(List values) { - addCriterion("product_category_id not in", values, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdBetween(Long value1, Long value2) { - addCriterion("product_category_id between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - - public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("product_category_id not between", value1, value2, "productCategoryId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java index de400d1..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java @@ -1,869 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsMemberReceiveAddressExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberReceiveAddressExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andPhoneNumberIsNull() { - addCriterion("phone_number is null"); - return (Criteria) this; - } - - public Criteria andPhoneNumberIsNotNull() { - addCriterion("phone_number is not null"); - return (Criteria) this; - } - - public Criteria andPhoneNumberEqualTo(String value) { - addCriterion("phone_number =", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberNotEqualTo(String value) { - addCriterion("phone_number <>", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberGreaterThan(String value) { - addCriterion("phone_number >", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberGreaterThanOrEqualTo(String value) { - addCriterion("phone_number >=", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberLessThan(String value) { - addCriterion("phone_number <", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberLessThanOrEqualTo(String value) { - addCriterion("phone_number <=", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberLike(String value) { - addCriterion("phone_number like", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberNotLike(String value) { - addCriterion("phone_number not like", value, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberIn(List values) { - addCriterion("phone_number in", values, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberNotIn(List values) { - addCriterion("phone_number not in", values, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberBetween(String value1, String value2) { - addCriterion("phone_number between", value1, value2, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andPhoneNumberNotBetween(String value1, String value2) { - addCriterion("phone_number not between", value1, value2, "phoneNumber"); - return (Criteria) this; - } - - public Criteria andDefaultStatusIsNull() { - addCriterion("default_status is null"); - return (Criteria) this; - } - - public Criteria andDefaultStatusIsNotNull() { - addCriterion("default_status is not null"); - return (Criteria) this; - } - - public Criteria andDefaultStatusEqualTo(Integer value) { - addCriterion("default_status =", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusNotEqualTo(Integer value) { - addCriterion("default_status <>", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusGreaterThan(Integer value) { - addCriterion("default_status >", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("default_status >=", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusLessThan(Integer value) { - addCriterion("default_status <", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusLessThanOrEqualTo(Integer value) { - addCriterion("default_status <=", value, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusIn(List values) { - addCriterion("default_status in", values, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusNotIn(List values) { - addCriterion("default_status not in", values, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusBetween(Integer value1, Integer value2) { - addCriterion("default_status between", value1, value2, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andDefaultStatusNotBetween(Integer value1, Integer value2) { - addCriterion("default_status not between", value1, value2, "defaultStatus"); - return (Criteria) this; - } - - public Criteria andPostCodeIsNull() { - addCriterion("post_code is null"); - return (Criteria) this; - } - - public Criteria andPostCodeIsNotNull() { - addCriterion("post_code is not null"); - return (Criteria) this; - } - - public Criteria andPostCodeEqualTo(String value) { - addCriterion("post_code =", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeNotEqualTo(String value) { - addCriterion("post_code <>", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeGreaterThan(String value) { - addCriterion("post_code >", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeGreaterThanOrEqualTo(String value) { - addCriterion("post_code >=", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeLessThan(String value) { - addCriterion("post_code <", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeLessThanOrEqualTo(String value) { - addCriterion("post_code <=", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeLike(String value) { - addCriterion("post_code like", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeNotLike(String value) { - addCriterion("post_code not like", value, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeIn(List values) { - addCriterion("post_code in", values, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeNotIn(List values) { - addCriterion("post_code not in", values, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeBetween(String value1, String value2) { - addCriterion("post_code between", value1, value2, "postCode"); - return (Criteria) this; - } - - public Criteria andPostCodeNotBetween(String value1, String value2) { - addCriterion("post_code not between", value1, value2, "postCode"); - return (Criteria) this; - } - - public Criteria andProvinceIsNull() { - addCriterion("province is null"); - return (Criteria) this; - } - - public Criteria andProvinceIsNotNull() { - addCriterion("province is not null"); - return (Criteria) this; - } - - public Criteria andProvinceEqualTo(String value) { - addCriterion("province =", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotEqualTo(String value) { - addCriterion("province <>", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceGreaterThan(String value) { - addCriterion("province >", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceGreaterThanOrEqualTo(String value) { - addCriterion("province >=", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLessThan(String value) { - addCriterion("province <", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLessThanOrEqualTo(String value) { - addCriterion("province <=", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceLike(String value) { - addCriterion("province like", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotLike(String value) { - addCriterion("province not like", value, "province"); - return (Criteria) this; - } - - public Criteria andProvinceIn(List values) { - addCriterion("province in", values, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotIn(List values) { - addCriterion("province not in", values, "province"); - return (Criteria) this; - } - - public Criteria andProvinceBetween(String value1, String value2) { - addCriterion("province between", value1, value2, "province"); - return (Criteria) this; - } - - public Criteria andProvinceNotBetween(String value1, String value2) { - addCriterion("province not between", value1, value2, "province"); - return (Criteria) this; - } - - public Criteria andCityIsNull() { - addCriterion("city is null"); - return (Criteria) this; - } - - public Criteria andCityIsNotNull() { - addCriterion("city is not null"); - return (Criteria) this; - } - - public Criteria andCityEqualTo(String value) { - addCriterion("city =", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotEqualTo(String value) { - addCriterion("city <>", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThan(String value) { - addCriterion("city >", value, "city"); - return (Criteria) this; - } - - public Criteria andCityGreaterThanOrEqualTo(String value) { - addCriterion("city >=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThan(String value) { - addCriterion("city <", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLessThanOrEqualTo(String value) { - addCriterion("city <=", value, "city"); - return (Criteria) this; - } - - public Criteria andCityLike(String value) { - addCriterion("city like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityNotLike(String value) { - addCriterion("city not like", value, "city"); - return (Criteria) this; - } - - public Criteria andCityIn(List values) { - addCriterion("city in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityNotIn(List values) { - addCriterion("city not in", values, "city"); - return (Criteria) this; - } - - public Criteria andCityBetween(String value1, String value2) { - addCriterion("city between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andCityNotBetween(String value1, String value2) { - addCriterion("city not between", value1, value2, "city"); - return (Criteria) this; - } - - public Criteria andRegionIsNull() { - addCriterion("region is null"); - return (Criteria) this; - } - - public Criteria andRegionIsNotNull() { - addCriterion("region is not null"); - return (Criteria) this; - } - - public Criteria andRegionEqualTo(String value) { - addCriterion("region =", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotEqualTo(String value) { - addCriterion("region <>", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionGreaterThan(String value) { - addCriterion("region >", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionGreaterThanOrEqualTo(String value) { - addCriterion("region >=", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionLessThan(String value) { - addCriterion("region <", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionLessThanOrEqualTo(String value) { - addCriterion("region <=", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionLike(String value) { - addCriterion("region like", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotLike(String value) { - addCriterion("region not like", value, "region"); - return (Criteria) this; - } - - public Criteria andRegionIn(List values) { - addCriterion("region in", values, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotIn(List values) { - addCriterion("region not in", values, "region"); - return (Criteria) this; - } - - public Criteria andRegionBetween(String value1, String value2) { - addCriterion("region between", value1, value2, "region"); - return (Criteria) this; - } - - public Criteria andRegionNotBetween(String value1, String value2) { - addCriterion("region not between", value1, value2, "region"); - return (Criteria) this; - } - - public Criteria andDetailAddressIsNull() { - addCriterion("detail_address is null"); - return (Criteria) this; - } - - public Criteria andDetailAddressIsNotNull() { - addCriterion("detail_address is not null"); - return (Criteria) this; - } - - public Criteria andDetailAddressEqualTo(String value) { - addCriterion("detail_address =", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotEqualTo(String value) { - addCriterion("detail_address <>", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressGreaterThan(String value) { - addCriterion("detail_address >", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressGreaterThanOrEqualTo(String value) { - addCriterion("detail_address >=", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressLessThan(String value) { - addCriterion("detail_address <", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressLessThanOrEqualTo(String value) { - addCriterion("detail_address <=", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressLike(String value) { - addCriterion("detail_address like", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotLike(String value) { - addCriterion("detail_address not like", value, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressIn(List values) { - addCriterion("detail_address in", values, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotIn(List values) { - addCriterion("detail_address not in", values, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressBetween(String value1, String value2) { - addCriterion("detail_address between", value1, value2, "detailAddress"); - return (Criteria) this; - } - - public Criteria andDetailAddressNotBetween(String value1, String value2) { - addCriterion("detail_address not between", value1, value2, "detailAddress"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java index 94fca6a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java @@ -1,103 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class UmsMemberRuleSetting implements Serializable { - private Long id; - - @ApiModelProperty(value = "连续签到天数") - private Integer continueSignDay; - - @ApiModelProperty(value = "连续签到赠送数量") - private Integer continueSignPoint; - - @ApiModelProperty(value = "每消费多少元获取1个点") - private BigDecimal consumePerPoint; - - @ApiModelProperty(value = "最低获取点数的订单金额") - private BigDecimal lowOrderAmount; - - @ApiModelProperty(value = "每笔订单最高获取点数") - private Integer maxPointPerOrder; - - @ApiModelProperty(value = "类型:0->积分规则;1->成长值规则") - private Integer type; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Integer getContinueSignDay() { - return continueSignDay; - } - - public void setContinueSignDay(Integer continueSignDay) { - this.continueSignDay = continueSignDay; - } - - public Integer getContinueSignPoint() { - return continueSignPoint; - } - - public void setContinueSignPoint(Integer continueSignPoint) { - this.continueSignPoint = continueSignPoint; - } - - public BigDecimal getConsumePerPoint() { - return consumePerPoint; - } - - public void setConsumePerPoint(BigDecimal consumePerPoint) { - this.consumePerPoint = consumePerPoint; - } - - public BigDecimal getLowOrderAmount() { - return lowOrderAmount; - } - - public void setLowOrderAmount(BigDecimal lowOrderAmount) { - this.lowOrderAmount = lowOrderAmount; - } - - public Integer getMaxPointPerOrder() { - return maxPointPerOrder; - } - - public void setMaxPointPerOrder(Integer maxPointPerOrder) { - this.maxPointPerOrder = maxPointPerOrder; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", continueSignDay=").append(continueSignDay); - sb.append(", continueSignPoint=").append(continueSignPoint); - sb.append(", consumePerPoint=").append(consumePerPoint); - sb.append(", lowOrderAmount=").append(lowOrderAmount); - sb.append(", maxPointPerOrder=").append(maxPointPerOrder); - sb.append(", type=").append(type); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java index c445fb6..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java @@ -1,620 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class UmsMemberRuleSettingExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberRuleSettingExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andContinueSignDayIsNull() { - addCriterion("continue_sign_day is null"); - return (Criteria) this; - } - - public Criteria andContinueSignDayIsNotNull() { - addCriterion("continue_sign_day is not null"); - return (Criteria) this; - } - - public Criteria andContinueSignDayEqualTo(Integer value) { - addCriterion("continue_sign_day =", value, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayNotEqualTo(Integer value) { - addCriterion("continue_sign_day <>", value, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayGreaterThan(Integer value) { - addCriterion("continue_sign_day >", value, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayGreaterThanOrEqualTo(Integer value) { - addCriterion("continue_sign_day >=", value, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayLessThan(Integer value) { - addCriterion("continue_sign_day <", value, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayLessThanOrEqualTo(Integer value) { - addCriterion("continue_sign_day <=", value, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayIn(List values) { - addCriterion("continue_sign_day in", values, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayNotIn(List values) { - addCriterion("continue_sign_day not in", values, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayBetween(Integer value1, Integer value2) { - addCriterion("continue_sign_day between", value1, value2, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignDayNotBetween(Integer value1, Integer value2) { - addCriterion("continue_sign_day not between", value1, value2, "continueSignDay"); - return (Criteria) this; - } - - public Criteria andContinueSignPointIsNull() { - addCriterion("continue_sign_point is null"); - return (Criteria) this; - } - - public Criteria andContinueSignPointIsNotNull() { - addCriterion("continue_sign_point is not null"); - return (Criteria) this; - } - - public Criteria andContinueSignPointEqualTo(Integer value) { - addCriterion("continue_sign_point =", value, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointNotEqualTo(Integer value) { - addCriterion("continue_sign_point <>", value, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointGreaterThan(Integer value) { - addCriterion("continue_sign_point >", value, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointGreaterThanOrEqualTo(Integer value) { - addCriterion("continue_sign_point >=", value, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointLessThan(Integer value) { - addCriterion("continue_sign_point <", value, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointLessThanOrEqualTo(Integer value) { - addCriterion("continue_sign_point <=", value, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointIn(List values) { - addCriterion("continue_sign_point in", values, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointNotIn(List values) { - addCriterion("continue_sign_point not in", values, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointBetween(Integer value1, Integer value2) { - addCriterion("continue_sign_point between", value1, value2, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andContinueSignPointNotBetween(Integer value1, Integer value2) { - addCriterion("continue_sign_point not between", value1, value2, "continueSignPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointIsNull() { - addCriterion("consume_per_point is null"); - return (Criteria) this; - } - - public Criteria andConsumePerPointIsNotNull() { - addCriterion("consume_per_point is not null"); - return (Criteria) this; - } - - public Criteria andConsumePerPointEqualTo(BigDecimal value) { - addCriterion("consume_per_point =", value, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointNotEqualTo(BigDecimal value) { - addCriterion("consume_per_point <>", value, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointGreaterThan(BigDecimal value) { - addCriterion("consume_per_point >", value, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("consume_per_point >=", value, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointLessThan(BigDecimal value) { - addCriterion("consume_per_point <", value, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointLessThanOrEqualTo(BigDecimal value) { - addCriterion("consume_per_point <=", value, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointIn(List values) { - addCriterion("consume_per_point in", values, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointNotIn(List values) { - addCriterion("consume_per_point not in", values, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("consume_per_point between", value1, value2, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andConsumePerPointNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("consume_per_point not between", value1, value2, "consumePerPoint"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountIsNull() { - addCriterion("low_order_amount is null"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountIsNotNull() { - addCriterion("low_order_amount is not null"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountEqualTo(BigDecimal value) { - addCriterion("low_order_amount =", value, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountNotEqualTo(BigDecimal value) { - addCriterion("low_order_amount <>", value, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountGreaterThan(BigDecimal value) { - addCriterion("low_order_amount >", value, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("low_order_amount >=", value, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountLessThan(BigDecimal value) { - addCriterion("low_order_amount <", value, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("low_order_amount <=", value, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountIn(List values) { - addCriterion("low_order_amount in", values, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountNotIn(List values) { - addCriterion("low_order_amount not in", values, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("low_order_amount between", value1, value2, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andLowOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("low_order_amount not between", value1, value2, "lowOrderAmount"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderIsNull() { - addCriterion("max_point_per_order is null"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderIsNotNull() { - addCriterion("max_point_per_order is not null"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderEqualTo(Integer value) { - addCriterion("max_point_per_order =", value, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderNotEqualTo(Integer value) { - addCriterion("max_point_per_order <>", value, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderGreaterThan(Integer value) { - addCriterion("max_point_per_order >", value, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderGreaterThanOrEqualTo(Integer value) { - addCriterion("max_point_per_order >=", value, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderLessThan(Integer value) { - addCriterion("max_point_per_order <", value, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderLessThanOrEqualTo(Integer value) { - addCriterion("max_point_per_order <=", value, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderIn(List values) { - addCriterion("max_point_per_order in", values, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderNotIn(List values) { - addCriterion("max_point_per_order not in", values, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderBetween(Integer value1, Integer value2) { - addCriterion("max_point_per_order between", value1, value2, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andMaxPointPerOrderNotBetween(Integer value1, Integer value2) { - addCriterion("max_point_per_order not between", value1, value2, "maxPointPerOrder"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java index cf3af8d..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java @@ -1,206 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -public class UmsMemberStatisticsInfo implements Serializable { - private Long id; - - private Long memberId; - - @ApiModelProperty(value = "累计消费金额") - private BigDecimal consumeAmount; - - @ApiModelProperty(value = "订单数量") - private Integer orderCount; - - @ApiModelProperty(value = "优惠券数量") - private Integer couponCount; - - @ApiModelProperty(value = "评价数") - private Integer commentCount; - - @ApiModelProperty(value = "退货数量") - private Integer returnOrderCount; - - @ApiModelProperty(value = "登录次数") - private Integer loginCount; - - @ApiModelProperty(value = "关注数量") - private Integer attendCount; - - @ApiModelProperty(value = "粉丝数量") - private Integer fansCount; - - private Integer collectProductCount; - - private Integer collectSubjectCount; - - private Integer collectTopicCount; - - private Integer collectCommentCount; - - private Integer inviteFriendCount; - - @ApiModelProperty(value = "最后一次下订单时间") - private Date recentOrderTime; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getMemberId() { - return memberId; - } - - public void setMemberId(Long memberId) { - this.memberId = memberId; - } - - public BigDecimal getConsumeAmount() { - return consumeAmount; - } - - public void setConsumeAmount(BigDecimal consumeAmount) { - this.consumeAmount = consumeAmount; - } - - public Integer getOrderCount() { - return orderCount; - } - - public void setOrderCount(Integer orderCount) { - this.orderCount = orderCount; - } - - public Integer getCouponCount() { - return couponCount; - } - - public void setCouponCount(Integer couponCount) { - this.couponCount = couponCount; - } - - public Integer getCommentCount() { - return commentCount; - } - - public void setCommentCount(Integer commentCount) { - this.commentCount = commentCount; - } - - public Integer getReturnOrderCount() { - return returnOrderCount; - } - - public void setReturnOrderCount(Integer returnOrderCount) { - this.returnOrderCount = returnOrderCount; - } - - public Integer getLoginCount() { - return loginCount; - } - - public void setLoginCount(Integer loginCount) { - this.loginCount = loginCount; - } - - public Integer getAttendCount() { - return attendCount; - } - - public void setAttendCount(Integer attendCount) { - this.attendCount = attendCount; - } - - public Integer getFansCount() { - return fansCount; - } - - public void setFansCount(Integer fansCount) { - this.fansCount = fansCount; - } - - public Integer getCollectProductCount() { - return collectProductCount; - } - - public void setCollectProductCount(Integer collectProductCount) { - this.collectProductCount = collectProductCount; - } - - public Integer getCollectSubjectCount() { - return collectSubjectCount; - } - - public void setCollectSubjectCount(Integer collectSubjectCount) { - this.collectSubjectCount = collectSubjectCount; - } - - public Integer getCollectTopicCount() { - return collectTopicCount; - } - - public void setCollectTopicCount(Integer collectTopicCount) { - this.collectTopicCount = collectTopicCount; - } - - public Integer getCollectCommentCount() { - return collectCommentCount; - } - - public void setCollectCommentCount(Integer collectCommentCount) { - this.collectCommentCount = collectCommentCount; - } - - public Integer getInviteFriendCount() { - return inviteFriendCount; - } - - public void setInviteFriendCount(Integer inviteFriendCount) { - this.inviteFriendCount = inviteFriendCount; - } - - public Date getRecentOrderTime() { - return recentOrderTime; - } - - public void setRecentOrderTime(Date recentOrderTime) { - this.recentOrderTime = recentOrderTime; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", memberId=").append(memberId); - sb.append(", consumeAmount=").append(consumeAmount); - sb.append(", orderCount=").append(orderCount); - sb.append(", couponCount=").append(couponCount); - sb.append(", commentCount=").append(commentCount); - sb.append(", returnOrderCount=").append(returnOrderCount); - sb.append(", loginCount=").append(loginCount); - sb.append(", attendCount=").append(attendCount); - sb.append(", fansCount=").append(fansCount); - sb.append(", collectProductCount=").append(collectProductCount); - sb.append(", collectSubjectCount=").append(collectSubjectCount); - sb.append(", collectTopicCount=").append(collectTopicCount); - sb.append(", collectCommentCount=").append(collectCommentCount); - sb.append(", inviteFriendCount=").append(inviteFriendCount); - sb.append(", recentOrderTime=").append(recentOrderTime); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java index c615b9b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java @@ -1,1161 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsMemberStatisticsInfoExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberStatisticsInfoExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNull() { - addCriterion("member_id is null"); - return (Criteria) this; - } - - public Criteria andMemberIdIsNotNull() { - addCriterion("member_id is not null"); - return (Criteria) this; - } - - public Criteria andMemberIdEqualTo(Long value) { - addCriterion("member_id =", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotEqualTo(Long value) { - addCriterion("member_id <>", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThan(Long value) { - addCriterion("member_id >", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { - addCriterion("member_id >=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThan(Long value) { - addCriterion("member_id <", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdLessThanOrEqualTo(Long value) { - addCriterion("member_id <=", value, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdIn(List values) { - addCriterion("member_id in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotIn(List values) { - addCriterion("member_id not in", values, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdBetween(Long value1, Long value2) { - addCriterion("member_id between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andMemberIdNotBetween(Long value1, Long value2) { - addCriterion("member_id not between", value1, value2, "memberId"); - return (Criteria) this; - } - - public Criteria andConsumeAmountIsNull() { - addCriterion("consume_amount is null"); - return (Criteria) this; - } - - public Criteria andConsumeAmountIsNotNull() { - addCriterion("consume_amount is not null"); - return (Criteria) this; - } - - public Criteria andConsumeAmountEqualTo(BigDecimal value) { - addCriterion("consume_amount =", value, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountNotEqualTo(BigDecimal value) { - addCriterion("consume_amount <>", value, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountGreaterThan(BigDecimal value) { - addCriterion("consume_amount >", value, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("consume_amount >=", value, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountLessThan(BigDecimal value) { - addCriterion("consume_amount <", value, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("consume_amount <=", value, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountIn(List values) { - addCriterion("consume_amount in", values, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountNotIn(List values) { - addCriterion("consume_amount not in", values, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("consume_amount between", value1, value2, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andConsumeAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("consume_amount not between", value1, value2, "consumeAmount"); - return (Criteria) this; - } - - public Criteria andOrderCountIsNull() { - addCriterion("order_count is null"); - return (Criteria) this; - } - - public Criteria andOrderCountIsNotNull() { - addCriterion("order_count is not null"); - return (Criteria) this; - } - - public Criteria andOrderCountEqualTo(Integer value) { - addCriterion("order_count =", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountNotEqualTo(Integer value) { - addCriterion("order_count <>", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountGreaterThan(Integer value) { - addCriterion("order_count >", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountGreaterThanOrEqualTo(Integer value) { - addCriterion("order_count >=", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountLessThan(Integer value) { - addCriterion("order_count <", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountLessThanOrEqualTo(Integer value) { - addCriterion("order_count <=", value, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountIn(List values) { - addCriterion("order_count in", values, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountNotIn(List values) { - addCriterion("order_count not in", values, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountBetween(Integer value1, Integer value2) { - addCriterion("order_count between", value1, value2, "orderCount"); - return (Criteria) this; - } - - public Criteria andOrderCountNotBetween(Integer value1, Integer value2) { - addCriterion("order_count not between", value1, value2, "orderCount"); - return (Criteria) this; - } - - public Criteria andCouponCountIsNull() { - addCriterion("coupon_count is null"); - return (Criteria) this; - } - - public Criteria andCouponCountIsNotNull() { - addCriterion("coupon_count is not null"); - return (Criteria) this; - } - - public Criteria andCouponCountEqualTo(Integer value) { - addCriterion("coupon_count =", value, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountNotEqualTo(Integer value) { - addCriterion("coupon_count <>", value, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountGreaterThan(Integer value) { - addCriterion("coupon_count >", value, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountGreaterThanOrEqualTo(Integer value) { - addCriterion("coupon_count >=", value, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountLessThan(Integer value) { - addCriterion("coupon_count <", value, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountLessThanOrEqualTo(Integer value) { - addCriterion("coupon_count <=", value, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountIn(List values) { - addCriterion("coupon_count in", values, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountNotIn(List values) { - addCriterion("coupon_count not in", values, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountBetween(Integer value1, Integer value2) { - addCriterion("coupon_count between", value1, value2, "couponCount"); - return (Criteria) this; - } - - public Criteria andCouponCountNotBetween(Integer value1, Integer value2) { - addCriterion("coupon_count not between", value1, value2, "couponCount"); - return (Criteria) this; - } - - public Criteria andCommentCountIsNull() { - addCriterion("comment_count is null"); - return (Criteria) this; - } - - public Criteria andCommentCountIsNotNull() { - addCriterion("comment_count is not null"); - return (Criteria) this; - } - - public Criteria andCommentCountEqualTo(Integer value) { - addCriterion("comment_count =", value, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountNotEqualTo(Integer value) { - addCriterion("comment_count <>", value, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountGreaterThan(Integer value) { - addCriterion("comment_count >", value, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountGreaterThanOrEqualTo(Integer value) { - addCriterion("comment_count >=", value, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountLessThan(Integer value) { - addCriterion("comment_count <", value, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountLessThanOrEqualTo(Integer value) { - addCriterion("comment_count <=", value, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountIn(List values) { - addCriterion("comment_count in", values, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountNotIn(List values) { - addCriterion("comment_count not in", values, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountBetween(Integer value1, Integer value2) { - addCriterion("comment_count between", value1, value2, "commentCount"); - return (Criteria) this; - } - - public Criteria andCommentCountNotBetween(Integer value1, Integer value2) { - addCriterion("comment_count not between", value1, value2, "commentCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountIsNull() { - addCriterion("return_order_count is null"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountIsNotNull() { - addCriterion("return_order_count is not null"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountEqualTo(Integer value) { - addCriterion("return_order_count =", value, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountNotEqualTo(Integer value) { - addCriterion("return_order_count <>", value, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountGreaterThan(Integer value) { - addCriterion("return_order_count >", value, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountGreaterThanOrEqualTo(Integer value) { - addCriterion("return_order_count >=", value, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountLessThan(Integer value) { - addCriterion("return_order_count <", value, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountLessThanOrEqualTo(Integer value) { - addCriterion("return_order_count <=", value, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountIn(List values) { - addCriterion("return_order_count in", values, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountNotIn(List values) { - addCriterion("return_order_count not in", values, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountBetween(Integer value1, Integer value2) { - addCriterion("return_order_count between", value1, value2, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andReturnOrderCountNotBetween(Integer value1, Integer value2) { - addCriterion("return_order_count not between", value1, value2, "returnOrderCount"); - return (Criteria) this; - } - - public Criteria andLoginCountIsNull() { - addCriterion("login_count is null"); - return (Criteria) this; - } - - public Criteria andLoginCountIsNotNull() { - addCriterion("login_count is not null"); - return (Criteria) this; - } - - public Criteria andLoginCountEqualTo(Integer value) { - addCriterion("login_count =", value, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountNotEqualTo(Integer value) { - addCriterion("login_count <>", value, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountGreaterThan(Integer value) { - addCriterion("login_count >", value, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountGreaterThanOrEqualTo(Integer value) { - addCriterion("login_count >=", value, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountLessThan(Integer value) { - addCriterion("login_count <", value, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountLessThanOrEqualTo(Integer value) { - addCriterion("login_count <=", value, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountIn(List values) { - addCriterion("login_count in", values, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountNotIn(List values) { - addCriterion("login_count not in", values, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountBetween(Integer value1, Integer value2) { - addCriterion("login_count between", value1, value2, "loginCount"); - return (Criteria) this; - } - - public Criteria andLoginCountNotBetween(Integer value1, Integer value2) { - addCriterion("login_count not between", value1, value2, "loginCount"); - return (Criteria) this; - } - - public Criteria andAttendCountIsNull() { - addCriterion("attend_count is null"); - return (Criteria) this; - } - - public Criteria andAttendCountIsNotNull() { - addCriterion("attend_count is not null"); - return (Criteria) this; - } - - public Criteria andAttendCountEqualTo(Integer value) { - addCriterion("attend_count =", value, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountNotEqualTo(Integer value) { - addCriterion("attend_count <>", value, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountGreaterThan(Integer value) { - addCriterion("attend_count >", value, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountGreaterThanOrEqualTo(Integer value) { - addCriterion("attend_count >=", value, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountLessThan(Integer value) { - addCriterion("attend_count <", value, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountLessThanOrEqualTo(Integer value) { - addCriterion("attend_count <=", value, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountIn(List values) { - addCriterion("attend_count in", values, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountNotIn(List values) { - addCriterion("attend_count not in", values, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountBetween(Integer value1, Integer value2) { - addCriterion("attend_count between", value1, value2, "attendCount"); - return (Criteria) this; - } - - public Criteria andAttendCountNotBetween(Integer value1, Integer value2) { - addCriterion("attend_count not between", value1, value2, "attendCount"); - return (Criteria) this; - } - - public Criteria andFansCountIsNull() { - addCriterion("fans_count is null"); - return (Criteria) this; - } - - public Criteria andFansCountIsNotNull() { - addCriterion("fans_count is not null"); - return (Criteria) this; - } - - public Criteria andFansCountEqualTo(Integer value) { - addCriterion("fans_count =", value, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountNotEqualTo(Integer value) { - addCriterion("fans_count <>", value, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountGreaterThan(Integer value) { - addCriterion("fans_count >", value, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountGreaterThanOrEqualTo(Integer value) { - addCriterion("fans_count >=", value, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountLessThan(Integer value) { - addCriterion("fans_count <", value, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountLessThanOrEqualTo(Integer value) { - addCriterion("fans_count <=", value, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountIn(List values) { - addCriterion("fans_count in", values, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountNotIn(List values) { - addCriterion("fans_count not in", values, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountBetween(Integer value1, Integer value2) { - addCriterion("fans_count between", value1, value2, "fansCount"); - return (Criteria) this; - } - - public Criteria andFansCountNotBetween(Integer value1, Integer value2) { - addCriterion("fans_count not between", value1, value2, "fansCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountIsNull() { - addCriterion("collect_product_count is null"); - return (Criteria) this; - } - - public Criteria andCollectProductCountIsNotNull() { - addCriterion("collect_product_count is not null"); - return (Criteria) this; - } - - public Criteria andCollectProductCountEqualTo(Integer value) { - addCriterion("collect_product_count =", value, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountNotEqualTo(Integer value) { - addCriterion("collect_product_count <>", value, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountGreaterThan(Integer value) { - addCriterion("collect_product_count >", value, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountGreaterThanOrEqualTo(Integer value) { - addCriterion("collect_product_count >=", value, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountLessThan(Integer value) { - addCriterion("collect_product_count <", value, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountLessThanOrEqualTo(Integer value) { - addCriterion("collect_product_count <=", value, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountIn(List values) { - addCriterion("collect_product_count in", values, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountNotIn(List values) { - addCriterion("collect_product_count not in", values, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountBetween(Integer value1, Integer value2) { - addCriterion("collect_product_count between", value1, value2, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectProductCountNotBetween(Integer value1, Integer value2) { - addCriterion("collect_product_count not between", value1, value2, "collectProductCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountIsNull() { - addCriterion("collect_subject_count is null"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountIsNotNull() { - addCriterion("collect_subject_count is not null"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountEqualTo(Integer value) { - addCriterion("collect_subject_count =", value, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountNotEqualTo(Integer value) { - addCriterion("collect_subject_count <>", value, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountGreaterThan(Integer value) { - addCriterion("collect_subject_count >", value, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountGreaterThanOrEqualTo(Integer value) { - addCriterion("collect_subject_count >=", value, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountLessThan(Integer value) { - addCriterion("collect_subject_count <", value, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountLessThanOrEqualTo(Integer value) { - addCriterion("collect_subject_count <=", value, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountIn(List values) { - addCriterion("collect_subject_count in", values, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountNotIn(List values) { - addCriterion("collect_subject_count not in", values, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountBetween(Integer value1, Integer value2) { - addCriterion("collect_subject_count between", value1, value2, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectSubjectCountNotBetween(Integer value1, Integer value2) { - addCriterion("collect_subject_count not between", value1, value2, "collectSubjectCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountIsNull() { - addCriterion("collect_topic_count is null"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountIsNotNull() { - addCriterion("collect_topic_count is not null"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountEqualTo(Integer value) { - addCriterion("collect_topic_count =", value, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountNotEqualTo(Integer value) { - addCriterion("collect_topic_count <>", value, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountGreaterThan(Integer value) { - addCriterion("collect_topic_count >", value, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountGreaterThanOrEqualTo(Integer value) { - addCriterion("collect_topic_count >=", value, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountLessThan(Integer value) { - addCriterion("collect_topic_count <", value, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountLessThanOrEqualTo(Integer value) { - addCriterion("collect_topic_count <=", value, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountIn(List values) { - addCriterion("collect_topic_count in", values, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountNotIn(List values) { - addCriterion("collect_topic_count not in", values, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountBetween(Integer value1, Integer value2) { - addCriterion("collect_topic_count between", value1, value2, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectTopicCountNotBetween(Integer value1, Integer value2) { - addCriterion("collect_topic_count not between", value1, value2, "collectTopicCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountIsNull() { - addCriterion("collect_comment_count is null"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountIsNotNull() { - addCriterion("collect_comment_count is not null"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountEqualTo(Integer value) { - addCriterion("collect_comment_count =", value, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountNotEqualTo(Integer value) { - addCriterion("collect_comment_count <>", value, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountGreaterThan(Integer value) { - addCriterion("collect_comment_count >", value, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountGreaterThanOrEqualTo(Integer value) { - addCriterion("collect_comment_count >=", value, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountLessThan(Integer value) { - addCriterion("collect_comment_count <", value, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountLessThanOrEqualTo(Integer value) { - addCriterion("collect_comment_count <=", value, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountIn(List values) { - addCriterion("collect_comment_count in", values, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountNotIn(List values) { - addCriterion("collect_comment_count not in", values, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountBetween(Integer value1, Integer value2) { - addCriterion("collect_comment_count between", value1, value2, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andCollectCommentCountNotBetween(Integer value1, Integer value2) { - addCriterion("collect_comment_count not between", value1, value2, "collectCommentCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountIsNull() { - addCriterion("invite_friend_count is null"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountIsNotNull() { - addCriterion("invite_friend_count is not null"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountEqualTo(Integer value) { - addCriterion("invite_friend_count =", value, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountNotEqualTo(Integer value) { - addCriterion("invite_friend_count <>", value, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountGreaterThan(Integer value) { - addCriterion("invite_friend_count >", value, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountGreaterThanOrEqualTo(Integer value) { - addCriterion("invite_friend_count >=", value, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountLessThan(Integer value) { - addCriterion("invite_friend_count <", value, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountLessThanOrEqualTo(Integer value) { - addCriterion("invite_friend_count <=", value, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountIn(List values) { - addCriterion("invite_friend_count in", values, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountNotIn(List values) { - addCriterion("invite_friend_count not in", values, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountBetween(Integer value1, Integer value2) { - addCriterion("invite_friend_count between", value1, value2, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andInviteFriendCountNotBetween(Integer value1, Integer value2) { - addCriterion("invite_friend_count not between", value1, value2, "inviteFriendCount"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeIsNull() { - addCriterion("recent_order_time is null"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeIsNotNull() { - addCriterion("recent_order_time is not null"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeEqualTo(Date value) { - addCriterion("recent_order_time =", value, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeNotEqualTo(Date value) { - addCriterion("recent_order_time <>", value, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeGreaterThan(Date value) { - addCriterion("recent_order_time >", value, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeGreaterThanOrEqualTo(Date value) { - addCriterion("recent_order_time >=", value, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeLessThan(Date value) { - addCriterion("recent_order_time <", value, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeLessThanOrEqualTo(Date value) { - addCriterion("recent_order_time <=", value, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeIn(List values) { - addCriterion("recent_order_time in", values, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeNotIn(List values) { - addCriterion("recent_order_time not in", values, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeBetween(Date value1, Date value2) { - addCriterion("recent_order_time between", value1, value2, "recentOrderTime"); - return (Criteria) this; - } - - public Criteria andRecentOrderTimeNotBetween(Date value1, Date value2) { - addCriterion("recent_order_time not between", value1, value2, "recentOrderTime"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java index 0a5891f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java @@ -1,66 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.math.BigDecimal; - -public class UmsMemberTag implements Serializable { - private Long id; - - private String name; - - @ApiModelProperty(value = "自动打标签完成订单数量") - private Integer finishOrderCount; - - @ApiModelProperty(value = "自动打标签完成订单金额") - private BigDecimal finishOrderAmount; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getFinishOrderCount() { - return finishOrderCount; - } - - public void setFinishOrderCount(Integer finishOrderCount) { - this.finishOrderCount = finishOrderCount; - } - - public BigDecimal getFinishOrderAmount() { - return finishOrderAmount; - } - - public void setFinishOrderAmount(BigDecimal finishOrderAmount) { - this.finishOrderAmount = finishOrderAmount; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", finishOrderCount=").append(finishOrderCount); - sb.append(", finishOrderAmount=").append(finishOrderAmount); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java index c45777f..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java @@ -1,450 +0,0 @@ -package com.macro.mall.model; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class UmsMemberTagExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberTagExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountIsNull() { - addCriterion("finish_order_count is null"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountIsNotNull() { - addCriterion("finish_order_count is not null"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountEqualTo(Integer value) { - addCriterion("finish_order_count =", value, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountNotEqualTo(Integer value) { - addCriterion("finish_order_count <>", value, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountGreaterThan(Integer value) { - addCriterion("finish_order_count >", value, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountGreaterThanOrEqualTo(Integer value) { - addCriterion("finish_order_count >=", value, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountLessThan(Integer value) { - addCriterion("finish_order_count <", value, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountLessThanOrEqualTo(Integer value) { - addCriterion("finish_order_count <=", value, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountIn(List values) { - addCriterion("finish_order_count in", values, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountNotIn(List values) { - addCriterion("finish_order_count not in", values, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountBetween(Integer value1, Integer value2) { - addCriterion("finish_order_count between", value1, value2, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderCountNotBetween(Integer value1, Integer value2) { - addCriterion("finish_order_count not between", value1, value2, "finishOrderCount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountIsNull() { - addCriterion("finish_order_amount is null"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountIsNotNull() { - addCriterion("finish_order_amount is not null"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountEqualTo(BigDecimal value) { - addCriterion("finish_order_amount =", value, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountNotEqualTo(BigDecimal value) { - addCriterion("finish_order_amount <>", value, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountGreaterThan(BigDecimal value) { - addCriterion("finish_order_amount >", value, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("finish_order_amount >=", value, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountLessThan(BigDecimal value) { - addCriterion("finish_order_amount <", value, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountLessThanOrEqualTo(BigDecimal value) { - addCriterion("finish_order_amount <=", value, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountIn(List values) { - addCriterion("finish_order_amount in", values, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountNotIn(List values) { - addCriterion("finish_order_amount not in", values, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("finish_order_amount between", value1, value2, "finishOrderAmount"); - return (Criteria) this; - } - - public Criteria andFinishOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("finish_order_amount not between", value1, value2, "finishOrderAmount"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java index 5b856ca..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java @@ -1,77 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -public class UmsMemberTask implements Serializable { - private Long id; - - private String name; - - @ApiModelProperty(value = "赠送成长值") - private Integer growth; - - @ApiModelProperty(value = "赠送积分") - private Integer intergration; - - @ApiModelProperty(value = "任务类型:0->新手任务;1->日常任务") - private Integer type; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getGrowth() { - return growth; - } - - public void setGrowth(Integer growth) { - this.growth = growth; - } - - public Integer getIntergration() { - return intergration; - } - - public void setIntergration(Integer intergration) { - this.intergration = intergration; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", name=").append(name); - sb.append(", growth=").append(growth); - sb.append(", intergration=").append(intergration); - sb.append(", type=").append(type); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java index f57ad1e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java @@ -1,509 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsMemberTaskExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMemberTaskExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andGrowthIsNull() { - addCriterion("growth is null"); - return (Criteria) this; - } - - public Criteria andGrowthIsNotNull() { - addCriterion("growth is not null"); - return (Criteria) this; - } - - public Criteria andGrowthEqualTo(Integer value) { - addCriterion("growth =", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotEqualTo(Integer value) { - addCriterion("growth <>", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthGreaterThan(Integer value) { - addCriterion("growth >", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { - addCriterion("growth >=", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthLessThan(Integer value) { - addCriterion("growth <", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthLessThanOrEqualTo(Integer value) { - addCriterion("growth <=", value, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthIn(List values) { - addCriterion("growth in", values, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotIn(List values) { - addCriterion("growth not in", values, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthBetween(Integer value1, Integer value2) { - addCriterion("growth between", value1, value2, "growth"); - return (Criteria) this; - } - - public Criteria andGrowthNotBetween(Integer value1, Integer value2) { - addCriterion("growth not between", value1, value2, "growth"); - return (Criteria) this; - } - - public Criteria andIntergrationIsNull() { - addCriterion("intergration is null"); - return (Criteria) this; - } - - public Criteria andIntergrationIsNotNull() { - addCriterion("intergration is not null"); - return (Criteria) this; - } - - public Criteria andIntergrationEqualTo(Integer value) { - addCriterion("intergration =", value, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationNotEqualTo(Integer value) { - addCriterion("intergration <>", value, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationGreaterThan(Integer value) { - addCriterion("intergration >", value, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationGreaterThanOrEqualTo(Integer value) { - addCriterion("intergration >=", value, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationLessThan(Integer value) { - addCriterion("intergration <", value, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationLessThanOrEqualTo(Integer value) { - addCriterion("intergration <=", value, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationIn(List values) { - addCriterion("intergration in", values, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationNotIn(List values) { - addCriterion("intergration not in", values, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationBetween(Integer value1, Integer value2) { - addCriterion("intergration between", value1, value2, "intergration"); - return (Criteria) this; - } - - public Criteria andIntergrationNotBetween(Integer value1, Integer value2) { - addCriterion("intergration not between", value1, value2, "intergration"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java index 2245e6a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java @@ -1,770 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsMenuExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMenuExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andParentIdIsNull() { - addCriterion("parent_id is null"); - return (Criteria) this; - } - - public Criteria andParentIdIsNotNull() { - addCriterion("parent_id is not null"); - return (Criteria) this; - } - - public Criteria andParentIdEqualTo(Long value) { - addCriterion("parent_id =", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotEqualTo(Long value) { - addCriterion("parent_id <>", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThan(Long value) { - addCriterion("parent_id >", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdGreaterThanOrEqualTo(Long value) { - addCriterion("parent_id >=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThan(Long value) { - addCriterion("parent_id <", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdLessThanOrEqualTo(Long value) { - addCriterion("parent_id <=", value, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdIn(List values) { - addCriterion("parent_id in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotIn(List values) { - addCriterion("parent_id not in", values, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdBetween(Long value1, Long value2) { - addCriterion("parent_id between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andParentIdNotBetween(Long value1, Long value2) { - addCriterion("parent_id not between", value1, value2, "parentId"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andTitleIsNull() { - addCriterion("title is null"); - return (Criteria) this; - } - - public Criteria andTitleIsNotNull() { - addCriterion("title is not null"); - return (Criteria) this; - } - - public Criteria andTitleEqualTo(String value) { - addCriterion("title =", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotEqualTo(String value) { - addCriterion("title <>", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleGreaterThan(String value) { - addCriterion("title >", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleGreaterThanOrEqualTo(String value) { - addCriterion("title >=", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLessThan(String value) { - addCriterion("title <", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLessThanOrEqualTo(String value) { - addCriterion("title <=", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleLike(String value) { - addCriterion("title like", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotLike(String value) { - addCriterion("title not like", value, "title"); - return (Criteria) this; - } - - public Criteria andTitleIn(List values) { - addCriterion("title in", values, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotIn(List values) { - addCriterion("title not in", values, "title"); - return (Criteria) this; - } - - public Criteria andTitleBetween(String value1, String value2) { - addCriterion("title between", value1, value2, "title"); - return (Criteria) this; - } - - public Criteria andTitleNotBetween(String value1, String value2) { - addCriterion("title not between", value1, value2, "title"); - return (Criteria) this; - } - - public Criteria andLevelIsNull() { - addCriterion("level is null"); - return (Criteria) this; - } - - public Criteria andLevelIsNotNull() { - addCriterion("level is not null"); - return (Criteria) this; - } - - public Criteria andLevelEqualTo(Integer value) { - addCriterion("level =", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelNotEqualTo(Integer value) { - addCriterion("level <>", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelGreaterThan(Integer value) { - addCriterion("level >", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelGreaterThanOrEqualTo(Integer value) { - addCriterion("level >=", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelLessThan(Integer value) { - addCriterion("level <", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelLessThanOrEqualTo(Integer value) { - addCriterion("level <=", value, "level"); - return (Criteria) this; - } - - public Criteria andLevelIn(List values) { - addCriterion("level in", values, "level"); - return (Criteria) this; - } - - public Criteria andLevelNotIn(List values) { - addCriterion("level not in", values, "level"); - return (Criteria) this; - } - - public Criteria andLevelBetween(Integer value1, Integer value2) { - addCriterion("level between", value1, value2, "level"); - return (Criteria) this; - } - - public Criteria andLevelNotBetween(Integer value1, Integer value2) { - addCriterion("level not between", value1, value2, "level"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andHiddenIsNull() { - addCriterion("hidden is null"); - return (Criteria) this; - } - - public Criteria andHiddenIsNotNull() { - addCriterion("hidden is not null"); - return (Criteria) this; - } - - public Criteria andHiddenEqualTo(Integer value) { - addCriterion("hidden =", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenNotEqualTo(Integer value) { - addCriterion("hidden <>", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenGreaterThan(Integer value) { - addCriterion("hidden >", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenGreaterThanOrEqualTo(Integer value) { - addCriterion("hidden >=", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenLessThan(Integer value) { - addCriterion("hidden <", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenLessThanOrEqualTo(Integer value) { - addCriterion("hidden <=", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenIn(List values) { - addCriterion("hidden in", values, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenNotIn(List values) { - addCriterion("hidden not in", values, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenBetween(Integer value1, Integer value2) { - addCriterion("hidden between", value1, value2, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenNotBetween(Integer value1, Integer value2) { - addCriterion("hidden not between", value1, value2, "hidden"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java index b2d4b2b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java @@ -1,139 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class UmsPermission implements Serializable { - private Long id; - - @ApiModelProperty(value = "父级权限id") - private Long pid; - - @ApiModelProperty(value = "名称") - private String name; - - @ApiModelProperty(value = "权限值") - private String value; - - @ApiModelProperty(value = "图标") - private String icon; - - @ApiModelProperty(value = "权限类型:0->目录;1->菜单;2->按钮(接口绑定权限)") - private Integer type; - - @ApiModelProperty(value = "前端资源路径") - private String uri; - - @ApiModelProperty(value = "启用状态;0->禁用;1->启用") - private Integer status; - - @ApiModelProperty(value = "创建时间") - private Date createTime; - - @ApiModelProperty(value = "排序") - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getPid() { - return pid; - } - - public void setPid(Long pid) { - this.pid = pid; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getValue() { - return value; - } - - public void setValue(String value) { - this.value = value; - } - - public String getIcon() { - return icon; - } - - public void setIcon(String icon) { - this.icon = icon; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getUri() { - return uri; - } - - public void setUri(String uri) { - this.uri = uri; - } - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status = status; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", pid=").append(pid); - sb.append(", name=").append(name); - sb.append(", value=").append(value); - sb.append(", icon=").append(icon); - sb.append(", type=").append(type); - sb.append(", uri=").append(uri); - sb.append(", status=").append(status); - sb.append(", createTime=").append(createTime); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java index ad28b6e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java @@ -1,840 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsPermissionExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsPermissionExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andPidIsNull() { - addCriterion("pid is null"); - return (Criteria) this; - } - - public Criteria andPidIsNotNull() { - addCriterion("pid is not null"); - return (Criteria) this; - } - - public Criteria andPidEqualTo(Long value) { - addCriterion("pid =", value, "pid"); - return (Criteria) this; - } - - public Criteria andPidNotEqualTo(Long value) { - addCriterion("pid <>", value, "pid"); - return (Criteria) this; - } - - public Criteria andPidGreaterThan(Long value) { - addCriterion("pid >", value, "pid"); - return (Criteria) this; - } - - public Criteria andPidGreaterThanOrEqualTo(Long value) { - addCriterion("pid >=", value, "pid"); - return (Criteria) this; - } - - public Criteria andPidLessThan(Long value) { - addCriterion("pid <", value, "pid"); - return (Criteria) this; - } - - public Criteria andPidLessThanOrEqualTo(Long value) { - addCriterion("pid <=", value, "pid"); - return (Criteria) this; - } - - public Criteria andPidIn(List values) { - addCriterion("pid in", values, "pid"); - return (Criteria) this; - } - - public Criteria andPidNotIn(List values) { - addCriterion("pid not in", values, "pid"); - return (Criteria) this; - } - - public Criteria andPidBetween(Long value1, Long value2) { - addCriterion("pid between", value1, value2, "pid"); - return (Criteria) this; - } - - public Criteria andPidNotBetween(Long value1, Long value2) { - addCriterion("pid not between", value1, value2, "pid"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andValueIsNull() { - addCriterion("value is null"); - return (Criteria) this; - } - - public Criteria andValueIsNotNull() { - addCriterion("value is not null"); - return (Criteria) this; - } - - public Criteria andValueEqualTo(String value) { - addCriterion("value =", value, "value"); - return (Criteria) this; - } - - public Criteria andValueNotEqualTo(String value) { - addCriterion("value <>", value, "value"); - return (Criteria) this; - } - - public Criteria andValueGreaterThan(String value) { - addCriterion("value >", value, "value"); - return (Criteria) this; - } - - public Criteria andValueGreaterThanOrEqualTo(String value) { - addCriterion("value >=", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLessThan(String value) { - addCriterion("value <", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLessThanOrEqualTo(String value) { - addCriterion("value <=", value, "value"); - return (Criteria) this; - } - - public Criteria andValueLike(String value) { - addCriterion("value like", value, "value"); - return (Criteria) this; - } - - public Criteria andValueNotLike(String value) { - addCriterion("value not like", value, "value"); - return (Criteria) this; - } - - public Criteria andValueIn(List values) { - addCriterion("value in", values, "value"); - return (Criteria) this; - } - - public Criteria andValueNotIn(List values) { - addCriterion("value not in", values, "value"); - return (Criteria) this; - } - - public Criteria andValueBetween(String value1, String value2) { - addCriterion("value between", value1, value2, "value"); - return (Criteria) this; - } - - public Criteria andValueNotBetween(String value1, String value2) { - addCriterion("value not between", value1, value2, "value"); - return (Criteria) this; - } - - public Criteria andIconIsNull() { - addCriterion("icon is null"); - return (Criteria) this; - } - - public Criteria andIconIsNotNull() { - addCriterion("icon is not null"); - return (Criteria) this; - } - - public Criteria andIconEqualTo(String value) { - addCriterion("icon =", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotEqualTo(String value) { - addCriterion("icon <>", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThan(String value) { - addCriterion("icon >", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconGreaterThanOrEqualTo(String value) { - addCriterion("icon >=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThan(String value) { - addCriterion("icon <", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLessThanOrEqualTo(String value) { - addCriterion("icon <=", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconLike(String value) { - addCriterion("icon like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotLike(String value) { - addCriterion("icon not like", value, "icon"); - return (Criteria) this; - } - - public Criteria andIconIn(List values) { - addCriterion("icon in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotIn(List values) { - addCriterion("icon not in", values, "icon"); - return (Criteria) this; - } - - public Criteria andIconBetween(String value1, String value2) { - addCriterion("icon between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andIconNotBetween(String value1, String value2) { - addCriterion("icon not between", value1, value2, "icon"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andUriIsNull() { - addCriterion("uri is null"); - return (Criteria) this; - } - - public Criteria andUriIsNotNull() { - addCriterion("uri is not null"); - return (Criteria) this; - } - - public Criteria andUriEqualTo(String value) { - addCriterion("uri =", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriNotEqualTo(String value) { - addCriterion("uri <>", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriGreaterThan(String value) { - addCriterion("uri >", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriGreaterThanOrEqualTo(String value) { - addCriterion("uri >=", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriLessThan(String value) { - addCriterion("uri <", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriLessThanOrEqualTo(String value) { - addCriterion("uri <=", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriLike(String value) { - addCriterion("uri like", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriNotLike(String value) { - addCriterion("uri not like", value, "uri"); - return (Criteria) this; - } - - public Criteria andUriIn(List values) { - addCriterion("uri in", values, "uri"); - return (Criteria) this; - } - - public Criteria andUriNotIn(List values) { - addCriterion("uri not in", values, "uri"); - return (Criteria) this; - } - - public Criteria andUriBetween(String value1, String value2) { - addCriterion("uri between", value1, value2, "uri"); - return (Criteria) this; - } - - public Criteria andUriNotBetween(String value1, String value2) { - addCriterion("uri not between", value1, value2, "uri"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java index eb265da..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class UmsResource implements Serializable { - private Long id; - - @ApiModelProperty(value = "创建时间") - private Date createTime; - - @ApiModelProperty(value = "资源名称") - private String name; - - @ApiModelProperty(value = "资源URL") - private String url; - - @ApiModelProperty(value = "描述") - private String description; - - @ApiModelProperty(value = "资源分类ID") - private Long categoryId; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Long getCategoryId() { - return categoryId; - } - - public void setCategoryId(Long categoryId) { - this.categoryId = categoryId; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", createTime=").append(createTime); - sb.append(", name=").append(name); - sb.append(", url=").append(url); - sb.append(", description=").append(description); - sb.append(", categoryId=").append(categoryId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java index bee170b..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java @@ -1,67 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; -import java.util.Date; - -public class UmsResourceCategory implements Serializable { - private Long id; - - @ApiModelProperty(value = "创建时间") - private Date createTime; - - @ApiModelProperty(value = "分类名称") - private String name; - - @ApiModelProperty(value = "排序") - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", createTime=").append(createTime); - sb.append(", name=").append(name); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java index 4c1651e..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java @@ -1,450 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsResourceCategoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsResourceCategoryExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java index 9993cfe..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java @@ -1,590 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsResourceExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsResourceExample() { - oredCriteria = new ArrayList<>(); - } - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andUrlIsNull() { - addCriterion("url is null"); - return (Criteria) this; - } - - public Criteria andUrlIsNotNull() { - addCriterion("url is not null"); - return (Criteria) this; - } - - public Criteria andUrlEqualTo(String value) { - addCriterion("url =", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotEqualTo(String value) { - addCriterion("url <>", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlGreaterThan(String value) { - addCriterion("url >", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlGreaterThanOrEqualTo(String value) { - addCriterion("url >=", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlLessThan(String value) { - addCriterion("url <", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlLessThanOrEqualTo(String value) { - addCriterion("url <=", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlLike(String value) { - addCriterion("url like", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotLike(String value) { - addCriterion("url not like", value, "url"); - return (Criteria) this; - } - - public Criteria andUrlIn(List values) { - addCriterion("url in", values, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotIn(List values) { - addCriterion("url not in", values, "url"); - return (Criteria) this; - } - - public Criteria andUrlBetween(String value1, String value2) { - addCriterion("url between", value1, value2, "url"); - return (Criteria) this; - } - - public Criteria andUrlNotBetween(String value1, String value2) { - addCriterion("url not between", value1, value2, "url"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNull() { - addCriterion("description is null"); - return (Criteria) this; - } - - public Criteria andDescriptionIsNotNull() { - addCriterion("description is not null"); - return (Criteria) this; - } - - public Criteria andDescriptionEqualTo(String value) { - addCriterion("description =", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotEqualTo(String value) { - addCriterion("description <>", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThan(String value) { - addCriterion("description >", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionGreaterThanOrEqualTo(String value) { - addCriterion("description >=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThan(String value) { - addCriterion("description <", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLessThanOrEqualTo(String value) { - addCriterion("description <=", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionLike(String value) { - addCriterion("description like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotLike(String value) { - addCriterion("description not like", value, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionIn(List values) { - addCriterion("description in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotIn(List values) { - addCriterion("description not in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionBetween(String value1, String value2) { - addCriterion("description between", value1, value2, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotBetween(String value1, String value2) { - addCriterion("description not between", value1, value2, "description"); - return (Criteria) this; - } - - public Criteria andCategoryIdIsNull() { - addCriterion("category_id is null"); - return (Criteria) this; - } - - public Criteria andCategoryIdIsNotNull() { - addCriterion("category_id is not null"); - return (Criteria) this; - } - - public Criteria andCategoryIdEqualTo(Long value) { - addCriterion("category_id =", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotEqualTo(Long value) { - addCriterion("category_id <>", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThan(Long value) { - addCriterion("category_id >", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { - addCriterion("category_id >=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThan(Long value) { - addCriterion("category_id <", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdLessThanOrEqualTo(Long value) { - addCriterion("category_id <=", value, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdIn(List values) { - addCriterion("category_id in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotIn(List values) { - addCriterion("category_id not in", values, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdBetween(Long value1, Long value2) { - addCriterion("category_id between", value1, value2, "categoryId"); - return (Criteria) this; - } - - public Criteria andCategoryIdNotBetween(Long value1, Long value2) { - addCriterion("category_id not between", value1, value2, "categoryId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java index 7c62ae2..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java @@ -1,860 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -/** - * UmsRoleExample 类用于构建查询条件,支持动态添加查询条件和排序。 - */ -public class UmsRoleExample { - protected String orderByClause; // 存储排序子句 - - protected boolean distinct; // 是否去重 - - protected List oredCriteria; // 存储多个查询条件 - - /** - * 构造函数,初始化oredCriteria为一个空的ArrayList。 - */ - public UmsRoleExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * 设置排序子句。 - * @param orderByClause 排序子句 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * 获取排序子句。 - * @return 排序子句 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * 设置是否去重。 - * @param distinct 是否去重 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * 获取是否去重。 - * @return 是否去重 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * 获取所有查询条件。 - * @return 查询条件列表 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * 添加一个新的查询条件到oredCriteria列表中。 - * @param criteria 新的查询条件 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * 创建一个新的Criteria对象并添加到oredCriteria列表中。 - * @return 新创建的Criteria对象 - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * 创建一个Criteria对象,如果oredCriteria为空则添加到oredCriteria列表中。 - * @return 新创建的Criteria对象 - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * 内部方法,用于创建一个新的Criteria对象。 - * @return 新创建的Criteria对象 - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * 清除所有查询条件、排序子句和去重标志。 - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - // 存储查询条件的列表 - protected List criteria; - - // 构造函数,初始化criteria为一个空的ArrayList - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - // 判断是否有查询条件 - public boolean isValid() { - return criteria.size() > 0; - } - - // 获取所有的查询条件 - public List getAllCriteria() { - return criteria; - } - - // 获取所有的查询条件(与getAllCriteria方法功能相同) - public List getCriteria() { - return criteria; - } - - // 添加一个简单的查询条件 - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); // 如果条件为空,抛出异常 - } - criteria.add(new Criterion(condition)); // 将条件添加到criteria列表中 - } - - // 添加一个带值的查询条件 - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); // 如果值为空,抛出异常 - } - criteria.add(new Criterion(condition, value)); // 将条件和值添加到criteria列表中 - } - - // 添加一个带两个值的查询条件(用于BETWEEN操作) - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); // 如果任意一个值为空,抛出异常 - } - criteria.add(new Criterion(condition, value1, value2)); // 将条件和两个值添加到criteria列表中 - } - - // 添加id为空的查询条件 - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; // 返回当前对象以支持链式调用 - } - - // 添加id不为空的查询条件 - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; // 返回当前对象以支持链式调用 - } - - // 添加id等于指定值的查询条件 - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; // 返回当前对象以支持链式调用 - } - - // 添加id不等于指定值的查询条件 - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; // 返回当前对象以支持链式调用 - } - - // 添加id大于指定值的查询条件 - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; // 返回当前对象以支持链式调用 - } - - - // 添加一个条件,要求id大于或等于指定的值 - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - // 添加一个条件,要求id小于指定的值 - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - // 添加一个条件,要求id小于或等于指定的值 - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - // 添加一个条件,要求id在指定的列表中 - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - // 添加一个条件,要求id不在指定的列表中 - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - // 添加一个条件,要求id在指定的两个值之间(包含边界) - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - // 添加一个条件,要求id不在指定的两个值之间(不包含边界) - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段为空 - public Criteria andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段不为空 - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段等于指定的值 - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段不等于指定的值 - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段大于指定的值 - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段大于或等于指定的值 - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - - // 添加一个条件,要求name字段小于指定的值 - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段小于或等于指定的值 - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段匹配指定的模式(使用SQL的LIKE操作符) - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段不匹配指定的模式(使用SQL的NOT LIKE操作符) - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段在指定的列表中 - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段不在指定的列表中 - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段在指定的两个值之间(包含边界) - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求name字段不在指定的两个值之间(不包含边界) - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段为空 - public Criteria andDescriptionIsNull() { - addCriterion("description is null"); - return (Criteria) this; - } - - - // 添加一个条件,要求description字段不为空 - public Criteria andDescriptionIsNotNull() { - addCriterion("description is not null"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段等于指定的值 - public Criteria andDescriptionEqualTo(String value) { - addCriterion("description =", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段不等于指定的值 - public Criteria andDescriptionNotEqualTo(String value) { - addCriterion("description <>", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段大于指定的值 - public Criteria andDescriptionGreaterThan(String value) { - addCriterion("description >", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段大于或等于指定的值 - public Criteria andDescriptionGreaterThanOrEqualTo(String value) { - addCriterion("description >=", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段小于指定的值 - public Criteria andDescriptionLessThan(String value) { - addCriterion("description <", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段小于或等于指定的值 - public Criteria andDescriptionLessThanOrEqualTo(String value) { - addCriterion("description <=", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段匹配指定的模式(使用SQL的LIKE操作符) - public Criteria andDescriptionLike(String value) { - addCriterion("description like", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段不匹配指定的模式(使用SQL的NOT LIKE操作符) - public Criteria andDescriptionNotLike(String value) { - addCriterion("description not like", value, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段在指定的列表中 - public Criteria andDescriptionIn(List values) { - addCriterion("description in", values, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段不在指定的列表中 - public Criteria andDescriptionNotIn(List values) { - addCriterion("description not in", values, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段在指定的两个值之间(包含边界) - public Criteria andDescriptionBetween(String value1, String value2) { - addCriterion("description between", value1, value2, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求description字段不在指定的两个值之间(不包含边界) - public Criteria andDescriptionNotBetween(String value1, String value2) { - addCriterion("description not between", value1, value2, "description"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段为空 - public Criteria andAdminCountIsNull() { - addCriterion("admin_count is null"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段不为空 - public Criteria andAdminCountIsNotNull() { - addCriterion("admin_count is not null"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段等于指定的值 - public Criteria andAdminCountEqualTo(Integer value) { - addCriterion("admin_count =", value, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段不等于指定的值 - public Criteria andAdminCountNotEqualTo(Integer value) { - addCriterion("admin_count <>", value, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段大于指定的值 - public Criteria andAdminCountGreaterThan(Integer value) { - addCriterion("admin_count >", value, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段大于或等于指定的值 - public Criteria andAdminCountGreaterThanOrEqualTo(Integer value) { - addCriterion("admin_count >=", value, "adminCount"); - return (Criteria) this; - } - - - // 添加一个条件,要求admin_count字段小于指定的值 - public Criteria andAdminCountLessThan(Integer value) { - addCriterion("admin_count <", value, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段小于或等于指定的值 - public Criteria andAdminCountLessThanOrEqualTo(Integer value) { - addCriterion("admin_count <=", value, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段在指定的列表中 - public Criteria andAdminCountIn(List values) { - addCriterion("admin_count in", values, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段不在指定的列表中 - public Criteria andAdminCountNotIn(List values) { - addCriterion("admin_count not in", values, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段在指定的两个值之间(包含边界) - public Criteria andAdminCountBetween(Integer value1, Integer value2) { - addCriterion("admin_count between", value1, value2, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求admin_count字段不在指定的两个值之间(不包含边界) - public Criteria andAdminCountNotBetween(Integer value1, Integer value2) { - addCriterion("admin_count not between", value1, value2, "adminCount"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段为空 - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段不为空 - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段等于指定的值 - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段不等于指定的值 - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段大于指定的值 - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段大于或等于指定的值 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段小于指定的值 - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - - // 添加一个条件,要求create_time字段小于或等于指定的值 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段在指定的列表中 - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段不在指定的列表中 - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段在指定的两个值之间(包含边界) - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求create_time字段不在指定的两个值之间(不包含边界) - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段为空 - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段不为空 - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段等于指定的值 - public Criteria andStatusEqualTo(Integer value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段不等于指定的值 - public Criteria andStatusNotEqualTo(Integer value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段大于指定的值 - public Criteria andStatusGreaterThan(Integer value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段大于或等于指定的值 - public Criteria andStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段小于指定的值 - public Criteria andStatusLessThan(Integer value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段小于或等于指定的值 - public Criteria andStatusLessThanOrEqualTo(Integer value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段在指定的列表中 - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段不在指定的列表中 - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段在指定的两个值之间(包含边界) - public Criteria andStatusBetween(Integer value1, Integer value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - // 添加一个条件,要求status字段不在指定的两个值之间(不包含边界) - public Criteria andStatusNotBetween(Integer value1, Integer value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - - /** - * 添加一个条件,检查 'sort' 字段是否为空。 - * @return 返回当前的 Criteria 对象,以便进行链式调用。 - */ - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - /** - * 添加一个条件,检查 'sort' 字段是否不为空。 - * @return 返回当前的 Criteria 对象,以便进行链式调用。 - */ - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - /** - * 添加一个条件,检查 'sort' 字段是否等于指定的值。 - * @param value 要比较的值。 - * @return 返回当前的 Criteria 对象,以便进行链式调用。 - */ - public Criteria andSortEqualTo(Integer value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,检查 'sort' 字段是否不等于指定的值。 - * @param value 要比较的值。 - * @return 返回当前的 Criteria 对象,以便进行链式调用。 - */ - public Criteria andSortNotEqualTo(Integer value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - /** - * 添加一个条件,检查 'sort' 字段是否大于指定的值。 - * @param value 要比较的值。 - * @return 返回当前的 Criteria 对象,以便进行链式调用。 - */ - public Criteria andSortGreaterThan(Integer value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(Integer value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(Integer value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(Integer value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(Integer value1, Integer value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(Integer value1, Integer value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - /** - * 获取条件表达式。 - * - * @return 返回条件表达式字符串。 - */ - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - /** - * 获取第一个值。 - * - * @return 返回存储在 value 字段中的第一个值对象。 - */ - public Object getValue() { - return value; - } - - /** - * 获取第二个值。 - * - * @return 返回存储在 secondValue 字段中的第二个值对象。 - */ - public Object getSecondValue() { - return secondValue; - } - - /** - * 判断是否没有值。 - * - * @return 如果条件是 IS NULL 或 IS NOT NULL,则返回 true;否则返回 false。 - */ - public boolean isNoValue() { - return noValue; - } - - /** - * 判断是否为单一值。 - * - * @return 如果条件是等于或不等于,则返回 true;否则返回 false。 - */ - public boolean isSingleValue() { - return singleValue; - } - - /** - * 判断是否为区间值。 - * - * @return 如果条件是 BETWEEN,则返回 true;否则返回 false。 - */ - public boolean isBetweenValue() { - return betweenValue; - } - - /** - * 判断是否为列表值。 - * - * @return 如果条件是 IN,则返回 true;否则返回 false。 - */ - public boolean isListValue() { - return listValue; - } - - /** - * 获取类型处理器。 - * - * @return 返回类型处理器字符串。 - */ - public String getTypeHandler() { - return typeHandler; - } - - /** - * Criterion 类的构造函数,用于初始化条件表达式。 - * - * @param condition 条件表达式字符串,例如 "age > ?" - */ - protected Criterion(String condition) { - super(); // 调用父类构造函数 - this.condition = condition; // 设置条件表达式 - this.typeHandler = null; // 初始化类型处理器为空 - this.noValue = true; // 默认情况下没有值 - } - - /** - * Criterion 类的构造函数,用于初始化条件表达式、值和类型处理器。 - * - * @param condition 条件表达式字符串,例如 "age > ?" - * @param value 第一个值,用于单值比较或范围查询的第一个值 - * @param typeHandler 类型处理器,用于处理自定义类型的转换 - */ - protected Criterion(String condition, Object value, String typeHandler) { - super(); // 调用父类构造函数 - this.condition = condition; // 设置条件表达式 - this.value = value; // 设置第一个值 - this.typeHandler = typeHandler; // 设置类型处理器 - if (value instanceof List) { - this.listValue = true; // 如果值是一个列表,则标记为列表值 - } else { - this.singleValue = true; // 否则标记为单一值 - } - } - - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - /** - * Criterion 类的构造函数,用于初始化条件表达式、值、第二值和类型处理器。 - * - * @param condition 条件表达式字符串,例如 "age > ?" - * @param value 第一个值,用于单值比较或范围查询的第一个值 - * @param secondValue 第二个值,仅在范围查询中使用 - * @param typeHandler 类型处理器,用于处理自定义类型的转换 - */ - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); // 调用父类构造函数 - this.condition = condition; // 设置条件表达式 - this.value = value; // 设置第一个值 - this.secondValue = secondValue; // 设置第二个值 - this.typeHandler = typeHandler; // 设置类型处理器 - this.betweenValue = true; // 标记这是一个区间值(BETWEEN)条件 - } - - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java index 0d10a67..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java @@ -1,69 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * UmsRoleMenuRelation 类表示角色和菜单之间的关系。 - * 它实现了 Serializable 接口,以便对象可以被序列化。 - */ -public class UmsRoleMenuRelation implements Serializable { - // 唯一标识符 - private Long id; - - // 角色ID - @ApiModelProperty(value = "角色ID") - private Long roleId; - - // 菜单ID - @ApiModelProperty(value = "菜单ID") - private Long menuId; - - // 序列化版本UID,用于确保在反序列化时类的一致性 - private static final long serialVersionUID = 1L; - - // 获取ID的方法 - public Long getId() { - return id; - } - - // 设置ID的方法 - public void setId(Long id) { - this.id = id; - } - - // 获取角色ID的方法 - public Long getRoleId() { - return roleId; - } - - // 设置角色ID的方法 - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - // 获取菜单ID的方法 - public Long getMenuId() { - return menuId; - } - - // 设置菜单ID的方法 - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - // 重写 toString 方法,用于生成对象的字符串表示形式 - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); // 添加类名 - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); // 添加哈希码 - sb.append(", id=").append(id); // 添加ID - sb.append(", roleId=").append(roleId); // 添加角色ID - sb.append(", menuId=").append(menuId); // 添加菜单ID - sb.append(", serialVersionUID=").append(serialVersionUID); // 添加序列化版本UID - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java index 4f255d8..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java @@ -1,424 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -/** - * UmsRoleMenuRelationExample 是一个用于构建 UmsRoleMenuRelation 表的 SQL 查询条件的类。 - */ -public class UmsRoleMenuRelationExample { - // 存储 SQL 查询中的 order by 子句 - protected String orderByClause; - - // 标志是否在查询结果中去除重复记录 - protected boolean distinct; - - // 存储多个 Criteria 对象,用于构建复杂的查询条件 - protected List oredCriteria; - - /** - * 构造函数,初始化 oredCriteria 为一个空的 ArrayList。 - */ - public UmsRoleMenuRelationExample() { - oredCriteria = new ArrayList<>(); - } - - /** - * 设置 order by 子句。 - * @param orderByClause 要设置的 order by 子句 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * 获取当前的 order by 子句。 - * @return 当前的 order by 子句 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * 设置是否去重的标志。 - * @param distinct 是否去重的布尔值 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * 获取是否去重的标志。 - * @return 是否去重的布尔值 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * 获取当前所有的 Criteria 对象。 - * @return 包含所有 Criteria 对象的列表 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * 添加一个新的 Criteria 对象到 oredCriteria 列表中。 - * @param criteria 要添加的 Criteria 对象 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNull() { - addCriterion("role_id is null"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNotNull() { - addCriterion("role_id is not null"); - return (Criteria) this; - } - - public Criteria andRoleIdEqualTo(Long value) { - addCriterion("role_id =", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotEqualTo(Long value) { - addCriterion("role_id <>", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThan(Long value) { - addCriterion("role_id >", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThanOrEqualTo(Long value) { - addCriterion("role_id >=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThan(Long value) { - addCriterion("role_id <", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThanOrEqualTo(Long value) { - addCriterion("role_id <=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdIn(List values) { - addCriterion("role_id in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotIn(List values) { - addCriterion("role_id not in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdBetween(Long value1, Long value2) { - addCriterion("role_id between", value1, value2, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotBetween(Long value1, Long value2) { - addCriterion("role_id not between", value1, value2, "roleId"); - return (Criteria) this; - } - - public Criteria andMenuIdIsNull() { - addCriterion("menu_id is null"); - return (Criteria) this; - } - - public Criteria andMenuIdIsNotNull() { - addCriterion("menu_id is not null"); - return (Criteria) this; - } - - public Criteria andMenuIdEqualTo(Long value) { - addCriterion("menu_id =", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdNotEqualTo(Long value) { - addCriterion("menu_id <>", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdGreaterThan(Long value) { - addCriterion("menu_id >", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdGreaterThanOrEqualTo(Long value) { - addCriterion("menu_id >=", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdLessThan(Long value) { - addCriterion("menu_id <", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdLessThanOrEqualTo(Long value) { - addCriterion("menu_id <=", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdIn(List values) { - addCriterion("menu_id in", values, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdNotIn(List values) { - addCriterion("menu_id not in", values, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdBetween(Long value1, Long value2) { - addCriterion("menu_id between", value1, value2, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdNotBetween(Long value1, Long value2) { - addCriterion("menu_id not between", value1, value2, "menuId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - // 构造函数,用于创建一个Criterion对象,只包含条件和值 - protected Criterion(String condition, Object value) { - // 调用另一个构造函数,并传递null作为typeHandler参数 - this(condition, value, null); - } - - // 构造函数,用于创建一个Criterion对象,包含条件、值、第二个值和类型处理器 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - // 调用父类的构造函数 - super(); - // 初始化条件字段 - this.condition = condition; - // 初始化值字段 - this.value = value; - // 初始化第二个值字段 - this.secondValue = secondValue; - // 初始化类型处理器字段 - this.typeHandler = typeHandler; - // 设置betweenValue为true,表示这是一个范围查询 - this.betweenValue = true; - } - - // 构造函数,用于创建一个Criterion对象,包含条件、值和第二个值 - protected Criterion(String condition, Object value, Object secondValue) { - // 调用另一个构造函数,并传递null作为typeHandler参数 - this(condition, value, secondValue, null); - } - - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java index 6326022..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java @@ -1,87 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * UmsRolePermissionRelation 类表示角色和权限之间的关系。 - */ -public class UmsRolePermissionRelation implements Serializable { - // 唯一标识符 - private Long id; - - // 角色ID - private Long roleId; - - // 权限ID - private Long permissionId; - - // 序列化版本UID,用于确保在反序列化时类的一致性 - private static final long serialVersionUID = 1L; - - /** - * 获取唯一标识符 - * @return 唯一标识符 - */ - public Long getId() { - return id; - } - - /** - * 设置唯一标识符 - * @param id 唯一标识符 - */ - public void setId(Long id) { - this.id = id; - } - - /** - * 获取角色ID - * @return 角色ID - */ - public Long getRoleId() { - return roleId; - } - - /** - * 设置角色ID - * @param roleId 角色ID - */ - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - /** - * 获取权限ID - * @return 权限ID - */ - public Long getPermissionId() { - return permissionId; - } - - /** - * 设置权限ID - * @param permissionId 权限ID - */ - public void setPermissionId(Long permissionId) { - this.permissionId = permissionId; - } - - /** - * 返回对象的字符串表示形式 - * @return 对象的字符串表示形式 - */ - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", roleId=").append(roleId); - sb.append(", permissionId=").append(permissionId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java index 9d5ce08..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java @@ -1,386 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -/** - * UmsRolePermissionRelationExample 是用于构建 UmsRolePermissionRelation 表的 SQL 查询条件的类。 - */ -public class UmsRolePermissionRelationExample { - protected String orderByClause; // SQL 查询中的 ORDER BY 子句 - - protected boolean distinct; // 是否在 SQL 查询中使用 DISTINCT - - protected List oredCriteria; // Criteria 对象的列表,每个对象代表一组条件 - - /** - * 构造函数初始化 oredCriteria 列表。 - */ - public UmsRolePermissionRelationExample() { - oredCriteria = new ArrayList<>(); - } - - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNull() { - addCriterion("role_id is null"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNotNull() { - addCriterion("role_id is not null"); - return (Criteria) this; - } - - public Criteria andRoleIdEqualTo(Long value) { - addCriterion("role_id =", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotEqualTo(Long value) { - addCriterion("role_id <>", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThan(Long value) { - addCriterion("role_id >", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThanOrEqualTo(Long value) { - addCriterion("role_id >=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThan(Long value) { - addCriterion("role_id <", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThanOrEqualTo(Long value) { - addCriterion("role_id <=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdIn(List values) { - addCriterion("role_id in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotIn(List values) { - addCriterion("role_id not in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdBetween(Long value1, Long value2) { - addCriterion("role_id between", value1, value2, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotBetween(Long value1, Long value2) { - addCriterion("role_id not between", value1, value2, "roleId"); - return (Criteria) this; - } - - public Criteria andPermissionIdIsNull() { - addCriterion("permission_id is null"); - return (Criteria) this; - } - - public Criteria andPermissionIdIsNotNull() { - addCriterion("permission_id is not null"); - return (Criteria) this; - } - - public Criteria andPermissionIdEqualTo(Long value) { - addCriterion("permission_id =", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdNotEqualTo(Long value) { - addCriterion("permission_id <>", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdGreaterThan(Long value) { - addCriterion("permission_id >", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdGreaterThanOrEqualTo(Long value) { - addCriterion("permission_id >=", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdLessThan(Long value) { - addCriterion("permission_id <", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdLessThanOrEqualTo(Long value) { - addCriterion("permission_id <=", value, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdIn(List values) { - addCriterion("permission_id in", values, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdNotIn(List values) { - addCriterion("permission_id not in", values, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdBetween(Long value1, Long value2) { - addCriterion("permission_id between", value1, value2, "permissionId"); - return (Criteria) this; - } - - public Criteria andPermissionIdNotBetween(Long value1, Long value2) { - addCriterion("permission_id not between", value1, value2, "permissionId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java index 11c7a5a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java @@ -1,97 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.annotations.ApiModelProperty; -import java.io.Serializable; - -/** - * 角色资源关联实体类,表示角色与资源之间的关联关系。 - */ -public class UmsRoleResourceRelation implements Serializable { - /** - * 主键ID。 - */ - private Long id; - - /** - * 角色ID。 - */ - @ApiModelProperty(value = "角色ID") - private Long roleId; - - /** - * 资源ID。 - */ - @ApiModelProperty(value = "资源ID") - private Long resourceId; - - /** - * 序列化版本号,用于兼容性检查。 - */ - private static final long serialVersionUID = 1L; - - /** - * 获取主键ID。 - * @return 主键ID - */ - public Long getId() { - return id; - } - - /** - * 设置主键ID。 - * @param id 主键ID - */ - public void setId(Long id) { - this.id = id; - } - - /** - * 获取角色ID。 - * @return 角色ID - */ - public Long getRoleId() { - return roleId; - } - - /** - * 设置角色ID。 - * @param roleId 角色ID - */ - public void setRoleId(Long roleId) { - this.roleId = roleId; - } - - /** - * 获取资源ID。 - * @return 资源ID - */ - public Long getResourceId() { - return resourceId; - } - - /** - * 设置资源ID。 - * @param resourceId 资源ID - */ - public void setResourceId(Long resourceId) { - this.resourceId = resourceId; - } - - /** - * 重写 toString 方法,用于打印对象信息。 - * @return 对象信息字符串 - */ - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(getClass().getSimpleName()); - sb.append(" ["); - sb.append("Hash = ").append(hashCode()); - sb.append(", id=").append(id); - sb.append(", roleId=").append(roleId); - sb.append(", resourceId=").append(resourceId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java index 342828a..e69de29 100644 --- a/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java @@ -1,389 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -/** - * UmsRoleResourceRelationExample 类用于构建 UmsRoleResourceRelation 表的 SQL 查询条件。 - */ -public class UmsRoleResourceRelationExample { - // 存储 SQL 查询的 ORDER BY 子句 - protected String orderByClause; - - // 标记是否在查询中使用 DISTINCT 关键字 - protected boolean distinct; - - // 持有多个 Criteria 对象的列表,每个对象代表一组条件 - protected List oredCriteria; - - /** - * 构造函数,初始化 oredCriteria 列表为一个空的 ArrayList。 - */ - public UmsRoleResourceRelationExample() { - oredCriteria = new ArrayList<>(); - } - - - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - public String getOrderByClause() { - return orderByClause; - } - - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - public boolean isDistinct() { - return distinct; - } - - public List getOredCriteria() { - return oredCriteria; - } - - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList<>(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(Long value) { - addCriterion("id =", value, "id"); - return (Criteria) this; - } - - public Criteria andIdNotEqualTo(Long value) { - addCriterion("id <>", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThan(Long value) { - addCriterion("id >", value, "id"); - return (Criteria) this; - } - - public Criteria andIdGreaterThanOrEqualTo(Long value) { - addCriterion("id >=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThan(Long value) { - addCriterion("id <", value, "id"); - return (Criteria) this; - } - - public Criteria andIdLessThanOrEqualTo(Long value) { - addCriterion("id <=", value, "id"); - return (Criteria) this; - } - - public Criteria andIdIn(List values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(Long value1, Long value2) { - addCriterion("id between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andIdNotBetween(Long value1, Long value2) { - addCriterion("id not between", value1, value2, "id"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNull() { - addCriterion("role_id is null"); - return (Criteria) this; - } - - public Criteria andRoleIdIsNotNull() { - addCriterion("role_id is not null"); - return (Criteria) this; - } - - public Criteria andRoleIdEqualTo(Long value) { - addCriterion("role_id =", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotEqualTo(Long value) { - addCriterion("role_id <>", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThan(Long value) { - addCriterion("role_id >", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdGreaterThanOrEqualTo(Long value) { - addCriterion("role_id >=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThan(Long value) { - addCriterion("role_id <", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdLessThanOrEqualTo(Long value) { - addCriterion("role_id <=", value, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdIn(List values) { - addCriterion("role_id in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotIn(List values) { - addCriterion("role_id not in", values, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdBetween(Long value1, Long value2) { - addCriterion("role_id between", value1, value2, "roleId"); - return (Criteria) this; - } - - public Criteria andRoleIdNotBetween(Long value1, Long value2) { - addCriterion("role_id not between", value1, value2, "roleId"); - return (Criteria) this; - } - - public Criteria andResourceIdIsNull() { - addCriterion("resource_id is null"); - return (Criteria) this; - } - - public Criteria andResourceIdIsNotNull() { - addCriterion("resource_id is not null"); - return (Criteria) this; - } - - public Criteria andResourceIdEqualTo(Long value) { - addCriterion("resource_id =", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdNotEqualTo(Long value) { - addCriterion("resource_id <>", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdGreaterThan(Long value) { - addCriterion("resource_id >", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdGreaterThanOrEqualTo(Long value) { - addCriterion("resource_id >=", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdLessThan(Long value) { - addCriterion("resource_id <", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdLessThanOrEqualTo(Long value) { - addCriterion("resource_id <=", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdIn(List values) { - addCriterion("resource_id in", values, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdNotIn(List values) { - addCriterion("resource_id not in", values, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdBetween(Long value1, Long value2) { - addCriterion("resource_id between", value1, value2, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdNotBetween(Long value1, Long value2) { - addCriterion("resource_id not between", value1, value2, "resourceId"); - return (Criteria) this; - } - } - - public static class Criteria extends GeneratedCriteria { - protected Criteria() { - super(); - } - } - - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml index cc200ed..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, help_count, show_status, sort - - - - - delete from cms_help_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_help_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_help_category (name, icon, help_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_help_category - - - name, - - - icon, - - - help_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{helpCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_help_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - help_count = #{record.helpCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_help_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - help_count = #{record.helpCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_help_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - help_count = #{helpCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_help_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - help_count = #{helpCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml index 706679e..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml @@ -1,304 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, icon, title, show_status, create_time, read_count - - - content - - - - - - delete from cms_help - where id = #{id,jdbcType=BIGINT} - - - delete from cms_help - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_help (category_id, icon, title, - show_status, create_time, read_count, - content) - values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, - #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, - #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_help - - - category_id, - - - icon, - - - title, - - - show_status, - - - create_time, - - - read_count, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{icon,jdbcType=VARCHAR}, - - - #{title,jdbcType=VARCHAR}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{readCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_help - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_help - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - icon = #{record.icon,jdbcType=VARCHAR}, - title = #{record.title,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - read_count = #{record.readCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_help - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - icon = #{record.icon,jdbcType=VARCHAR}, - title = #{record.title,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - read_count = #{record.readCount,jdbcType=INTEGER} - - - - - - update cms_help - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - title = #{title,jdbcType=VARCHAR}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_help - set category_id = #{categoryId,jdbcType=BIGINT}, - icon = #{icon,jdbcType=VARCHAR}, - title = #{title,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - read_count = #{readCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_help - set category_id = #{categoryId,jdbcType=BIGINT}, - icon = #{icon,jdbcType=VARCHAR}, - title = #{title,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - read_count = #{readCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml index 6a5e9a3..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, report_type, report_member_name, create_time, report_object, report_status, handle_status, - note - - - - delete from cms_member_report - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report (report_type, report_member_name, create_time, - report_object, report_status, handle_status, - note) - values (#{reportType,jdbcType=INTEGER}, #{reportMemberName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{reportObject,jdbcType=VARCHAR}, #{reportStatus,jdbcType=INTEGER}, #{handleStatus,jdbcType=INTEGER}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report - - - report_type, - - - report_member_name, - - - create_time, - - - report_object, - - - report_status, - - - handle_status, - - - note, - - - - - #{reportType,jdbcType=INTEGER}, - - - #{reportMemberName,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{reportObject,jdbcType=VARCHAR}, - - - #{reportStatus,jdbcType=INTEGER}, - - - #{handleStatus,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update cms_member_report - - - id = #{record.id,jdbcType=BIGINT}, - - - report_type = #{record.reportType,jdbcType=INTEGER}, - - - report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - report_object = #{record.reportObject,jdbcType=VARCHAR}, - - - report_status = #{record.reportStatus,jdbcType=INTEGER}, - - - handle_status = #{record.handleStatus,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update cms_member_report - set id = #{record.id,jdbcType=BIGINT}, - report_type = #{record.reportType,jdbcType=INTEGER}, - report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - report_object = #{record.reportObject,jdbcType=VARCHAR}, - report_status = #{record.reportStatus,jdbcType=INTEGER}, - handle_status = #{record.handleStatus,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml index 44b398e..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml @@ -1,268 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, sub_title, sort, show_status - - - pic - - - - - - delete from cms_prefrence_area - where id = #{id,jdbcType=BIGINT} - - - delete from cms_prefrence_area - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area (name, sub_title, sort, - show_status, pic) - values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area - - - name, - - - sub_title, - - - sort, - - - show_status, - - - pic, - - - - - #{name,jdbcType=VARCHAR}, - - - #{subTitle,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARBINARY}, - - - - - - update cms_prefrence_area - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - pic = #{record.pic,jdbcType=VARBINARY}, - - - - - - - - update cms_prefrence_area - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - pic = #{record.pic,jdbcType=VARBINARY} - - - - - - update cms_prefrence_area - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_prefrence_area - - - name = #{name,jdbcType=VARCHAR}, - - - sub_title = #{subTitle,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - pic = #{pic,jdbcType=VARBINARY}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area - set name = #{name,jdbcType=VARCHAR}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - pic = #{pic,jdbcType=VARBINARY} - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area - set name = #{name,jdbcType=VARCHAR}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml index bd81af4..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, prefrence_area_id, product_id - - - - - delete from cms_prefrence_area_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from cms_prefrence_area_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) - values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_prefrence_area_product_relation - - - prefrence_area_id, - - - product_id, - - - - - #{prefrenceAreaId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update cms_prefrence_area_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update cms_prefrence_area_product_relation - set id = #{record.id,jdbcType=BIGINT}, - prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update cms_prefrence_area_product_relation - - - prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_prefrence_area_product_relation - set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml index 102885f..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, subject_count, show_status, sort - - - - - delete from cms_subject_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_category (name, icon, subject_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_category - - - name, - - - icon, - - - subject_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{subjectCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_subject_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_subject_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_subject_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - subject_count = #{subjectCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - subject_count = #{subjectCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml index c5b1982..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, member_nick_name, member_icon, content, create_time, show_status - - - - - delete from cms_subject_comment - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_comment (subject_id, member_nick_name, member_icon, - content, create_time, show_status - ) - values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_comment - - - subject_id, - - - member_nick_name, - - - member_icon, - - - content, - - - create_time, - - - show_status, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - - - - update cms_subject_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_subject_comment - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_subject_comment - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_comment - set subject_id = #{subjectId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml index 98492b4..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml @@ -1,447 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, - read_count, comment_count, album_pics, description, show_status, forward_count, category_name - - - content - - - - - - delete from cms_subject - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject (category_id, title, pic, - product_count, recommend_status, create_time, - collect_count, read_count, comment_count, - album_pics, description, show_status, - forward_count, category_name, content - ) - values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, - #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, - #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, - #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject - - - category_id, - - - title, - - - pic, - - - product_count, - - - recommend_status, - - - create_time, - - - collect_count, - - - read_count, - - - comment_count, - - - album_pics, - - - description, - - - show_status, - - - forward_count, - - - category_name, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{title,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{productCount,jdbcType=INTEGER}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{collectCount,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{commentCount,jdbcType=INTEGER}, - - - #{albumPics,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{forwardCount,jdbcType=INTEGER}, - - - #{categoryName,jdbcType=VARCHAR}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_subject - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - collect_count = #{record.collectCount,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - comment_count = #{record.commentCount,jdbcType=INTEGER}, - - - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - forward_count = #{record.forwardCount,jdbcType=INTEGER}, - - - category_name = #{record.categoryName,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_subject - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - title = #{record.title,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - collect_count = #{record.collectCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - forward_count = #{record.forwardCount,jdbcType=INTEGER}, - category_name = #{record.categoryName,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_subject - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - title = #{record.title,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - collect_count = #{record.collectCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - forward_count = #{record.forwardCount,jdbcType=INTEGER}, - category_name = #{record.categoryName,jdbcType=VARCHAR} - - - - - - update cms_subject - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - title = #{title,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - collect_count = #{collectCount,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - comment_count = #{commentCount,jdbcType=INTEGER}, - - - album_pics = #{albumPics,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - forward_count = #{forwardCount,jdbcType=INTEGER}, - - - category_name = #{categoryName,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject - set category_id = #{categoryId,jdbcType=BIGINT}, - title = #{title,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - collect_count = #{collectCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - forward_count = #{forwardCount,jdbcType=INTEGER}, - category_name = #{categoryName,jdbcType=VARCHAR}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_subject - set category_id = #{categoryId,jdbcType=BIGINT}, - title = #{title,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - collect_count = #{collectCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - show_status = #{showStatus,jdbcType=INTEGER}, - forward_count = #{forwardCount,jdbcType=INTEGER}, - category_name = #{categoryName,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml index 4500854..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, product_id - - - - - delete from cms_subject_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from cms_subject_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_product_relation (subject_id, product_id) - values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_subject_product_relation - - - subject_id, - - - product_id, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - - - - update cms_subject_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - - - - - - update cms_subject_product_relation - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT} - - - - - - update cms_subject_product_relation - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_subject_product_relation - set subject_id = #{subjectId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml index 0686963..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, icon, subject_count, show_status, sort - - - - - delete from cms_topic_category - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_category (name, icon, subject_count, - show_status, sort) - values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_category - - - name, - - - icon, - - - subject_count, - - - show_status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{subjectCount,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update cms_topic_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update cms_topic_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - subject_count = #{record.subjectCount,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update cms_topic_category - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - subject_count = #{subjectCount,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic_category - set name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - subject_count = #{subjectCount,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml index f4d29b7..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_nick_name, topic_id, member_icon, content, create_time, show_status - - - - - delete from cms_topic_comment - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_comment (member_nick_name, topic_id, member_icon, - content, create_time, show_status - ) - values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic_comment - - - member_nick_name, - - - topic_id, - - - member_icon, - - - content, - - - create_time, - - - show_status, - - - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{topicId,jdbcType=BIGINT}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - - - - update cms_topic_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - topic_id = #{record.topicId,jdbcType=BIGINT}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_topic_comment - set id = #{record.id,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - topic_id = #{record.topicId,jdbcType=BIGINT}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER} - - - - - - update cms_topic_comment - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - topic_id = #{topicId,jdbcType=BIGINT}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic_comment - set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - topic_id = #{topicId,jdbcType=BIGINT}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml index 0c95cce..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml @@ -1,375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, category_id, name, create_time, start_time, end_time, attend_count, attention_count, - read_count, award_name, attend_type - - - content - - - - - - delete from cms_topic - where id = #{id,jdbcType=BIGINT} - - - delete from cms_topic - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic (category_id, name, create_time, - start_time, end_time, attend_count, - attention_count, read_count, award_name, - attend_type, content) - values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, - #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, - #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_topic - - - category_id, - - - name, - - - create_time, - - - start_time, - - - end_time, - - - attend_count, - - - attention_count, - - - read_count, - - - award_name, - - - attend_type, - - - content, - - - - - #{categoryId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{attendCount,jdbcType=INTEGER}, - - - #{attentionCount,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{awardName,jdbcType=VARCHAR}, - - - #{attendType,jdbcType=VARCHAR}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update cms_topic - - - id = #{record.id,jdbcType=BIGINT}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - attend_count = #{record.attendCount,jdbcType=INTEGER}, - - - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - award_name = #{record.awardName,jdbcType=VARCHAR}, - - - attend_type = #{record.attendType,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_topic - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - award_name = #{record.awardName,jdbcType=VARCHAR}, - attend_type = #{record.attendType,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update cms_topic - set id = #{record.id,jdbcType=BIGINT}, - category_id = #{record.categoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - attention_count = #{record.attentionCount,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - award_name = #{record.awardName,jdbcType=VARCHAR}, - attend_type = #{record.attendType,jdbcType=VARCHAR} - - - - - - update cms_topic - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - attend_count = #{attendCount,jdbcType=INTEGER}, - - - attention_count = #{attentionCount,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - award_name = #{awardName,jdbcType=VARCHAR}, - - - attend_type = #{attendType,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update cms_topic - set category_id = #{categoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - attend_count = #{attendCount,jdbcType=INTEGER}, - attention_count = #{attentionCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - award_name = #{awardName,jdbcType=VARCHAR}, - attend_type = #{attendType,jdbcType=VARCHAR}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update cms_topic - set category_id = #{categoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - attend_count = #{attendCount,jdbcType=INTEGER}, - attention_count = #{attentionCount,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - award_name = #{awardName,jdbcType=VARCHAR}, - attend_type = #{attendType,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml index dad3dcf..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml @@ -1,416 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_sku_id, member_id, quantity, price, product_pic, product_name, - product_sub_title, product_sku_code, member_nickname, create_date, modify_date, delete_status, - product_category_id, product_brand, product_sn, product_attr - - - - - delete from oms_cart_item - where id = #{id,jdbcType=BIGINT} - - - delete from oms_cart_item - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_cart_item (product_id, product_sku_id, member_id, - quantity, price, product_pic, - product_name, product_sub_title, product_sku_code, - member_nickname, create_date, modify_date, - delete_status, product_category_id, product_brand, - product_sn, product_attr) - values (#{productId,jdbcType=BIGINT}, #{productSkuId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, - #{quantity,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{productPic,jdbcType=VARCHAR}, - #{productName,jdbcType=VARCHAR}, #{productSubTitle,jdbcType=VARCHAR}, #{productSkuCode,jdbcType=VARCHAR}, - #{memberNickname,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modifyDate,jdbcType=TIMESTAMP}, - #{deleteStatus,jdbcType=INTEGER}, #{productCategoryId,jdbcType=BIGINT}, #{productBrand,jdbcType=VARCHAR}, - #{productSn,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_cart_item - - - product_id, - - - product_sku_id, - - - member_id, - - - quantity, - - - price, - - - product_pic, - - - product_name, - - - product_sub_title, - - - product_sku_code, - - - member_nickname, - - - create_date, - - - modify_date, - - - delete_status, - - - product_category_id, - - - product_brand, - - - product_sn, - - - product_attr, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productSkuId,jdbcType=BIGINT}, - - - #{memberId,jdbcType=BIGINT}, - - - #{quantity,jdbcType=INTEGER}, - - - #{price,jdbcType=DECIMAL}, - - - #{productPic,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{productSubTitle,jdbcType=VARCHAR}, - - - #{productSkuCode,jdbcType=VARCHAR}, - - - #{memberNickname,jdbcType=VARCHAR}, - - - #{createDate,jdbcType=TIMESTAMP}, - - - #{modifyDate,jdbcType=TIMESTAMP}, - - - #{deleteStatus,jdbcType=INTEGER}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{productBrand,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - #{productAttr,jdbcType=VARCHAR}, - - - - - - update oms_cart_item - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - quantity = #{record.quantity,jdbcType=INTEGER}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - product_pic = #{record.productPic,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, - - - product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, - - - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - - - create_date = #{record.createDate,jdbcType=TIMESTAMP}, - - - modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, - - - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - - - - - - - - update oms_cart_item - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - quantity = #{record.quantity,jdbcType=INTEGER}, - price = #{record.price,jdbcType=DECIMAL}, - product_pic = #{record.productPic,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, - product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - create_date = #{record.createDate,jdbcType=TIMESTAMP}, - modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - product_attr = #{record.productAttr,jdbcType=VARCHAR} - - - - - - update oms_cart_item - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_sku_id = #{productSkuId,jdbcType=BIGINT}, - - - member_id = #{memberId,jdbcType=BIGINT}, - - - quantity = #{quantity,jdbcType=INTEGER}, - - - price = #{price,jdbcType=DECIMAL}, - - - product_pic = #{productPic,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, - - - product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, - - - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - - - create_date = #{createDate,jdbcType=TIMESTAMP}, - - - modify_date = #{modifyDate,jdbcType=TIMESTAMP}, - - - delete_status = #{deleteStatus,jdbcType=INTEGER}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - product_brand = #{productBrand,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - product_attr = #{productAttr,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_cart_item - set product_id = #{productId,jdbcType=BIGINT}, - product_sku_id = #{productSkuId,jdbcType=BIGINT}, - member_id = #{memberId,jdbcType=BIGINT}, - quantity = #{quantity,jdbcType=INTEGER}, - price = #{price,jdbcType=DECIMAL}, - product_pic = #{productPic,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, - product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - create_date = #{createDate,jdbcType=TIMESTAMP}, - modify_date = #{modifyDate,jdbcType=TIMESTAMP}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - product_brand = #{productBrand,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - product_attr = #{productAttr,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml index 7d9e20d..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, address_name, send_status, receive_status, name, phone, province, city, region, - detail_address - - - - - delete from oms_company_address - where id = #{id,jdbcType=BIGINT} - - - delete from oms_company_address - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_company_address (address_name, send_status, receive_status, - name, phone, province, - city, region, detail_address - ) - values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, - #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, - #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into oms_company_address - - - address_name, - - - send_status, - - - receive_status, - - - name, - - - phone, - - - province, - - - city, - - - region, - - - detail_address, - - - - - #{addressName,jdbcType=VARCHAR}, - - - #{sendStatus,jdbcType=INTEGER}, - - - #{receiveStatus,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{phone,jdbcType=VARCHAR}, - - - #{province,jdbcType=VARCHAR}, - - - #{city,jdbcType=VARCHAR}, - - - #{region,jdbcType=VARCHAR}, - - - #{detailAddress,jdbcType=VARCHAR}, - - - - - - update oms_company_address - - - id = #{record.id,jdbcType=BIGINT}, - - - address_name = #{record.addressName,jdbcType=VARCHAR}, - - - send_status = #{record.sendStatus,jdbcType=INTEGER}, - - - receive_status = #{record.receiveStatus,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - phone = #{record.phone,jdbcType=VARCHAR}, - - - province = #{record.province,jdbcType=VARCHAR}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - region = #{record.region,jdbcType=VARCHAR}, - - - detail_address = #{record.detailAddress,jdbcType=VARCHAR}, - - - - - - - - update oms_company_address - set id = #{record.id,jdbcType=BIGINT}, - address_name = #{record.addressName,jdbcType=VARCHAR}, - send_status = #{record.sendStatus,jdbcType=INTEGER}, - receive_status = #{record.receiveStatus,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - phone = #{record.phone,jdbcType=VARCHAR}, - province = #{record.province,jdbcType=VARCHAR}, - city = #{record.city,jdbcType=VARCHAR}, - region = #{record.region,jdbcType=VARCHAR}, - detail_address = #{record.detailAddress,jdbcType=VARCHAR} - - - - - - update oms_company_address - - - address_name = #{addressName,jdbcType=VARCHAR}, - - - send_status = #{sendStatus,jdbcType=INTEGER}, - - - receive_status = #{receiveStatus,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - phone = #{phone,jdbcType=VARCHAR}, - - - province = #{province,jdbcType=VARCHAR}, - - - city = #{city,jdbcType=VARCHAR}, - - - region = #{region,jdbcType=VARCHAR}, - - - detail_address = #{detailAddress,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_company_address - set address_name = #{addressName,jdbcType=VARCHAR}, - send_status = #{sendStatus,jdbcType=INTEGER}, - receive_status = #{receiveStatus,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - phone = #{phone,jdbcType=VARCHAR}, - province = #{province,jdbcType=VARCHAR}, - city = #{city,jdbcType=VARCHAR}, - region = #{region,jdbcType=VARCHAR}, - detail_address = #{detailAddress,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml index 0296c49..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml @@ -1,464 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, order_sn, product_id, product_pic, product_name, product_brand, product_sn, - product_price, product_quantity, product_sku_id, product_sku_code, product_category_id, - promotion_name, promotion_amount, coupon_amount, integration_amount, real_amount, - gift_integration, gift_growth, product_attr - - - - - delete from oms_order_item - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_item - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_item (order_id, order_sn, product_id, - product_pic, product_name, product_brand, - product_sn, product_price, product_quantity, - product_sku_id, product_sku_code, product_category_id, - promotion_name, promotion_amount, coupon_amount, - integration_amount, real_amount, gift_integration, - gift_growth, product_attr) - values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT}, - #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, - #{productSn,jdbcType=VARCHAR}, #{productPrice,jdbcType=DECIMAL}, #{productQuantity,jdbcType=INTEGER}, - #{productSkuId,jdbcType=BIGINT}, #{productSkuCode,jdbcType=VARCHAR}, #{productCategoryId,jdbcType=BIGINT}, - #{promotionName,jdbcType=VARCHAR}, #{promotionAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, - #{integrationAmount,jdbcType=DECIMAL}, #{realAmount,jdbcType=DECIMAL}, #{giftIntegration,jdbcType=INTEGER}, - #{giftGrowth,jdbcType=INTEGER}, #{productAttr,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_item - - - order_id, - - - order_sn, - - - product_id, - - - product_pic, - - - product_name, - - - product_brand, - - - product_sn, - - - product_price, - - - product_quantity, - - - product_sku_id, - - - product_sku_code, - - - product_category_id, - - - promotion_name, - - - promotion_amount, - - - coupon_amount, - - - integration_amount, - - - real_amount, - - - gift_integration, - - - gift_growth, - - - product_attr, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{productId,jdbcType=BIGINT}, - - - #{productPic,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{productBrand,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - #{productPrice,jdbcType=DECIMAL}, - - - #{productQuantity,jdbcType=INTEGER}, - - - #{productSkuId,jdbcType=BIGINT}, - - - #{productSkuCode,jdbcType=VARCHAR}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{promotionName,jdbcType=VARCHAR}, - - - #{promotionAmount,jdbcType=DECIMAL}, - - - #{couponAmount,jdbcType=DECIMAL}, - - - #{integrationAmount,jdbcType=DECIMAL}, - - - #{realAmount,jdbcType=DECIMAL}, - - - #{giftIntegration,jdbcType=INTEGER}, - - - #{giftGrowth,jdbcType=INTEGER}, - - - #{productAttr,jdbcType=VARCHAR}, - - - - - - update oms_order_item - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_pic = #{record.productPic,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - product_price = #{record.productPrice,jdbcType=DECIMAL}, - - - product_quantity = #{record.productQuantity,jdbcType=INTEGER}, - - - product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, - - - product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - promotion_name = #{record.promotionName,jdbcType=VARCHAR}, - - - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - - - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - - - real_amount = #{record.realAmount,jdbcType=DECIMAL}, - - - gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, - - - gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, - - - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - - - - - - - - update oms_order_item - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_pic = #{record.productPic,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - product_price = #{record.productPrice,jdbcType=DECIMAL}, - product_quantity = #{record.productQuantity,jdbcType=INTEGER}, - product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, - product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - promotion_name = #{record.promotionName,jdbcType=VARCHAR}, - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - real_amount = #{record.realAmount,jdbcType=DECIMAL}, - gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, - gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, - product_attr = #{record.productAttr,jdbcType=VARCHAR} - - - - - - update oms_order_item - - - order_id = #{orderId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_pic = #{productPic,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - product_brand = #{productBrand,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - product_price = #{productPrice,jdbcType=DECIMAL}, - - - product_quantity = #{productQuantity,jdbcType=INTEGER}, - - - product_sku_id = #{productSkuId,jdbcType=BIGINT}, - - - product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - promotion_name = #{promotionName,jdbcType=VARCHAR}, - - - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - - - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - - - real_amount = #{realAmount,jdbcType=DECIMAL}, - - - gift_integration = #{giftIntegration,jdbcType=INTEGER}, - - - gift_growth = #{giftGrowth,jdbcType=INTEGER}, - - - product_attr = #{productAttr,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_item - set order_id = #{orderId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - product_id = #{productId,jdbcType=BIGINT}, - product_pic = #{productPic,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - product_brand = #{productBrand,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - product_price = #{productPrice,jdbcType=DECIMAL}, - product_quantity = #{productQuantity,jdbcType=INTEGER}, - product_sku_id = #{productSkuId,jdbcType=BIGINT}, - product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - promotion_name = #{promotionName,jdbcType=VARCHAR}, - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - real_amount = #{realAmount,jdbcType=DECIMAL}, - gift_integration = #{giftIntegration,jdbcType=INTEGER}, - gift_growth = #{giftGrowth,jdbcType=INTEGER}, - product_attr = #{productAttr,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml index 228df56..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml @@ -1,828 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, pay_amount, - freight_amount, promotion_amount, integration_amount, coupon_amount, discount_amount, - pay_type, source_type, status, order_type, delivery_company, delivery_sn, auto_confirm_day, - integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, - bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, - receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status, - use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time - - - - - delete from oms_order - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order (member_id, coupon_id, order_sn, - create_time, member_username, total_amount, - pay_amount, freight_amount, promotion_amount, - integration_amount, coupon_amount, discount_amount, - pay_type, source_type, status, - order_type, delivery_company, delivery_sn, - auto_confirm_day, integration, growth, - promotion_info, bill_type, bill_header, - bill_content, bill_receiver_phone, bill_receiver_email, - receiver_name, receiver_phone, receiver_post_code, - receiver_province, receiver_city, receiver_region, - receiver_detail_address, note, confirm_status, - delete_status, use_integration, payment_time, - delivery_time, receive_time, comment_time, - modify_time) - values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, - #{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, - #{integrationAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, - #{payType,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, - #{orderType,jdbcType=INTEGER}, #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, - #{autoConfirmDay,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, - #{promotionInfo,jdbcType=VARCHAR}, #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, - #{billContent,jdbcType=VARCHAR}, #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, - #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, - #{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, - #{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}, - #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP}, - #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP}, - #{modifyTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order - - - member_id, - - - coupon_id, - - - order_sn, - - - create_time, - - - member_username, - - - total_amount, - - - pay_amount, - - - freight_amount, - - - promotion_amount, - - - integration_amount, - - - coupon_amount, - - - discount_amount, - - - pay_type, - - - source_type, - - - status, - - - order_type, - - - delivery_company, - - - delivery_sn, - - - auto_confirm_day, - - - integration, - - - growth, - - - promotion_info, - - - bill_type, - - - bill_header, - - - bill_content, - - - bill_receiver_phone, - - - bill_receiver_email, - - - receiver_name, - - - receiver_phone, - - - receiver_post_code, - - - receiver_province, - - - receiver_city, - - - receiver_region, - - - receiver_detail_address, - - - note, - - - confirm_status, - - - delete_status, - - - use_integration, - - - payment_time, - - - delivery_time, - - - receive_time, - - - comment_time, - - - modify_time, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{couponId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{memberUsername,jdbcType=VARCHAR}, - - - #{totalAmount,jdbcType=DECIMAL}, - - - #{payAmount,jdbcType=DECIMAL}, - - - #{freightAmount,jdbcType=DECIMAL}, - - - #{promotionAmount,jdbcType=DECIMAL}, - - - #{integrationAmount,jdbcType=DECIMAL}, - - - #{couponAmount,jdbcType=DECIMAL}, - - - #{discountAmount,jdbcType=DECIMAL}, - - - #{payType,jdbcType=INTEGER}, - - - #{sourceType,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - #{orderType,jdbcType=INTEGER}, - - - #{deliveryCompany,jdbcType=VARCHAR}, - - - #{deliverySn,jdbcType=VARCHAR}, - - - #{autoConfirmDay,jdbcType=INTEGER}, - - - #{integration,jdbcType=INTEGER}, - - - #{growth,jdbcType=INTEGER}, - - - #{promotionInfo,jdbcType=VARCHAR}, - - - #{billType,jdbcType=INTEGER}, - - - #{billHeader,jdbcType=VARCHAR}, - - - #{billContent,jdbcType=VARCHAR}, - - - #{billReceiverPhone,jdbcType=VARCHAR}, - - - #{billReceiverEmail,jdbcType=VARCHAR}, - - - #{receiverName,jdbcType=VARCHAR}, - - - #{receiverPhone,jdbcType=VARCHAR}, - - - #{receiverPostCode,jdbcType=VARCHAR}, - - - #{receiverProvince,jdbcType=VARCHAR}, - - - #{receiverCity,jdbcType=VARCHAR}, - - - #{receiverRegion,jdbcType=VARCHAR}, - - - #{receiverDetailAddress,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{confirmStatus,jdbcType=INTEGER}, - - - #{deleteStatus,jdbcType=INTEGER}, - - - #{useIntegration,jdbcType=INTEGER}, - - - #{paymentTime,jdbcType=TIMESTAMP}, - - - #{deliveryTime,jdbcType=TIMESTAMP}, - - - #{receiveTime,jdbcType=TIMESTAMP}, - - - #{commentTime,jdbcType=TIMESTAMP}, - - - #{modifyTime,jdbcType=TIMESTAMP}, - - - - - - update oms_order - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - - - total_amount = #{record.totalAmount,jdbcType=DECIMAL}, - - - pay_amount = #{record.payAmount,jdbcType=DECIMAL}, - - - freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, - - - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - - - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - - - discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, - - - pay_type = #{record.payType,jdbcType=INTEGER}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - order_type = #{record.orderType,jdbcType=INTEGER}, - - - delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, - - - delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, - - - auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, - - - integration = #{record.integration,jdbcType=INTEGER}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, - - - bill_type = #{record.billType,jdbcType=INTEGER}, - - - bill_header = #{record.billHeader,jdbcType=VARCHAR}, - - - bill_content = #{record.billContent,jdbcType=VARCHAR}, - - - bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, - - - bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, - - - receiver_name = #{record.receiverName,jdbcType=VARCHAR}, - - - receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, - - - receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, - - - receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, - - - receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, - - - receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, - - - receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, - - - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - - - use_integration = #{record.useIntegration,jdbcType=INTEGER}, - - - payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, - - - delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, - - - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - - - comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, - - - modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, - - - - - - - - update oms_order - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - total_amount = #{record.totalAmount,jdbcType=DECIMAL}, - pay_amount = #{record.payAmount,jdbcType=DECIMAL}, - freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, - promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, - integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, - coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, - discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, - pay_type = #{record.payType,jdbcType=INTEGER}, - source_type = #{record.sourceType,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER}, - order_type = #{record.orderType,jdbcType=INTEGER}, - delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, - delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, - auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, - integration = #{record.integration,jdbcType=INTEGER}, - growth = #{record.growth,jdbcType=INTEGER}, - promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, - bill_type = #{record.billType,jdbcType=INTEGER}, - bill_header = #{record.billHeader,jdbcType=VARCHAR}, - bill_content = #{record.billContent,jdbcType=VARCHAR}, - bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, - bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, - receiver_name = #{record.receiverName,jdbcType=VARCHAR}, - receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, - receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, - receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, - receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, - receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, - receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - use_integration = #{record.useIntegration,jdbcType=INTEGER}, - payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, - delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, - modify_time = #{record.modifyTime,jdbcType=TIMESTAMP} - - - - - - update oms_order - - - member_id = #{memberId,jdbcType=BIGINT}, - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - member_username = #{memberUsername,jdbcType=VARCHAR}, - - - total_amount = #{totalAmount,jdbcType=DECIMAL}, - - - pay_amount = #{payAmount,jdbcType=DECIMAL}, - - - freight_amount = #{freightAmount,jdbcType=DECIMAL}, - - - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - - - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - - - discount_amount = #{discountAmount,jdbcType=DECIMAL}, - - - pay_type = #{payType,jdbcType=INTEGER}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - order_type = #{orderType,jdbcType=INTEGER}, - - - delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, - - - delivery_sn = #{deliverySn,jdbcType=VARCHAR}, - - - auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, - - - integration = #{integration,jdbcType=INTEGER}, - - - growth = #{growth,jdbcType=INTEGER}, - - - promotion_info = #{promotionInfo,jdbcType=VARCHAR}, - - - bill_type = #{billType,jdbcType=INTEGER}, - - - bill_header = #{billHeader,jdbcType=VARCHAR}, - - - bill_content = #{billContent,jdbcType=VARCHAR}, - - - bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, - - - bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, - - - receiver_name = #{receiverName,jdbcType=VARCHAR}, - - - receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, - - - receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, - - - receiver_province = #{receiverProvince,jdbcType=VARCHAR}, - - - receiver_city = #{receiverCity,jdbcType=VARCHAR}, - - - receiver_region = #{receiverRegion,jdbcType=VARCHAR}, - - - receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - confirm_status = #{confirmStatus,jdbcType=INTEGER}, - - - delete_status = #{deleteStatus,jdbcType=INTEGER}, - - - use_integration = #{useIntegration,jdbcType=INTEGER}, - - - payment_time = #{paymentTime,jdbcType=TIMESTAMP}, - - - delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, - - - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - - - comment_time = #{commentTime,jdbcType=TIMESTAMP}, - - - modify_time = #{modifyTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order - set member_id = #{memberId,jdbcType=BIGINT}, - coupon_id = #{couponId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - member_username = #{memberUsername,jdbcType=VARCHAR}, - total_amount = #{totalAmount,jdbcType=DECIMAL}, - pay_amount = #{payAmount,jdbcType=DECIMAL}, - freight_amount = #{freightAmount,jdbcType=DECIMAL}, - promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, - integration_amount = #{integrationAmount,jdbcType=DECIMAL}, - coupon_amount = #{couponAmount,jdbcType=DECIMAL}, - discount_amount = #{discountAmount,jdbcType=DECIMAL}, - pay_type = #{payType,jdbcType=INTEGER}, - source_type = #{sourceType,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER}, - order_type = #{orderType,jdbcType=INTEGER}, - delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, - delivery_sn = #{deliverySn,jdbcType=VARCHAR}, - auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, - integration = #{integration,jdbcType=INTEGER}, - growth = #{growth,jdbcType=INTEGER}, - promotion_info = #{promotionInfo,jdbcType=VARCHAR}, - bill_type = #{billType,jdbcType=INTEGER}, - bill_header = #{billHeader,jdbcType=VARCHAR}, - bill_content = #{billContent,jdbcType=VARCHAR}, - bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, - bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, - receiver_name = #{receiverName,jdbcType=VARCHAR}, - receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, - receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, - receiver_province = #{receiverProvince,jdbcType=VARCHAR}, - receiver_city = #{receiverCity,jdbcType=VARCHAR}, - receiver_region = #{receiverRegion,jdbcType=VARCHAR}, - receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - confirm_status = #{confirmStatus,jdbcType=INTEGER}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - use_integration = #{useIntegration,jdbcType=INTEGER}, - payment_time = #{paymentTime,jdbcType=TIMESTAMP}, - delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - comment_time = #{commentTime,jdbcType=TIMESTAMP}, - modify_time = #{modifyTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml index ba6b81d..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, operate_man, create_time, order_status, note - - - - - delete from oms_order_operate_history - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_operate_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_operate_history (order_id, operate_man, create_time, - order_status, note) - values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_operate_history - - - order_id, - - - operate_man, - - - create_time, - - - order_status, - - - note, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{orderStatus,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update oms_order_operate_history - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - order_status = #{record.orderStatus,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update oms_order_operate_history - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - order_status = #{record.orderStatus,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update oms_order_operate_history - - - order_id = #{orderId,jdbcType=BIGINT}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - order_status = #{orderStatus,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_operate_history - set order_id = #{orderId,jdbcType=BIGINT}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - order_status = #{orderStatus,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml index 4add7ea..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml @@ -1,558 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, order_id, company_address_id, product_id, order_sn, create_time, member_username, - return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, - product_brand, product_attr, product_count, product_price, product_real_price, reason, - description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note - - - - - delete from oms_order_return_apply - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_return_apply - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_apply (order_id, company_address_id, product_id, - order_sn, create_time, member_username, - return_amount, return_name, return_phone, - status, handle_time, product_pic, - product_name, product_brand, product_attr, - product_count, product_price, product_real_price, - reason, description, proof_pics, - handle_note, handle_man, receive_man, - receive_time, receive_note) - values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, - #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, - #{returnAmount,jdbcType=DECIMAL}, #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, - #{status,jdbcType=INTEGER}, #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, - #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, - #{productCount,jdbcType=INTEGER}, #{productPrice,jdbcType=DECIMAL}, #{productRealPrice,jdbcType=DECIMAL}, - #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, - #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, - #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_apply - - - order_id, - - - company_address_id, - - - product_id, - - - order_sn, - - - create_time, - - - member_username, - - - return_amount, - - - return_name, - - - return_phone, - - - status, - - - handle_time, - - - product_pic, - - - product_name, - - - product_brand, - - - product_attr, - - - product_count, - - - product_price, - - - product_real_price, - - - reason, - - - description, - - - proof_pics, - - - handle_note, - - - handle_man, - - - receive_man, - - - receive_time, - - - receive_note, - - - - - #{orderId,jdbcType=BIGINT}, - - - #{companyAddressId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{memberUsername,jdbcType=VARCHAR}, - - - #{returnAmount,jdbcType=DECIMAL}, - - - #{returnName,jdbcType=VARCHAR}, - - - #{returnPhone,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{handleTime,jdbcType=TIMESTAMP}, - - - #{productPic,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{productBrand,jdbcType=VARCHAR}, - - - #{productAttr,jdbcType=VARCHAR}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productPrice,jdbcType=DECIMAL}, - - - #{productRealPrice,jdbcType=DECIMAL}, - - - #{reason,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{proofPics,jdbcType=VARCHAR}, - - - #{handleNote,jdbcType=VARCHAR}, - - - #{handleMan,jdbcType=VARCHAR}, - - - #{receiveMan,jdbcType=VARCHAR}, - - - #{receiveTime,jdbcType=TIMESTAMP}, - - - #{receiveNote,jdbcType=VARCHAR}, - - - - - - update oms_order_return_apply - - - id = #{record.id,jdbcType=BIGINT}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - - - return_amount = #{record.returnAmount,jdbcType=DECIMAL}, - - - return_name = #{record.returnName,jdbcType=VARCHAR}, - - - return_phone = #{record.returnPhone,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, - - - product_pic = #{record.productPic,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - - - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_price = #{record.productPrice,jdbcType=DECIMAL}, - - - product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, - - - reason = #{record.reason,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - proof_pics = #{record.proofPics,jdbcType=VARCHAR}, - - - handle_note = #{record.handleNote,jdbcType=VARCHAR}, - - - handle_man = #{record.handleMan,jdbcType=VARCHAR}, - - - receive_man = #{record.receiveMan,jdbcType=VARCHAR}, - - - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - - - receive_note = #{record.receiveNote,jdbcType=VARCHAR}, - - - - - - - - update oms_order_return_apply - set id = #{record.id,jdbcType=BIGINT}, - order_id = #{record.orderId,jdbcType=BIGINT}, - company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - member_username = #{record.memberUsername,jdbcType=VARCHAR}, - return_amount = #{record.returnAmount,jdbcType=DECIMAL}, - return_name = #{record.returnName,jdbcType=VARCHAR}, - return_phone = #{record.returnPhone,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, - product_pic = #{record.productPic,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - product_brand = #{record.productBrand,jdbcType=VARCHAR}, - product_attr = #{record.productAttr,jdbcType=VARCHAR}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_price = #{record.productPrice,jdbcType=DECIMAL}, - product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, - reason = #{record.reason,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - proof_pics = #{record.proofPics,jdbcType=VARCHAR}, - handle_note = #{record.handleNote,jdbcType=VARCHAR}, - handle_man = #{record.handleMan,jdbcType=VARCHAR}, - receive_man = #{record.receiveMan,jdbcType=VARCHAR}, - receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, - receive_note = #{record.receiveNote,jdbcType=VARCHAR} - - - - - - update oms_order_return_apply - - - order_id = #{orderId,jdbcType=BIGINT}, - - - company_address_id = #{companyAddressId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - member_username = #{memberUsername,jdbcType=VARCHAR}, - - - return_amount = #{returnAmount,jdbcType=DECIMAL}, - - - return_name = #{returnName,jdbcType=VARCHAR}, - - - return_phone = #{returnPhone,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - handle_time = #{handleTime,jdbcType=TIMESTAMP}, - - - product_pic = #{productPic,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - product_brand = #{productBrand,jdbcType=VARCHAR}, - - - product_attr = #{productAttr,jdbcType=VARCHAR}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_price = #{productPrice,jdbcType=DECIMAL}, - - - product_real_price = #{productRealPrice,jdbcType=DECIMAL}, - - - reason = #{reason,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - proof_pics = #{proofPics,jdbcType=VARCHAR}, - - - handle_note = #{handleNote,jdbcType=VARCHAR}, - - - handle_man = #{handleMan,jdbcType=VARCHAR}, - - - receive_man = #{receiveMan,jdbcType=VARCHAR}, - - - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - - - receive_note = #{receiveNote,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_return_apply - set order_id = #{orderId,jdbcType=BIGINT}, - company_address_id = #{companyAddressId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - member_username = #{memberUsername,jdbcType=VARCHAR}, - return_amount = #{returnAmount,jdbcType=DECIMAL}, - return_name = #{returnName,jdbcType=VARCHAR}, - return_phone = #{returnPhone,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - handle_time = #{handleTime,jdbcType=TIMESTAMP}, - product_pic = #{productPic,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - product_brand = #{productBrand,jdbcType=VARCHAR}, - product_attr = #{productAttr,jdbcType=VARCHAR}, - product_count = #{productCount,jdbcType=INTEGER}, - product_price = #{productPrice,jdbcType=DECIMAL}, - product_real_price = #{productRealPrice,jdbcType=DECIMAL}, - reason = #{reason,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - proof_pics = #{proofPics,jdbcType=VARCHAR}, - handle_note = #{handleNote,jdbcType=VARCHAR}, - handle_man = #{handleMan,jdbcType=VARCHAR}, - receive_man = #{receiveMan,jdbcType=VARCHAR}, - receive_time = #{receiveTime,jdbcType=TIMESTAMP}, - receive_note = #{receiveNote,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml index be5af30..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, sort, status, create_time - - - - - delete from oms_order_return_reason - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_return_reason - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_reason (name, sort, status, - create_time) - values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, - #{createTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_return_reason - - - name, - - - sort, - - - status, - - - create_time, - - - - - #{name,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - - - - update oms_order_return_reason - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update oms_order_return_reason - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP} - - - - - - update oms_order_return_reason - - - name = #{name,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_return_reason - set name = #{name,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml index 4d97ece..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml @@ -1,229 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, - comment_overtime - - - - - delete from oms_order_setting - where id = #{id,jdbcType=BIGINT} - - - delete from oms_order_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_setting (flash_order_overtime, normal_order_overtime, - confirm_overtime, finish_overtime, comment_overtime - ) - values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, - #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into oms_order_setting - - - flash_order_overtime, - - - normal_order_overtime, - - - confirm_overtime, - - - finish_overtime, - - - comment_overtime, - - - - - #{flashOrderOvertime,jdbcType=INTEGER}, - - - #{normalOrderOvertime,jdbcType=INTEGER}, - - - #{confirmOvertime,jdbcType=INTEGER}, - - - #{finishOvertime,jdbcType=INTEGER}, - - - #{commentOvertime,jdbcType=INTEGER}, - - - - - - update oms_order_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, - - - normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, - - - confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, - - - finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, - - - comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, - - - - - - - - update oms_order_setting - set id = #{record.id,jdbcType=BIGINT}, - flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, - normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, - confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, - finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, - comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} - - - - - - update oms_order_setting - - - flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, - - - normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, - - - confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, - - - finish_overtime = #{finishOvertime,jdbcType=INTEGER}, - - - comment_overtime = #{commentOvertime,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update oms_order_setting - set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, - normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, - confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, - finish_overtime = #{finishOvertime,jdbcType=INTEGER}, - comment_overtime = #{commentOvertime,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml index 63ece4e..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, cover_pic, pic_count, sort, description - - - - - delete from pms_album - where id = #{id,jdbcType=BIGINT} - - - delete from pms_album - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_album (name, cover_pic, pic_count, - sort, description) - values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_album - - - name, - - - cover_pic, - - - pic_count, - - - sort, - - - description, - - - - - #{name,jdbcType=VARCHAR}, - - - #{coverPic,jdbcType=VARCHAR}, - - - #{picCount,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{description,jdbcType=VARCHAR}, - - - - - - update pms_album - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - cover_pic = #{record.coverPic,jdbcType=VARCHAR}, - - - pic_count = #{record.picCount,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - - - - - - update pms_album - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - cover_pic = #{record.coverPic,jdbcType=VARCHAR}, - pic_count = #{record.picCount,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - description = #{record.description,jdbcType=VARCHAR} - - - - - - update pms_album - - - name = #{name,jdbcType=VARCHAR}, - - - cover_pic = #{coverPic,jdbcType=VARCHAR}, - - - pic_count = #{picCount,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - description = #{description,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_album - set name = #{name,jdbcType=VARCHAR}, - cover_pic = #{coverPic,jdbcType=VARCHAR}, - pic_count = #{picCount,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - description = #{description,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml index 6a1d2bb..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, album_id, pic - - - - - delete from pms_album_pic - where id = #{id,jdbcType=BIGINT} - - - delete from pms_album_pic - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_album_pic (album_id, pic) - values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_album_pic - - - album_id, - - - pic, - - - - - #{albumId,jdbcType=BIGINT}, - - - #{pic,jdbcType=VARCHAR}, - - - - - - update pms_album_pic - - - id = #{record.id,jdbcType=BIGINT}, - - - album_id = #{record.albumId,jdbcType=BIGINT}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - - - - - - update pms_album_pic - set id = #{record.id,jdbcType=BIGINT}, - album_id = #{record.albumId,jdbcType=BIGINT}, - pic = #{record.pic,jdbcType=VARCHAR} - - - - - - update pms_album_pic - - - album_id = #{albumId,jdbcType=BIGINT}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_album_pic - set album_id = #{albumId,jdbcType=BIGINT}, - pic = #{pic,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml index 8a6a4ab..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml @@ -1,358 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, - logo, big_pic - - - brand_story - - - - - - delete from pms_brand - where id = #{id,jdbcType=BIGINT} - - - delete from pms_brand - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_brand (name, first_letter, sort, - factory_status, show_status, product_count, - product_comment_count, logo, big_pic, - brand_story) - values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, - #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, - #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, - #{brandStory,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_brand - - - name, - - - first_letter, - - - sort, - - - factory_status, - - - show_status, - - - product_count, - - - product_comment_count, - - - logo, - - - big_pic, - - - brand_story, - - - - - #{name,jdbcType=VARCHAR}, - - - #{firstLetter,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{factoryStatus,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productCommentCount,jdbcType=INTEGER}, - - - #{logo,jdbcType=VARCHAR}, - - - #{bigPic,jdbcType=VARCHAR}, - - - #{brandStory,jdbcType=LONGVARCHAR}, - - - - - - update pms_brand - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - - - logo = #{record.logo,jdbcType=VARCHAR}, - - - big_pic = #{record.bigPic,jdbcType=VARCHAR}, - - - brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_brand - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - logo = #{record.logo,jdbcType=VARCHAR}, - big_pic = #{record.bigPic,jdbcType=VARCHAR}, - brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} - - - - - - update pms_brand - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - first_letter = #{record.firstLetter,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - factory_status = #{record.factoryStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, - logo = #{record.logo,jdbcType=VARCHAR}, - big_pic = #{record.bigPic,jdbcType=VARCHAR} - - - - - - update pms_brand - - - name = #{name,jdbcType=VARCHAR}, - - - first_letter = #{firstLetter,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - factory_status = #{factoryStatus,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - - - logo = #{logo,jdbcType=VARCHAR}, - - - big_pic = #{bigPic,jdbcType=VARCHAR}, - - - brand_story = #{brandStory,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_brand - set name = #{name,jdbcType=VARCHAR}, - first_letter = #{firstLetter,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - factory_status = #{factoryStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - logo = #{logo,jdbcType=VARCHAR}, - big_pic = #{bigPic,jdbcType=VARCHAR}, - brand_story = #{brandStory,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_brand - set name = #{name,jdbcType=VARCHAR}, - first_letter = #{firstLetter,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - factory_status = #{factoryStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_comment_count = #{productCommentCount,jdbcType=INTEGER}, - logo = #{logo,jdbcType=VARCHAR}, - big_pic = #{bigPic,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml index db75a7c..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml @@ -1,428 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, - product_attribute, collect_couont, read_count, pics, member_icon, replay_count - - - content - - - - - - delete from pms_comment - where id = #{id,jdbcType=BIGINT} - - - delete from pms_comment - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment (product_id, member_nick_name, product_name, - star, member_ip, create_time, - show_status, product_attribute, collect_couont, - read_count, pics, member_icon, - replay_count, content) - values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, - #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, - #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment - - - product_id, - - - member_nick_name, - - - product_name, - - - star, - - - member_ip, - - - create_time, - - - show_status, - - - product_attribute, - - - collect_couont, - - - read_count, - - - pics, - - - member_icon, - - - replay_count, - - - content, - - - - - #{productId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{star,jdbcType=INTEGER}, - - - #{memberIp,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{productAttribute,jdbcType=VARCHAR}, - - - #{collectCouont,jdbcType=INTEGER}, - - - #{readCount,jdbcType=INTEGER}, - - - #{pics,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{replayCount,jdbcType=INTEGER}, - - - #{content,jdbcType=LONGVARCHAR}, - - - - - - update pms_comment - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - star = #{record.star,jdbcType=INTEGER}, - - - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - - - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - - - read_count = #{record.readCount,jdbcType=INTEGER}, - - - pics = #{record.pics,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - replay_count = #{record.replayCount,jdbcType=INTEGER}, - - - content = #{record.content,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_comment - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - star = #{record.star,jdbcType=INTEGER}, - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - pics = #{record.pics,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - replay_count = #{record.replayCount,jdbcType=INTEGER}, - content = #{record.content,jdbcType=LONGVARCHAR} - - - - - - update pms_comment - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - star = #{record.star,jdbcType=INTEGER}, - member_ip = #{record.memberIp,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{record.collectCouont,jdbcType=INTEGER}, - read_count = #{record.readCount,jdbcType=INTEGER}, - pics = #{record.pics,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - replay_count = #{record.replayCount,jdbcType=INTEGER} - - - - - - update pms_comment - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - star = #{star,jdbcType=INTEGER}, - - - member_ip = #{memberIp,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - - - collect_couont = #{collectCouont,jdbcType=INTEGER}, - - - read_count = #{readCount,jdbcType=INTEGER}, - - - pics = #{pics,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - replay_count = #{replayCount,jdbcType=INTEGER}, - - - content = #{content,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_comment - set product_id = #{productId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - star = #{star,jdbcType=INTEGER}, - member_ip = #{memberIp,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - collect_couont = #{collectCouont,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - pics = #{pics,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - replay_count = #{replayCount,jdbcType=INTEGER}, - content = #{content,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_comment - set product_id = #{productId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - star = #{star,jdbcType=INTEGER}, - member_ip = #{memberIp,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - show_status = #{showStatus,jdbcType=INTEGER}, - product_attribute = #{productAttribute,jdbcType=VARCHAR}, - collect_couont = #{collectCouont,jdbcType=INTEGER}, - read_count = #{readCount,jdbcType=INTEGER}, - pics = #{pics,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - replay_count = #{replayCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml index 23a76fe..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, comment_id, member_nick_name, member_icon, content, create_time, type - - - - - delete from pms_comment_replay - where id = #{id,jdbcType=BIGINT} - - - delete from pms_comment_replay - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment_replay (comment_id, member_nick_name, member_icon, - content, create_time, type - ) - values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, - #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_comment_replay - - - comment_id, - - - member_nick_name, - - - member_icon, - - - content, - - - create_time, - - - type, - - - - - #{commentId,jdbcType=BIGINT}, - - - #{memberNickName,jdbcType=VARCHAR}, - - - #{memberIcon,jdbcType=VARCHAR}, - - - #{content,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{type,jdbcType=INTEGER}, - - - - - - update pms_comment_replay - - - id = #{record.id,jdbcType=BIGINT}, - - - comment_id = #{record.commentId,jdbcType=BIGINT}, - - - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - - - content = #{record.content,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update pms_comment_replay - set id = #{record.id,jdbcType=BIGINT}, - comment_id = #{record.commentId,jdbcType=BIGINT}, - member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, - member_icon = #{record.memberIcon,jdbcType=VARCHAR}, - content = #{record.content,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update pms_comment_replay - - - comment_id = #{commentId,jdbcType=BIGINT}, - - - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{memberIcon,jdbcType=VARCHAR}, - - - content = #{content,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_comment_replay - set comment_id = #{commentId,jdbcType=BIGINT}, - member_nick_name = #{memberNickName,jdbcType=VARCHAR}, - member_icon = #{memberIcon,jdbcType=VARCHAR}, - content = #{content,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml index 9783e56..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml @@ -1,258 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest - - - - - delete from pms_feight_template - where id = #{id,jdbcType=BIGINT} - - - delete from pms_feight_template - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_feight_template (name, charge_type, first_weight, - first_fee, continue_weight, continme_fee, - dest) - values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, - #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, - #{dest,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_feight_template - - - name, - - - charge_type, - - - first_weight, - - - first_fee, - - - continue_weight, - - - continme_fee, - - - dest, - - - - - #{name,jdbcType=VARCHAR}, - - - #{chargeType,jdbcType=INTEGER}, - - - #{firstWeight,jdbcType=DECIMAL}, - - - #{firstFee,jdbcType=DECIMAL}, - - - #{continueWeight,jdbcType=DECIMAL}, - - - #{continmeFee,jdbcType=DECIMAL}, - - - #{dest,jdbcType=VARCHAR}, - - - - - - update pms_feight_template - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - charge_type = #{record.chargeType,jdbcType=INTEGER}, - - - first_weight = #{record.firstWeight,jdbcType=DECIMAL}, - - - first_fee = #{record.firstFee,jdbcType=DECIMAL}, - - - continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, - - - continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, - - - dest = #{record.dest,jdbcType=VARCHAR}, - - - - - - - - update pms_feight_template - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - charge_type = #{record.chargeType,jdbcType=INTEGER}, - first_weight = #{record.firstWeight,jdbcType=DECIMAL}, - first_fee = #{record.firstFee,jdbcType=DECIMAL}, - continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, - continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, - dest = #{record.dest,jdbcType=VARCHAR} - - - - - - update pms_feight_template - - - name = #{name,jdbcType=VARCHAR}, - - - charge_type = #{chargeType,jdbcType=INTEGER}, - - - first_weight = #{firstWeight,jdbcType=DECIMAL}, - - - first_fee = #{firstFee,jdbcType=DECIMAL}, - - - continue_weight = #{continueWeight,jdbcType=DECIMAL}, - - - continme_fee = #{continmeFee,jdbcType=DECIMAL}, - - - dest = #{dest,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_feight_template - set name = #{name,jdbcType=VARCHAR}, - charge_type = #{chargeType,jdbcType=INTEGER}, - first_weight = #{firstWeight,jdbcType=DECIMAL}, - first_fee = #{firstFee,jdbcType=DECIMAL}, - continue_weight = #{continueWeight,jdbcType=DECIMAL}, - continme_fee = #{continmeFee,jdbcType=DECIMAL}, - dest = #{dest,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml index 81d23b8..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, member_level_id, member_price, member_level_name - - - - - delete from pms_member_price - where id = #{id,jdbcType=BIGINT} - - - delete from pms_member_price - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_member_price (product_id, member_level_id, member_price, - member_level_name) - values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}, - #{memberLevelName,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_member_price - - - product_id, - - - member_level_id, - - - member_price, - - - member_level_name, - - - - - #{productId,jdbcType=BIGINT}, - - - #{memberLevelId,jdbcType=BIGINT}, - - - #{memberPrice,jdbcType=DECIMAL}, - - - #{memberLevelName,jdbcType=VARCHAR}, - - - - - - update pms_member_price - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - - - member_price = #{record.memberPrice,jdbcType=DECIMAL}, - - - member_level_name = #{record.memberLevelName,jdbcType=VARCHAR}, - - - - - - - - update pms_member_price - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - member_price = #{record.memberPrice,jdbcType=DECIMAL}, - member_level_name = #{record.memberLevelName,jdbcType=VARCHAR} - - - - - - update pms_member_price - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - - - member_price = #{memberPrice,jdbcType=DECIMAL}, - - - member_level_name = #{memberLevelName,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_member_price - set product_id = #{productId,jdbcType=BIGINT}, - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - member_price = #{memberPrice,jdbcType=DECIMAL}, - member_level_name = #{memberLevelName,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml index 5cf0c66..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, attribute_count, param_count - - - - - delete from pms_product_attribute_category - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_category (name, attribute_count, param_count - ) - values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_category - - - name, - - - attribute_count, - - - param_count, - - - - - #{name,jdbcType=VARCHAR}, - - - #{attributeCount,jdbcType=INTEGER}, - - - #{paramCount,jdbcType=INTEGER}, - - - - - - update pms_product_attribute_category - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - attribute_count = #{record.attributeCount,jdbcType=INTEGER}, - - - param_count = #{record.paramCount,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute_category - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - attribute_count = #{record.attributeCount,jdbcType=INTEGER}, - param_count = #{record.paramCount,jdbcType=INTEGER} - - - - - - update pms_product_attribute_category - - - name = #{name,jdbcType=VARCHAR}, - - - attribute_count = #{attributeCount,jdbcType=INTEGER}, - - - param_count = #{paramCount,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute_category - set name = #{name,jdbcType=VARCHAR}, - attribute_count = #{attributeCount,jdbcType=INTEGER}, - param_count = #{paramCount,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml index a153e76..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml @@ -1,323 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_attribute_category_id, name, select_type, input_type, input_list, sort, - filter_type, search_type, related_status, hand_add_status, type - - - - - delete from pms_product_attribute - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute (product_attribute_category_id, name, - select_type, input_type, input_list, - sort, filter_type, search_type, - related_status, hand_add_status, type - ) - values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, - #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, - #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, - #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute - - - product_attribute_category_id, - - - name, - - - select_type, - - - input_type, - - - input_list, - - - sort, - - - filter_type, - - - search_type, - - - related_status, - - - hand_add_status, - - - type, - - - - - #{productAttributeCategoryId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{selectType,jdbcType=INTEGER}, - - - #{inputType,jdbcType=INTEGER}, - - - #{inputList,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - #{filterType,jdbcType=INTEGER}, - - - #{searchType,jdbcType=INTEGER}, - - - #{relatedStatus,jdbcType=INTEGER}, - - - #{handAddStatus,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update pms_product_attribute - - - id = #{record.id,jdbcType=BIGINT}, - - - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - select_type = #{record.selectType,jdbcType=INTEGER}, - - - input_type = #{record.inputType,jdbcType=INTEGER}, - - - input_list = #{record.inputList,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - filter_type = #{record.filterType,jdbcType=INTEGER}, - - - search_type = #{record.searchType,jdbcType=INTEGER}, - - - related_status = #{record.relatedStatus,jdbcType=INTEGER}, - - - hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute - set id = #{record.id,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - select_type = #{record.selectType,jdbcType=INTEGER}, - input_type = #{record.inputType,jdbcType=INTEGER}, - input_list = #{record.inputList,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER}, - filter_type = #{record.filterType,jdbcType=INTEGER}, - search_type = #{record.searchType,jdbcType=INTEGER}, - related_status = #{record.relatedStatus,jdbcType=INTEGER}, - hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update pms_product_attribute - - - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - select_type = #{selectType,jdbcType=INTEGER}, - - - input_type = #{inputType,jdbcType=INTEGER}, - - - input_list = #{inputList,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - filter_type = #{filterType,jdbcType=INTEGER}, - - - search_type = #{searchType,jdbcType=INTEGER}, - - - related_status = #{relatedStatus,jdbcType=INTEGER}, - - - hand_add_status = #{handAddStatus,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute - set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - select_type = #{selectType,jdbcType=INTEGER}, - input_type = #{inputType,jdbcType=INTEGER}, - input_list = #{inputList,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER}, - filter_type = #{filterType,jdbcType=INTEGER}, - search_type = #{searchType,jdbcType=INTEGER}, - related_status = #{relatedStatus,jdbcType=INTEGER}, - hand_add_status = #{handAddStatus,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml index 47e3b20..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_attribute_id, value - - - - - delete from pms_product_attribute_value - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_attribute_value - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_value (product_id, product_attribute_id, value - ) - values (#{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_attribute_value - - - product_id, - - - product_attribute_id, - - - value, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productAttributeId,jdbcType=BIGINT}, - - - #{value,jdbcType=VARCHAR}, - - - - - - update pms_product_attribute_value - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, - - - value = #{record.value,jdbcType=VARCHAR}, - - - - - - - - update pms_product_attribute_value - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, - value = #{record.value,jdbcType=VARCHAR} - - - - - - update pms_product_attribute_value - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, - - - value = #{value,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_attribute_value - set product_id = #{productId,jdbcType=BIGINT}, - product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, - value = #{value,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml index 415a82c..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml @@ -1,181 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_category_id, product_attribute_id - - - - - delete from pms_product_category_attribute_relation - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_category_attribute_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id - ) - values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category_attribute_relation - - - product_category_id, - - - product_attribute_id, - - - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{productAttributeId,jdbcType=BIGINT}, - - - - - - update pms_product_category_attribute_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, - - - - - - - - update pms_product_category_attribute_relation - set id = #{record.id,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} - - - - - - update pms_product_category_attribute_relation - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category_attribute_relation - set product_category_id = #{productCategoryId,jdbcType=BIGINT}, - product_attribute_id = #{productAttributeId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml index 7f9dce3..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml @@ -1,375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, parent_id, name, level, product_count, product_unit, nav_status, show_status, - sort, icon, keywords - - - description - - - - - - delete from pms_product_category - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category (parent_id, name, level, - product_count, product_unit, nav_status, - show_status, sort, icon, - keywords, description) - values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, - #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, - #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, - #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_category - - - parent_id, - - - name, - - - level, - - - product_count, - - - product_unit, - - - nav_status, - - - show_status, - - - sort, - - - icon, - - - keywords, - - - description, - - - - - #{parentId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{level,jdbcType=INTEGER}, - - - #{productCount,jdbcType=INTEGER}, - - - #{productUnit,jdbcType=VARCHAR}, - - - #{navStatus,jdbcType=INTEGER}, - - - #{showStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{icon,jdbcType=VARCHAR}, - - - #{keywords,jdbcType=VARCHAR}, - - - #{description,jdbcType=LONGVARCHAR}, - - - - - - update pms_product_category - - - id = #{record.id,jdbcType=BIGINT}, - - - parent_id = #{record.parentId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - level = #{record.level,jdbcType=INTEGER}, - - - product_count = #{record.productCount,jdbcType=INTEGER}, - - - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - - - nav_status = #{record.navStatus,jdbcType=INTEGER}, - - - show_status = #{record.showStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - keywords = #{record.keywords,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product_category - set id = #{record.id,jdbcType=BIGINT}, - parent_id = #{record.parentId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - level = #{record.level,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - nav_status = #{record.navStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - icon = #{record.icon,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=LONGVARCHAR} - - - - - - update pms_product_category - set id = #{record.id,jdbcType=BIGINT}, - parent_id = #{record.parentId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - level = #{record.level,jdbcType=INTEGER}, - product_count = #{record.productCount,jdbcType=INTEGER}, - product_unit = #{record.productUnit,jdbcType=VARCHAR}, - nav_status = #{record.navStatus,jdbcType=INTEGER}, - show_status = #{record.showStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - icon = #{record.icon,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR} - - - - - - update pms_product_category - - - parent_id = #{parentId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - level = #{level,jdbcType=INTEGER}, - - - product_count = #{productCount,jdbcType=INTEGER}, - - - product_unit = #{productUnit,jdbcType=VARCHAR}, - - - nav_status = #{navStatus,jdbcType=INTEGER}, - - - show_status = #{showStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - keywords = #{keywords,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category - set parent_id = #{parentId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_unit = #{productUnit,jdbcType=VARCHAR}, - nav_status = #{navStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - icon = #{icon,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - description = #{description,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_product_category - set parent_id = #{parentId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - product_count = #{productCount,jdbcType=INTEGER}, - product_unit = #{productUnit,jdbcType=VARCHAR}, - nav_status = #{navStatus,jdbcType=INTEGER}, - show_status = #{showStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - icon = #{icon,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml index 85173b3..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, full_price, reduce_price - - - - - delete from pms_product_full_reduction - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_full_reduction - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_full_reduction (product_id, full_price, reduce_price - ) - values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_full_reduction - - - product_id, - - - full_price, - - - reduce_price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{fullPrice,jdbcType=DECIMAL}, - - - #{reducePrice,jdbcType=DECIMAL}, - - - - - - update pms_product_full_reduction - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - full_price = #{record.fullPrice,jdbcType=DECIMAL}, - - - reduce_price = #{record.reducePrice,jdbcType=DECIMAL}, - - - - - - - - update pms_product_full_reduction - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - full_price = #{record.fullPrice,jdbcType=DECIMAL}, - reduce_price = #{record.reducePrice,jdbcType=DECIMAL} - - - - - - update pms_product_full_reduction - - - product_id = #{productId,jdbcType=BIGINT}, - - - full_price = #{fullPrice,jdbcType=DECIMAL}, - - - reduce_price = #{reducePrice,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_full_reduction - set product_id = #{productId,jdbcType=BIGINT}, - full_price = #{fullPrice,jdbcType=DECIMAL}, - reduce_price = #{reducePrice,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml index be638a9..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, count, discount, price - - - - - delete from pms_product_ladder - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_ladder - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_ladder (product_id, count, discount, - price) - values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, - #{price,jdbcType=DECIMAL}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_ladder - - - product_id, - - - count, - - - discount, - - - price, - - - - - #{productId,jdbcType=BIGINT}, - - - #{count,jdbcType=INTEGER}, - - - #{discount,jdbcType=DECIMAL}, - - - #{price,jdbcType=DECIMAL}, - - - - - - update pms_product_ladder - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - count = #{record.count,jdbcType=INTEGER}, - - - discount = #{record.discount,jdbcType=DECIMAL}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - - - - - - update pms_product_ladder - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - count = #{record.count,jdbcType=INTEGER}, - discount = #{record.discount,jdbcType=DECIMAL}, - price = #{record.price,jdbcType=DECIMAL} - - - - - - update pms_product_ladder - - - product_id = #{productId,jdbcType=BIGINT}, - - - count = #{count,jdbcType=INTEGER}, - - - discount = #{discount,jdbcType=DECIMAL}, - - - price = #{price,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_ladder - set product_id = #{productId,jdbcType=BIGINT}, - count = #{count,jdbcType=INTEGER}, - discount = #{discount,jdbcType=DECIMAL}, - price = #{price,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml index 682be18..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml @@ -1,903 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, - name, pic, product_sn, delete_status, publish_status, new_status, recommand_status, - verify_status, sort, sale, price, promotion_price, gift_growth, gift_point, use_point_limit, - sub_title, original_price, stock, low_stock, unit, weight, preview_status, service_ids, - keywords, note, album_pics, detail_title, promotion_start_time, promotion_end_time, - promotion_per_limit, promotion_type, brand_name, product_category_name - - - description, detail_desc, detail_html, detail_mobile_html - - - - - - delete from pms_product - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product (brand_id, product_category_id, feight_template_id, - product_attribute_category_id, name, pic, - product_sn, delete_status, publish_status, - new_status, recommand_status, verify_status, - sort, sale, price, - promotion_price, gift_growth, gift_point, - use_point_limit, sub_title, original_price, - stock, low_stock, unit, - weight, preview_status, service_ids, - keywords, note, album_pics, - detail_title, promotion_start_time, promotion_end_time, - promotion_per_limit, promotion_type, brand_name, - product_category_name, description, detail_desc, - detail_html, detail_mobile_html) - values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, - #{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, - #{productSn,jdbcType=VARCHAR}, #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, - #{newStatus,jdbcType=INTEGER}, #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}, #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, - #{promotionPrice,jdbcType=DECIMAL}, #{giftGrowth,jdbcType=INTEGER}, #{giftPoint,jdbcType=INTEGER}, - #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, #{originalPrice,jdbcType=DECIMAL}, - #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{unit,jdbcType=VARCHAR}, - #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, #{serviceIds,jdbcType=VARCHAR}, - #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{albumPics,jdbcType=VARCHAR}, - #{detailTitle,jdbcType=VARCHAR}, #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, - #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR}, - #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR}, - #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product - - - brand_id, - - - product_category_id, - - - feight_template_id, - - - product_attribute_category_id, - - - name, - - - pic, - - - product_sn, - - - delete_status, - - - publish_status, - - - new_status, - - - recommand_status, - - - verify_status, - - - sort, - - - sale, - - - price, - - - promotion_price, - - - gift_growth, - - - gift_point, - - - use_point_limit, - - - sub_title, - - - original_price, - - - stock, - - - low_stock, - - - unit, - - - weight, - - - preview_status, - - - service_ids, - - - keywords, - - - note, - - - album_pics, - - - detail_title, - - - promotion_start_time, - - - promotion_end_time, - - - promotion_per_limit, - - - promotion_type, - - - brand_name, - - - product_category_name, - - - description, - - - detail_desc, - - - detail_html, - - - detail_mobile_html, - - - - - #{brandId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{feightTemplateId,jdbcType=BIGINT}, - - - #{productAttributeCategoryId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{pic,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - #{deleteStatus,jdbcType=INTEGER}, - - - #{publishStatus,jdbcType=INTEGER}, - - - #{newStatus,jdbcType=INTEGER}, - - - #{recommandStatus,jdbcType=INTEGER}, - - - #{verifyStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{sale,jdbcType=INTEGER}, - - - #{price,jdbcType=DECIMAL}, - - - #{promotionPrice,jdbcType=DECIMAL}, - - - #{giftGrowth,jdbcType=INTEGER}, - - - #{giftPoint,jdbcType=INTEGER}, - - - #{usePointLimit,jdbcType=INTEGER}, - - - #{subTitle,jdbcType=VARCHAR}, - - - #{originalPrice,jdbcType=DECIMAL}, - - - #{stock,jdbcType=INTEGER}, - - - #{lowStock,jdbcType=INTEGER}, - - - #{unit,jdbcType=VARCHAR}, - - - #{weight,jdbcType=DECIMAL}, - - - #{previewStatus,jdbcType=INTEGER}, - - - #{serviceIds,jdbcType=VARCHAR}, - - - #{keywords,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{albumPics,jdbcType=VARCHAR}, - - - #{detailTitle,jdbcType=VARCHAR}, - - - #{promotionStartTime,jdbcType=TIMESTAMP}, - - - #{promotionEndTime,jdbcType=TIMESTAMP}, - - - #{promotionPerLimit,jdbcType=INTEGER}, - - - #{promotionType,jdbcType=INTEGER}, - - - #{brandName,jdbcType=VARCHAR}, - - - #{productCategoryName,jdbcType=VARCHAR}, - - - #{description,jdbcType=LONGVARCHAR}, - - - #{detailDesc,jdbcType=LONGVARCHAR}, - - - #{detailHtml,jdbcType=LONGVARCHAR}, - - - #{detailMobileHtml,jdbcType=LONGVARCHAR}, - - - - - - update pms_product - - - id = #{record.id,jdbcType=BIGINT}, - - - brand_id = #{record.brandId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - - - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - - - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - - - new_status = #{record.newStatus,jdbcType=INTEGER}, - - - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - - - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - sale = #{record.sale,jdbcType=INTEGER}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - - - gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, - - - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - - - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - - - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - - - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - - - stock = #{record.stock,jdbcType=INTEGER}, - - - low_stock = #{record.lowStock,jdbcType=INTEGER}, - - - unit = #{record.unit,jdbcType=VARCHAR}, - - - weight = #{record.weight,jdbcType=DECIMAL}, - - - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - - - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - - - keywords = #{record.keywords,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - - - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - - - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - - - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - - - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - - - promotion_type = #{record.promotionType,jdbcType=INTEGER}, - - - brand_name = #{record.brandName,jdbcType=VARCHAR}, - - - product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=LONGVARCHAR}, - - - detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, - - - detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, - - - detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - new_status = #{record.newStatus,jdbcType=INTEGER}, - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - sale = #{record.sale,jdbcType=INTEGER}, - price = #{record.price,jdbcType=DECIMAL}, - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - unit = #{record.unit,jdbcType=VARCHAR}, - weight = #{record.weight,jdbcType=DECIMAL}, - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{record.promotionType,jdbcType=INTEGER}, - brand_name = #{record.brandName,jdbcType=VARCHAR}, - product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=LONGVARCHAR}, - detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, - detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, - detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR} - - - - - - update pms_product - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - pic = #{record.pic,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR}, - delete_status = #{record.deleteStatus,jdbcType=INTEGER}, - publish_status = #{record.publishStatus,jdbcType=INTEGER}, - new_status = #{record.newStatus,jdbcType=INTEGER}, - recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, - verify_status = #{record.verifyStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - sale = #{record.sale,jdbcType=INTEGER}, - price = #{record.price,jdbcType=DECIMAL}, - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, - gift_point = #{record.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, - sub_title = #{record.subTitle,jdbcType=VARCHAR}, - original_price = #{record.originalPrice,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - unit = #{record.unit,jdbcType=VARCHAR}, - weight = #{record.weight,jdbcType=DECIMAL}, - preview_status = #{record.previewStatus,jdbcType=INTEGER}, - service_ids = #{record.serviceIds,jdbcType=VARCHAR}, - keywords = #{record.keywords,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - album_pics = #{record.albumPics,jdbcType=VARCHAR}, - detail_title = #{record.detailTitle,jdbcType=VARCHAR}, - promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{record.promotionType,jdbcType=INTEGER}, - brand_name = #{record.brandName,jdbcType=VARCHAR}, - product_category_name = #{record.productCategoryName,jdbcType=VARCHAR} - - - - - - update pms_product - - - brand_id = #{brandId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - - - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - delete_status = #{deleteStatus,jdbcType=INTEGER}, - - - publish_status = #{publishStatus,jdbcType=INTEGER}, - - - new_status = #{newStatus,jdbcType=INTEGER}, - - - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - - - verify_status = #{verifyStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - sale = #{sale,jdbcType=INTEGER}, - - - price = #{price,jdbcType=DECIMAL}, - - - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - - - gift_growth = #{giftGrowth,jdbcType=INTEGER}, - - - gift_point = #{giftPoint,jdbcType=INTEGER}, - - - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - - - sub_title = #{subTitle,jdbcType=VARCHAR}, - - - original_price = #{originalPrice,jdbcType=DECIMAL}, - - - stock = #{stock,jdbcType=INTEGER}, - - - low_stock = #{lowStock,jdbcType=INTEGER}, - - - unit = #{unit,jdbcType=VARCHAR}, - - - weight = #{weight,jdbcType=DECIMAL}, - - - preview_status = #{previewStatus,jdbcType=INTEGER}, - - - service_ids = #{serviceIds,jdbcType=VARCHAR}, - - - keywords = #{keywords,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - album_pics = #{albumPics,jdbcType=VARCHAR}, - - - detail_title = #{detailTitle,jdbcType=VARCHAR}, - - - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - - - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - - - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - - - promotion_type = #{promotionType,jdbcType=INTEGER}, - - - brand_name = #{brandName,jdbcType=VARCHAR}, - - - product_category_name = #{productCategoryName,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=LONGVARCHAR}, - - - detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, - - - detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, - - - detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product - set brand_id = #{brandId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - publish_status = #{publishStatus,jdbcType=INTEGER}, - new_status = #{newStatus,jdbcType=INTEGER}, - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - verify_status = #{verifyStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - sale = #{sale,jdbcType=INTEGER}, - price = #{price,jdbcType=DECIMAL}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - gift_growth = #{giftGrowth,jdbcType=INTEGER}, - gift_point = #{giftPoint,jdbcType=INTEGER}, - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - original_price = #{originalPrice,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - unit = #{unit,jdbcType=VARCHAR}, - weight = #{weight,jdbcType=DECIMAL}, - preview_status = #{previewStatus,jdbcType=INTEGER}, - service_ids = #{serviceIds,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - detail_title = #{detailTitle,jdbcType=VARCHAR}, - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{promotionType,jdbcType=INTEGER}, - brand_name = #{brandName,jdbcType=VARCHAR}, - product_category_name = #{productCategoryName,jdbcType=VARCHAR}, - description = #{description,jdbcType=LONGVARCHAR}, - detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, - detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, - detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR} - where id = #{id,jdbcType=BIGINT} - - - update pms_product - set brand_id = #{brandId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - pic = #{pic,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR}, - delete_status = #{deleteStatus,jdbcType=INTEGER}, - publish_status = #{publishStatus,jdbcType=INTEGER}, - new_status = #{newStatus,jdbcType=INTEGER}, - recommand_status = #{recommandStatus,jdbcType=INTEGER}, - verify_status = #{verifyStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - sale = #{sale,jdbcType=INTEGER}, - price = #{price,jdbcType=DECIMAL}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - gift_growth = #{giftGrowth,jdbcType=INTEGER}, - gift_point = #{giftPoint,jdbcType=INTEGER}, - use_point_limit = #{usePointLimit,jdbcType=INTEGER}, - sub_title = #{subTitle,jdbcType=VARCHAR}, - original_price = #{originalPrice,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - unit = #{unit,jdbcType=VARCHAR}, - weight = #{weight,jdbcType=DECIMAL}, - preview_status = #{previewStatus,jdbcType=INTEGER}, - service_ids = #{serviceIds,jdbcType=VARCHAR}, - keywords = #{keywords,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - album_pics = #{albumPics,jdbcType=VARCHAR}, - detail_title = #{detailTitle,jdbcType=VARCHAR}, - promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{promotionType,jdbcType=INTEGER}, - brand_name = #{brandName,jdbcType=VARCHAR}, - product_category_name = #{productCategoryName,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml index 6a04096..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml @@ -1,321 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, - gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time - - - - - delete from pms_product_operate_log - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_operate_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_operate_log (product_id, price_old, price_new, - sale_price_old, sale_price_new, gift_point_old, - gift_point_new, use_point_limit_old, use_point_limit_new, - operate_man, create_time) - values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, - #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, - #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, - #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_operate_log - - - product_id, - - - price_old, - - - price_new, - - - sale_price_old, - - - sale_price_new, - - - gift_point_old, - - - gift_point_new, - - - use_point_limit_old, - - - use_point_limit_new, - - - operate_man, - - - create_time, - - - - - #{productId,jdbcType=BIGINT}, - - - #{priceOld,jdbcType=DECIMAL}, - - - #{priceNew,jdbcType=DECIMAL}, - - - #{salePriceOld,jdbcType=DECIMAL}, - - - #{salePriceNew,jdbcType=DECIMAL}, - - - #{giftPointOld,jdbcType=INTEGER}, - - - #{giftPointNew,jdbcType=INTEGER}, - - - #{usePointLimitOld,jdbcType=INTEGER}, - - - #{usePointLimitNew,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - - - - update pms_product_operate_log - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - price_old = #{record.priceOld,jdbcType=DECIMAL}, - - - price_new = #{record.priceNew,jdbcType=DECIMAL}, - - - sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, - - - sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, - - - gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, - - - gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, - - - use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, - - - use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update pms_product_operate_log - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - price_old = #{record.priceOld,jdbcType=DECIMAL}, - price_new = #{record.priceNew,jdbcType=DECIMAL}, - sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, - sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, - gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, - gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, - use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, - use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP} - - - - - - update pms_product_operate_log - - - product_id = #{productId,jdbcType=BIGINT}, - - - price_old = #{priceOld,jdbcType=DECIMAL}, - - - price_new = #{priceNew,jdbcType=DECIMAL}, - - - sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, - - - sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, - - - gift_point_old = #{giftPointOld,jdbcType=INTEGER}, - - - gift_point_new = #{giftPointNew,jdbcType=INTEGER}, - - - use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, - - - use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_operate_log - set product_id = #{productId,jdbcType=BIGINT}, - price_old = #{priceOld,jdbcType=DECIMAL}, - price_new = #{priceNew,jdbcType=DECIMAL}, - sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, - sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, - gift_point_old = #{giftPointOld,jdbcType=INTEGER}, - gift_point_new = #{giftPointNew,jdbcType=INTEGER}, - use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, - use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml index efbd9bd..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, create_time, vertify_man, status, detail - - - - - delete from pms_product_vertify_record - where id = #{id,jdbcType=BIGINT} - - - delete from pms_product_vertify_record - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_vertify_record (product_id, create_time, vertify_man, - status, detail) - values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, - #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_product_vertify_record - - - product_id, - - - create_time, - - - vertify_man, - - - status, - - - detail, - - - - - #{productId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{vertifyMan,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{detail,jdbcType=VARCHAR}, - - - - - - update pms_product_vertify_record - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - detail = #{record.detail,jdbcType=VARCHAR}, - - - - - - - - update pms_product_vertify_record - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - detail = #{record.detail,jdbcType=VARCHAR} - - - - - - update pms_product_vertify_record - - - product_id = #{productId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - vertify_man = #{vertifyMan,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - detail = #{detail,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_product_vertify_record - set product_id = #{productId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - vertify_man = #{vertifyMan,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - detail = #{detail,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml index 870bd3c..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, sku_code, price, stock, low_stock, pic, sale, promotion_price, lock_stock, - sp_data - - - - - delete from pms_sku_stock - where id = #{id,jdbcType=BIGINT} - - - delete from pms_sku_stock - - - - - - - SELECT LAST_INSERT_ID() - - insert into pms_sku_stock (product_id, sku_code, price, - stock, low_stock, pic, - sale, promotion_price, lock_stock, - sp_data) - values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, - #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, - #{sale,jdbcType=INTEGER}, #{promotionPrice,jdbcType=DECIMAL}, #{lockStock,jdbcType=INTEGER}, - #{spData,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_sku_stock - - - product_id, - - - sku_code, - - - price, - - - stock, - - - low_stock, - - - pic, - - - sale, - - - promotion_price, - - - lock_stock, - - - sp_data, - - - - - #{productId,jdbcType=BIGINT}, - - - #{skuCode,jdbcType=VARCHAR}, - - - #{price,jdbcType=DECIMAL}, - - - #{stock,jdbcType=INTEGER}, - - - #{lowStock,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARCHAR}, - - - #{sale,jdbcType=INTEGER}, - - - #{promotionPrice,jdbcType=DECIMAL}, - - - #{lockStock,jdbcType=INTEGER}, - - - #{spData,jdbcType=VARCHAR}, - - - - - - update pms_sku_stock - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - sku_code = #{record.skuCode,jdbcType=VARCHAR}, - - - price = #{record.price,jdbcType=DECIMAL}, - - - stock = #{record.stock,jdbcType=INTEGER}, - - - low_stock = #{record.lowStock,jdbcType=INTEGER}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - sale = #{record.sale,jdbcType=INTEGER}, - - - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - - - lock_stock = #{record.lockStock,jdbcType=INTEGER}, - - - sp_data = #{record.spData,jdbcType=VARCHAR}, - - - - - - - - update pms_sku_stock - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - sku_code = #{record.skuCode,jdbcType=VARCHAR}, - price = #{record.price,jdbcType=DECIMAL}, - stock = #{record.stock,jdbcType=INTEGER}, - low_stock = #{record.lowStock,jdbcType=INTEGER}, - pic = #{record.pic,jdbcType=VARCHAR}, - sale = #{record.sale,jdbcType=INTEGER}, - promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, - lock_stock = #{record.lockStock,jdbcType=INTEGER}, - sp_data = #{record.spData,jdbcType=VARCHAR} - - - - - - update pms_sku_stock - - - product_id = #{productId,jdbcType=BIGINT}, - - - sku_code = #{skuCode,jdbcType=VARCHAR}, - - - price = #{price,jdbcType=DECIMAL}, - - - stock = #{stock,jdbcType=INTEGER}, - - - low_stock = #{lowStock,jdbcType=INTEGER}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - sale = #{sale,jdbcType=INTEGER}, - - - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - - - lock_stock = #{lockStock,jdbcType=INTEGER}, - - - sp_data = #{spData,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update pms_sku_stock - set product_id = #{productId,jdbcType=BIGINT}, - sku_code = #{skuCode,jdbcType=VARCHAR}, - price = #{price,jdbcType=DECIMAL}, - stock = #{stock,jdbcType=INTEGER}, - low_stock = #{lowStock,jdbcType=INTEGER}, - pic = #{pic,jdbcType=VARCHAR}, - sale = #{sale,jdbcType=INTEGER}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - lock_stock = #{lockStock,jdbcType=INTEGER}, - sp_data = #{spData,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml index 3767a44..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, - use_time, order_id, order_sn - - - - - delete from sms_coupon_history - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_history (coupon_id, member_id, coupon_code, - member_nickname, get_type, create_time, - use_status, use_time, order_id, - order_sn) - values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, - #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, - #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=BIGINT}, - #{orderSn,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_history - - - coupon_id, - - - member_id, - - - coupon_code, - - - member_nickname, - - - get_type, - - - create_time, - - - use_status, - - - use_time, - - - order_id, - - - order_sn, - - - - - #{couponId,jdbcType=BIGINT}, - - - #{memberId,jdbcType=BIGINT}, - - - #{couponCode,jdbcType=VARCHAR}, - - - #{memberNickname,jdbcType=VARCHAR}, - - - #{getType,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{useStatus,jdbcType=INTEGER}, - - - #{useTime,jdbcType=TIMESTAMP}, - - - #{orderId,jdbcType=BIGINT}, - - - #{orderSn,jdbcType=VARCHAR}, - - - - - - update sms_coupon_history - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - coupon_code = #{record.couponCode,jdbcType=VARCHAR}, - - - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - - - get_type = #{record.getType,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - use_status = #{record.useStatus,jdbcType=INTEGER}, - - - use_time = #{record.useTime,jdbcType=TIMESTAMP}, - - - order_id = #{record.orderId,jdbcType=BIGINT}, - - - order_sn = #{record.orderSn,jdbcType=VARCHAR}, - - - - - - - - update sms_coupon_history - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - coupon_code = #{record.couponCode,jdbcType=VARCHAR}, - member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, - get_type = #{record.getType,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - use_status = #{record.useStatus,jdbcType=INTEGER}, - use_time = #{record.useTime,jdbcType=TIMESTAMP}, - order_id = #{record.orderId,jdbcType=BIGINT}, - order_sn = #{record.orderSn,jdbcType=VARCHAR} - - - - - - update sms_coupon_history - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - member_id = #{memberId,jdbcType=BIGINT}, - - - coupon_code = #{couponCode,jdbcType=VARCHAR}, - - - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - - - get_type = #{getType,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - use_status = #{useStatus,jdbcType=INTEGER}, - - - use_time = #{useTime,jdbcType=TIMESTAMP}, - - - order_id = #{orderId,jdbcType=BIGINT}, - - - order_sn = #{orderSn,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_history - set coupon_id = #{couponId,jdbcType=BIGINT}, - member_id = #{memberId,jdbcType=BIGINT}, - coupon_code = #{couponCode,jdbcType=VARCHAR}, - member_nickname = #{memberNickname,jdbcType=VARCHAR}, - get_type = #{getType,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - use_status = #{useStatus,jdbcType=INTEGER}, - use_time = #{useTime,jdbcType=TIMESTAMP}, - order_id = #{orderId,jdbcType=BIGINT}, - order_sn = #{orderSn,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml index 1a101be..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml @@ -1,415 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time, - use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level - - - - - delete from sms_coupon - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon (type, name, platform, - count, amount, per_limit, - min_point, start_time, end_time, - use_type, note, publish_count, - use_count, receive_count, enable_time, - code, member_level) - values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=INTEGER}, - #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, - #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, - #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, - #{useCount,jdbcType=INTEGER}, #{receiveCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, - #{code,jdbcType=VARCHAR}, #{memberLevel,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon - - - type, - - - name, - - - platform, - - - count, - - - amount, - - - per_limit, - - - min_point, - - - start_time, - - - end_time, - - - use_type, - - - note, - - - publish_count, - - - use_count, - - - receive_count, - - - enable_time, - - - code, - - - member_level, - - - - - #{type,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{platform,jdbcType=INTEGER}, - - - #{count,jdbcType=INTEGER}, - - - #{amount,jdbcType=DECIMAL}, - - - #{perLimit,jdbcType=INTEGER}, - - - #{minPoint,jdbcType=DECIMAL}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{useType,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - #{publishCount,jdbcType=INTEGER}, - - - #{useCount,jdbcType=INTEGER}, - - - #{receiveCount,jdbcType=INTEGER}, - - - #{enableTime,jdbcType=TIMESTAMP}, - - - #{code,jdbcType=VARCHAR}, - - - #{memberLevel,jdbcType=INTEGER}, - - - - - - update sms_coupon - - - id = #{record.id,jdbcType=BIGINT}, - - - type = #{record.type,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - platform = #{record.platform,jdbcType=INTEGER}, - - - count = #{record.count,jdbcType=INTEGER}, - - - amount = #{record.amount,jdbcType=DECIMAL}, - - - per_limit = #{record.perLimit,jdbcType=INTEGER}, - - - min_point = #{record.minPoint,jdbcType=DECIMAL}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - use_type = #{record.useType,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - publish_count = #{record.publishCount,jdbcType=INTEGER}, - - - use_count = #{record.useCount,jdbcType=INTEGER}, - - - receive_count = #{record.receiveCount,jdbcType=INTEGER}, - - - enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, - - - code = #{record.code,jdbcType=VARCHAR}, - - - member_level = #{record.memberLevel,jdbcType=INTEGER}, - - - - - - - - update sms_coupon - set id = #{record.id,jdbcType=BIGINT}, - type = #{record.type,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - platform = #{record.platform,jdbcType=INTEGER}, - count = #{record.count,jdbcType=INTEGER}, - amount = #{record.amount,jdbcType=DECIMAL}, - per_limit = #{record.perLimit,jdbcType=INTEGER}, - min_point = #{record.minPoint,jdbcType=DECIMAL}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - use_type = #{record.useType,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR}, - publish_count = #{record.publishCount,jdbcType=INTEGER}, - use_count = #{record.useCount,jdbcType=INTEGER}, - receive_count = #{record.receiveCount,jdbcType=INTEGER}, - enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, - code = #{record.code,jdbcType=VARCHAR}, - member_level = #{record.memberLevel,jdbcType=INTEGER} - - - - - - update sms_coupon - - - type = #{type,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - platform = #{platform,jdbcType=INTEGER}, - - - count = #{count,jdbcType=INTEGER}, - - - amount = #{amount,jdbcType=DECIMAL}, - - - per_limit = #{perLimit,jdbcType=INTEGER}, - - - min_point = #{minPoint,jdbcType=DECIMAL}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - use_type = #{useType,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - publish_count = #{publishCount,jdbcType=INTEGER}, - - - use_count = #{useCount,jdbcType=INTEGER}, - - - receive_count = #{receiveCount,jdbcType=INTEGER}, - - - enable_time = #{enableTime,jdbcType=TIMESTAMP}, - - - code = #{code,jdbcType=VARCHAR}, - - - member_level = #{memberLevel,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon - set type = #{type,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - platform = #{platform,jdbcType=INTEGER}, - count = #{count,jdbcType=INTEGER}, - amount = #{amount,jdbcType=DECIMAL}, - per_limit = #{perLimit,jdbcType=INTEGER}, - min_point = #{minPoint,jdbcType=DECIMAL}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - use_type = #{useType,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR}, - publish_count = #{publishCount,jdbcType=INTEGER}, - use_count = #{useCount,jdbcType=INTEGER}, - receive_count = #{receiveCount,jdbcType=INTEGER}, - enable_time = #{enableTime,jdbcType=TIMESTAMP}, - code = #{code,jdbcType=VARCHAR}, - member_level = #{memberLevel,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml index 5eccbeb..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, product_category_id, product_category_name, parent_category_name - - - - - delete from sms_coupon_product_category_relation - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_product_category_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_category_relation (coupon_id, product_category_id, product_category_name, - parent_category_name) - values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{productCategoryName,jdbcType=VARCHAR}, - #{parentCategoryName,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_category_relation - - - coupon_id, - - - product_category_id, - - - product_category_name, - - - parent_category_name, - - - - - #{couponId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - #{productCategoryName,jdbcType=VARCHAR}, - - - #{parentCategoryName,jdbcType=VARCHAR}, - - - - - - update sms_coupon_product_category_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, - - - parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR}, - - - - - - - - update sms_coupon_product_category_relation - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, - parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR} - - - - - - update sms_coupon_product_category_relation - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - product_category_name = #{productCategoryName,jdbcType=VARCHAR}, - - - parent_category_name = #{parentCategoryName,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_product_category_relation - set coupon_id = #{couponId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - product_category_name = #{productCategoryName,jdbcType=VARCHAR}, - parent_category_name = #{parentCategoryName,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml index 132001d..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, coupon_id, product_id, product_name, product_sn - - - - - delete from sms_coupon_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from sms_coupon_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_relation (coupon_id, product_id, product_name, - product_sn) - values (#{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, - #{productSn,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_coupon_product_relation - - - coupon_id, - - - product_id, - - - product_name, - - - product_sn, - - - - - #{couponId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - #{productName,jdbcType=VARCHAR}, - - - #{productSn,jdbcType=VARCHAR}, - - - - - - update sms_coupon_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - coupon_id = #{record.couponId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - product_sn = #{record.productSn,jdbcType=VARCHAR}, - - - - - - - - update sms_coupon_product_relation - set id = #{record.id,jdbcType=BIGINT}, - coupon_id = #{record.couponId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_name = #{record.productName,jdbcType=VARCHAR}, - product_sn = #{record.productSn,jdbcType=VARCHAR} - - - - - - update sms_coupon_product_relation - - - coupon_id = #{couponId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - product_sn = #{productSn,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_coupon_product_relation - set coupon_id = #{couponId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT}, - product_name = #{productName,jdbcType=VARCHAR}, - product_sn = #{productSn,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml index 7c9c89a..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, product_id, member_phone, product_name, subscribe_time, send_time - - - - - delete from sms_flash_promotion_log - where id = #{id,jdbcType=INTEGER} - - - delete from sms_flash_promotion_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_log (member_id, product_id, member_phone, - product_name, subscribe_time, send_time - ) - values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, - #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP} - ) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_log - - - member_id, - - - product_id, - - - member_phone, - - - product_name, - - - subscribe_time, - - - send_time, - - - - - #{memberId,jdbcType=INTEGER}, - - - #{productId,jdbcType=BIGINT}, - - - #{memberPhone,jdbcType=VARCHAR}, - - - #{productName,jdbcType=VARCHAR}, - - - #{subscribeTime,jdbcType=TIMESTAMP}, - - - #{sendTime,jdbcType=TIMESTAMP}, - - - - - - update sms_flash_promotion_log - - - id = #{record.id,jdbcType=INTEGER}, - - - member_id = #{record.memberId,jdbcType=INTEGER}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - member_phone = #{record.memberPhone,jdbcType=VARCHAR}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, - - - send_time = #{record.sendTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion_log - set id = #{record.id,jdbcType=INTEGER}, - member_id = #{record.memberId,jdbcType=INTEGER}, - product_id = #{record.productId,jdbcType=BIGINT}, - member_phone = #{record.memberPhone,jdbcType=VARCHAR}, - product_name = #{record.productName,jdbcType=VARCHAR}, - subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, - send_time = #{record.sendTime,jdbcType=TIMESTAMP} - - - - - - update sms_flash_promotion_log - - - member_id = #{memberId,jdbcType=INTEGER}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - member_phone = #{memberPhone,jdbcType=VARCHAR}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, - - - send_time = #{sendTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=INTEGER} - - - update sms_flash_promotion_log - set member_id = #{memberId,jdbcType=INTEGER}, - product_id = #{productId,jdbcType=BIGINT}, - member_phone = #{memberPhone,jdbcType=VARCHAR}, - product_name = #{productName,jdbcType=VARCHAR}, - subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, - send_time = #{sendTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=INTEGER} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml index 971e765..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, title, start_date, end_date, status, create_time - - - - - delete from sms_flash_promotion - where id = #{id,jdbcType=BIGINT} - - - delete from sms_flash_promotion - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion (title, start_date, end_date, - status, create_time) - values (#{title,jdbcType=VARCHAR}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE}, - #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion - - - title, - - - start_date, - - - end_date, - - - status, - - - create_time, - - - - - #{title,jdbcType=VARCHAR}, - - - #{startDate,jdbcType=DATE}, - - - #{endDate,jdbcType=DATE}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - - - - update sms_flash_promotion - - - id = #{record.id,jdbcType=BIGINT}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - start_date = #{record.startDate,jdbcType=DATE}, - - - end_date = #{record.endDate,jdbcType=DATE}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion - set id = #{record.id,jdbcType=BIGINT}, - title = #{record.title,jdbcType=VARCHAR}, - start_date = #{record.startDate,jdbcType=DATE}, - end_date = #{record.endDate,jdbcType=DATE}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP} - - - - - - update sms_flash_promotion - - - title = #{title,jdbcType=VARCHAR}, - - - start_date = #{startDate,jdbcType=DATE}, - - - end_date = #{endDate,jdbcType=DATE}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_flash_promotion - set title = #{title,jdbcType=VARCHAR}, - start_date = #{startDate,jdbcType=DATE}, - end_date = #{endDate,jdbcType=DATE}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml index 58e8be8..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml @@ -1,259 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, flash_promotion_id, flash_promotion_session_id, product_id, flash_promotion_price, - flash_promotion_count, flash_promotion_limit, sort - - - - - delete from sms_flash_promotion_product_relation - where id = #{id,jdbcType=BIGINT} - - - delete from sms_flash_promotion_product_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_product_relation (flash_promotion_id, flash_promotion_session_id, - product_id, flash_promotion_price, flash_promotion_count, - flash_promotion_limit, sort) - values (#{flashPromotionId,jdbcType=BIGINT}, #{flashPromotionSessionId,jdbcType=BIGINT}, - #{productId,jdbcType=BIGINT}, #{flashPromotionPrice,jdbcType=DECIMAL}, #{flashPromotionCount,jdbcType=INTEGER}, - #{flashPromotionLimit,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_product_relation - - - flash_promotion_id, - - - flash_promotion_session_id, - - - product_id, - - - flash_promotion_price, - - - flash_promotion_count, - - - flash_promotion_limit, - - - sort, - - - - - #{flashPromotionId,jdbcType=BIGINT}, - - - #{flashPromotionSessionId,jdbcType=BIGINT}, - - - #{productId,jdbcType=BIGINT}, - - - #{flashPromotionPrice,jdbcType=DECIMAL}, - - - #{flashPromotionCount,jdbcType=INTEGER}, - - - #{flashPromotionLimit,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_flash_promotion_product_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, - - - flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - - - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - - - flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_flash_promotion_product_relation - set id = #{record.id,jdbcType=BIGINT}, - flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, - flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_flash_promotion_product_relation - - - flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, - - - flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, - - - product_id = #{productId,jdbcType=BIGINT}, - - - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - - - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - - - flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_flash_promotion_product_relation - set flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, - flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, - product_id = #{productId,jdbcType=BIGINT}, - flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml index a7f45f6..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, start_time, end_time, status, create_time - - - - - delete from sms_flash_promotion_session - where id = #{id,jdbcType=BIGINT} - - - delete from sms_flash_promotion_session - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_session (name, start_time, end_time, - status, create_time) - values (#{name,jdbcType=VARCHAR}, #{startTime,jdbcType=TIME}, #{endTime,jdbcType=TIME}, - #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_flash_promotion_session - - - name, - - - start_time, - - - end_time, - - - status, - - - create_time, - - - - - #{name,jdbcType=VARCHAR}, - - - #{startTime,jdbcType=TIME}, - - - #{endTime,jdbcType=TIME}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - - - - update sms_flash_promotion_session - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - start_time = #{record.startTime,jdbcType=TIME}, - - - end_time = #{record.endTime,jdbcType=TIME}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion_session - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - start_time = #{record.startTime,jdbcType=TIME}, - end_time = #{record.endTime,jdbcType=TIME}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP} - - - - - - update sms_flash_promotion_session - - - name = #{name,jdbcType=VARCHAR}, - - - start_time = #{startTime,jdbcType=TIME}, - - - end_time = #{endTime,jdbcType=TIME}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_flash_promotion_session - set name = #{name,jdbcType=VARCHAR}, - start_time = #{startTime,jdbcType=TIME}, - end_time = #{endTime,jdbcType=TIME}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml index c4f91fa..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml @@ -1,321 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, type, pic, start_time, end_time, status, click_count, order_count, url, - note, sort - - - - - delete from sms_home_advertise - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_advertise - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_advertise (name, type, pic, - start_time, end_time, status, - click_count, order_count, url, - note, sort) - values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, - #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, - #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, - #{note,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_advertise - - - name, - - - type, - - - pic, - - - start_time, - - - end_time, - - - status, - - - click_count, - - - order_count, - - - url, - - - note, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{type,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARCHAR}, - - - #{startTime,jdbcType=TIMESTAMP}, - - - #{endTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - #{clickCount,jdbcType=INTEGER}, - - - #{orderCount,jdbcType=INTEGER}, - - - #{url,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_advertise - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - type = #{record.type,jdbcType=INTEGER}, - - - pic = #{record.pic,jdbcType=VARCHAR}, - - - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - click_count = #{record.clickCount,jdbcType=INTEGER}, - - - order_count = #{record.orderCount,jdbcType=INTEGER}, - - - url = #{record.url,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_advertise - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - type = #{record.type,jdbcType=INTEGER}, - pic = #{record.pic,jdbcType=VARCHAR}, - start_time = #{record.startTime,jdbcType=TIMESTAMP}, - end_time = #{record.endTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER}, - click_count = #{record.clickCount,jdbcType=INTEGER}, - order_count = #{record.orderCount,jdbcType=INTEGER}, - url = #{record.url,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_advertise - - - name = #{name,jdbcType=VARCHAR}, - - - type = #{type,jdbcType=INTEGER}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - start_time = #{startTime,jdbcType=TIMESTAMP}, - - - end_time = #{endTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - click_count = #{clickCount,jdbcType=INTEGER}, - - - order_count = #{orderCount,jdbcType=INTEGER}, - - - url = #{url,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_advertise - set name = #{name,jdbcType=VARCHAR}, - type = #{type,jdbcType=INTEGER}, - pic = #{pic,jdbcType=VARCHAR}, - start_time = #{startTime,jdbcType=TIMESTAMP}, - end_time = #{endTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER}, - click_count = #{clickCount,jdbcType=INTEGER}, - order_count = #{orderCount,jdbcType=INTEGER}, - url = #{url,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml index 20cb520..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, brand_id, brand_name, recommend_status, sort - - - - - delete from sms_home_brand - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_brand - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_brand (brand_id, brand_name, recommend_status, - sort) - values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_brand - - - brand_id, - - - brand_name, - - - recommend_status, - - - sort, - - - - - #{brandId,jdbcType=BIGINT}, - - - #{brandName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_brand - - - id = #{record.id,jdbcType=BIGINT}, - - - brand_id = #{record.brandId,jdbcType=BIGINT}, - - - brand_name = #{record.brandName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_brand - set id = #{record.id,jdbcType=BIGINT}, - brand_id = #{record.brandId,jdbcType=BIGINT}, - brand_name = #{record.brandName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_brand - - - brand_id = #{brandId,jdbcType=BIGINT}, - - - brand_name = #{brandName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_brand - set brand_id = #{brandId,jdbcType=BIGINT}, - brand_name = #{brandName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml index 1a67e33..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_name, recommend_status, sort - - - - - delete from sms_home_new_product - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_new_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_new_product (product_id, product_name, recommend_status, - sort) - values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_new_product - - - product_id, - - - product_name, - - - recommend_status, - - - sort, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_new_product - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_new_product - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_name = #{record.productName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_new_product - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_new_product - set product_id = #{productId,jdbcType=BIGINT}, - product_name = #{productName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml index 97cc08d..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, product_id, product_name, recommend_status, sort - - - - - delete from sms_home_recommend_product - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_recommend_product - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_product (product_id, product_name, recommend_status, - sort) - values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_product - - - product_id, - - - product_name, - - - recommend_status, - - - sort, - - - - - #{productId,jdbcType=BIGINT}, - - - #{productName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_recommend_product - - - id = #{record.id,jdbcType=BIGINT}, - - - product_id = #{record.productId,jdbcType=BIGINT}, - - - product_name = #{record.productName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_product - set id = #{record.id,jdbcType=BIGINT}, - product_id = #{record.productId,jdbcType=BIGINT}, - product_name = #{record.productName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_recommend_product - - - product_id = #{productId,jdbcType=BIGINT}, - - - product_name = #{productName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_recommend_product - set product_id = #{productId,jdbcType=BIGINT}, - product_name = #{productName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml index d64b123..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, subject_id, subject_name, recommend_status, sort - - - - - delete from sms_home_recommend_subject - where id = #{id,jdbcType=BIGINT} - - - delete from sms_home_recommend_subject - - - - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status, - sort) - values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, - #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into sms_home_recommend_subject - - - subject_id, - - - subject_name, - - - recommend_status, - - - sort, - - - - - #{subjectId,jdbcType=BIGINT}, - - - #{subjectName,jdbcType=VARCHAR}, - - - #{recommendStatus,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update sms_home_recommend_subject - - - id = #{record.id,jdbcType=BIGINT}, - - - subject_id = #{record.subjectId,jdbcType=BIGINT}, - - - subject_name = #{record.subjectName,jdbcType=VARCHAR}, - - - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_subject - set id = #{record.id,jdbcType=BIGINT}, - subject_id = #{record.subjectId,jdbcType=BIGINT}, - subject_name = #{record.subjectName,jdbcType=VARCHAR}, - recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update sms_home_recommend_subject - - - subject_id = #{subjectId,jdbcType=BIGINT}, - - - subject_name = #{subjectName,jdbcType=VARCHAR}, - - - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update sms_home_recommend_subject - set subject_id = #{subjectId,jdbcType=BIGINT}, - subject_name = #{subjectName,jdbcType=VARCHAR}, - recommend_status = #{recommendStatus,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml index 33ec6ae..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, admin_id, create_time, ip, address, user_agent - - - - - delete from ums_admin_login_log - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin_login_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_login_log (admin_id, create_time, ip, - address, user_agent) - values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, - #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_login_log - - - admin_id, - - - create_time, - - - ip, - - - address, - - - user_agent, - - - - - #{adminId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{ip,jdbcType=VARCHAR}, - - - #{address,jdbcType=VARCHAR}, - - - #{userAgent,jdbcType=VARCHAR}, - - - - - - update ums_admin_login_log - - - id = #{record.id,jdbcType=BIGINT}, - - - admin_id = #{record.adminId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - ip = #{record.ip,jdbcType=VARCHAR}, - - - address = #{record.address,jdbcType=VARCHAR}, - - - user_agent = #{record.userAgent,jdbcType=VARCHAR}, - - - - - - - - update ums_admin_login_log - set id = #{record.id,jdbcType=BIGINT}, - admin_id = #{record.adminId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - ip = #{record.ip,jdbcType=VARCHAR}, - address = #{record.address,jdbcType=VARCHAR}, - user_agent = #{record.userAgent,jdbcType=VARCHAR} - - - - - - update ums_admin_login_log - - - admin_id = #{adminId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - ip = #{ip,jdbcType=VARCHAR}, - - - address = #{address,jdbcType=VARCHAR}, - - - user_agent = #{userAgent,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin_login_log - set admin_id = #{adminId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - ip = #{ip,jdbcType=VARCHAR}, - address = #{address,jdbcType=VARCHAR}, - user_agent = #{userAgent,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml index 54ea3d4..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml @@ -1,290 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, username, password, icon, email, nick_name, note, create_time, login_time, status - - - - - delete from ums_admin - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin (username, password, icon, - email, nick_name, note, - create_time, login_time, status - ) - values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, - #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, - #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin - - - username, - - - password, - - - icon, - - - email, - - - nick_name, - - - note, - - - create_time, - - - login_time, - - - status, - - - - - #{username,jdbcType=VARCHAR}, - - - #{password,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{email,jdbcType=VARCHAR}, - - - #{nickName,jdbcType=VARCHAR}, - - - #{note,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{loginTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - - - - update ums_admin - - - id = #{record.id,jdbcType=BIGINT}, - - - username = #{record.username,jdbcType=VARCHAR}, - - - password = #{record.password,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - email = #{record.email,jdbcType=VARCHAR}, - - - nick_name = #{record.nickName,jdbcType=VARCHAR}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - login_time = #{record.loginTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - - - - - - update ums_admin - set id = #{record.id,jdbcType=BIGINT}, - username = #{record.username,jdbcType=VARCHAR}, - password = #{record.password,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - email = #{record.email,jdbcType=VARCHAR}, - nick_name = #{record.nickName,jdbcType=VARCHAR}, - note = #{record.note,jdbcType=VARCHAR}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - login_time = #{record.loginTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER} - - - - - - update ums_admin - - - username = #{username,jdbcType=VARCHAR}, - - - password = #{password,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - email = #{email,jdbcType=VARCHAR}, - - - nick_name = #{nickName,jdbcType=VARCHAR}, - - - note = #{note,jdbcType=VARCHAR}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - login_time = #{loginTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin - set username = #{username,jdbcType=VARCHAR}, - password = #{password,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - email = #{email,jdbcType=VARCHAR}, - nick_name = #{nickName,jdbcType=VARCHAR}, - note = #{note,jdbcType=VARCHAR}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - login_time = #{loginTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml index bb33129..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, admin_id, permission_id, type - - - - - delete from ums_admin_permission_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin_permission_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_permission_relation (admin_id, permission_id, type - ) - values (#{adminId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_permission_relation - - - admin_id, - - - permission_id, - - - type, - - - - - #{adminId,jdbcType=BIGINT}, - - - #{permissionId,jdbcType=BIGINT}, - - - #{type,jdbcType=INTEGER}, - - - - - - update ums_admin_permission_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - admin_id = #{record.adminId,jdbcType=BIGINT}, - - - permission_id = #{record.permissionId,jdbcType=BIGINT}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update ums_admin_permission_relation - set id = #{record.id,jdbcType=BIGINT}, - admin_id = #{record.adminId,jdbcType=BIGINT}, - permission_id = #{record.permissionId,jdbcType=BIGINT}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update ums_admin_permission_relation - - - admin_id = #{adminId,jdbcType=BIGINT}, - - - permission_id = #{permissionId,jdbcType=BIGINT}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin_permission_relation - set admin_id = #{adminId,jdbcType=BIGINT}, - permission_id = #{permissionId,jdbcType=BIGINT}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml index 0da5857..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, admin_id, role_id - - - - - delete from ums_admin_role_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_admin_role_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_role_relation (admin_id, role_id) - values (#{adminId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_admin_role_relation - - - admin_id, - - - role_id, - - - - - #{adminId,jdbcType=BIGINT}, - - - #{roleId,jdbcType=BIGINT}, - - - - - - update ums_admin_role_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - admin_id = #{record.adminId,jdbcType=BIGINT}, - - - role_id = #{record.roleId,jdbcType=BIGINT}, - - - - - - - - update ums_admin_role_relation - set id = #{record.id,jdbcType=BIGINT}, - admin_id = #{record.adminId,jdbcType=BIGINT}, - role_id = #{record.roleId,jdbcType=BIGINT} - - - - - - update ums_admin_role_relation - - - admin_id = #{adminId,jdbcType=BIGINT}, - - - role_id = #{roleId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_admin_role_relation - set admin_id = #{adminId,jdbcType=BIGINT}, - role_id = #{roleId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml index 8e6942b..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml @@ -1,259 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, change_type, change_count, operate_man, operate_note, - source_type - - - - - delete from ums_growth_change_history - where id = #{id,jdbcType=BIGINT} - - - delete from ums_growth_change_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_growth_change_history (member_id, create_time, change_type, - change_count, operate_man, operate_note, - source_type) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, - #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_growth_change_history - - - member_id, - - - create_time, - - - change_type, - - - change_count, - - - operate_man, - - - operate_note, - - - source_type, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{changeType,jdbcType=INTEGER}, - - - #{changeCount,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{operateNote,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - - - - update ums_growth_change_history - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{record.changeType,jdbcType=INTEGER}, - - - change_count = #{record.changeCount,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_growth_change_history - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - change_type = #{record.changeType,jdbcType=INTEGER}, - change_count = #{record.changeCount,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER} - - - - - - update ums_growth_change_history - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - change_type = #{changeType,jdbcType=INTEGER}, - - - change_count = #{changeCount,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - operate_note = #{operateNote,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_growth_change_history - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - change_type = #{changeType,jdbcType=INTEGER}, - change_count = #{changeCount,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - operate_note = #{operateNote,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml index d0c5bff..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml @@ -1,259 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, change_type, change_count, operate_man, operate_note, - source_type - - - - - delete from ums_integration_change_history - where id = #{id,jdbcType=BIGINT} - - - delete from ums_integration_change_history - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_change_history (member_id, create_time, change_type, - change_count, operate_man, operate_note, - source_type) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, - #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_change_history - - - member_id, - - - create_time, - - - change_type, - - - change_count, - - - operate_man, - - - operate_note, - - - source_type, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{changeType,jdbcType=INTEGER}, - - - #{changeCount,jdbcType=INTEGER}, - - - #{operateMan,jdbcType=VARCHAR}, - - - #{operateNote,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - - - - update ums_integration_change_history - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{record.changeType,jdbcType=INTEGER}, - - - change_count = #{record.changeCount,jdbcType=INTEGER}, - - - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_integration_change_history - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - change_type = #{record.changeType,jdbcType=INTEGER}, - change_count = #{record.changeCount,jdbcType=INTEGER}, - operate_man = #{record.operateMan,jdbcType=VARCHAR}, - operate_note = #{record.operateNote,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER} - - - - - - update ums_integration_change_history - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - change_type = #{changeType,jdbcType=INTEGER}, - - - change_count = #{changeCount,jdbcType=INTEGER}, - - - operate_man = #{operateMan,jdbcType=VARCHAR}, - - - operate_note = #{operateNote,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_integration_change_history - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - change_type = #{changeType,jdbcType=INTEGER}, - change_count = #{changeCount,jdbcType=INTEGER}, - operate_man = #{operateMan,jdbcType=VARCHAR}, - operate_note = #{operateNote,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml index b6ccb5a..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status - - - - - delete from ums_integration_consume_setting - where id = #{id,jdbcType=BIGINT} - - - delete from ums_integration_consume_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_consume_setting (deduction_per_amount, max_percent_per_order, - use_unit, coupon_status) - values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, - #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_integration_consume_setting - - - deduction_per_amount, - - - max_percent_per_order, - - - use_unit, - - - coupon_status, - - - - - #{deductionPerAmount,jdbcType=INTEGER}, - - - #{maxPercentPerOrder,jdbcType=INTEGER}, - - - #{useUnit,jdbcType=INTEGER}, - - - #{couponStatus,jdbcType=INTEGER}, - - - - - - update ums_integration_consume_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, - - - max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, - - - use_unit = #{record.useUnit,jdbcType=INTEGER}, - - - coupon_status = #{record.couponStatus,jdbcType=INTEGER}, - - - - - - - - update ums_integration_consume_setting - set id = #{record.id,jdbcType=BIGINT}, - deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, - max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, - use_unit = #{record.useUnit,jdbcType=INTEGER}, - coupon_status = #{record.couponStatus,jdbcType=INTEGER} - - - - - - update ums_integration_consume_setting - - - deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, - - - max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, - - - use_unit = #{useUnit,jdbcType=INTEGER}, - - - coupon_status = #{couponStatus,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_integration_consume_setting - set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, - max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, - use_unit = #{useUnit,jdbcType=INTEGER}, - coupon_status = #{couponStatus,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml index 8e1933b..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml @@ -1,339 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, growth_point, default_status, free_freight_point, comment_growth_point, - priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, - priviledge_member_price, priviledge_birthday, note - - - - - delete from ums_member_level - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_level - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_level (name, growth_point, default_status, - free_freight_point, comment_growth_point, priviledge_free_freight, - priviledge_sign_in, priviledge_comment, priviledge_promotion, - priviledge_member_price, priviledge_birthday, - note) - values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, - #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, - #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, - #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_level - - - name, - - - growth_point, - - - default_status, - - - free_freight_point, - - - comment_growth_point, - - - priviledge_free_freight, - - - priviledge_sign_in, - - - priviledge_comment, - - - priviledge_promotion, - - - priviledge_member_price, - - - priviledge_birthday, - - - note, - - - - - #{name,jdbcType=VARCHAR}, - - - #{growthPoint,jdbcType=INTEGER}, - - - #{defaultStatus,jdbcType=INTEGER}, - - - #{freeFreightPoint,jdbcType=DECIMAL}, - - - #{commentGrowthPoint,jdbcType=INTEGER}, - - - #{priviledgeFreeFreight,jdbcType=INTEGER}, - - - #{priviledgeSignIn,jdbcType=INTEGER}, - - - #{priviledgeComment,jdbcType=INTEGER}, - - - #{priviledgePromotion,jdbcType=INTEGER}, - - - #{priviledgeMemberPrice,jdbcType=INTEGER}, - - - #{priviledgeBirthday,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update ums_member_level - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - growth_point = #{record.growthPoint,jdbcType=INTEGER}, - - - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - - - free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, - - - comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, - - - priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, - - - priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, - - - priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, - - - priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, - - - priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, - - - priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, - - - note = #{record.note,jdbcType=VARCHAR}, - - - - - - - - update ums_member_level - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - growth_point = #{record.growthPoint,jdbcType=INTEGER}, - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, - comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, - priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, - priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, - priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, - priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, - priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, - priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, - note = #{record.note,jdbcType=VARCHAR} - - - - - - update ums_member_level - - - name = #{name,jdbcType=VARCHAR}, - - - growth_point = #{growthPoint,jdbcType=INTEGER}, - - - default_status = #{defaultStatus,jdbcType=INTEGER}, - - - free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, - - - comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, - - - priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, - - - priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, - - - priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, - - - priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, - - - priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, - - - priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, - - - note = #{note,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_level - set name = #{name,jdbcType=VARCHAR}, - growth_point = #{growthPoint,jdbcType=INTEGER}, - default_status = #{defaultStatus,jdbcType=INTEGER}, - free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, - comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, - priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, - priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, - priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, - priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, - priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, - priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, - note = #{note,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml index dd47812..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, create_time, ip, city, login_type, province - - - - - delete from ums_member_login_log - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_login_log - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_login_log (member_id, create_time, ip, - city, login_type, province - ) - values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, - #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_login_log - - - member_id, - - - create_time, - - - ip, - - - city, - - - login_type, - - - province, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{ip,jdbcType=VARCHAR}, - - - #{city,jdbcType=VARCHAR}, - - - #{loginType,jdbcType=INTEGER}, - - - #{province,jdbcType=VARCHAR}, - - - - - - update ums_member_login_log - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - ip = #{record.ip,jdbcType=VARCHAR}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - login_type = #{record.loginType,jdbcType=INTEGER}, - - - province = #{record.province,jdbcType=VARCHAR}, - - - - - - - - update ums_member_login_log - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - ip = #{record.ip,jdbcType=VARCHAR}, - city = #{record.city,jdbcType=VARCHAR}, - login_type = #{record.loginType,jdbcType=INTEGER}, - province = #{record.province,jdbcType=VARCHAR} - - - - - - update ums_member_login_log - - - member_id = #{memberId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - ip = #{ip,jdbcType=VARCHAR}, - - - city = #{city,jdbcType=VARCHAR}, - - - login_type = #{loginType,jdbcType=INTEGER}, - - - province = #{province,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_login_log - set member_id = #{memberId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - ip = #{ip,jdbcType=VARCHAR}, - city = #{city,jdbcType=VARCHAR}, - login_type = #{loginType,jdbcType=INTEGER}, - province = #{province,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml index 72d5c12..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml @@ -1,431 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_level_id, username, password, nickname, phone, status, create_time, icon, - gender, birthday, city, job, personalized_signature, source_type, integration, growth, - luckey_count, history_integration - - - - - delete from ums_member - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member (member_level_id, username, password, - nickname, phone, status, - create_time, icon, gender, - birthday, city, job, personalized_signature, - source_type, integration, growth, - luckey_count, history_integration) - values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, - #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, - #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, - #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, - #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, - #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member - - - member_level_id, - - - username, - - - password, - - - nickname, - - - phone, - - - status, - - - create_time, - - - icon, - - - gender, - - - birthday, - - - city, - - - job, - - - personalized_signature, - - - source_type, - - - integration, - - - growth, - - - luckey_count, - - - history_integration, - - - - - #{memberLevelId,jdbcType=BIGINT}, - - - #{username,jdbcType=VARCHAR}, - - - #{password,jdbcType=VARCHAR}, - - - #{nickname,jdbcType=VARCHAR}, - - - #{phone,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{icon,jdbcType=VARCHAR}, - - - #{gender,jdbcType=INTEGER}, - - - #{birthday,jdbcType=DATE}, - - - #{city,jdbcType=VARCHAR}, - - - #{job,jdbcType=VARCHAR}, - - - #{personalizedSignature,jdbcType=VARCHAR}, - - - #{sourceType,jdbcType=INTEGER}, - - - #{integration,jdbcType=INTEGER}, - - - #{growth,jdbcType=INTEGER}, - - - #{luckeyCount,jdbcType=INTEGER}, - - - #{historyIntegration,jdbcType=INTEGER}, - - - - - - update ums_member - - - id = #{record.id,jdbcType=BIGINT}, - - - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - - - username = #{record.username,jdbcType=VARCHAR}, - - - password = #{record.password,jdbcType=VARCHAR}, - - - nickname = #{record.nickname,jdbcType=VARCHAR}, - - - phone = #{record.phone,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - gender = #{record.gender,jdbcType=INTEGER}, - - - birthday = #{record.birthday,jdbcType=DATE}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - job = #{record.job,jdbcType=VARCHAR}, - - - personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, - - - source_type = #{record.sourceType,jdbcType=INTEGER}, - - - integration = #{record.integration,jdbcType=INTEGER}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, - - - history_integration = #{record.historyIntegration,jdbcType=INTEGER}, - - - - - - - - update ums_member - set id = #{record.id,jdbcType=BIGINT}, - member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, - username = #{record.username,jdbcType=VARCHAR}, - password = #{record.password,jdbcType=VARCHAR}, - nickname = #{record.nickname,jdbcType=VARCHAR}, - phone = #{record.phone,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - icon = #{record.icon,jdbcType=VARCHAR}, - gender = #{record.gender,jdbcType=INTEGER}, - birthday = #{record.birthday,jdbcType=DATE}, - city = #{record.city,jdbcType=VARCHAR}, - job = #{record.job,jdbcType=VARCHAR}, - personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, - source_type = #{record.sourceType,jdbcType=INTEGER}, - integration = #{record.integration,jdbcType=INTEGER}, - growth = #{record.growth,jdbcType=INTEGER}, - luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, - history_integration = #{record.historyIntegration,jdbcType=INTEGER} - - - - - - update ums_member - - - member_level_id = #{memberLevelId,jdbcType=BIGINT}, - - - username = #{username,jdbcType=VARCHAR}, - - - password = #{password,jdbcType=VARCHAR}, - - - nickname = #{nickname,jdbcType=VARCHAR}, - - - phone = #{phone,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - gender = #{gender,jdbcType=INTEGER}, - - - birthday = #{birthday,jdbcType=DATE}, - - - city = #{city,jdbcType=VARCHAR}, - - - job = #{job,jdbcType=VARCHAR}, - - - personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, - - - source_type = #{sourceType,jdbcType=INTEGER}, - - - integration = #{integration,jdbcType=INTEGER}, - - - growth = #{growth,jdbcType=INTEGER}, - - - luckey_count = #{luckeyCount,jdbcType=INTEGER}, - - - history_integration = #{historyIntegration,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member - set member_level_id = #{memberLevelId,jdbcType=BIGINT}, - username = #{username,jdbcType=VARCHAR}, - password = #{password,jdbcType=VARCHAR}, - nickname = #{nickname,jdbcType=VARCHAR}, - phone = #{phone,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - icon = #{icon,jdbcType=VARCHAR}, - gender = #{gender,jdbcType=INTEGER}, - birthday = #{birthday,jdbcType=DATE}, - city = #{city,jdbcType=VARCHAR}, - job = #{job,jdbcType=VARCHAR}, - personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, - source_type = #{sourceType,jdbcType=INTEGER}, - integration = #{integration,jdbcType=INTEGER}, - growth = #{growth,jdbcType=INTEGER}, - luckey_count = #{luckeyCount,jdbcType=INTEGER}, - history_integration = #{historyIntegration,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml index c125f4c..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, tag_id - - - - - delete from ums_member_member_tag_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_member_tag_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_member_tag_relation (member_id, tag_id) - values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_member_tag_relation - - - member_id, - - - tag_id, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{tagId,jdbcType=BIGINT}, - - - - - - update ums_member_member_tag_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - tag_id = #{record.tagId,jdbcType=BIGINT}, - - - - - - - - update ums_member_member_tag_relation - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - tag_id = #{record.tagId,jdbcType=BIGINT} - - - - - - update ums_member_member_tag_relation - - - member_id = #{memberId,jdbcType=BIGINT}, - - - tag_id = #{tagId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_member_tag_relation - set member_id = #{memberId,jdbcType=BIGINT}, - tag_id = #{tagId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml index 6aba472..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, product_category_id - - - - - delete from ums_member_product_category_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_product_category_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_product_category_relation (member_id, product_category_id) - values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_product_category_relation - - - member_id, - - - product_category_id, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{productCategoryId,jdbcType=BIGINT}, - - - - - - update ums_member_product_category_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, - - - - - - - - update ums_member_product_category_relation - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - product_category_id = #{record.productCategoryId,jdbcType=BIGINT} - - - - - - update ums_member_product_category_relation - - - member_id = #{memberId,jdbcType=BIGINT}, - - - product_category_id = #{productCategoryId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_product_category_relation - set member_id = #{memberId,jdbcType=BIGINT}, - product_category_id = #{productCategoryId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml index 09d23c2..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, name, phone_number, default_status, post_code, province, city, region, - detail_address - - - - - delete from ums_member_receive_address - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_receive_address - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_receive_address (member_id, name, phone_number, - default_status, post_code, province, - city, region, detail_address - ) - values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, - #{defaultStatus,jdbcType=INTEGER}, #{postCode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, - #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_receive_address - - - member_id, - - - name, - - - phone_number, - - - default_status, - - - post_code, - - - province, - - - city, - - - region, - - - detail_address, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{phoneNumber,jdbcType=VARCHAR}, - - - #{defaultStatus,jdbcType=INTEGER}, - - - #{postCode,jdbcType=VARCHAR}, - - - #{province,jdbcType=VARCHAR}, - - - #{city,jdbcType=VARCHAR}, - - - #{region,jdbcType=VARCHAR}, - - - #{detailAddress,jdbcType=VARCHAR}, - - - - - - update ums_member_receive_address - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, - - - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - - - post_code = #{record.postCode,jdbcType=VARCHAR}, - - - province = #{record.province,jdbcType=VARCHAR}, - - - city = #{record.city,jdbcType=VARCHAR}, - - - region = #{record.region,jdbcType=VARCHAR}, - - - detail_address = #{record.detailAddress,jdbcType=VARCHAR}, - - - - - - - - update ums_member_receive_address - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, - default_status = #{record.defaultStatus,jdbcType=INTEGER}, - post_code = #{record.postCode,jdbcType=VARCHAR}, - province = #{record.province,jdbcType=VARCHAR}, - city = #{record.city,jdbcType=VARCHAR}, - region = #{record.region,jdbcType=VARCHAR}, - detail_address = #{record.detailAddress,jdbcType=VARCHAR} - - - - - - update ums_member_receive_address - - - member_id = #{memberId,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - phone_number = #{phoneNumber,jdbcType=VARCHAR}, - - - default_status = #{defaultStatus,jdbcType=INTEGER}, - - - post_code = #{postCode,jdbcType=VARCHAR}, - - - province = #{province,jdbcType=VARCHAR}, - - - city = #{city,jdbcType=VARCHAR}, - - - region = #{region,jdbcType=VARCHAR}, - - - detail_address = #{detailAddress,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_receive_address - set member_id = #{memberId,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - phone_number = #{phoneNumber,jdbcType=VARCHAR}, - default_status = #{defaultStatus,jdbcType=INTEGER}, - post_code = #{postCode,jdbcType=VARCHAR}, - province = #{province,jdbcType=VARCHAR}, - city = #{city,jdbcType=VARCHAR}, - region = #{region,jdbcType=VARCHAR}, - detail_address = #{detailAddress,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml index cd185b5..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, - max_point_per_order, type - - - - - delete from ums_member_rule_setting - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_rule_setting - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_rule_setting (continue_sign_day, continue_sign_point, - consume_per_point, low_order_amount, max_point_per_order, - type) - values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, - #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, - #{type,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_rule_setting - - - continue_sign_day, - - - continue_sign_point, - - - consume_per_point, - - - low_order_amount, - - - max_point_per_order, - - - type, - - - - - #{continueSignDay,jdbcType=INTEGER}, - - - #{continueSignPoint,jdbcType=INTEGER}, - - - #{consumePerPoint,jdbcType=DECIMAL}, - - - #{lowOrderAmount,jdbcType=DECIMAL}, - - - #{maxPointPerOrder,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update ums_member_rule_setting - - - id = #{record.id,jdbcType=BIGINT}, - - - continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, - - - continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, - - - consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, - - - low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, - - - max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_rule_setting - set id = #{record.id,jdbcType=BIGINT}, - continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, - continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, - consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, - low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, - max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update ums_member_rule_setting - - - continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, - - - continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, - - - consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, - - - low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, - - - max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_rule_setting - set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, - continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, - consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, - low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, - max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml index a5733a4..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml @@ -1,386 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, - login_count, attend_count, fans_count, collect_product_count, collect_subject_count, - collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time - - - - - delete from ums_member_statistics_info - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_statistics_info - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_statistics_info (member_id, consume_amount, order_count, - coupon_count, comment_count, return_order_count, - login_count, attend_count, fans_count, - collect_product_count, collect_subject_count, - collect_topic_count, collect_comment_count, - invite_friend_count, recent_order_time) - values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, - #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, - #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, - #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, - #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, - #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_statistics_info - - - member_id, - - - consume_amount, - - - order_count, - - - coupon_count, - - - comment_count, - - - return_order_count, - - - login_count, - - - attend_count, - - - fans_count, - - - collect_product_count, - - - collect_subject_count, - - - collect_topic_count, - - - collect_comment_count, - - - invite_friend_count, - - - recent_order_time, - - - - - #{memberId,jdbcType=BIGINT}, - - - #{consumeAmount,jdbcType=DECIMAL}, - - - #{orderCount,jdbcType=INTEGER}, - - - #{couponCount,jdbcType=INTEGER}, - - - #{commentCount,jdbcType=INTEGER}, - - - #{returnOrderCount,jdbcType=INTEGER}, - - - #{loginCount,jdbcType=INTEGER}, - - - #{attendCount,jdbcType=INTEGER}, - - - #{fansCount,jdbcType=INTEGER}, - - - #{collectProductCount,jdbcType=INTEGER}, - - - #{collectSubjectCount,jdbcType=INTEGER}, - - - #{collectTopicCount,jdbcType=INTEGER}, - - - #{collectCommentCount,jdbcType=INTEGER}, - - - #{inviteFriendCount,jdbcType=INTEGER}, - - - #{recentOrderTime,jdbcType=TIMESTAMP}, - - - - - - update ums_member_statistics_info - - - id = #{record.id,jdbcType=BIGINT}, - - - member_id = #{record.memberId,jdbcType=BIGINT}, - - - consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, - - - order_count = #{record.orderCount,jdbcType=INTEGER}, - - - coupon_count = #{record.couponCount,jdbcType=INTEGER}, - - - comment_count = #{record.commentCount,jdbcType=INTEGER}, - - - return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, - - - login_count = #{record.loginCount,jdbcType=INTEGER}, - - - attend_count = #{record.attendCount,jdbcType=INTEGER}, - - - fans_count = #{record.fansCount,jdbcType=INTEGER}, - - - collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, - - - collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, - - - collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, - - - collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, - - - invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, - - - recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, - - - - - - - - update ums_member_statistics_info - set id = #{record.id,jdbcType=BIGINT}, - member_id = #{record.memberId,jdbcType=BIGINT}, - consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, - order_count = #{record.orderCount,jdbcType=INTEGER}, - coupon_count = #{record.couponCount,jdbcType=INTEGER}, - comment_count = #{record.commentCount,jdbcType=INTEGER}, - return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, - login_count = #{record.loginCount,jdbcType=INTEGER}, - attend_count = #{record.attendCount,jdbcType=INTEGER}, - fans_count = #{record.fansCount,jdbcType=INTEGER}, - collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, - collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, - collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, - collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, - invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, - recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} - - - - - - update ums_member_statistics_info - - - member_id = #{memberId,jdbcType=BIGINT}, - - - consume_amount = #{consumeAmount,jdbcType=DECIMAL}, - - - order_count = #{orderCount,jdbcType=INTEGER}, - - - coupon_count = #{couponCount,jdbcType=INTEGER}, - - - comment_count = #{commentCount,jdbcType=INTEGER}, - - - return_order_count = #{returnOrderCount,jdbcType=INTEGER}, - - - login_count = #{loginCount,jdbcType=INTEGER}, - - - attend_count = #{attendCount,jdbcType=INTEGER}, - - - fans_count = #{fansCount,jdbcType=INTEGER}, - - - collect_product_count = #{collectProductCount,jdbcType=INTEGER}, - - - collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, - - - collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, - - - collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, - - - invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, - - - recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_statistics_info - set member_id = #{memberId,jdbcType=BIGINT}, - consume_amount = #{consumeAmount,jdbcType=DECIMAL}, - order_count = #{orderCount,jdbcType=INTEGER}, - coupon_count = #{couponCount,jdbcType=INTEGER}, - comment_count = #{commentCount,jdbcType=INTEGER}, - return_order_count = #{returnOrderCount,jdbcType=INTEGER}, - login_count = #{loginCount,jdbcType=INTEGER}, - attend_count = #{attendCount,jdbcType=INTEGER}, - fans_count = #{fansCount,jdbcType=INTEGER}, - collect_product_count = #{collectProductCount,jdbcType=INTEGER}, - collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, - collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, - collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, - invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, - recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml index 085675b..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, finish_order_count, finish_order_amount - - - - - delete from ums_member_tag - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_tag - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_tag (name, finish_order_count, finish_order_amount - ) - values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_tag - - - name, - - - finish_order_count, - - - finish_order_amount, - - - - - #{name,jdbcType=VARCHAR}, - - - #{finishOrderCount,jdbcType=INTEGER}, - - - #{finishOrderAmount,jdbcType=DECIMAL}, - - - - - - update ums_member_tag - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, - - - finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, - - - - - - - - update ums_member_tag - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, - finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} - - - - - - update ums_member_tag - - - name = #{name,jdbcType=VARCHAR}, - - - finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, - - - finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_tag - set name = #{name,jdbcType=VARCHAR}, - finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, - finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml index 2e661a9..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, growth, intergration, type - - - - - delete from ums_member_task - where id = #{id,jdbcType=BIGINT} - - - delete from ums_member_task - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_task (name, growth, intergration, - type) - values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, - #{type,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_member_task - - - name, - - - growth, - - - intergration, - - - type, - - - - - #{name,jdbcType=VARCHAR}, - - - #{growth,jdbcType=INTEGER}, - - - #{intergration,jdbcType=INTEGER}, - - - #{type,jdbcType=INTEGER}, - - - - - - update ums_member_task - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - growth = #{record.growth,jdbcType=INTEGER}, - - - intergration = #{record.intergration,jdbcType=INTEGER}, - - - type = #{record.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_task - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - growth = #{record.growth,jdbcType=INTEGER}, - intergration = #{record.intergration,jdbcType=INTEGER}, - type = #{record.type,jdbcType=INTEGER} - - - - - - update ums_member_task - - - name = #{name,jdbcType=VARCHAR}, - - - growth = #{growth,jdbcType=INTEGER}, - - - intergration = #{intergration,jdbcType=INTEGER}, - - - type = #{type,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_member_task - set name = #{name,jdbcType=VARCHAR}, - growth = #{growth,jdbcType=INTEGER}, - intergration = #{intergration,jdbcType=INTEGER}, - type = #{type,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml index 7828f7f..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml @@ -1,273 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, parent_id, create_time, title, level, sort, name, icon, hidden - - - - - delete from ums_menu - where id = #{id,jdbcType=BIGINT} - - - delete from ums_menu - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_menu (parent_id, create_time, title, - level, sort, name, - icon, hidden) - values (#{parentId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{title,jdbcType=VARCHAR}, - #{level,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, - #{icon,jdbcType=VARCHAR}, #{hidden,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_menu - - - parent_id, - - - create_time, - - - title, - - - level, - - - sort, - - - name, - - - icon, - - - hidden, - - - - - #{parentId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{title,jdbcType=VARCHAR}, - - - #{level,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{hidden,jdbcType=INTEGER}, - - - - - - update ums_menu - - - id = #{record.id,jdbcType=BIGINT}, - - - parent_id = #{record.parentId,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - title = #{record.title,jdbcType=VARCHAR}, - - - level = #{record.level,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - hidden = #{record.hidden,jdbcType=INTEGER}, - - - - - - - - update ums_menu - set id = #{record.id,jdbcType=BIGINT}, - parent_id = #{record.parentId,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - title = #{record.title,jdbcType=VARCHAR}, - level = #{record.level,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER}, - name = #{record.name,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - hidden = #{record.hidden,jdbcType=INTEGER} - - - - - - update ums_menu - - - parent_id = #{parentId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - title = #{title,jdbcType=VARCHAR}, - - - level = #{level,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - hidden = #{hidden,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_menu - set parent_id = #{parentId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - title = #{title,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - hidden = #{hidden,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml index 7f3c41a..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml @@ -1,288 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, pid, name, value, icon, type, uri, status, create_time, sort - - - - - delete from ums_permission - where id = #{id,jdbcType=BIGINT} - - - delete from ums_permission - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_permission (pid, name, value, - icon, type, uri, status, - create_time, sort) - values (#{pid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR}, - #{icon,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{uri,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, - #{createTime,jdbcType=TIMESTAMP}, #{sort,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_permission - - - pid, - - - name, - - - value, - - - icon, - - - type, - - - uri, - - - status, - - - create_time, - - - sort, - - - - - #{pid,jdbcType=BIGINT}, - - - #{name,jdbcType=VARCHAR}, - - - #{value,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{type,jdbcType=INTEGER}, - - - #{uri,jdbcType=VARCHAR}, - - - #{status,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update ums_permission - - - id = #{record.id,jdbcType=BIGINT}, - - - pid = #{record.pid,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - value = #{record.value,jdbcType=VARCHAR}, - - - icon = #{record.icon,jdbcType=VARCHAR}, - - - type = #{record.type,jdbcType=INTEGER}, - - - uri = #{record.uri,jdbcType=VARCHAR}, - - - status = #{record.status,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update ums_permission - set id = #{record.id,jdbcType=BIGINT}, - pid = #{record.pid,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - value = #{record.value,jdbcType=VARCHAR}, - icon = #{record.icon,jdbcType=VARCHAR}, - type = #{record.type,jdbcType=INTEGER}, - uri = #{record.uri,jdbcType=VARCHAR}, - status = #{record.status,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update ums_permission - - - pid = #{pid,jdbcType=BIGINT}, - - - name = #{name,jdbcType=VARCHAR}, - - - value = #{value,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - type = #{type,jdbcType=INTEGER}, - - - uri = #{uri,jdbcType=VARCHAR}, - - - status = #{status,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_permission - set pid = #{pid,jdbcType=BIGINT}, - name = #{name,jdbcType=VARCHAR}, - value = #{value,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - type = #{type,jdbcType=INTEGER}, - uri = #{uri,jdbcType=VARCHAR}, - status = #{status,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml index 58cb392..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, create_time, name, sort - - - - - delete from ums_resource_category - where id = #{id,jdbcType=BIGINT} - - - delete from ums_resource_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource_category (create_time, name, sort - ) - values (#{createTime,jdbcType=TIMESTAMP}, #{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource_category - - - create_time, - - - name, - - - sort, - - - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{name,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update ums_resource_category - - - id = #{record.id,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update ums_resource_category - set id = #{record.id,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - name = #{record.name,jdbcType=VARCHAR}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update ums_resource_category - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - name = #{name,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_resource_category - set create_time = #{createTime,jdbcType=TIMESTAMP}, - name = #{name,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml index 9035288..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, create_time, name, url, description, category_id - - - - - delete from ums_resource - where id = #{id,jdbcType=BIGINT} - - - delete from ums_resource - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource (create_time, name, url, - description, category_id) - values (#{createTime,jdbcType=TIMESTAMP}, #{name,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, - #{description,jdbcType=VARCHAR}, #{categoryId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource - - - create_time, - - - name, - - - url, - - - description, - - - category_id, - - - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{name,jdbcType=VARCHAR}, - - - #{url,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{categoryId,jdbcType=BIGINT}, - - - - - - update ums_resource - - - id = #{record.id,jdbcType=BIGINT}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - url = #{record.url,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - category_id = #{record.categoryId,jdbcType=BIGINT}, - - - - - - - - update ums_resource - set id = #{record.id,jdbcType=BIGINT}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - name = #{record.name,jdbcType=VARCHAR}, - url = #{record.url,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - category_id = #{record.categoryId,jdbcType=BIGINT} - - - - - - update ums_resource - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - name = #{name,jdbcType=VARCHAR}, - - - url = #{url,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_resource - set create_time = #{createTime,jdbcType=TIMESTAMP}, - name = #{name,jdbcType=VARCHAR}, - url = #{url,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - category_id = #{categoryId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml index dffd168..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, name, description, admin_count, create_time, status, sort - - - - - delete from ums_role - where id = #{id,jdbcType=BIGINT} - - - delete from ums_role - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_role (name, description, admin_count, - create_time, status, sort - ) - values (#{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{adminCount,jdbcType=INTEGER}, - #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_role - - - name, - - - description, - - - admin_count, - - - create_time, - - - status, - - - sort, - - - - - #{name,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{adminCount,jdbcType=INTEGER}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{status,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update ums_role - - - id = #{record.id,jdbcType=BIGINT}, - - - name = #{record.name,jdbcType=VARCHAR}, - - - description = #{record.description,jdbcType=VARCHAR}, - - - admin_count = #{record.adminCount,jdbcType=INTEGER}, - - - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - - - status = #{record.status,jdbcType=INTEGER}, - - - sort = #{record.sort,jdbcType=INTEGER}, - - - - - - - - update ums_role - set id = #{record.id,jdbcType=BIGINT}, - name = #{record.name,jdbcType=VARCHAR}, - description = #{record.description,jdbcType=VARCHAR}, - admin_count = #{record.adminCount,jdbcType=INTEGER}, - create_time = #{record.createTime,jdbcType=TIMESTAMP}, - status = #{record.status,jdbcType=INTEGER}, - sort = #{record.sort,jdbcType=INTEGER} - - - - - - update ums_role - - - name = #{name,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - admin_count = #{adminCount,jdbcType=INTEGER}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - status = #{status,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_role - set name = #{name,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - admin_count = #{adminCount,jdbcType=INTEGER}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - status = #{status,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml index 06e2d5c..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, role_id, menu_id - - - - - delete from ums_role_menu_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_role_menu_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_menu_relation (role_id, menu_id) - values (#{roleId,jdbcType=BIGINT}, #{menuId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_menu_relation - - - role_id, - - - menu_id, - - - - - #{roleId,jdbcType=BIGINT}, - - - #{menuId,jdbcType=BIGINT}, - - - - - - update ums_role_menu_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - role_id = #{record.roleId,jdbcType=BIGINT}, - - - menu_id = #{record.menuId,jdbcType=BIGINT}, - - - - - - - - update ums_role_menu_relation - set id = #{record.id,jdbcType=BIGINT}, - role_id = #{record.roleId,jdbcType=BIGINT}, - menu_id = #{record.menuId,jdbcType=BIGINT} - - - - - - update ums_role_menu_relation - - - role_id = #{roleId,jdbcType=BIGINT}, - - - menu_id = #{menuId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_role_menu_relation - set role_id = #{roleId,jdbcType=BIGINT}, - menu_id = #{menuId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml index 72a4eb9..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, role_id, permission_id - - - - - delete from ums_role_permission_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_role_permission_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_permission_relation (role_id, permission_id) - values (#{roleId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_permission_relation - - - role_id, - - - permission_id, - - - - - #{roleId,jdbcType=BIGINT}, - - - #{permissionId,jdbcType=BIGINT}, - - - - - - update ums_role_permission_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - role_id = #{record.roleId,jdbcType=BIGINT}, - - - permission_id = #{record.permissionId,jdbcType=BIGINT}, - - - - - - - - update ums_role_permission_relation - set id = #{record.id,jdbcType=BIGINT}, - role_id = #{record.roleId,jdbcType=BIGINT}, - permission_id = #{record.permissionId,jdbcType=BIGINT} - - - - - - update ums_role_permission_relation - - - role_id = #{roleId,jdbcType=BIGINT}, - - - permission_id = #{permissionId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_role_permission_relation - set role_id = #{roleId,jdbcType=BIGINT}, - permission_id = #{permissionId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml index 4a6b30a..e69de29 100644 --- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, role_id, resource_id - - - - - delete from ums_role_resource_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_role_resource_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_resource_relation (role_id, resource_id) - values (#{roleId,jdbcType=BIGINT}, #{resourceId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_resource_relation - - - role_id, - - - resource_id, - - - - - #{roleId,jdbcType=BIGINT}, - - - #{resourceId,jdbcType=BIGINT}, - - - - - - update ums_role_resource_relation - - - id = #{record.id,jdbcType=BIGINT}, - - - role_id = #{record.roleId,jdbcType=BIGINT}, - - - resource_id = #{record.resourceId,jdbcType=BIGINT}, - - - - - - - - update ums_role_resource_relation - set id = #{record.id,jdbcType=BIGINT}, - role_id = #{record.roleId,jdbcType=BIGINT}, - resource_id = #{record.resourceId,jdbcType=BIGINT} - - - - - - update ums_role_resource_relation - - - role_id = #{roleId,jdbcType=BIGINT}, - - - resource_id = #{resourceId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_role_resource_relation - set role_id = #{roleId,jdbcType=BIGINT}, - resource_id = #{resourceId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/mall-mbg/src/main/resources/generatorConfig.xml b/mall-mbg/src/main/resources/generatorConfig.xml index 9025dd8..e69de29 100644 --- a/mall-mbg/src/main/resources/generatorConfig.xml +++ b/mall-mbg/src/main/resources/generatorConfig.xml @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
\ No newline at end of file