慧麦商城
This commit is contained in:
49
mall-dao/pom.xml
Normal file
49
mall-dao/pom.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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.buy507.mall</groupId>
|
||||
<artifactId>mall-dao</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>mall-dao</name>
|
||||
<description>mall-dao project for mall</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
<skipTests>true</skipTests>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.buy507.mall</groupId>
|
||||
<artifactId>mall-common</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!-- MyBatis 生成器 -->
|
||||
<dependency>
|
||||
<groupId>org.mybatis.generator</groupId>
|
||||
<artifactId>mybatis-generator-core</artifactId>
|
||||
<version>1.3.7</version>
|
||||
</dependency>
|
||||
<!-- MyBatis-->
|
||||
<dependency>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis</artifactId>
|
||||
<version>3.4.6</version>
|
||||
</dependency>
|
||||
<!--Mysql数据库驱动-->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.15</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
72
mall-dao/src/main/java/com/buy507/mall/CommentGenerator.java
Normal file
72
mall-dao/src/main/java/com/buy507/mall/CommentGenerator.java
Normal file
@@ -0,0 +1,72 @@
|
||||
package com.buy507.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;
|
||||
|
||||
/**
|
||||
* 自定义注释生成器
|
||||
*/
|
||||
public class CommentGenerator extends DefaultCommentGenerator {
|
||||
private boolean addRemarkComments = false;
|
||||
private static final String EXAMPLE_SUFFIX="Example";
|
||||
private static final String API_MODEL_PROPERTY_FULL_CLASS_NAME="io.swagger.annotations.ApiModelProperty";
|
||||
|
||||
/**
|
||||
* 设置用户配置的参数
|
||||
*/
|
||||
@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();
|
||||
//根据参数和备注信息判断是否添加备注信息
|
||||
if(addRemarkComments&&StringUtility.stringHasValue(remarks)){
|
||||
// addFieldJavaDoc(field, remarks);
|
||||
//数据库中特殊字符需要转义
|
||||
if(remarks.contains("\"")){
|
||||
remarks = remarks.replace("\"","'");
|
||||
}
|
||||
//给model的字段添加swagger注解
|
||||
field.addJavaDocLine("@ApiModelProperty(value = \""+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.isJavaInterface()&&!compilationUnit.getType().getFullyQualifiedName().contains(EXAMPLE_SUFFIX)){
|
||||
compilationUnit.addImportedType(new FullyQualifiedJavaType(API_MODEL_PROPERTY_FULL_CLASS_NAME));
|
||||
}
|
||||
}
|
||||
}
|
||||
37
mall-dao/src/main/java/com/buy507/mall/Generator.java
Normal file
37
mall-dao/src/main/java/com/buy507/mall/Generator.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package com.buy507.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的代码
|
||||
*/
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsHelpCategory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsHelpCategory record);
|
||||
|
||||
List<CmsHelpCategory> selectByExample(CmsHelpCategoryExample example);
|
||||
|
||||
CmsHelpCategory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsHelpCategory record);
|
||||
|
||||
int updateByPrimaryKey(CmsHelpCategory record);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsHelp;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsHelp record);
|
||||
|
||||
List<CmsHelp> selectByExampleWithBLOBs(CmsHelpExample example);
|
||||
|
||||
List<CmsHelp> selectByExample(CmsHelpExample example);
|
||||
|
||||
CmsHelp selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsHelp record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(CmsHelp record);
|
||||
|
||||
int updateByPrimaryKey(CmsHelp record);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsMemberReport;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsMemberReport record);
|
||||
|
||||
List<CmsMemberReport> selectByExample(CmsMemberReportExample example);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsMemberReport record, @Param("example") CmsMemberReportExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsMemberReport record, @Param("example") CmsMemberReportExample example);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsPrefrenceArea;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsPrefrenceArea record);
|
||||
|
||||
List<CmsPrefrenceArea> selectByExampleWithBLOBs(CmsPrefrenceAreaExample example);
|
||||
|
||||
List<CmsPrefrenceArea> selectByExample(CmsPrefrenceAreaExample example);
|
||||
|
||||
CmsPrefrenceArea selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsPrefrenceArea record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(CmsPrefrenceArea record);
|
||||
|
||||
int updateByPrimaryKey(CmsPrefrenceArea record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsPrefrenceAreaProductRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsPrefrenceAreaProductRelation record);
|
||||
|
||||
List<CmsPrefrenceAreaProductRelation> selectByExample(CmsPrefrenceAreaProductRelationExample example);
|
||||
|
||||
CmsPrefrenceAreaProductRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelation record);
|
||||
|
||||
int updateByPrimaryKey(CmsPrefrenceAreaProductRelation record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsSubjectCategory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsSubjectCategory record);
|
||||
|
||||
List<CmsSubjectCategory> selectByExample(CmsSubjectCategoryExample example);
|
||||
|
||||
CmsSubjectCategory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsSubjectCategory record);
|
||||
|
||||
int updateByPrimaryKey(CmsSubjectCategory record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsSubjectComment;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsSubjectComment record);
|
||||
|
||||
List<CmsSubjectComment> selectByExample(CmsSubjectCommentExample example);
|
||||
|
||||
CmsSubjectComment selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsSubjectComment record);
|
||||
|
||||
int updateByPrimaryKey(CmsSubjectComment record);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsSubject;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsSubject record);
|
||||
|
||||
List<CmsSubject> selectByExampleWithBLOBs(CmsSubjectExample example);
|
||||
|
||||
List<CmsSubject> selectByExample(CmsSubjectExample example);
|
||||
|
||||
CmsSubject selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsSubject record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(CmsSubject record);
|
||||
|
||||
int updateByPrimaryKey(CmsSubject record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsSubjectProductRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsSubjectProductRelation record);
|
||||
|
||||
List<CmsSubjectProductRelation> selectByExample(CmsSubjectProductRelationExample example);
|
||||
|
||||
CmsSubjectProductRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsSubjectProductRelation record);
|
||||
|
||||
int updateByPrimaryKey(CmsSubjectProductRelation record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsTopicCategory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsTopicCategory record);
|
||||
|
||||
List<CmsTopicCategory> selectByExample(CmsTopicCategoryExample example);
|
||||
|
||||
CmsTopicCategory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsTopicCategory record);
|
||||
|
||||
int updateByPrimaryKey(CmsTopicCategory record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsTopicComment;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsTopicComment record);
|
||||
|
||||
List<CmsTopicComment> selectByExample(CmsTopicCommentExample example);
|
||||
|
||||
CmsTopicComment selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsTopicComment record);
|
||||
|
||||
int updateByPrimaryKey(CmsTopicComment record);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.CmsTopic;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(CmsTopic record);
|
||||
|
||||
List<CmsTopic> selectByExampleWithBLOBs(CmsTopicExample example);
|
||||
|
||||
List<CmsTopic> selectByExample(CmsTopicExample example);
|
||||
|
||||
CmsTopic selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example);
|
||||
|
||||
int updateByExample(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(CmsTopic record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(CmsTopic record);
|
||||
|
||||
int updateByPrimaryKey(CmsTopic record);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.buy507.mall.model.DmsDistributionDictionary;
|
||||
|
||||
public interface DmsDistributionDictionaryMapper {
|
||||
|
||||
List<DmsDistributionDictionary> selectAll();
|
||||
|
||||
List<DmsDistributionDictionary> selectByShowStatus(Integer showStatus);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import com.buy507.mall.model.DmsMemberBankAccount;
|
||||
|
||||
public interface DmsMemberBankAccountMapper {
|
||||
|
||||
List<DmsMemberBankAccount> selectByMemberId(Long memberId);
|
||||
|
||||
int insert(DmsMemberBankAccount memberBankAccount);
|
||||
|
||||
int updateById(DmsMemberBankAccount memberBankAccount);
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
DmsMemberBankAccount selectOneById(Long id);
|
||||
|
||||
DmsMemberBankAccount selectOneByMemberIdAndDefaultStatus(@Param("memberId") Long memberId, @Param("defaultStatus") Integer defaultStatus);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.buy507.mall.model.DmsMemberFreezeAccountRecord;
|
||||
|
||||
public interface DmsMemberFreezeAccountRecordMapper {
|
||||
|
||||
int insert(DmsMemberFreezeAccountRecord memberFreezeAccountRecord);
|
||||
|
||||
List<DmsMemberFreezeAccountRecord> selectByOrderId(Long orderId);
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.DmsMemberMonthRewardRecord;
|
||||
|
||||
public interface DmsMemberMonthRewardRecordMapper {
|
||||
|
||||
int insert(DmsMemberMonthRewardRecord memberMonthRewardRecord);
|
||||
|
||||
Integer selectCountByMonth(Integer month);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import com.buy507.mall.model.DmsMemberTotalIncome;
|
||||
|
||||
public interface DmsMemberTotalIncomeMapper {
|
||||
|
||||
DmsMemberTotalIncome selectOneByMemberIdAndItemType(@Param("memberId") Long memberId, @Param("itemType") Integer itemType);
|
||||
|
||||
int insert(DmsMemberTotalIncome memberTotalIncome);
|
||||
|
||||
int updateById(DmsMemberTotalIncome memberTotalIncome);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.buy507.mall.model.DmsMemberTradeRecord;
|
||||
|
||||
public interface DmsMemberTradeRecordMapper {
|
||||
|
||||
List<DmsMemberTradeRecord> selectByMemberId(Long memberId);
|
||||
|
||||
List<DmsMemberTradeRecord> selectByOrderId(Long orderId);
|
||||
|
||||
int insert(DmsMemberTradeRecord memberTradeRecord);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.DmsMemberTransferRecord;
|
||||
|
||||
public interface DmsMemberTransferRecordMapper {
|
||||
|
||||
int insert(DmsMemberTransferRecord memberTransferRecord);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.buy507.mall.model.DmsMemberWithdrawApply;
|
||||
|
||||
public interface DmsMemberWithdrawApplyMapper {
|
||||
|
||||
DmsMemberWithdrawApply selectOneById(Long id);
|
||||
|
||||
List<DmsMemberWithdrawApply> selectAll();
|
||||
|
||||
int insert(DmsMemberWithdrawApply memberWithdrawApply);
|
||||
|
||||
int updateById(DmsMemberWithdrawApply memberWithdrawApply);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.DmsOfflinePaymentRecord;
|
||||
|
||||
public interface DmsOfflinePaymentRecordMapper {
|
||||
|
||||
DmsOfflinePaymentRecord selectOneByOrderId(Long orderId);
|
||||
|
||||
int insert(DmsOfflinePaymentRecord offlinePaymentRecord);
|
||||
|
||||
int updateById(DmsOfflinePaymentRecord offlinePaymentRecord);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.DmsSellerBankAccount;
|
||||
|
||||
public interface DmsSellerBankAccountMapper {
|
||||
|
||||
DmsSellerBankAccount selectOneById(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.buy507.mall.model.DmsTeamLevel;
|
||||
|
||||
public interface DmsTeamLevelMapper {
|
||||
|
||||
DmsTeamLevel selectOneByMemberId(Long memberId);
|
||||
|
||||
List<DmsTeamLevel> selectByParentId(Long parentId);
|
||||
|
||||
int insert(DmsTeamLevel teamLevel);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.DmsTeamMemberNumber;
|
||||
|
||||
public interface DmsTeamMemberNumberMapper {
|
||||
|
||||
DmsTeamMemberNumber selectOneByMemberId(Long memberId);
|
||||
|
||||
int insert(DmsTeamMemberNumber teamMemberNumber);
|
||||
|
||||
int updateById(DmsTeamMemberNumber teamMemberNumber);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.DmsTeamTotalConsume;
|
||||
|
||||
public interface DmsTeamTotalConsumeMapper {
|
||||
|
||||
DmsTeamTotalConsume selectOneByMemberId(Long memberId);
|
||||
|
||||
int insert(DmsTeamTotalConsume teamTotalConsume);
|
||||
|
||||
int updateById(DmsTeamTotalConsume teamTotalConsume);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.DmsTeamTotalIncome;
|
||||
|
||||
public interface DmsTeamTotalIncomeMapper {
|
||||
|
||||
int insert(DmsTeamTotalIncome teamTotalIncome);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsCartItem;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsCartItem record);
|
||||
|
||||
List<OmsCartItem> selectByExample(OmsCartItemExample example);
|
||||
|
||||
OmsCartItem selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsCartItem record);
|
||||
|
||||
int updateByPrimaryKey(OmsCartItem record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsCompanyAddress;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsCompanyAddress record);
|
||||
|
||||
List<OmsCompanyAddress> selectByExample(OmsCompanyAddressExample example);
|
||||
|
||||
OmsCompanyAddress selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsCompanyAddress record);
|
||||
|
||||
int updateByPrimaryKey(OmsCompanyAddress record);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.buy507.mall.model.OmsExpressCompany;
|
||||
|
||||
public interface OmsExpressCompanyMapper {
|
||||
|
||||
OmsExpressCompany selectOneByName(String name);
|
||||
|
||||
List<OmsExpressCompany> selectAll();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsOrderItem;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsOrderItem record);
|
||||
|
||||
List<OmsOrderItem> selectByExample(OmsOrderItemExample example);
|
||||
|
||||
OmsOrderItem selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsOrderItem record);
|
||||
|
||||
int updateByPrimaryKey(OmsOrderItem record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsOrder;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsOrder record);
|
||||
|
||||
List<OmsOrder> selectByExample(OmsOrderExample example);
|
||||
|
||||
OmsOrder selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsOrder record);
|
||||
|
||||
int updateByPrimaryKey(OmsOrder record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsOrderOperateHistory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsOrderOperateHistory record);
|
||||
|
||||
List<OmsOrderOperateHistory> selectByExample(OmsOrderOperateHistoryExample example);
|
||||
|
||||
OmsOrderOperateHistory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsOrderOperateHistory record);
|
||||
|
||||
int updateByPrimaryKey(OmsOrderOperateHistory record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsOrderReturnApply;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsOrderReturnApply record);
|
||||
|
||||
List<OmsOrderReturnApply> selectByExample(OmsOrderReturnApplyExample example);
|
||||
|
||||
OmsOrderReturnApply selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsOrderReturnApply record);
|
||||
|
||||
int updateByPrimaryKey(OmsOrderReturnApply record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsOrderReturnReason;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsOrderReturnReason record);
|
||||
|
||||
List<OmsOrderReturnReason> selectByExample(OmsOrderReturnReasonExample example);
|
||||
|
||||
OmsOrderReturnReason selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsOrderReturnReason record);
|
||||
|
||||
int updateByPrimaryKey(OmsOrderReturnReason record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.OmsOrderSetting;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(OmsOrderSetting record);
|
||||
|
||||
List<OmsOrderSetting> selectByExample(OmsOrderSettingExample example);
|
||||
|
||||
OmsOrderSetting selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example);
|
||||
|
||||
int updateByExample(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(OmsOrderSetting record);
|
||||
|
||||
int updateByPrimaryKey(OmsOrderSetting record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsAlbum;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsAlbum record);
|
||||
|
||||
List<PmsAlbum> selectByExample(PmsAlbumExample example);
|
||||
|
||||
PmsAlbum selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsAlbum record);
|
||||
|
||||
int updateByPrimaryKey(PmsAlbum record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsAlbumPic;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsAlbumPic record);
|
||||
|
||||
List<PmsAlbumPic> selectByExample(PmsAlbumPicExample example);
|
||||
|
||||
PmsAlbumPic selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsAlbumPic record);
|
||||
|
||||
int updateByPrimaryKey(PmsAlbumPic record);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsBrand;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsBrand record);
|
||||
|
||||
List<PmsBrand> selectByExampleWithBLOBs(PmsBrandExample example);
|
||||
|
||||
List<PmsBrand> selectByExample(PmsBrandExample example);
|
||||
|
||||
PmsBrand selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsBrand record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(PmsBrand record);
|
||||
|
||||
int updateByPrimaryKey(PmsBrand record);
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsComment;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsComment record);
|
||||
|
||||
List<PmsComment> selectByExampleWithBLOBs(PmsCommentExample example);
|
||||
|
||||
List<PmsComment> selectByExample(PmsCommentExample example);
|
||||
|
||||
PmsComment selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsComment record, @Param("example") PmsCommentExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") PmsComment record, @Param("example") PmsCommentExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsComment record, @Param("example") PmsCommentExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsComment record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(PmsComment record);
|
||||
|
||||
int updateByPrimaryKey(PmsComment record);
|
||||
int getCountComment(Long id);
|
||||
double getApplauseRate(Long id);
|
||||
int getApplauseCount(Long id);
|
||||
List<PmsComment> getPmsComment(Long id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsCommentReplay;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsCommentReplay record);
|
||||
|
||||
List<PmsCommentReplay> selectByExample(PmsCommentReplayExample example);
|
||||
|
||||
PmsCommentReplay selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsCommentReplay record);
|
||||
|
||||
int updateByPrimaryKey(PmsCommentReplay record);
|
||||
List<PmsCommentReplay> getPmsCommentReplay(Long id);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsFeightTemplate;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsFeightTemplate record);
|
||||
|
||||
List<PmsFeightTemplate> selectByExample(PmsFeightTemplateExample example);
|
||||
|
||||
PmsFeightTemplate selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsFeightTemplate record);
|
||||
|
||||
int updateByPrimaryKey(PmsFeightTemplate record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsMemberPrice;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsMemberPrice record);
|
||||
|
||||
List<PmsMemberPrice> selectByExample(PmsMemberPriceExample example);
|
||||
|
||||
PmsMemberPrice selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsMemberPrice record);
|
||||
|
||||
int updateByPrimaryKey(PmsMemberPrice record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductAttributeCategory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductAttributeCategory record);
|
||||
|
||||
List<PmsProductAttributeCategory> selectByExample(PmsProductAttributeCategoryExample example);
|
||||
|
||||
PmsProductAttributeCategory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductAttributeCategory record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductAttributeCategory record);
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductAttribute;
|
||||
import com.buy507.mall.model.PmsProductAttributeExample;
|
||||
import com.buy507.mall.model.PmsProductAttributeValue;
|
||||
|
||||
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 record);
|
||||
|
||||
int insertSelective(PmsProductAttribute record);
|
||||
|
||||
List<PmsProductAttribute> selectByExample(PmsProductAttributeExample example);
|
||||
|
||||
PmsProductAttribute selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductAttribute record);
|
||||
|
||||
List<PmsProductAttribute> getPmsProductAttribute(Long id);
|
||||
|
||||
int updateByPrimaryKey(PmsProductAttribute record);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductAttributeValue;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductAttributeValue record);
|
||||
|
||||
List<PmsProductAttributeValue> selectByExample(PmsProductAttributeValueExample example);
|
||||
|
||||
PmsProductAttributeValue selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductAttributeValue record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductAttributeValue record);
|
||||
|
||||
List<PmsProductAttributeValue> getPmsProductAttributeValue(Long id);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductCategoryAttributeRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductCategoryAttributeRelation record);
|
||||
|
||||
List<PmsProductCategoryAttributeRelation> selectByExample(PmsProductCategoryAttributeRelationExample example);
|
||||
|
||||
PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductCategoryAttributeRelation record);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductCategory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductCategory record);
|
||||
|
||||
List<PmsProductCategory> selectByExampleWithBLOBs(PmsProductCategoryExample example);
|
||||
|
||||
List<PmsProductCategory> selectByExample(PmsProductCategoryExample example);
|
||||
|
||||
PmsProductCategory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductCategory record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(PmsProductCategory record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductCategory record);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductFullReduction;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductFullReduction record);
|
||||
|
||||
List<PmsProductFullReduction> selectByExample(PmsProductFullReductionExample example);
|
||||
|
||||
PmsProductFullReduction selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductFullReduction record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductFullReduction record);
|
||||
|
||||
PmsProductFullReduction getPmsProductFullReduction(Long id);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductLadder;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductLadder record);
|
||||
|
||||
List<PmsProductLadder> selectByExample(PmsProductLadderExample example);
|
||||
|
||||
PmsProductLadder selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductLadder record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductLadder record);
|
||||
|
||||
PmsProductLadder getPmsProductLadder(Long id);
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProduct;
|
||||
import com.buy507.mall.model.PmsProductExample;
|
||||
import com.buy507.mall.model.PmsProductFullReduction;
|
||||
|
||||
import java.util.HashMap;
|
||||
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 record);
|
||||
|
||||
int insertSelective(PmsProduct record);
|
||||
|
||||
List<PmsProduct> selectByExampleWithBLOBs(PmsProductExample example);
|
||||
|
||||
List<PmsProduct> selectByExample(PmsProductExample example);
|
||||
|
||||
PmsProduct selectByPrimaryKey(Long id);
|
||||
int updateByExampleSelective(@Param("record") PmsProduct record, @Param("example") PmsProductExample example);
|
||||
|
||||
int updateByExampleWithBLOBs(@Param("record") PmsProduct record, @Param("example") PmsProductExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProduct record, @Param("example") PmsProductExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProduct record);
|
||||
|
||||
int updateByPrimaryKeyWithBLOBs(PmsProduct record);
|
||||
|
||||
int updateByPrimaryKey(PmsProduct record);
|
||||
|
||||
PmsProduct getProductInfoById(Long id);
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductOperateLog;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductOperateLog record);
|
||||
|
||||
List<PmsProductOperateLog> selectByExample(PmsProductOperateLogExample example);
|
||||
|
||||
PmsProductOperateLog selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductOperateLog record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductOperateLog record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsProductVertifyRecord;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsProductVertifyRecord record);
|
||||
|
||||
List<PmsProductVertifyRecord> selectByExample(PmsProductVertifyRecordExample example);
|
||||
|
||||
PmsProductVertifyRecord selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsProductVertifyRecord record);
|
||||
|
||||
int updateByPrimaryKey(PmsProductVertifyRecord record);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.PmsSkuStock;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(PmsSkuStock record);
|
||||
|
||||
List<PmsSkuStock> selectByExample(PmsSkuStockExample example);
|
||||
|
||||
PmsSkuStock selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example);
|
||||
|
||||
int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(PmsSkuStock record);
|
||||
|
||||
int updateByPrimaryKey(PmsSkuStock record);
|
||||
|
||||
List<PmsSkuStock> getPmsSkuStock(Long id);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsCouponHistory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsCouponHistory record);
|
||||
|
||||
List<SmsCouponHistory> selectByExample(SmsCouponHistoryExample example);
|
||||
|
||||
SmsCouponHistory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsCouponHistory record);
|
||||
|
||||
int updateByPrimaryKey(SmsCouponHistory record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsCoupon;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsCoupon record);
|
||||
|
||||
List<SmsCoupon> selectByExample(SmsCouponExample example);
|
||||
|
||||
SmsCoupon selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsCoupon record);
|
||||
|
||||
int updateByPrimaryKey(SmsCoupon record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsCouponProductCategoryRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsCouponProductCategoryRelation record);
|
||||
|
||||
List<SmsCouponProductCategoryRelation> selectByExample(SmsCouponProductCategoryRelationExample example);
|
||||
|
||||
SmsCouponProductCategoryRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsCouponProductCategoryRelation record);
|
||||
|
||||
int updateByPrimaryKey(SmsCouponProductCategoryRelation record);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsCouponProductRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsCouponProductRelation record);
|
||||
|
||||
List<SmsCouponProductRelation> selectByExample(SmsCouponProductRelationExample example);
|
||||
|
||||
SmsCouponProductRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsCouponProductRelation record);
|
||||
|
||||
int updateByPrimaryKey(SmsCouponProductRelation record);
|
||||
|
||||
SmsCouponProductRelation getsmsCouponProductRelation(Long id);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsFlashPromotionLog;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsFlashPromotionLog record);
|
||||
|
||||
List<SmsFlashPromotionLog> selectByExample(SmsFlashPromotionLogExample example);
|
||||
|
||||
SmsFlashPromotionLog selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsFlashPromotionLog record);
|
||||
|
||||
int updateByPrimaryKey(SmsFlashPromotionLog record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsFlashPromotion;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsFlashPromotion record);
|
||||
|
||||
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example);
|
||||
|
||||
SmsFlashPromotion selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsFlashPromotion record);
|
||||
|
||||
int updateByPrimaryKey(SmsFlashPromotion record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsFlashPromotionProductRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsFlashPromotionProductRelation record);
|
||||
|
||||
List<SmsFlashPromotionProductRelation> selectByExample(SmsFlashPromotionProductRelationExample example);
|
||||
|
||||
SmsFlashPromotionProductRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsFlashPromotionProductRelation record);
|
||||
|
||||
int updateByPrimaryKey(SmsFlashPromotionProductRelation record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsFlashPromotionSession;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsFlashPromotionSession record);
|
||||
|
||||
List<SmsFlashPromotionSession> selectByExample(SmsFlashPromotionSessionExample example);
|
||||
|
||||
SmsFlashPromotionSession selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsFlashPromotionSession record);
|
||||
|
||||
int updateByPrimaryKey(SmsFlashPromotionSession record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsHomeAdvertise;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsHomeAdvertise record);
|
||||
|
||||
List<SmsHomeAdvertise> selectByExample(SmsHomeAdvertiseExample example);
|
||||
|
||||
SmsHomeAdvertise selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsHomeAdvertise record);
|
||||
|
||||
int updateByPrimaryKey(SmsHomeAdvertise record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsHomeBrand;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsHomeBrand record);
|
||||
|
||||
List<SmsHomeBrand> selectByExample(SmsHomeBrandExample example);
|
||||
|
||||
SmsHomeBrand selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsHomeBrand record);
|
||||
|
||||
int updateByPrimaryKey(SmsHomeBrand record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsHomeNewProduct;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsHomeNewProduct record);
|
||||
|
||||
List<SmsHomeNewProduct> selectByExample(SmsHomeNewProductExample example);
|
||||
|
||||
SmsHomeNewProduct selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsHomeNewProduct record);
|
||||
|
||||
int updateByPrimaryKey(SmsHomeNewProduct record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsHomeRecommendProduct;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsHomeRecommendProduct record);
|
||||
|
||||
List<SmsHomeRecommendProduct> selectByExample(SmsHomeRecommendProductExample example);
|
||||
|
||||
SmsHomeRecommendProduct selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsHomeRecommendProduct record);
|
||||
|
||||
int updateByPrimaryKey(SmsHomeRecommendProduct record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.SmsHomeRecommendSubject;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(SmsHomeRecommendSubject record);
|
||||
|
||||
List<SmsHomeRecommendSubject> selectByExample(SmsHomeRecommendSubjectExample example);
|
||||
|
||||
SmsHomeRecommendSubject selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example);
|
||||
|
||||
int updateByExample(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(SmsHomeRecommendSubject record);
|
||||
|
||||
int updateByPrimaryKey(SmsHomeRecommendSubject record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsAdminLoginLog;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(UmsAdminLoginLog record);
|
||||
|
||||
List<UmsAdminLoginLog> selectByExample(UmsAdminLoginLogExample example);
|
||||
|
||||
UmsAdminLoginLog selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsAdminLoginLog record);
|
||||
|
||||
int updateByPrimaryKey(UmsAdminLoginLog record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsAdmin;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(UmsAdmin record);
|
||||
|
||||
List<UmsAdmin> selectByExample(UmsAdminExample example);
|
||||
|
||||
UmsAdmin selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsAdmin record);
|
||||
|
||||
int updateByPrimaryKey(UmsAdmin record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsAdminPermissionRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(UmsAdminPermissionRelation record);
|
||||
|
||||
List<UmsAdminPermissionRelation> selectByExample(UmsAdminPermissionRelationExample example);
|
||||
|
||||
UmsAdminPermissionRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsAdminPermissionRelation record);
|
||||
|
||||
int updateByPrimaryKey(UmsAdminPermissionRelation record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsAdminRoleRelation;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(UmsAdminRoleRelation record);
|
||||
|
||||
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
|
||||
|
||||
UmsAdminRoleRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsAdminRoleRelation record);
|
||||
|
||||
int updateByPrimaryKey(UmsAdminRoleRelation record);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.buy507.mall.model.UmsArea;
|
||||
|
||||
public interface UmsAreaMapper {
|
||||
|
||||
List<UmsArea> selectAll();
|
||||
|
||||
UmsArea selectOneById(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsGrowthChangeHistory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(UmsGrowthChangeHistory record);
|
||||
|
||||
List<UmsGrowthChangeHistory> selectByExample(UmsGrowthChangeHistoryExample example);
|
||||
|
||||
UmsGrowthChangeHistory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsGrowthChangeHistory record);
|
||||
|
||||
int updateByPrimaryKey(UmsGrowthChangeHistory record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsIntegrationChangeHistory;
|
||||
import com.buy507.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 record);
|
||||
|
||||
int insertSelective(UmsIntegrationChangeHistory record);
|
||||
|
||||
List<UmsIntegrationChangeHistory> selectByExample(UmsIntegrationChangeHistoryExample example);
|
||||
|
||||
UmsIntegrationChangeHistory selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsIntegrationChangeHistory record);
|
||||
|
||||
int updateByPrimaryKey(UmsIntegrationChangeHistory record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsIntegrationConsumeSetting;
|
||||
import com.buy507.mall.model.UmsIntegrationConsumeSettingExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsIntegrationConsumeSettingMapper {
|
||||
long countByExample(UmsIntegrationConsumeSettingExample example);
|
||||
|
||||
int deleteByExample(UmsIntegrationConsumeSettingExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsIntegrationConsumeSetting record);
|
||||
|
||||
int insertSelective(UmsIntegrationConsumeSetting record);
|
||||
|
||||
List<UmsIntegrationConsumeSetting> selectByExample(UmsIntegrationConsumeSettingExample example);
|
||||
|
||||
UmsIntegrationConsumeSetting selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsIntegrationConsumeSetting record);
|
||||
|
||||
int updateByPrimaryKey(UmsIntegrationConsumeSetting record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberAccountTransaction;
|
||||
import com.buy507.mall.model.UmsMemberAccountTransactionExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberAccountTransactionMapper {
|
||||
long countByExample(UmsMemberAccountTransactionExample example);
|
||||
|
||||
int deleteByExample(UmsMemberAccountTransactionExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberAccountTransaction record);
|
||||
|
||||
int insertSelective(UmsMemberAccountTransaction record);
|
||||
|
||||
List<UmsMemberAccountTransaction> selectByExample(UmsMemberAccountTransactionExample example);
|
||||
|
||||
UmsMemberAccountTransaction selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberAccountTransaction record, @Param("example") UmsMemberAccountTransactionExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberAccountTransaction record, @Param("example") UmsMemberAccountTransactionExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberAccountTransaction record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberAccountTransaction record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberLevel;
|
||||
import com.buy507.mall.model.UmsMemberLevelExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberLevelMapper {
|
||||
long countByExample(UmsMemberLevelExample example);
|
||||
|
||||
int deleteByExample(UmsMemberLevelExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberLevel record);
|
||||
|
||||
int insertSelective(UmsMemberLevel record);
|
||||
|
||||
List<UmsMemberLevel> selectByExample(UmsMemberLevelExample example);
|
||||
|
||||
UmsMemberLevel selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberLevel record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberLevel record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberLoginLog;
|
||||
import com.buy507.mall.model.UmsMemberLoginLogExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberLoginLogMapper {
|
||||
long countByExample(UmsMemberLoginLogExample example);
|
||||
|
||||
int deleteByExample(UmsMemberLoginLogExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberLoginLog record);
|
||||
|
||||
int insertSelective(UmsMemberLoginLog record);
|
||||
|
||||
List<UmsMemberLoginLog> selectByExample(UmsMemberLoginLogExample example);
|
||||
|
||||
UmsMemberLoginLog selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberLoginLog record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberLoginLog record);
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMember;
|
||||
import com.buy507.mall.model.UmsMemberExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberMapper {
|
||||
long countByExample(UmsMemberExample example);
|
||||
|
||||
int deleteByExample(UmsMemberExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMember record);
|
||||
|
||||
int insertSelective(UmsMember record);
|
||||
|
||||
List<UmsMember> selectByExample(UmsMemberExample example);
|
||||
|
||||
UmsMember selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMember record, @Param("example") UmsMemberExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMember record, @Param("example") UmsMemberExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMember record);
|
||||
|
||||
int updateByPrimaryKey(UmsMember record);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberMemberTagRelation;
|
||||
import com.buy507.mall.model.UmsMemberMemberTagRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberMemberTagRelationMapper {
|
||||
long countByExample(UmsMemberMemberTagRelationExample example);
|
||||
|
||||
int deleteByExample(UmsMemberMemberTagRelationExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberMemberTagRelation record);
|
||||
|
||||
int insertSelective(UmsMemberMemberTagRelation record);
|
||||
|
||||
List<UmsMemberMemberTagRelation> selectByExample(UmsMemberMemberTagRelationExample example);
|
||||
|
||||
UmsMemberMemberTagRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberMemberTagRelation record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberMemberTagRelation record);
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberOrderQueue;
|
||||
import com.buy507.mall.model.UmsMemberOrderQueueExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
|
||||
public interface UmsMemberOrderQueueMapper {
|
||||
long countByExample(UmsMemberOrderQueueExample example);
|
||||
|
||||
int deleteByExample(UmsMemberOrderQueueExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberOrderQueue record);
|
||||
|
||||
int insertSelective(UmsMemberOrderQueue record);
|
||||
|
||||
List<UmsMemberOrderQueue> selectByExample(UmsMemberOrderQueueExample example);
|
||||
|
||||
UmsMemberOrderQueue selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberOrderQueue record, @Param("example") UmsMemberOrderQueueExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberOrderQueue record, @Param("example") UmsMemberOrderQueueExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberOrderQueue record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberOrderQueue record);
|
||||
|
||||
/**
|
||||
* 下一个退出队列
|
||||
* @return
|
||||
*/
|
||||
UmsMemberOrderQueue getNextOrderQueueInfo(Integer state);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberProductCategoryRelation;
|
||||
import com.buy507.mall.model.UmsMemberProductCategoryRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberProductCategoryRelationMapper {
|
||||
long countByExample(UmsMemberProductCategoryRelationExample example);
|
||||
|
||||
int deleteByExample(UmsMemberProductCategoryRelationExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberProductCategoryRelation record);
|
||||
|
||||
int insertSelective(UmsMemberProductCategoryRelation record);
|
||||
|
||||
List<UmsMemberProductCategoryRelation> selectByExample(UmsMemberProductCategoryRelationExample example);
|
||||
|
||||
UmsMemberProductCategoryRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberProductCategoryRelation record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberProductCategoryRelation record);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberReceiveAddress;
|
||||
|
||||
public interface UmsMemberReceiveAddressMapper {
|
||||
|
||||
UmsMemberReceiveAddress selectOneById(Long id);
|
||||
|
||||
List<UmsMemberReceiveAddress> selectByMemberId(Long id);
|
||||
|
||||
int insert(UmsMemberReceiveAddress memberReceiveAddress);
|
||||
|
||||
int updateById(UmsMemberReceiveAddress memberReceiveAddress);
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
UmsMemberReceiveAddress selectOneByMemberIdAndDefaultStatus(@Param("memberId") Long memberId, @Param("defaultStatus") Integer defaultStatus);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberRelationTree;
|
||||
import com.buy507.mall.model.UmsMemberRelationTreeExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberRelationTreeMapper {
|
||||
long countByExample(UmsMemberRelationTreeExample example);
|
||||
|
||||
int deleteByExample(UmsMemberRelationTreeExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberRelationTree record);
|
||||
|
||||
int insertSelective(UmsMemberRelationTree record);
|
||||
|
||||
List<UmsMemberRelationTree> selectByExample(UmsMemberRelationTreeExample example);
|
||||
|
||||
UmsMemberRelationTree selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberRelationTree record, @Param("example") UmsMemberRelationTreeExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberRelationTree record, @Param("example") UmsMemberRelationTreeExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberRelationTree record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberRelationTree record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberRuleSetting;
|
||||
import com.buy507.mall.model.UmsMemberRuleSettingExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberRuleSettingMapper {
|
||||
long countByExample(UmsMemberRuleSettingExample example);
|
||||
|
||||
int deleteByExample(UmsMemberRuleSettingExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberRuleSetting record);
|
||||
|
||||
int insertSelective(UmsMemberRuleSetting record);
|
||||
|
||||
List<UmsMemberRuleSetting> selectByExample(UmsMemberRuleSettingExample example);
|
||||
|
||||
UmsMemberRuleSetting selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberRuleSetting record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberRuleSetting record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberStatisticsInfo;
|
||||
import com.buy507.mall.model.UmsMemberStatisticsInfoExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberStatisticsInfoMapper {
|
||||
long countByExample(UmsMemberStatisticsInfoExample example);
|
||||
|
||||
int deleteByExample(UmsMemberStatisticsInfoExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberStatisticsInfo record);
|
||||
|
||||
int insertSelective(UmsMemberStatisticsInfo record);
|
||||
|
||||
List<UmsMemberStatisticsInfo> selectByExample(UmsMemberStatisticsInfoExample example);
|
||||
|
||||
UmsMemberStatisticsInfo selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberStatisticsInfo record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberStatisticsInfo record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberTag;
|
||||
import com.buy507.mall.model.UmsMemberTagExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberTagMapper {
|
||||
long countByExample(UmsMemberTagExample example);
|
||||
|
||||
int deleteByExample(UmsMemberTagExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberTag record);
|
||||
|
||||
int insertSelective(UmsMemberTag record);
|
||||
|
||||
List<UmsMemberTag> selectByExample(UmsMemberTagExample example);
|
||||
|
||||
UmsMemberTag selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberTag record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberTag record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsMemberTask;
|
||||
import com.buy507.mall.model.UmsMemberTaskExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberTaskMapper {
|
||||
long countByExample(UmsMemberTaskExample example);
|
||||
|
||||
int deleteByExample(UmsMemberTaskExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberTask record);
|
||||
|
||||
int insertSelective(UmsMemberTask record);
|
||||
|
||||
List<UmsMemberTask> selectByExample(UmsMemberTaskExample example);
|
||||
|
||||
UmsMemberTask selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberTask record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberTask record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsPermission;
|
||||
import com.buy507.mall.model.UmsPermissionExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsPermissionMapper {
|
||||
long countByExample(UmsPermissionExample example);
|
||||
|
||||
int deleteByExample(UmsPermissionExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsPermission record);
|
||||
|
||||
int insertSelective(UmsPermission record);
|
||||
|
||||
List<UmsPermission> selectByExample(UmsPermissionExample example);
|
||||
|
||||
UmsPermission selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsPermission record);
|
||||
|
||||
int updateByPrimaryKey(UmsPermission record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsRole;
|
||||
import com.buy507.mall.model.UmsRoleExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsRoleMapper {
|
||||
long countByExample(UmsRoleExample example);
|
||||
|
||||
int deleteByExample(UmsRoleExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsRole record);
|
||||
|
||||
int insertSelective(UmsRole record);
|
||||
|
||||
List<UmsRole> selectByExample(UmsRoleExample example);
|
||||
|
||||
UmsRole selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsRole record, @Param("example") UmsRoleExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsRole record, @Param("example") UmsRoleExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsRole record);
|
||||
|
||||
int updateByPrimaryKey(UmsRole record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsRolePermissionRelation;
|
||||
import com.buy507.mall.model.UmsRolePermissionRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsRolePermissionRelationMapper {
|
||||
long countByExample(UmsRolePermissionRelationExample example);
|
||||
|
||||
int deleteByExample(UmsRolePermissionRelationExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsRolePermissionRelation record);
|
||||
|
||||
int insertSelective(UmsRolePermissionRelation record);
|
||||
|
||||
List<UmsRolePermissionRelation> selectByExample(UmsRolePermissionRelationExample example);
|
||||
|
||||
UmsRolePermissionRelation selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsRolePermissionRelation record);
|
||||
|
||||
int updateByPrimaryKey(UmsRolePermissionRelation record);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.buy507.mall.mapper;
|
||||
|
||||
import com.buy507.mall.model.UmsTransferrecord;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface UmsTransferrecordMapper {
|
||||
|
||||
List<UmsTransferrecord> selectAll();
|
||||
}
|
||||
108
mall-dao/src/main/java/com/buy507/mall/model/CmsHelp.java
Normal file
108
mall-dao/src/main/java/com/buy507/mall/model/CmsHelp.java
Normal file
@@ -0,0 +1,108 @@
|
||||
package com.buy507.mall.model;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class CmsHelp implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long categoryId;
|
||||
|
||||
private String icon;
|
||||
|
||||
private String title;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Integer readCount;
|
||||
|
||||
private String content;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getCategoryId() {
|
||||
return categoryId;
|
||||
}
|
||||
|
||||
public void setCategoryId(Long categoryId) {
|
||||
this.categoryId = categoryId;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Integer getReadCount() {
|
||||
return readCount;
|
||||
}
|
||||
|
||||
public void setReadCount(Integer readCount) {
|
||||
this.readCount = readCount;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", categoryId=").append(categoryId);
|
||||
sb.append(", icon=").append(icon);
|
||||
sb.append(", title=").append(title);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", readCount=").append(readCount);
|
||||
sb.append(", content=").append(content);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.buy507.mall.model;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CmsHelpCategory implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "分类图标")
|
||||
private String icon;
|
||||
|
||||
@ApiModelProperty(value = "专题数量")
|
||||
private Integer helpCount;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public Integer getHelpCount() {
|
||||
return helpCount;
|
||||
}
|
||||
|
||||
public void setHelpCount(Integer helpCount) {
|
||||
this.helpCount = helpCount;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
public Integer getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(Integer sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder 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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,580 @@
|
||||
package com.buy507.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<Criteria>();
|
||||
}
|
||||
|
||||
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<Criterion>();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
641
mall-dao/src/main/java/com/buy507/mall/model/CmsHelpExample.java
Normal file
641
mall-dao/src/main/java/com/buy507/mall/model/CmsHelpExample.java
Normal file
@@ -0,0 +1,641 @@
|
||||
package com.buy507.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<Criteria>();
|
||||
}
|
||||
|
||||
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<Criterion>();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
package com.buy507.mall.model;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class CmsMemberReport implements Serializable {
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "举报类型:0->商品评价;1->话题内容;2->用户评论")
|
||||
private Integer reportType;
|
||||
|
||||
@ApiModelProperty(value = "举报人")
|
||||
private String reportMemberName;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private String reportObject;
|
||||
|
||||
@ApiModelProperty(value = "举报状态:0->未处理;1->已处理")
|
||||
private Integer reportStatus;
|
||||
|
||||
@ApiModelProperty(value = "处理结果: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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,711 @@
|
||||
package com.buy507.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<Criteria>();
|
||||
}
|
||||
|
||||
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<Criterion>();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user