mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
saas h5
This commit is contained in:
parent
30687d7686
commit
9780b90795
@ -1,48 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<groupId>com.macro.mall</groupId>
|
|
||||||
<artifactId>ruoyi-mall-mbg</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
|
||||||
<name>ruoyi-mall-mbg</name>
|
|
||||||
<description>ruoyi-mall-mbg project for mall</description>
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>com.macro.mall</groupId>
|
|
||||||
<artifactId>mall-swarm</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.macro.mall</groupId>
|
|
||||||
<artifactId>mall-common</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.github.pagehelper</groupId>
|
|
||||||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.mybatis.spring.boot</groupId>
|
|
||||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.alibaba</groupId>
|
|
||||||
<artifactId>druid-spring-boot-starter</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.mybatis.generator</groupId>
|
|
||||||
<artifactId>mybatis-generator-core</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>mysql</groupId>
|
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
@ -1,74 +0,0 @@
|
|||||||
package com.macro.mall;
|
|
||||||
|
|
||||||
import org.mybatis.generator.api.IntrospectedColumn;
|
|
||||||
import org.mybatis.generator.api.IntrospectedTable;
|
|
||||||
import org.mybatis.generator.api.dom.java.CompilationUnit;
|
|
||||||
import org.mybatis.generator.api.dom.java.Field;
|
|
||||||
import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType;
|
|
||||||
import org.mybatis.generator.internal.DefaultCommentGenerator;
|
|
||||||
import org.mybatis.generator.internal.util.StringUtility;
|
|
||||||
|
|
||||||
import java.util.Properties;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 自定义注释生成器
|
|
||||||
* Created by macro on 2018/4/26.
|
|
||||||
*/
|
|
||||||
public class CommentGenerator extends DefaultCommentGenerator {
|
|
||||||
private boolean addRemarkComments = false;
|
|
||||||
private static final String EXAMPLE_SUFFIX="Example";
|
|
||||||
private static final String MAPPER_SUFFIX="Mapper";
|
|
||||||
private static final String API_MODEL_PROPERTY_FULL_CLASS_NAME="io.swagger.v3.oas.annotations.media.Schema";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 设置用户配置的参数
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public void addConfigurationProperties(Properties properties) {
|
|
||||||
super.addConfigurationProperties(properties);
|
|
||||||
this.addRemarkComments = StringUtility.isTrue(properties.getProperty("addRemarkComments"));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 给字段添加注释
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public void addFieldComment(Field field, IntrospectedTable introspectedTable,
|
|
||||||
IntrospectedColumn introspectedColumn) {
|
|
||||||
String remarks = introspectedColumn.getRemarks();
|
|
||||||
//根据参数和备注信息判断是否添加swagger注解信息
|
|
||||||
if(addRemarkComments&&StringUtility.stringHasValue(remarks)){
|
|
||||||
// addFieldJavaDoc(field, remarks);
|
|
||||||
//数据库中特殊字符需要转义
|
|
||||||
if(remarks.contains("\"")){
|
|
||||||
remarks = remarks.replace("\"","'");
|
|
||||||
}
|
|
||||||
//给model的字段添加swagger注解
|
|
||||||
field.addJavaDocLine("@Schema(title = \""+remarks+"\")");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 给model的字段添加注释
|
|
||||||
*/
|
|
||||||
private void addFieldJavaDoc(Field field, String remarks) {
|
|
||||||
//文档注释开始
|
|
||||||
field.addJavaDocLine("/**");
|
|
||||||
//获取数据库字段的备注信息
|
|
||||||
String[] remarkLines = remarks.split(System.getProperty("line.separator"));
|
|
||||||
for(String remarkLine:remarkLines){
|
|
||||||
field.addJavaDocLine(" * "+remarkLine);
|
|
||||||
}
|
|
||||||
addJavadocTag(field, false);
|
|
||||||
field.addJavaDocLine(" */");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void addJavaFileComment(CompilationUnit compilationUnit) {
|
|
||||||
super.addJavaFileComment(compilationUnit);
|
|
||||||
//只在model中添加swagger注解类的导入
|
|
||||||
if(!compilationUnit.getType().getFullyQualifiedName().contains(MAPPER_SUFFIX)&&!compilationUnit.getType().getFullyQualifiedName().contains(EXAMPLE_SUFFIX)){
|
|
||||||
compilationUnit.addImportedType(new FullyQualifiedJavaType(API_MODEL_PROPERTY_FULL_CLASS_NAME));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,38 +0,0 @@
|
|||||||
package com.macro.mall;
|
|
||||||
|
|
||||||
import org.mybatis.generator.api.MyBatisGenerator;
|
|
||||||
import org.mybatis.generator.config.Configuration;
|
|
||||||
import org.mybatis.generator.config.xml.ConfigurationParser;
|
|
||||||
import org.mybatis.generator.internal.DefaultShellCallback;
|
|
||||||
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 用于生产MBG的代码
|
|
||||||
* Created by macro on 2018/4/26.
|
|
||||||
*/
|
|
||||||
public class Generator {
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
//MBG 执行过程中的警告信息
|
|
||||||
List<String> warnings = new ArrayList<String>();
|
|
||||||
//当生成的代码重复时,覆盖原代码
|
|
||||||
boolean overwrite = true;
|
|
||||||
//读取我们的 MBG 配置文件
|
|
||||||
InputStream is = Generator.class.getResourceAsStream("/generatorConfig.xml");
|
|
||||||
ConfigurationParser cp = new ConfigurationParser(warnings);
|
|
||||||
Configuration config = cp.parseConfiguration(is);
|
|
||||||
is.close();
|
|
||||||
|
|
||||||
DefaultShellCallback callback = new DefaultShellCallback(overwrite);
|
|
||||||
//创建 MBG
|
|
||||||
MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings);
|
|
||||||
//执行生成代码
|
|
||||||
myBatisGenerator.generate(null);
|
|
||||||
//输出警告信息
|
|
||||||
for (String warning : warnings) {
|
|
||||||
System.out.println(warning);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,30 +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;
|
|
||||||
|
|
||||||
public interface CmsHelpCategoryMapper {
|
|
||||||
long countByExample(CmsHelpCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsHelpCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsHelpCategory row);
|
|
||||||
|
|
||||||
int insertSelective(CmsHelpCategory row);
|
|
||||||
|
|
||||||
List<CmsHelpCategory> selectByExample(CmsHelpCategoryExample example);
|
|
||||||
|
|
||||||
CmsHelpCategory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsHelpCategory row, @Param("example") CmsHelpCategoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsHelpCategory row, @Param("example") CmsHelpCategoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsHelpCategory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsHelpCategory row);
|
|
||||||
}
|
|
||||||
@ -1,36 +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;
|
|
||||||
|
|
||||||
public interface CmsHelpMapper {
|
|
||||||
long countByExample(CmsHelpExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsHelpExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsHelp row);
|
|
||||||
|
|
||||||
int insertSelective(CmsHelp row);
|
|
||||||
|
|
||||||
List<CmsHelp> selectByExampleWithBLOBs(CmsHelpExample example);
|
|
||||||
|
|
||||||
List<CmsHelp> selectByExample(CmsHelpExample example);
|
|
||||||
|
|
||||||
CmsHelp selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsHelp row, @Param("example") CmsHelpExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") CmsHelp row, @Param("example") CmsHelpExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsHelp row, @Param("example") CmsHelpExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsHelp row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(CmsHelp row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsHelp row);
|
|
||||||
}
|
|
||||||
@ -1,22 +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;
|
|
||||||
|
|
||||||
public interface CmsMemberReportMapper {
|
|
||||||
long countByExample(CmsMemberReportExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsMemberReportExample example);
|
|
||||||
|
|
||||||
int insert(CmsMemberReport row);
|
|
||||||
|
|
||||||
int insertSelective(CmsMemberReport row);
|
|
||||||
|
|
||||||
List<CmsMemberReport> selectByExample(CmsMemberReportExample example);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsMemberReport row, @Param("example") CmsMemberReportExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsMemberReport row, @Param("example") CmsMemberReportExample example);
|
|
||||||
}
|
|
||||||
@ -1,36 +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;
|
|
||||||
|
|
||||||
public interface CmsPrefrenceAreaMapper {
|
|
||||||
long countByExample(CmsPrefrenceAreaExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsPrefrenceAreaExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsPrefrenceArea row);
|
|
||||||
|
|
||||||
int insertSelective(CmsPrefrenceArea row);
|
|
||||||
|
|
||||||
List<CmsPrefrenceArea> selectByExampleWithBLOBs(CmsPrefrenceAreaExample example);
|
|
||||||
|
|
||||||
List<CmsPrefrenceArea> selectByExample(CmsPrefrenceAreaExample example);
|
|
||||||
|
|
||||||
CmsPrefrenceArea selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsPrefrenceArea row, @Param("example") CmsPrefrenceAreaExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") CmsPrefrenceArea row, @Param("example") CmsPrefrenceAreaExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsPrefrenceArea row, @Param("example") CmsPrefrenceAreaExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsPrefrenceArea row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(CmsPrefrenceArea row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsPrefrenceArea row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsPrefrenceAreaProductRelation;
|
|
||||||
import com.macro.mall.model.CmsPrefrenceAreaProductRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsPrefrenceAreaProductRelationMapper {
|
|
||||||
long countByExample(CmsPrefrenceAreaProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsPrefrenceAreaProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsPrefrenceAreaProductRelation row);
|
|
||||||
|
|
||||||
int insertSelective(CmsPrefrenceAreaProductRelation row);
|
|
||||||
|
|
||||||
List<CmsPrefrenceAreaProductRelation> selectByExample(CmsPrefrenceAreaProductRelationExample example);
|
|
||||||
|
|
||||||
CmsPrefrenceAreaProductRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsPrefrenceAreaProductRelation row, @Param("example") CmsPrefrenceAreaProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsPrefrenceAreaProductRelation row, @Param("example") CmsPrefrenceAreaProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsPrefrenceAreaProductRelation row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsSubjectCategory;
|
|
||||||
import com.macro.mall.model.CmsSubjectCategoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsSubjectCategoryMapper {
|
|
||||||
long countByExample(CmsSubjectCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsSubjectCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsSubjectCategory row);
|
|
||||||
|
|
||||||
int insertSelective(CmsSubjectCategory row);
|
|
||||||
|
|
||||||
List<CmsSubjectCategory> selectByExample(CmsSubjectCategoryExample example);
|
|
||||||
|
|
||||||
CmsSubjectCategory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsSubjectCategory row, @Param("example") CmsSubjectCategoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsSubjectCategory row, @Param("example") CmsSubjectCategoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsSubjectCategory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsSubjectCategory row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsSubjectComment;
|
|
||||||
import com.macro.mall.model.CmsSubjectCommentExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsSubjectCommentMapper {
|
|
||||||
long countByExample(CmsSubjectCommentExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsSubjectCommentExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsSubjectComment row);
|
|
||||||
|
|
||||||
int insertSelective(CmsSubjectComment row);
|
|
||||||
|
|
||||||
List<CmsSubjectComment> selectByExample(CmsSubjectCommentExample example);
|
|
||||||
|
|
||||||
CmsSubjectComment selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsSubjectComment row, @Param("example") CmsSubjectCommentExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsSubjectComment row, @Param("example") CmsSubjectCommentExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsSubjectComment row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsSubjectComment row);
|
|
||||||
}
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsSubject;
|
|
||||||
import com.macro.mall.model.CmsSubjectExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsSubjectMapper {
|
|
||||||
long countByExample(CmsSubjectExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsSubjectExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsSubject row);
|
|
||||||
|
|
||||||
int insertSelective(CmsSubject row);
|
|
||||||
|
|
||||||
List<CmsSubject> selectByExampleWithBLOBs(CmsSubjectExample example);
|
|
||||||
|
|
||||||
List<CmsSubject> selectByExample(CmsSubjectExample example);
|
|
||||||
|
|
||||||
CmsSubject selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsSubject row, @Param("example") CmsSubjectExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") CmsSubject row, @Param("example") CmsSubjectExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsSubject row, @Param("example") CmsSubjectExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsSubject row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(CmsSubject row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsSubject row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsSubjectProductRelation;
|
|
||||||
import com.macro.mall.model.CmsSubjectProductRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsSubjectProductRelationMapper {
|
|
||||||
long countByExample(CmsSubjectProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsSubjectProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsSubjectProductRelation row);
|
|
||||||
|
|
||||||
int insertSelective(CmsSubjectProductRelation row);
|
|
||||||
|
|
||||||
List<CmsSubjectProductRelation> selectByExample(CmsSubjectProductRelationExample example);
|
|
||||||
|
|
||||||
CmsSubjectProductRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsSubjectProductRelation row, @Param("example") CmsSubjectProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsSubjectProductRelation row, @Param("example") CmsSubjectProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsSubjectProductRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsSubjectProductRelation row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsTopicCategory;
|
|
||||||
import com.macro.mall.model.CmsTopicCategoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsTopicCategoryMapper {
|
|
||||||
long countByExample(CmsTopicCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsTopicCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsTopicCategory row);
|
|
||||||
|
|
||||||
int insertSelective(CmsTopicCategory row);
|
|
||||||
|
|
||||||
List<CmsTopicCategory> selectByExample(CmsTopicCategoryExample example);
|
|
||||||
|
|
||||||
CmsTopicCategory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsTopicCategory row, @Param("example") CmsTopicCategoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsTopicCategory row, @Param("example") CmsTopicCategoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsTopicCategory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsTopicCategory row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsTopicComment;
|
|
||||||
import com.macro.mall.model.CmsTopicCommentExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsTopicCommentMapper {
|
|
||||||
long countByExample(CmsTopicCommentExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsTopicCommentExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsTopicComment row);
|
|
||||||
|
|
||||||
int insertSelective(CmsTopicComment row);
|
|
||||||
|
|
||||||
List<CmsTopicComment> selectByExample(CmsTopicCommentExample example);
|
|
||||||
|
|
||||||
CmsTopicComment selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsTopicComment row, @Param("example") CmsTopicCommentExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsTopicComment row, @Param("example") CmsTopicCommentExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsTopicComment row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsTopicComment row);
|
|
||||||
}
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.CmsTopic;
|
|
||||||
import com.macro.mall.model.CmsTopicExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface CmsTopicMapper {
|
|
||||||
long countByExample(CmsTopicExample example);
|
|
||||||
|
|
||||||
int deleteByExample(CmsTopicExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(CmsTopic row);
|
|
||||||
|
|
||||||
int insertSelective(CmsTopic row);
|
|
||||||
|
|
||||||
List<CmsTopic> selectByExampleWithBLOBs(CmsTopicExample example);
|
|
||||||
|
|
||||||
List<CmsTopic> selectByExample(CmsTopicExample example);
|
|
||||||
|
|
||||||
CmsTopic selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") CmsTopic row, @Param("example") CmsTopicExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") CmsTopic row, @Param("example") CmsTopicExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") CmsTopic row, @Param("example") CmsTopicExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(CmsTopic row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(CmsTopic row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(CmsTopic row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsCartItem;
|
|
||||||
import com.macro.mall.model.OmsCartItemExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsCartItemMapper {
|
|
||||||
long countByExample(OmsCartItemExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsCartItemExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsCartItem row);
|
|
||||||
|
|
||||||
int insertSelective(OmsCartItem row);
|
|
||||||
|
|
||||||
List<OmsCartItem> selectByExample(OmsCartItemExample example);
|
|
||||||
|
|
||||||
OmsCartItem selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsCartItem row, @Param("example") OmsCartItemExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsCartItem row, @Param("example") OmsCartItemExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsCartItem row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsCartItem row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsCompanyAddress;
|
|
||||||
import com.macro.mall.model.OmsCompanyAddressExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsCompanyAddressMapper {
|
|
||||||
long countByExample(OmsCompanyAddressExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsCompanyAddressExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsCompanyAddress row);
|
|
||||||
|
|
||||||
int insertSelective(OmsCompanyAddress row);
|
|
||||||
|
|
||||||
List<OmsCompanyAddress> selectByExample(OmsCompanyAddressExample example);
|
|
||||||
|
|
||||||
OmsCompanyAddress selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsCompanyAddress row, @Param("example") OmsCompanyAddressExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsCompanyAddress row, @Param("example") OmsCompanyAddressExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsCompanyAddress row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsCompanyAddress row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsOrderItem;
|
|
||||||
import com.macro.mall.model.OmsOrderItemExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsOrderItemMapper {
|
|
||||||
long countByExample(OmsOrderItemExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsOrderItemExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsOrderItem row);
|
|
||||||
|
|
||||||
int insertSelective(OmsOrderItem row);
|
|
||||||
|
|
||||||
List<OmsOrderItem> selectByExample(OmsOrderItemExample example);
|
|
||||||
|
|
||||||
OmsOrderItem selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsOrderItem row, @Param("example") OmsOrderItemExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsOrderItem row, @Param("example") OmsOrderItemExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsOrderItem row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsOrderItem row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsOrder;
|
|
||||||
import com.macro.mall.model.OmsOrderExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsOrderMapper {
|
|
||||||
long countByExample(OmsOrderExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsOrderExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsOrder row);
|
|
||||||
|
|
||||||
int insertSelective(OmsOrder row);
|
|
||||||
|
|
||||||
List<OmsOrder> selectByExample(OmsOrderExample example);
|
|
||||||
|
|
||||||
OmsOrder selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsOrder row, @Param("example") OmsOrderExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsOrder row, @Param("example") OmsOrderExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsOrder row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsOrder row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsOrderOperateHistory;
|
|
||||||
import com.macro.mall.model.OmsOrderOperateHistoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsOrderOperateHistoryMapper {
|
|
||||||
long countByExample(OmsOrderOperateHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsOrderOperateHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsOrderOperateHistory row);
|
|
||||||
|
|
||||||
int insertSelective(OmsOrderOperateHistory row);
|
|
||||||
|
|
||||||
List<OmsOrderOperateHistory> selectByExample(OmsOrderOperateHistoryExample example);
|
|
||||||
|
|
||||||
OmsOrderOperateHistory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsOrderOperateHistory row, @Param("example") OmsOrderOperateHistoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsOrderOperateHistory row, @Param("example") OmsOrderOperateHistoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsOrderOperateHistory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsOrderOperateHistory row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsOrderReturnApply;
|
|
||||||
import com.macro.mall.model.OmsOrderReturnApplyExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsOrderReturnApplyMapper {
|
|
||||||
long countByExample(OmsOrderReturnApplyExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsOrderReturnApplyExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsOrderReturnApply row);
|
|
||||||
|
|
||||||
int insertSelective(OmsOrderReturnApply row);
|
|
||||||
|
|
||||||
List<OmsOrderReturnApply> selectByExample(OmsOrderReturnApplyExample example);
|
|
||||||
|
|
||||||
OmsOrderReturnApply selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsOrderReturnApply row, @Param("example") OmsOrderReturnApplyExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsOrderReturnApply row, @Param("example") OmsOrderReturnApplyExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsOrderReturnApply row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsOrderReturnApply row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsOrderReturnReason;
|
|
||||||
import com.macro.mall.model.OmsOrderReturnReasonExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsOrderReturnReasonMapper {
|
|
||||||
long countByExample(OmsOrderReturnReasonExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsOrderReturnReasonExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsOrderReturnReason row);
|
|
||||||
|
|
||||||
int insertSelective(OmsOrderReturnReason row);
|
|
||||||
|
|
||||||
List<OmsOrderReturnReason> selectByExample(OmsOrderReturnReasonExample example);
|
|
||||||
|
|
||||||
OmsOrderReturnReason selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsOrderReturnReason row, @Param("example") OmsOrderReturnReasonExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsOrderReturnReason row, @Param("example") OmsOrderReturnReasonExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsOrderReturnReason row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsOrderReturnReason row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.OmsOrderSetting;
|
|
||||||
import com.macro.mall.model.OmsOrderSettingExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface OmsOrderSettingMapper {
|
|
||||||
long countByExample(OmsOrderSettingExample example);
|
|
||||||
|
|
||||||
int deleteByExample(OmsOrderSettingExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(OmsOrderSetting row);
|
|
||||||
|
|
||||||
int insertSelective(OmsOrderSetting row);
|
|
||||||
|
|
||||||
List<OmsOrderSetting> selectByExample(OmsOrderSettingExample example);
|
|
||||||
|
|
||||||
OmsOrderSetting selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") OmsOrderSetting row, @Param("example") OmsOrderSettingExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") OmsOrderSetting row, @Param("example") OmsOrderSettingExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(OmsOrderSetting row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(OmsOrderSetting row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsAlbum;
|
|
||||||
import com.macro.mall.model.PmsAlbumExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsAlbumMapper {
|
|
||||||
long countByExample(PmsAlbumExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsAlbumExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsAlbum row);
|
|
||||||
|
|
||||||
int insertSelective(PmsAlbum row);
|
|
||||||
|
|
||||||
List<PmsAlbum> selectByExample(PmsAlbumExample example);
|
|
||||||
|
|
||||||
PmsAlbum selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsAlbum row, @Param("example") PmsAlbumExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsAlbum row, @Param("example") PmsAlbumExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsAlbum row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsAlbum row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsAlbumPic;
|
|
||||||
import com.macro.mall.model.PmsAlbumPicExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsAlbumPicMapper {
|
|
||||||
long countByExample(PmsAlbumPicExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsAlbumPicExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsAlbumPic row);
|
|
||||||
|
|
||||||
int insertSelective(PmsAlbumPic row);
|
|
||||||
|
|
||||||
List<PmsAlbumPic> selectByExample(PmsAlbumPicExample example);
|
|
||||||
|
|
||||||
PmsAlbumPic selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsAlbumPic row, @Param("example") PmsAlbumPicExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsAlbumPic row, @Param("example") PmsAlbumPicExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsAlbumPic row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsAlbumPic row);
|
|
||||||
}
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsBrand;
|
|
||||||
import com.macro.mall.model.PmsBrandExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsBrandMapper {
|
|
||||||
long countByExample(PmsBrandExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsBrandExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsBrand row);
|
|
||||||
|
|
||||||
int insertSelective(PmsBrand row);
|
|
||||||
|
|
||||||
List<PmsBrand> selectByExampleWithBLOBs(PmsBrandExample example);
|
|
||||||
|
|
||||||
List<PmsBrand> selectByExample(PmsBrandExample example);
|
|
||||||
|
|
||||||
PmsBrand selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsBrand row, @Param("example") PmsBrandExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") PmsBrand row, @Param("example") PmsBrandExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsBrand row, @Param("example") PmsBrandExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsBrand row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(PmsBrand row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsBrand row);
|
|
||||||
}
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsComment;
|
|
||||||
import com.macro.mall.model.PmsCommentExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsCommentMapper {
|
|
||||||
long countByExample(PmsCommentExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsCommentExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsComment row);
|
|
||||||
|
|
||||||
int insertSelective(PmsComment row);
|
|
||||||
|
|
||||||
List<PmsComment> selectByExampleWithBLOBs(PmsCommentExample example);
|
|
||||||
|
|
||||||
List<PmsComment> selectByExample(PmsCommentExample example);
|
|
||||||
|
|
||||||
PmsComment selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsComment row, @Param("example") PmsCommentExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") PmsComment row, @Param("example") PmsCommentExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsComment row, @Param("example") PmsCommentExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsComment row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(PmsComment row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsComment row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsCommentReplay;
|
|
||||||
import com.macro.mall.model.PmsCommentReplayExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsCommentReplayMapper {
|
|
||||||
long countByExample(PmsCommentReplayExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsCommentReplayExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsCommentReplay row);
|
|
||||||
|
|
||||||
int insertSelective(PmsCommentReplay row);
|
|
||||||
|
|
||||||
List<PmsCommentReplay> selectByExample(PmsCommentReplayExample example);
|
|
||||||
|
|
||||||
PmsCommentReplay selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsCommentReplay row, @Param("example") PmsCommentReplayExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsCommentReplay row, @Param("example") PmsCommentReplayExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsCommentReplay row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsCommentReplay row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsFeightTemplate;
|
|
||||||
import com.macro.mall.model.PmsFeightTemplateExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsFeightTemplateMapper {
|
|
||||||
long countByExample(PmsFeightTemplateExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsFeightTemplateExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsFeightTemplate row);
|
|
||||||
|
|
||||||
int insertSelective(PmsFeightTemplate row);
|
|
||||||
|
|
||||||
List<PmsFeightTemplate> selectByExample(PmsFeightTemplateExample example);
|
|
||||||
|
|
||||||
PmsFeightTemplate selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsFeightTemplate row, @Param("example") PmsFeightTemplateExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsFeightTemplate row, @Param("example") PmsFeightTemplateExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsFeightTemplate row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsFeightTemplate row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsMemberPrice;
|
|
||||||
import com.macro.mall.model.PmsMemberPriceExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsMemberPriceMapper {
|
|
||||||
long countByExample(PmsMemberPriceExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsMemberPriceExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsMemberPrice row);
|
|
||||||
|
|
||||||
int insertSelective(PmsMemberPrice row);
|
|
||||||
|
|
||||||
List<PmsMemberPrice> selectByExample(PmsMemberPriceExample example);
|
|
||||||
|
|
||||||
PmsMemberPrice selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsMemberPrice row, @Param("example") PmsMemberPriceExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsMemberPrice row, @Param("example") PmsMemberPriceExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsMemberPrice row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsMemberPrice row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductAttributeCategory;
|
|
||||||
import com.macro.mall.model.PmsProductAttributeCategoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductAttributeCategoryMapper {
|
|
||||||
long countByExample(PmsProductAttributeCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductAttributeCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductAttributeCategory row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductAttributeCategory row);
|
|
||||||
|
|
||||||
List<PmsProductAttributeCategory> selectByExample(PmsProductAttributeCategoryExample example);
|
|
||||||
|
|
||||||
PmsProductAttributeCategory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductAttributeCategory row, @Param("example") PmsProductAttributeCategoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductAttributeCategory row, @Param("example") PmsProductAttributeCategoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductAttributeCategory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductAttributeCategory row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductAttribute;
|
|
||||||
import com.macro.mall.model.PmsProductAttributeExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductAttributeMapper {
|
|
||||||
long countByExample(PmsProductAttributeExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductAttributeExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductAttribute row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductAttribute row);
|
|
||||||
|
|
||||||
List<PmsProductAttribute> selectByExample(PmsProductAttributeExample example);
|
|
||||||
|
|
||||||
PmsProductAttribute selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductAttribute row, @Param("example") PmsProductAttributeExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductAttribute row, @Param("example") PmsProductAttributeExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductAttribute row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductAttribute row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductAttributeValue;
|
|
||||||
import com.macro.mall.model.PmsProductAttributeValueExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductAttributeValueMapper {
|
|
||||||
long countByExample(PmsProductAttributeValueExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductAttributeValueExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductAttributeValue row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductAttributeValue row);
|
|
||||||
|
|
||||||
List<PmsProductAttributeValue> selectByExample(PmsProductAttributeValueExample example);
|
|
||||||
|
|
||||||
PmsProductAttributeValue selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductAttributeValue row, @Param("example") PmsProductAttributeValueExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductAttributeValue row, @Param("example") PmsProductAttributeValueExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductAttributeValue row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductAttributeValue row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductCategoryAttributeRelation;
|
|
||||||
import com.macro.mall.model.PmsProductCategoryAttributeRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductCategoryAttributeRelationMapper {
|
|
||||||
long countByExample(PmsProductCategoryAttributeRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductCategoryAttributeRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductCategoryAttributeRelation row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductCategoryAttributeRelation row);
|
|
||||||
|
|
||||||
List<PmsProductCategoryAttributeRelation> selectByExample(PmsProductCategoryAttributeRelationExample example);
|
|
||||||
|
|
||||||
PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductCategoryAttributeRelation row, @Param("example") PmsProductCategoryAttributeRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductCategoryAttributeRelation row, @Param("example") PmsProductCategoryAttributeRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductCategoryAttributeRelation row);
|
|
||||||
}
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductCategory;
|
|
||||||
import com.macro.mall.model.PmsProductCategoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductCategoryMapper {
|
|
||||||
long countByExample(PmsProductCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductCategoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductCategory row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductCategory row);
|
|
||||||
|
|
||||||
List<PmsProductCategory> selectByExampleWithBLOBs(PmsProductCategoryExample example);
|
|
||||||
|
|
||||||
List<PmsProductCategory> selectByExample(PmsProductCategoryExample example);
|
|
||||||
|
|
||||||
PmsProductCategory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductCategory row, @Param("example") PmsProductCategoryExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") PmsProductCategory row, @Param("example") PmsProductCategoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductCategory row, @Param("example") PmsProductCategoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductCategory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(PmsProductCategory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductCategory row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductFullReduction;
|
|
||||||
import com.macro.mall.model.PmsProductFullReductionExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductFullReductionMapper {
|
|
||||||
long countByExample(PmsProductFullReductionExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductFullReductionExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductFullReduction row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductFullReduction row);
|
|
||||||
|
|
||||||
List<PmsProductFullReduction> selectByExample(PmsProductFullReductionExample example);
|
|
||||||
|
|
||||||
PmsProductFullReduction selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductFullReduction row, @Param("example") PmsProductFullReductionExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductFullReduction row, @Param("example") PmsProductFullReductionExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductFullReduction row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductFullReduction row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductLadder;
|
|
||||||
import com.macro.mall.model.PmsProductLadderExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductLadderMapper {
|
|
||||||
long countByExample(PmsProductLadderExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductLadderExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductLadder row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductLadder row);
|
|
||||||
|
|
||||||
List<PmsProductLadder> selectByExample(PmsProductLadderExample example);
|
|
||||||
|
|
||||||
PmsProductLadder selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductLadder row, @Param("example") PmsProductLadderExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductLadder row, @Param("example") PmsProductLadderExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductLadder row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductLadder row);
|
|
||||||
}
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProduct;
|
|
||||||
import com.macro.mall.model.PmsProductExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductMapper {
|
|
||||||
long countByExample(PmsProductExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProduct row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProduct row);
|
|
||||||
|
|
||||||
List<PmsProduct> selectByExampleWithBLOBs(PmsProductExample example);
|
|
||||||
|
|
||||||
List<PmsProduct> selectByExample(PmsProductExample example);
|
|
||||||
|
|
||||||
PmsProduct selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProduct row, @Param("example") PmsProductExample example);
|
|
||||||
|
|
||||||
int updateByExampleWithBLOBs(@Param("row") PmsProduct row, @Param("example") PmsProductExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProduct row, @Param("example") PmsProductExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProduct row);
|
|
||||||
|
|
||||||
int updateByPrimaryKeyWithBLOBs(PmsProduct row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProduct row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductOperateLog;
|
|
||||||
import com.macro.mall.model.PmsProductOperateLogExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductOperateLogMapper {
|
|
||||||
long countByExample(PmsProductOperateLogExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductOperateLogExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductOperateLog row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductOperateLog row);
|
|
||||||
|
|
||||||
List<PmsProductOperateLog> selectByExample(PmsProductOperateLogExample example);
|
|
||||||
|
|
||||||
PmsProductOperateLog selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductOperateLog row, @Param("example") PmsProductOperateLogExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductOperateLog row, @Param("example") PmsProductOperateLogExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductOperateLog row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductOperateLog row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsProductVertifyRecord;
|
|
||||||
import com.macro.mall.model.PmsProductVertifyRecordExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsProductVertifyRecordMapper {
|
|
||||||
long countByExample(PmsProductVertifyRecordExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsProductVertifyRecordExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsProductVertifyRecord row);
|
|
||||||
|
|
||||||
int insertSelective(PmsProductVertifyRecord row);
|
|
||||||
|
|
||||||
List<PmsProductVertifyRecord> selectByExample(PmsProductVertifyRecordExample example);
|
|
||||||
|
|
||||||
PmsProductVertifyRecord selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsProductVertifyRecord row, @Param("example") PmsProductVertifyRecordExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsProductVertifyRecord row, @Param("example") PmsProductVertifyRecordExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsProductVertifyRecord row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsProductVertifyRecord row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.PmsSkuStock;
|
|
||||||
import com.macro.mall.model.PmsSkuStockExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface PmsSkuStockMapper {
|
|
||||||
long countByExample(PmsSkuStockExample example);
|
|
||||||
|
|
||||||
int deleteByExample(PmsSkuStockExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(PmsSkuStock row);
|
|
||||||
|
|
||||||
int insertSelective(PmsSkuStock row);
|
|
||||||
|
|
||||||
List<PmsSkuStock> selectByExample(PmsSkuStockExample example);
|
|
||||||
|
|
||||||
PmsSkuStock selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") PmsSkuStock row, @Param("example") PmsSkuStockExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") PmsSkuStock row, @Param("example") PmsSkuStockExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(PmsSkuStock row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(PmsSkuStock row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsCouponHistory;
|
|
||||||
import com.macro.mall.model.SmsCouponHistoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsCouponHistoryMapper {
|
|
||||||
long countByExample(SmsCouponHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsCouponHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsCouponHistory row);
|
|
||||||
|
|
||||||
int insertSelective(SmsCouponHistory row);
|
|
||||||
|
|
||||||
List<SmsCouponHistory> selectByExample(SmsCouponHistoryExample example);
|
|
||||||
|
|
||||||
SmsCouponHistory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsCouponHistory row, @Param("example") SmsCouponHistoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsCouponHistory row, @Param("example") SmsCouponHistoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsCouponHistory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsCouponHistory row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsCoupon;
|
|
||||||
import com.macro.mall.model.SmsCouponExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsCouponMapper {
|
|
||||||
long countByExample(SmsCouponExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsCouponExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsCoupon row);
|
|
||||||
|
|
||||||
int insertSelective(SmsCoupon row);
|
|
||||||
|
|
||||||
List<SmsCoupon> selectByExample(SmsCouponExample example);
|
|
||||||
|
|
||||||
SmsCoupon selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsCoupon row, @Param("example") SmsCouponExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsCoupon row, @Param("example") SmsCouponExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsCoupon row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsCoupon row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsCouponProductCategoryRelation;
|
|
||||||
import com.macro.mall.model.SmsCouponProductCategoryRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsCouponProductCategoryRelationMapper {
|
|
||||||
long countByExample(SmsCouponProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsCouponProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsCouponProductCategoryRelation row);
|
|
||||||
|
|
||||||
int insertSelective(SmsCouponProductCategoryRelation row);
|
|
||||||
|
|
||||||
List<SmsCouponProductCategoryRelation> selectByExample(SmsCouponProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
SmsCouponProductCategoryRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsCouponProductCategoryRelation row, @Param("example") SmsCouponProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsCouponProductCategoryRelation row, @Param("example") SmsCouponProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsCouponProductCategoryRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsCouponProductCategoryRelation row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsCouponProductRelation;
|
|
||||||
import com.macro.mall.model.SmsCouponProductRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsCouponProductRelationMapper {
|
|
||||||
long countByExample(SmsCouponProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsCouponProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsCouponProductRelation row);
|
|
||||||
|
|
||||||
int insertSelective(SmsCouponProductRelation row);
|
|
||||||
|
|
||||||
List<SmsCouponProductRelation> selectByExample(SmsCouponProductRelationExample example);
|
|
||||||
|
|
||||||
SmsCouponProductRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsCouponProductRelation row, @Param("example") SmsCouponProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsCouponProductRelation row, @Param("example") SmsCouponProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsCouponProductRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsCouponProductRelation row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsFlashPromotionLog;
|
|
||||||
import com.macro.mall.model.SmsFlashPromotionLogExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsFlashPromotionLogMapper {
|
|
||||||
long countByExample(SmsFlashPromotionLogExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsFlashPromotionLogExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Integer id);
|
|
||||||
|
|
||||||
int insert(SmsFlashPromotionLog row);
|
|
||||||
|
|
||||||
int insertSelective(SmsFlashPromotionLog row);
|
|
||||||
|
|
||||||
List<SmsFlashPromotionLog> selectByExample(SmsFlashPromotionLogExample example);
|
|
||||||
|
|
||||||
SmsFlashPromotionLog selectByPrimaryKey(Integer id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsFlashPromotionLog row, @Param("example") SmsFlashPromotionLogExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsFlashPromotionLog row, @Param("example") SmsFlashPromotionLogExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsFlashPromotionLog row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsFlashPromotionLog row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsFlashPromotion;
|
|
||||||
import com.macro.mall.model.SmsFlashPromotionExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsFlashPromotionMapper {
|
|
||||||
long countByExample(SmsFlashPromotionExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsFlashPromotionExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsFlashPromotion row);
|
|
||||||
|
|
||||||
int insertSelective(SmsFlashPromotion row);
|
|
||||||
|
|
||||||
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example);
|
|
||||||
|
|
||||||
SmsFlashPromotion selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsFlashPromotion row, @Param("example") SmsFlashPromotionExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsFlashPromotion row, @Param("example") SmsFlashPromotionExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsFlashPromotion row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsFlashPromotion row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsFlashPromotionProductRelation;
|
|
||||||
import com.macro.mall.model.SmsFlashPromotionProductRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsFlashPromotionProductRelationMapper {
|
|
||||||
long countByExample(SmsFlashPromotionProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsFlashPromotionProductRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsFlashPromotionProductRelation row);
|
|
||||||
|
|
||||||
int insertSelective(SmsFlashPromotionProductRelation row);
|
|
||||||
|
|
||||||
List<SmsFlashPromotionProductRelation> selectByExample(SmsFlashPromotionProductRelationExample example);
|
|
||||||
|
|
||||||
SmsFlashPromotionProductRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsFlashPromotionProductRelation row, @Param("example") SmsFlashPromotionProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsFlashPromotionProductRelation row, @Param("example") SmsFlashPromotionProductRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsFlashPromotionProductRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsFlashPromotionProductRelation row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsFlashPromotionSession;
|
|
||||||
import com.macro.mall.model.SmsFlashPromotionSessionExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsFlashPromotionSessionMapper {
|
|
||||||
long countByExample(SmsFlashPromotionSessionExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsFlashPromotionSessionExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsFlashPromotionSession row);
|
|
||||||
|
|
||||||
int insertSelective(SmsFlashPromotionSession row);
|
|
||||||
|
|
||||||
List<SmsFlashPromotionSession> selectByExample(SmsFlashPromotionSessionExample example);
|
|
||||||
|
|
||||||
SmsFlashPromotionSession selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsFlashPromotionSession row, @Param("example") SmsFlashPromotionSessionExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsFlashPromotionSession row, @Param("example") SmsFlashPromotionSessionExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsFlashPromotionSession row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsFlashPromotionSession row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsHomeAdvertise;
|
|
||||||
import com.macro.mall.model.SmsHomeAdvertiseExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsHomeAdvertiseMapper {
|
|
||||||
long countByExample(SmsHomeAdvertiseExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsHomeAdvertiseExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsHomeAdvertise row);
|
|
||||||
|
|
||||||
int insertSelective(SmsHomeAdvertise row);
|
|
||||||
|
|
||||||
List<SmsHomeAdvertise> selectByExample(SmsHomeAdvertiseExample example);
|
|
||||||
|
|
||||||
SmsHomeAdvertise selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsHomeAdvertise row, @Param("example") SmsHomeAdvertiseExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsHomeAdvertise row, @Param("example") SmsHomeAdvertiseExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsHomeAdvertise row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsHomeAdvertise row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsHomeBrand;
|
|
||||||
import com.macro.mall.model.SmsHomeBrandExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsHomeBrandMapper {
|
|
||||||
long countByExample(SmsHomeBrandExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsHomeBrandExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsHomeBrand row);
|
|
||||||
|
|
||||||
int insertSelective(SmsHomeBrand row);
|
|
||||||
|
|
||||||
List<SmsHomeBrand> selectByExample(SmsHomeBrandExample example);
|
|
||||||
|
|
||||||
SmsHomeBrand selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsHomeBrand row, @Param("example") SmsHomeBrandExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsHomeBrand row, @Param("example") SmsHomeBrandExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsHomeBrand row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsHomeBrand row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsHomeNewProduct;
|
|
||||||
import com.macro.mall.model.SmsHomeNewProductExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsHomeNewProductMapper {
|
|
||||||
long countByExample(SmsHomeNewProductExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsHomeNewProductExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsHomeNewProduct row);
|
|
||||||
|
|
||||||
int insertSelective(SmsHomeNewProduct row);
|
|
||||||
|
|
||||||
List<SmsHomeNewProduct> selectByExample(SmsHomeNewProductExample example);
|
|
||||||
|
|
||||||
SmsHomeNewProduct selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsHomeNewProduct row, @Param("example") SmsHomeNewProductExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsHomeNewProduct row, @Param("example") SmsHomeNewProductExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsHomeNewProduct row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsHomeNewProduct row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsHomeRecommendProduct;
|
|
||||||
import com.macro.mall.model.SmsHomeRecommendProductExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsHomeRecommendProductMapper {
|
|
||||||
long countByExample(SmsHomeRecommendProductExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsHomeRecommendProductExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsHomeRecommendProduct row);
|
|
||||||
|
|
||||||
int insertSelective(SmsHomeRecommendProduct row);
|
|
||||||
|
|
||||||
List<SmsHomeRecommendProduct> selectByExample(SmsHomeRecommendProductExample example);
|
|
||||||
|
|
||||||
SmsHomeRecommendProduct selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsHomeRecommendProduct row, @Param("example") SmsHomeRecommendProductExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsHomeRecommendProduct row, @Param("example") SmsHomeRecommendProductExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsHomeRecommendProduct row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsHomeRecommendProduct row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.SmsHomeRecommendSubject;
|
|
||||||
import com.macro.mall.model.SmsHomeRecommendSubjectExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface SmsHomeRecommendSubjectMapper {
|
|
||||||
long countByExample(SmsHomeRecommendSubjectExample example);
|
|
||||||
|
|
||||||
int deleteByExample(SmsHomeRecommendSubjectExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(SmsHomeRecommendSubject row);
|
|
||||||
|
|
||||||
int insertSelective(SmsHomeRecommendSubject row);
|
|
||||||
|
|
||||||
List<SmsHomeRecommendSubject> selectByExample(SmsHomeRecommendSubjectExample example);
|
|
||||||
|
|
||||||
SmsHomeRecommendSubject selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") SmsHomeRecommendSubject row, @Param("example") SmsHomeRecommendSubjectExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") SmsHomeRecommendSubject row, @Param("example") SmsHomeRecommendSubjectExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(SmsHomeRecommendSubject row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(SmsHomeRecommendSubject row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.UmsAdminLoginLog;
|
|
||||||
import com.macro.mall.model.UmsAdminLoginLogExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface UmsAdminLoginLogMapper {
|
|
||||||
long countByExample(UmsAdminLoginLogExample example);
|
|
||||||
|
|
||||||
int deleteByExample(UmsAdminLoginLogExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(UmsAdminLoginLog row);
|
|
||||||
|
|
||||||
int insertSelective(UmsAdminLoginLog row);
|
|
||||||
|
|
||||||
List<UmsAdminLoginLog> selectByExample(UmsAdminLoginLogExample example);
|
|
||||||
|
|
||||||
UmsAdminLoginLog selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsAdminLoginLog row, @Param("example") UmsAdminLoginLogExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsAdminLoginLog row, @Param("example") UmsAdminLoginLogExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsAdminLoginLog row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsAdminLoginLog row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.UmsAdmin;
|
|
||||||
import com.macro.mall.model.UmsAdminExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface UmsAdminMapper {
|
|
||||||
long countByExample(UmsAdminExample example);
|
|
||||||
|
|
||||||
int deleteByExample(UmsAdminExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(UmsAdmin row);
|
|
||||||
|
|
||||||
int insertSelective(UmsAdmin row);
|
|
||||||
|
|
||||||
List<UmsAdmin> selectByExample(UmsAdminExample example);
|
|
||||||
|
|
||||||
UmsAdmin selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsAdmin row, @Param("example") UmsAdminExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsAdmin row, @Param("example") UmsAdminExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsAdmin row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsAdmin row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.UmsAdminPermissionRelation;
|
|
||||||
import com.macro.mall.model.UmsAdminPermissionRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface UmsAdminPermissionRelationMapper {
|
|
||||||
long countByExample(UmsAdminPermissionRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(UmsAdminPermissionRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(UmsAdminPermissionRelation row);
|
|
||||||
|
|
||||||
int insertSelective(UmsAdminPermissionRelation row);
|
|
||||||
|
|
||||||
List<UmsAdminPermissionRelation> selectByExample(UmsAdminPermissionRelationExample example);
|
|
||||||
|
|
||||||
UmsAdminPermissionRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsAdminPermissionRelation row, @Param("example") UmsAdminPermissionRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsAdminPermissionRelation row, @Param("example") UmsAdminPermissionRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsAdminPermissionRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsAdminPermissionRelation row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.UmsAdminRoleRelation;
|
|
||||||
import com.macro.mall.model.UmsAdminRoleRelationExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface UmsAdminRoleRelationMapper {
|
|
||||||
long countByExample(UmsAdminRoleRelationExample example);
|
|
||||||
|
|
||||||
int deleteByExample(UmsAdminRoleRelationExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(UmsAdminRoleRelation row);
|
|
||||||
|
|
||||||
int insertSelective(UmsAdminRoleRelation row);
|
|
||||||
|
|
||||||
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
|
|
||||||
|
|
||||||
UmsAdminRoleRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsAdminRoleRelation row, @Param("example") UmsAdminRoleRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsAdminRoleRelation row, @Param("example") UmsAdminRoleRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsAdminRoleRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsAdminRoleRelation row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.UmsGrowthChangeHistory;
|
|
||||||
import com.macro.mall.model.UmsGrowthChangeHistoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface UmsGrowthChangeHistoryMapper {
|
|
||||||
long countByExample(UmsGrowthChangeHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(UmsGrowthChangeHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(UmsGrowthChangeHistory row);
|
|
||||||
|
|
||||||
int insertSelective(UmsGrowthChangeHistory row);
|
|
||||||
|
|
||||||
List<UmsGrowthChangeHistory> selectByExample(UmsGrowthChangeHistoryExample example);
|
|
||||||
|
|
||||||
UmsGrowthChangeHistory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsGrowthChangeHistory row, @Param("example") UmsGrowthChangeHistoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsGrowthChangeHistory row, @Param("example") UmsGrowthChangeHistoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsGrowthChangeHistory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsGrowthChangeHistory row);
|
|
||||||
}
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
package com.macro.mall.mapper;
|
|
||||||
|
|
||||||
import com.macro.mall.model.UmsIntegrationChangeHistory;
|
|
||||||
import com.macro.mall.model.UmsIntegrationChangeHistoryExample;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
|
|
||||||
public interface UmsIntegrationChangeHistoryMapper {
|
|
||||||
long countByExample(UmsIntegrationChangeHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByExample(UmsIntegrationChangeHistoryExample example);
|
|
||||||
|
|
||||||
int deleteByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int insert(UmsIntegrationChangeHistory row);
|
|
||||||
|
|
||||||
int insertSelective(UmsIntegrationChangeHistory row);
|
|
||||||
|
|
||||||
List<UmsIntegrationChangeHistory> selectByExample(UmsIntegrationChangeHistoryExample example);
|
|
||||||
|
|
||||||
UmsIntegrationChangeHistory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsIntegrationChangeHistory row, @Param("example") UmsIntegrationChangeHistoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsIntegrationChangeHistory row, @Param("example") UmsIntegrationChangeHistoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsIntegrationChangeHistory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsIntegrationChangeHistory row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsIntegrationConsumeSetting row);
|
|
||||||
|
|
||||||
List<UmsIntegrationConsumeSetting> selectByExample(UmsIntegrationConsumeSettingExample example);
|
|
||||||
|
|
||||||
UmsIntegrationConsumeSetting selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsIntegrationConsumeSetting row, @Param("example") UmsIntegrationConsumeSettingExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsIntegrationConsumeSetting row, @Param("example") UmsIntegrationConsumeSettingExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsIntegrationConsumeSetting row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsIntegrationConsumeSetting row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberLevel row);
|
|
||||||
|
|
||||||
List<UmsMemberLevel> selectByExample(UmsMemberLevelExample example);
|
|
||||||
|
|
||||||
UmsMemberLevel selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberLevel row, @Param("example") UmsMemberLevelExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberLevel row, @Param("example") UmsMemberLevelExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberLevel row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberLevel row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberLoginLog row);
|
|
||||||
|
|
||||||
List<UmsMemberLoginLog> selectByExample(UmsMemberLoginLogExample example);
|
|
||||||
|
|
||||||
UmsMemberLoginLog selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberLoginLog row, @Param("example") UmsMemberLoginLogExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberLoginLog row, @Param("example") UmsMemberLoginLogExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberLoginLog row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberLoginLog row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMember row);
|
|
||||||
|
|
||||||
List<UmsMember> selectByExample(UmsMemberExample example);
|
|
||||||
|
|
||||||
UmsMember selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMember row, @Param("example") UmsMemberExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMember row, @Param("example") UmsMemberExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMember row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMember row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberMemberTagRelation row);
|
|
||||||
|
|
||||||
List<UmsMemberMemberTagRelation> selectByExample(UmsMemberMemberTagRelationExample example);
|
|
||||||
|
|
||||||
UmsMemberMemberTagRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberMemberTagRelation row, @Param("example") UmsMemberMemberTagRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberMemberTagRelation row, @Param("example") UmsMemberMemberTagRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberMemberTagRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberMemberTagRelation row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberProductCategoryRelation row);
|
|
||||||
|
|
||||||
List<UmsMemberProductCategoryRelation> selectByExample(UmsMemberProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
UmsMemberProductCategoryRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberProductCategoryRelation row, @Param("example") UmsMemberProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberProductCategoryRelation row, @Param("example") UmsMemberProductCategoryRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberProductCategoryRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberProductCategoryRelation row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberReceiveAddress row);
|
|
||||||
|
|
||||||
List<UmsMemberReceiveAddress> selectByExample(UmsMemberReceiveAddressExample example);
|
|
||||||
|
|
||||||
UmsMemberReceiveAddress selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberReceiveAddress row, @Param("example") UmsMemberReceiveAddressExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberReceiveAddress row, @Param("example") UmsMemberReceiveAddressExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberReceiveAddress row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberReceiveAddress row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberRuleSetting row);
|
|
||||||
|
|
||||||
List<UmsMemberRuleSetting> selectByExample(UmsMemberRuleSettingExample example);
|
|
||||||
|
|
||||||
UmsMemberRuleSetting selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberRuleSetting row, @Param("example") UmsMemberRuleSettingExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberRuleSetting row, @Param("example") UmsMemberRuleSettingExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberRuleSetting row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberRuleSetting row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberStatisticsInfo row);
|
|
||||||
|
|
||||||
List<UmsMemberStatisticsInfo> selectByExample(UmsMemberStatisticsInfoExample example);
|
|
||||||
|
|
||||||
UmsMemberStatisticsInfo selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberStatisticsInfo row, @Param("example") UmsMemberStatisticsInfoExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberStatisticsInfo row, @Param("example") UmsMemberStatisticsInfoExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberStatisticsInfo row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberStatisticsInfo row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberTag row);
|
|
||||||
|
|
||||||
List<UmsMemberTag> selectByExample(UmsMemberTagExample example);
|
|
||||||
|
|
||||||
UmsMemberTag selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberTag row, @Param("example") UmsMemberTagExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberTag row, @Param("example") UmsMemberTagExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberTag row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberTag row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMemberTask row);
|
|
||||||
|
|
||||||
List<UmsMemberTask> selectByExample(UmsMemberTaskExample example);
|
|
||||||
|
|
||||||
UmsMemberTask selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMemberTask row, @Param("example") UmsMemberTaskExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMemberTask row, @Param("example") UmsMemberTaskExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMemberTask row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMemberTask row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsMenu row);
|
|
||||||
|
|
||||||
List<UmsMenu> selectByExample(UmsMenuExample example);
|
|
||||||
|
|
||||||
UmsMenu selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsMenu row, @Param("example") UmsMenuExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsMenu row, @Param("example") UmsMenuExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsMenu row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsMenu row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsPermission row);
|
|
||||||
|
|
||||||
List<UmsPermission> selectByExample(UmsPermissionExample example);
|
|
||||||
|
|
||||||
UmsPermission selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsPermission row, @Param("example") UmsPermissionExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsPermission row, @Param("example") UmsPermissionExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsPermission row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsPermission row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsResourceCategory row);
|
|
||||||
|
|
||||||
List<UmsResourceCategory> selectByExample(UmsResourceCategoryExample example);
|
|
||||||
|
|
||||||
UmsResourceCategory selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsResourceCategory row, @Param("example") UmsResourceCategoryExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsResourceCategory row, @Param("example") UmsResourceCategoryExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsResourceCategory row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsResourceCategory row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsResource row);
|
|
||||||
|
|
||||||
List<UmsResource> selectByExample(UmsResourceExample example);
|
|
||||||
|
|
||||||
UmsResource selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsResource row, @Param("example") UmsResourceExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsResource row, @Param("example") UmsResourceExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsResource row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsResource row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsRole row);
|
|
||||||
|
|
||||||
List<UmsRole> selectByExample(UmsRoleExample example);
|
|
||||||
|
|
||||||
UmsRole selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsRole row, @Param("example") UmsRoleExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsRole row, @Param("example") UmsRoleExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsRole row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsRole row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsRoleMenuRelation row);
|
|
||||||
|
|
||||||
List<UmsRoleMenuRelation> selectByExample(UmsRoleMenuRelationExample example);
|
|
||||||
|
|
||||||
UmsRoleMenuRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsRoleMenuRelation row, @Param("example") UmsRoleMenuRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsRoleMenuRelation row, @Param("example") UmsRoleMenuRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsRoleMenuRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsRoleMenuRelation row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsRolePermissionRelation row);
|
|
||||||
|
|
||||||
List<UmsRolePermissionRelation> selectByExample(UmsRolePermissionRelationExample example);
|
|
||||||
|
|
||||||
UmsRolePermissionRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsRolePermissionRelation row, @Param("example") UmsRolePermissionRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsRolePermissionRelation row, @Param("example") UmsRolePermissionRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsRolePermissionRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsRolePermissionRelation row);
|
|
||||||
}
|
|
||||||
@ -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 row);
|
|
||||||
|
|
||||||
int insertSelective(UmsRoleResourceRelation row);
|
|
||||||
|
|
||||||
List<UmsRoleResourceRelation> selectByExample(UmsRoleResourceRelationExample example);
|
|
||||||
|
|
||||||
UmsRoleResourceRelation selectByPrimaryKey(Long id);
|
|
||||||
|
|
||||||
int updateByExampleSelective(@Param("row") UmsRoleResourceRelation row, @Param("example") UmsRoleResourceRelationExample example);
|
|
||||||
|
|
||||||
int updateByExample(@Param("row") UmsRoleResourceRelation row, @Param("example") UmsRoleResourceRelationExample example);
|
|
||||||
|
|
||||||
int updateByPrimaryKeySelective(UmsRoleResourceRelation row);
|
|
||||||
|
|
||||||
int updateByPrimaryKey(UmsRoleResourceRelation row);
|
|
||||||
}
|
|
||||||
@ -1,108 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,87 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
public class CmsHelpCategory implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
@Schema(title = "分类图标")
|
|
||||||
private String icon;
|
|
||||||
|
|
||||||
@Schema(title = "专题数量")
|
|
||||||
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 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(", helpCount=").append(helpCount);
|
|
||||||
sb.append(", showStatus=").append(showStatus);
|
|
||||||
sb.append(", sort=").append(sort);
|
|
||||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
||||||
sb.append("]");
|
|
||||||
return sb.toString();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,579 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class CmsHelpCategoryExample {
|
|
||||||
protected String orderByClause;
|
|
||||||
|
|
||||||
protected boolean distinct;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
public CmsHelpCategoryExample() {
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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<String> values) {
|
|
||||||
addCriterion("name in", values, "name");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andNameNotIn(List<String> 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<String> values) {
|
|
||||||
addCriterion("icon in", values, "icon");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIconNotIn(List<String> 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 andHelpCountIsNull() {
|
|
||||||
addCriterion("help_count is null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountIsNotNull() {
|
|
||||||
addCriterion("help_count is not null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountEqualTo(Integer value) {
|
|
||||||
addCriterion("help_count =", value, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountNotEqualTo(Integer value) {
|
|
||||||
addCriterion("help_count <>", value, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountGreaterThan(Integer value) {
|
|
||||||
addCriterion("help_count >", value, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountGreaterThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("help_count >=", value, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountLessThan(Integer value) {
|
|
||||||
addCriterion("help_count <", value, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountLessThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("help_count <=", value, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountIn(List<Integer> values) {
|
|
||||||
addCriterion("help_count in", values, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountNotIn(List<Integer> values) {
|
|
||||||
addCriterion("help_count not in", values, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("help_count between", value1, value2, "helpCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHelpCountNotBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("help_count not between", value1, value2, "helpCount");
|
|
||||||
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<Integer> values) {
|
|
||||||
addCriterion("show_status in", values, "showStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andShowStatusNotIn(List<Integer> 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<Integer> values) {
|
|
||||||
addCriterion("sort in", values, "sort");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSortNotIn(List<Integer> 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,640 +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;
|
|
||||||
|
|
||||||
protected boolean distinct;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
public CmsHelpExample() {
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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<Long> values) {
|
|
||||||
addCriterion("category_id in", values, "categoryId");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andCategoryIdNotIn(List<Long> 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 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<String> values) {
|
|
||||||
addCriterion("icon in", values, "icon");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIconNotIn(List<String> 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 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<String> values) {
|
|
||||||
addCriterion("title in", values, "title");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andTitleNotIn(List<String> 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 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<Integer> values) {
|
|
||||||
addCriterion("show_status in", values, "showStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andShowStatusNotIn(List<Integer> 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 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<Date> values) {
|
|
||||||
addCriterion("create_time in", values, "createTime");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andCreateTimeNotIn(List<Date> 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 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<Integer> values) {
|
|
||||||
addCriterion("read_count in", values, "readCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReadCountNotIn(List<Integer> 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 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,112 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
public class CmsMemberReport implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
@Schema(title = "举报类型:0->商品评价;1->话题内容;2->用户评论")
|
|
||||||
private Integer reportType;
|
|
||||||
|
|
||||||
@Schema(title = "举报人")
|
|
||||||
private String reportMemberName;
|
|
||||||
|
|
||||||
private Date createTime;
|
|
||||||
|
|
||||||
private String reportObject;
|
|
||||||
|
|
||||||
@Schema(title = "举报状态:0->未处理;1->已处理")
|
|
||||||
private Integer reportStatus;
|
|
||||||
|
|
||||||
@Schema(title = "处理结果:0->无效;1->有效;2->恶意")
|
|
||||||
private Integer handleStatus;
|
|
||||||
|
|
||||||
private String note;
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
@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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,710 +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;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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 andReportTypeIsNull() {
|
|
||||||
addCriterion("report_type is null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeIsNotNull() {
|
|
||||||
addCriterion("report_type is not null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeEqualTo(Integer value) {
|
|
||||||
addCriterion("report_type =", value, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeNotEqualTo(Integer value) {
|
|
||||||
addCriterion("report_type <>", value, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeGreaterThan(Integer value) {
|
|
||||||
addCriterion("report_type >", value, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeGreaterThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("report_type >=", value, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeLessThan(Integer value) {
|
|
||||||
addCriterion("report_type <", value, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeLessThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("report_type <=", value, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeIn(List<Integer> values) {
|
|
||||||
addCriterion("report_type in", values, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeNotIn(List<Integer> values) {
|
|
||||||
addCriterion("report_type not in", values, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("report_type between", value1, value2, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportTypeNotBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("report_type not between", value1, value2, "reportType");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameIsNull() {
|
|
||||||
addCriterion("report_member_name is null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameIsNotNull() {
|
|
||||||
addCriterion("report_member_name is not null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameEqualTo(String value) {
|
|
||||||
addCriterion("report_member_name =", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameNotEqualTo(String value) {
|
|
||||||
addCriterion("report_member_name <>", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameGreaterThan(String value) {
|
|
||||||
addCriterion("report_member_name >", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameGreaterThanOrEqualTo(String value) {
|
|
||||||
addCriterion("report_member_name >=", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameLessThan(String value) {
|
|
||||||
addCriterion("report_member_name <", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameLessThanOrEqualTo(String value) {
|
|
||||||
addCriterion("report_member_name <=", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameLike(String value) {
|
|
||||||
addCriterion("report_member_name like", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameNotLike(String value) {
|
|
||||||
addCriterion("report_member_name not like", value, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameIn(List<String> values) {
|
|
||||||
addCriterion("report_member_name in", values, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameNotIn(List<String> values) {
|
|
||||||
addCriterion("report_member_name not in", values, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameBetween(String value1, String value2) {
|
|
||||||
addCriterion("report_member_name between", value1, value2, "reportMemberName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportMemberNameNotBetween(String value1, String value2) {
|
|
||||||
addCriterion("report_member_name not between", value1, value2, "reportMemberName");
|
|
||||||
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<Date> values) {
|
|
||||||
addCriterion("create_time in", values, "createTime");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andCreateTimeNotIn(List<Date> 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<String> values) {
|
|
||||||
addCriterion("report_object in", values, "reportObject");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportObjectNotIn(List<String> 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<Integer> values) {
|
|
||||||
addCriterion("report_status in", values, "reportStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andReportStatusNotIn(List<Integer> 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusGreaterThan(Integer value) {
|
|
||||||
addCriterion("handle_status >", value, "handleStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusGreaterThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("handle_status >=", value, "handleStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusLessThan(Integer value) {
|
|
||||||
addCriterion("handle_status <", value, "handleStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusLessThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("handle_status <=", value, "handleStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusIn(List<Integer> values) {
|
|
||||||
addCriterion("handle_status in", values, "handleStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusNotIn(List<Integer> values) {
|
|
||||||
addCriterion("handle_status not in", values, "handleStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("handle_status between", value1, value2, "handleStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andHandleStatusNotBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("handle_status not between", value1, value2, "handleStatus");
|
|
||||||
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<String> values) {
|
|
||||||
addCriterion("note in", values, "note");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andNoteNotIn(List<String> 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,86 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
public class CmsPrefrenceArea implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
private String subTitle;
|
|
||||||
|
|
||||||
private Integer sort;
|
|
||||||
|
|
||||||
private Integer showStatus;
|
|
||||||
|
|
||||||
@Schema(title = "展示图片")
|
|
||||||
private byte[] pic;
|
|
||||||
|
|
||||||
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 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
@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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,519 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class CmsPrefrenceAreaExample {
|
|
||||||
protected String orderByClause;
|
|
||||||
|
|
||||||
protected boolean distinct;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
public CmsPrefrenceAreaExample() {
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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<String> values) {
|
|
||||||
addCriterion("name in", values, "name");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andNameNotIn(List<String> 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 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<String> values) {
|
|
||||||
addCriterion("sub_title in", values, "subTitle");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubTitleNotIn(List<String> 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 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<Integer> values) {
|
|
||||||
addCriterion("sort in", values, "sort");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSortNotIn(List<Integer> 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 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<Integer> values) {
|
|
||||||
addCriterion("show_status in", values, "showStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andShowStatusNotIn(List<Integer> 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 {
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
public class CmsPrefrenceAreaProductRelation implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private Long prefrenceAreaId;
|
|
||||||
|
|
||||||
private Long productId;
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
public Long getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getPrefrenceAreaId() {
|
|
||||||
return prefrenceAreaId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPrefrenceAreaId(Long prefrenceAreaId) {
|
|
||||||
this.prefrenceAreaId = prefrenceAreaId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getProductId() {
|
|
||||||
return productId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setProductId(Long productId) {
|
|
||||||
this.productId = productId;
|
|
||||||
}
|
|
||||||
|
|
||||||
@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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,379 +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<Criteria> 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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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 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<Long> values) {
|
|
||||||
addCriterion("prefrence_area_id in", values, "prefrenceAreaId");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andPrefrenceAreaIdNotIn(List<Long> 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
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<Long> values) {
|
|
||||||
addCriterion("product_id in", values, "productId");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andProductIdNotIn(List<Long> 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 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,202 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
public class CmsSubject implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private Long categoryId;
|
|
||||||
|
|
||||||
private String title;
|
|
||||||
|
|
||||||
@Schema(title = "专题主图")
|
|
||||||
private String pic;
|
|
||||||
|
|
||||||
@Schema(title = "关联产品数量")
|
|
||||||
private Integer productCount;
|
|
||||||
|
|
||||||
private Integer recommendStatus;
|
|
||||||
|
|
||||||
private Date createTime;
|
|
||||||
|
|
||||||
private Integer collectCount;
|
|
||||||
|
|
||||||
private Integer readCount;
|
|
||||||
|
|
||||||
private Integer commentCount;
|
|
||||||
|
|
||||||
@Schema(title = "画册图片用逗号分割")
|
|
||||||
private String albumPics;
|
|
||||||
|
|
||||||
private String description;
|
|
||||||
|
|
||||||
@Schema(title = "显示状态:0->不显示;1->显示")
|
|
||||||
private Integer showStatus;
|
|
||||||
|
|
||||||
@Schema(title = "转发数")
|
|
||||||
private Integer forwardCount;
|
|
||||||
|
|
||||||
@Schema(title = "专题分类名称")
|
|
||||||
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 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(", title=").append(title);
|
|
||||||
sb.append(", pic=").append(pic);
|
|
||||||
sb.append(", productCount=").append(productCount);
|
|
||||||
sb.append(", recommendStatus=").append(recommendStatus);
|
|
||||||
sb.append(", createTime=").append(createTime);
|
|
||||||
sb.append(", collectCount=").append(collectCount);
|
|
||||||
sb.append(", readCount=").append(readCount);
|
|
||||||
sb.append(", commentCount=").append(commentCount);
|
|
||||||
sb.append(", albumPics=").append(albumPics);
|
|
||||||
sb.append(", description=").append(description);
|
|
||||||
sb.append(", showStatus=").append(showStatus);
|
|
||||||
sb.append(", forwardCount=").append(forwardCount);
|
|
||||||
sb.append(", categoryName=").append(categoryName);
|
|
||||||
sb.append(", content=").append(content);
|
|
||||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
||||||
sb.append("]");
|
|
||||||
return sb.toString();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,87 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
public class CmsSubjectCategory implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
@Schema(title = "分类图标")
|
|
||||||
private String icon;
|
|
||||||
|
|
||||||
@Schema(title = "专题数量")
|
|
||||||
private Integer subjectCount;
|
|
||||||
|
|
||||||
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 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,579 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class CmsSubjectCategoryExample {
|
|
||||||
protected String orderByClause;
|
|
||||||
|
|
||||||
protected boolean distinct;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
public CmsSubjectCategoryExample() {
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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<String> values) {
|
|
||||||
addCriterion("name in", values, "name");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andNameNotIn(List<String> 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<String> values) {
|
|
||||||
addCriterion("icon in", values, "icon");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIconNotIn(List<String> 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 andSubjectCountIsNull() {
|
|
||||||
addCriterion("subject_count is null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountIsNotNull() {
|
|
||||||
addCriterion("subject_count is not null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count =", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountNotEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count <>", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountGreaterThan(Integer value) {
|
|
||||||
addCriterion("subject_count >", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count >=", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountLessThan(Integer value) {
|
|
||||||
addCriterion("subject_count <", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountLessThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count <=", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountIn(List<Integer> values) {
|
|
||||||
addCriterion("subject_count in", values, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountNotIn(List<Integer> values) {
|
|
||||||
addCriterion("subject_count not in", values, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("subject_count between", value1, value2, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("subject_count not between", value1, value2, "subjectCount");
|
|
||||||
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<Integer> values) {
|
|
||||||
addCriterion("show_status in", values, "showStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andShowStatusNotIn(List<Integer> 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<Integer> values) {
|
|
||||||
addCriterion("sort in", values, "sort");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSortNotIn(List<Integer> 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,97 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
public class CmsSubjectComment implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private Long subjectId;
|
|
||||||
|
|
||||||
private String memberNickName;
|
|
||||||
|
|
||||||
private String memberIcon;
|
|
||||||
|
|
||||||
private String content;
|
|
||||||
|
|
||||||
private Date createTime;
|
|
||||||
|
|
||||||
private Integer showStatus;
|
|
||||||
|
|
||||||
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 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
@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(", 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,650 +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;
|
|
||||||
|
|
||||||
protected boolean distinct;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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<Long> values) {
|
|
||||||
addCriterion("subject_id in", values, "subjectId");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectIdNotIn(List<Long> 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 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<String> values) {
|
|
||||||
addCriterion("member_nick_name in", values, "memberNickName");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andMemberNickNameNotIn(List<String> 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<String> values) {
|
|
||||||
addCriterion("member_icon in", values, "memberIcon");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andMemberIconNotIn(List<String> 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<String> values) {
|
|
||||||
addCriterion("content in", values, "content");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andContentNotIn(List<String> 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<Date> values) {
|
|
||||||
addCriterion("create_time in", values, "createTime");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andCreateTimeNotIn(List<Date> 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<Integer> values) {
|
|
||||||
addCriterion("show_status in", values, "showStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andShowStatusNotIn(List<Integer> 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 {
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,52 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
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 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(", productId=").append(productId);
|
|
||||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
||||||
sb.append("]");
|
|
||||||
return sb.toString();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,379 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class CmsSubjectProductRelationExample {
|
|
||||||
protected String orderByClause;
|
|
||||||
|
|
||||||
protected boolean distinct;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
public CmsSubjectProductRelationExample() {
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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<Long> values) {
|
|
||||||
addCriterion("subject_id in", values, "subjectId");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectIdNotIn(List<Long> 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 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<Long> values) {
|
|
||||||
addCriterion("product_id in", values, "productId");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andProductIdNotIn(List<Long> 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 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,157 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
public class CmsTopic implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private Long categoryId;
|
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
private Date createTime;
|
|
||||||
|
|
||||||
private Date startTime;
|
|
||||||
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
@Schema(title = "参与人数")
|
|
||||||
private Integer attendCount;
|
|
||||||
|
|
||||||
@Schema(title = "关注人数")
|
|
||||||
private Integer attentionCount;
|
|
||||||
|
|
||||||
private Integer readCount;
|
|
||||||
|
|
||||||
@Schema(title = "奖品名称")
|
|
||||||
private String awardName;
|
|
||||||
|
|
||||||
@Schema(title = "参与方式")
|
|
||||||
private String attendType;
|
|
||||||
|
|
||||||
@Schema(title = "话题内容")
|
|
||||||
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 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,87 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
public class CmsTopicCategory implements Serializable {
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
@Schema(title = "分类图标")
|
|
||||||
private String icon;
|
|
||||||
|
|
||||||
@Schema(title = "专题数量")
|
|
||||||
private Integer subjectCount;
|
|
||||||
|
|
||||||
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 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,579 +0,0 @@
|
|||||||
package com.macro.mall.model;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class CmsTopicCategoryExample {
|
|
||||||
protected String orderByClause;
|
|
||||||
|
|
||||||
protected boolean distinct;
|
|
||||||
|
|
||||||
protected List<Criteria> oredCriteria;
|
|
||||||
|
|
||||||
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<Criteria> 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<Criterion> criteria;
|
|
||||||
|
|
||||||
protected GeneratedCriteria() {
|
|
||||||
super();
|
|
||||||
criteria = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid() {
|
|
||||||
return criteria.size() > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> getAllCriteria() {
|
|
||||||
return criteria;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Criterion> 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<Long> values) {
|
|
||||||
addCriterion("id in", values, "id");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIdNotIn(List<Long> 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<String> values) {
|
|
||||||
addCriterion("name in", values, "name");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andNameNotIn(List<String> 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<String> values) {
|
|
||||||
addCriterion("icon in", values, "icon");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andIconNotIn(List<String> 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 andSubjectCountIsNull() {
|
|
||||||
addCriterion("subject_count is null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountIsNotNull() {
|
|
||||||
addCriterion("subject_count is not null");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count =", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountNotEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count <>", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountGreaterThan(Integer value) {
|
|
||||||
addCriterion("subject_count >", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count >=", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountLessThan(Integer value) {
|
|
||||||
addCriterion("subject_count <", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountLessThanOrEqualTo(Integer value) {
|
|
||||||
addCriterion("subject_count <=", value, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountIn(List<Integer> values) {
|
|
||||||
addCriterion("subject_count in", values, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountNotIn(List<Integer> values) {
|
|
||||||
addCriterion("subject_count not in", values, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("subject_count between", value1, value2, "subjectCount");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) {
|
|
||||||
addCriterion("subject_count not between", value1, value2, "subjectCount");
|
|
||||||
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<Integer> values) {
|
|
||||||
addCriterion("show_status in", values, "showStatus");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andShowStatusNotIn(List<Integer> 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<Integer> values) {
|
|
||||||
addCriterion("sort in", values, "sort");
|
|
||||||
return (Criteria) this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Criteria andSortNotIn(List<Integer> 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user