初始项目信息导入
This commit is contained in:
37
mall-mbg/src/main/java/com/macro/mall/Generator.java
Normal file
37
mall-mbg/src/main/java/com/macro/mall/Generator.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package com.macro.mall;
|
||||
|
||||
import org.mybatis.generator.api.MyBatisGenerator;
|
||||
import org.mybatis.generator.config.Configuration;
|
||||
import org.mybatis.generator.config.xml.ConfigurationParser;
|
||||
import org.mybatis.generator.internal.DefaultShellCallback;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用于生产MBG的代码
|
||||
*/
|
||||
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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsHelpCategory;
|
||||
import com.macro.mall.model.CmsHelpCategoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsHelpCategoryMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsHelp;
|
||||
import com.macro.mall.model.CmsHelpExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsHelpMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsMemberReport;
|
||||
import com.macro.mall.model.CmsMemberReportExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsMemberReportMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsPrefrenceArea;
|
||||
import com.macro.mall.model.CmsPrefrenceAreaExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsPrefrenceAreaMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsPrefrenceAreaProductRelation;
|
||||
import com.macro.mall.model.CmsPrefrenceAreaProductRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsPrefrenceAreaProductRelationMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsSubjectCategory;
|
||||
import com.macro.mall.model.CmsSubjectCategoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsSubjectCategoryMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsSubjectComment;
|
||||
import com.macro.mall.model.CmsSubjectCommentExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsSubjectCommentMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsSubject;
|
||||
import com.macro.mall.model.CmsSubjectExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsSubjectMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsSubjectProductRelation;
|
||||
import com.macro.mall.model.CmsSubjectProductRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsSubjectProductRelationMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsTopicCategory;
|
||||
import com.macro.mall.model.CmsTopicCategoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsTopicCategoryMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsTopicComment;
|
||||
import com.macro.mall.model.CmsTopicCommentExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsTopicCommentMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.CmsTopic;
|
||||
import com.macro.mall.model.CmsTopicExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface CmsTopicMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.OmsCompanyAddress;
|
||||
import com.macro.mall.model.OmsCompanyAddressExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface OmsCompanyAddressMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.OmsOrderItem;
|
||||
import com.macro.mall.model.OmsOrderItemExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface OmsOrderItemMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.OmsOrder;
|
||||
import com.macro.mall.model.OmsOrderExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface OmsOrderMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.OmsOrderOperateHistory;
|
||||
import com.macro.mall.model.OmsOrderOperateHistoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface OmsOrderOperateHistoryMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.OmsOrderReturnApply;
|
||||
import com.macro.mall.model.OmsOrderReturnApplyExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface OmsOrderReturnApplyMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.OmsOrderReturnReason;
|
||||
import com.macro.mall.model.OmsOrderReturnReasonExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface OmsOrderReturnReasonMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.OmsOrderSetting;
|
||||
import com.macro.mall.model.OmsOrderSettingExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface OmsOrderSettingMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsAlbum;
|
||||
import com.macro.mall.model.PmsAlbumExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsAlbumMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsAlbumPic;
|
||||
import com.macro.mall.model.PmsAlbumPicExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsAlbumPicMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsBrand;
|
||||
import com.macro.mall.model.PmsBrandExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsBrandMapper {
|
||||
int 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,36 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsComment;
|
||||
import com.macro.mall.model.PmsCommentExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsCommentMapper {
|
||||
int 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);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsCommentReplay;
|
||||
import com.macro.mall.model.PmsCommentReplayExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsCommentReplayMapper {
|
||||
int 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);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsFeightTemplate;
|
||||
import com.macro.mall.model.PmsFeightTemplateExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsFeightTemplateMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsMemberPrice;
|
||||
import com.macro.mall.model.PmsMemberPriceExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsMemberPriceMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductAttributeCategory;
|
||||
import com.macro.mall.model.PmsProductAttributeCategoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductAttributeCategoryMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductAttribute;
|
||||
import com.macro.mall.model.PmsProductAttributeExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductAttributeMapper {
|
||||
int 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);
|
||||
|
||||
int updateByPrimaryKey(PmsProductAttribute record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductAttributeValue;
|
||||
import com.macro.mall.model.PmsProductAttributeValueExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductAttributeValueMapper {
|
||||
int 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);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductCategoryAttributeRelation;
|
||||
import com.macro.mall.model.PmsProductCategoryAttributeRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductCategoryAttributeRelationMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductCategory;
|
||||
import com.macro.mall.model.PmsProductCategoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductCategoryMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductFullReduction;
|
||||
import com.macro.mall.model.PmsProductFullReductionExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductFullReductionMapper {
|
||||
int countByExample(PmsProductFullReductionExample example);
|
||||
|
||||
int deleteByExample(PmsProductFullReductionExample example);
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(PmsProductFullReduction record);
|
||||
|
||||
int insertSelective(PmsProductFullReduction record);
|
||||
|
||||
List<PmsProductFullReduction> selectByExample(PmsProductFullReductionExample example);
|
||||
|
||||
PmsProductFullReduction selectByPrimaryKey(Integer 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);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductLadder;
|
||||
import com.macro.mall.model.PmsProductLadderExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductLadderMapper {
|
||||
int 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);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProduct;
|
||||
import com.macro.mall.model.PmsProductExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductMapper {
|
||||
int 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);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductOperateLog;
|
||||
import com.macro.mall.model.PmsProductOperateLogExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductOperateLogMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsProductVertifyRecord;
|
||||
import com.macro.mall.model.PmsProductVertifyRecordExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsProductVertifyRecordMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.PmsSkuStock;
|
||||
import com.macro.mall.model.PmsSkuStockExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface PmsSkuStockMapper {
|
||||
int 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);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsCouponHistory;
|
||||
import com.macro.mall.model.SmsCouponHistoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsCouponHistoryMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsCoupon;
|
||||
import com.macro.mall.model.SmsCouponExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsCouponMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsCouponProductCategoryRelation;
|
||||
import com.macro.mall.model.SmsCouponProductCategoryRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsCouponProductCategoryRelationMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsCouponProductRelation;
|
||||
import com.macro.mall.model.SmsCouponProductRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsCouponProductRelationMapper {
|
||||
int 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);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsFlashPromotionLog;
|
||||
import com.macro.mall.model.SmsFlashPromotionLogExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsFlashPromotionLogMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsFlashPromotion;
|
||||
import com.macro.mall.model.SmsFlashPromotionExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsFlashPromotionMapper {
|
||||
int countByExample(SmsFlashPromotionExample example);
|
||||
|
||||
int deleteByExample(SmsFlashPromotionExample example);
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(SmsFlashPromotion record);
|
||||
|
||||
int insertSelective(SmsFlashPromotion record);
|
||||
|
||||
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example);
|
||||
|
||||
SmsFlashPromotion selectByPrimaryKey(Integer 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsHomeAdvertise;
|
||||
import com.macro.mall.model.SmsHomeAdvertiseExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsHomeAdvertiseMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsHomeBrand;
|
||||
import com.macro.mall.model.SmsHomeBrandExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsHomeBrandMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsHomeNewProduct;
|
||||
import com.macro.mall.model.SmsHomeNewProductExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsHomeNewProductMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsHomeRecommendProduct;
|
||||
import com.macro.mall.model.SmsHomeRecommendProductExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsHomeRecommendProductMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.SmsHomeRecommendSubject;
|
||||
import com.macro.mall.model.SmsHomeRecommendSubjectExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SmsHomeRecommendSubjectMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsAdminLoginLog;
|
||||
import com.macro.mall.model.UmsAdminLoginLogExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsAdminLoginLogMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsAdmin;
|
||||
import com.macro.mall.model.UmsAdminExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsAdminMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsGrowthChangeHistory;
|
||||
import com.macro.mall.model.UmsGrowthChangeHistoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsGrowthChangeHistoryMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsIntegrationChangeHistory;
|
||||
import com.macro.mall.model.UmsIntegrationChangeHistoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsIntegrationChangeHistoryMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsIntergrationConsumeSetting;
|
||||
import com.macro.mall.model.UmsIntergrationConsumeSettingExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsIntergrationConsumeSettingMapper {
|
||||
int countByExample(UmsIntergrationConsumeSettingExample example);
|
||||
|
||||
int deleteByExample(UmsIntergrationConsumeSettingExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsIntergrationConsumeSetting record);
|
||||
|
||||
int insertSelective(UmsIntergrationConsumeSetting record);
|
||||
|
||||
List<UmsIntergrationConsumeSetting> selectByExample(UmsIntergrationConsumeSettingExample example);
|
||||
|
||||
UmsIntergrationConsumeSetting selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsIntergrationConsumeSetting record, @Param("example") UmsIntergrationConsumeSettingExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsIntergrationConsumeSetting record, @Param("example") UmsIntergrationConsumeSettingExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsIntergrationConsumeSetting record);
|
||||
|
||||
int updateByPrimaryKey(UmsIntergrationConsumeSetting record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberLevel;
|
||||
import com.macro.mall.model.UmsMemberLevelExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberLevelMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberLoginLog;
|
||||
import com.macro.mall.model.UmsMemberLoginLogExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberLoginLogMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMember;
|
||||
import com.macro.mall.model.UmsMemberExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberMemberTagRelation;
|
||||
import com.macro.mall.model.UmsMemberMemberTagRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberMemberTagRelationMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberProductCategoryRelation;
|
||||
import com.macro.mall.model.UmsMemberProductCategoryRelationExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberProductCategoryRelationMapper {
|
||||
int 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,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberReceiveAddress;
|
||||
import com.macro.mall.model.UmsMemberReceiveAddressExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberReceiveAddressMapper {
|
||||
int countByExample(UmsMemberReceiveAddressExample example);
|
||||
|
||||
int deleteByExample(UmsMemberReceiveAddressExample example);
|
||||
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
int insert(UmsMemberReceiveAddress record);
|
||||
|
||||
int insertSelective(UmsMemberReceiveAddress record);
|
||||
|
||||
List<UmsMemberReceiveAddress> selectByExample(UmsMemberReceiveAddressExample example);
|
||||
|
||||
UmsMemberReceiveAddress selectByPrimaryKey(Long id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example);
|
||||
|
||||
int updateByExample(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(UmsMemberReceiveAddress record);
|
||||
|
||||
int updateByPrimaryKey(UmsMemberReceiveAddress record);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberRuleSetting;
|
||||
import com.macro.mall.model.UmsMemberRuleSettingExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberRuleSettingMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberStatisticsInfo;
|
||||
import com.macro.mall.model.UmsMemberStatisticsInfoExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberStatisticsInfoMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberTag;
|
||||
import com.macro.mall.model.UmsMemberTagExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberTagMapper {
|
||||
int 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.macro.mall.mapper;
|
||||
|
||||
import com.macro.mall.model.UmsMemberTask;
|
||||
import com.macro.mall.model.UmsMemberTaskExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UmsMemberTaskMapper {
|
||||
int 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);
|
||||
}
|
||||
107
mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java
Normal file
107
mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java
Normal file
@@ -0,0 +1,107 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
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,84 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CmsHelpCategory implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
private String icon;
|
||||
|
||||
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.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsHelpCategoryExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsHelpCategoryExample() {
|
||||
oredCriteria = new ArrayList<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-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java
Normal file
641
mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java
Normal file
@@ -0,0 +1,641 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsHelpExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsHelpExample() {
|
||||
oredCriteria = new ArrayList<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);
|
||||
}
|
||||
}
|
||||
}
|
||||
107
mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java
Normal file
107
mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java
Normal file
@@ -0,0 +1,107 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class CmsMemberReport implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Integer reportType;
|
||||
|
||||
private String reportMemberName;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private String reportObject;
|
||||
|
||||
private Integer reportStatus;
|
||||
|
||||
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.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsMemberReportExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsMemberReportExample() {
|
||||
oredCriteria = new ArrayList<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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CmsPrefrenceArea implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
private String subTitle;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private byte[] pic;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getSubTitle() {
|
||||
return subTitle;
|
||||
}
|
||||
|
||||
public void setSubTitle(String subTitle) {
|
||||
this.subTitle = subTitle;
|
||||
}
|
||||
|
||||
public Integer getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(Integer sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
public byte[] getPic() {
|
||||
return pic;
|
||||
}
|
||||
|
||||
public void setPic(byte[] pic) {
|
||||
this.pic = pic;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", name=").append(name);
|
||||
sb.append(", subTitle=").append(subTitle);
|
||||
sb.append(", sort=").append(sort);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", pic=").append(pic);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,520 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsPrefrenceAreaExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsPrefrenceAreaExample() {
|
||||
oredCriteria = new ArrayList<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 andSubTitleIsNull() {
|
||||
addCriterion("sub_title is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleIsNotNull() {
|
||||
addCriterion("sub_title is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleEqualTo(String value) {
|
||||
addCriterion("sub_title =", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleNotEqualTo(String value) {
|
||||
addCriterion("sub_title <>", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleGreaterThan(String value) {
|
||||
addCriterion("sub_title >", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("sub_title >=", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleLessThan(String value) {
|
||||
addCriterion("sub_title <", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleLessThanOrEqualTo(String value) {
|
||||
addCriterion("sub_title <=", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleLike(String value) {
|
||||
addCriterion("sub_title like", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleNotLike(String value) {
|
||||
addCriterion("sub_title not like", value, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleIn(List<String> values) {
|
||||
addCriterion("sub_title in", values, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleNotIn(List<String> values) {
|
||||
addCriterion("sub_title not in", values, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleBetween(String value1, String value2) {
|
||||
addCriterion("sub_title between", value1, value2, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubTitleNotBetween(String value1, String value2) {
|
||||
addCriterion("sub_title not between", value1, value2, "subTitle");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIsNull() {
|
||||
addCriterion("sort is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIsNotNull() {
|
||||
addCriterion("sort is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortEqualTo(Integer value) {
|
||||
addCriterion("sort =", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotEqualTo(Integer value) {
|
||||
addCriterion("sort <>", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThan(Integer value) {
|
||||
addCriterion("sort >", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort >=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThan(Integer value) {
|
||||
addCriterion("sort <", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort <=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIn(List<Integer> values) {
|
||||
addCriterion("sort in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotIn(List<Integer> values) {
|
||||
addCriterion("sort not in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort not between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNull() {
|
||||
addCriterion("show_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNotNull() {
|
||||
addCriterion("show_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusEqualTo(Integer value) {
|
||||
addCriterion("show_status =", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotEqualTo(Integer value) {
|
||||
addCriterion("show_status <>", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThan(Integer value) {
|
||||
addCriterion("show_status >", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status >=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThan(Integer value) {
|
||||
addCriterion("show_status <", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status <=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIn(List<Integer> values) {
|
||||
addCriterion("show_status in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotIn(List<Integer> values) {
|
||||
addCriterion("show_status not in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status not between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CmsPrefrenceAreaProductRelation implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long prefrenceAreaId;
|
||||
|
||||
private Long productId;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getPrefrenceAreaId() {
|
||||
return prefrenceAreaId;
|
||||
}
|
||||
|
||||
public void setPrefrenceAreaId(Long prefrenceAreaId) {
|
||||
this.prefrenceAreaId = prefrenceAreaId;
|
||||
}
|
||||
|
||||
public Long getProductId() {
|
||||
return productId;
|
||||
}
|
||||
|
||||
public void setProductId(Long productId) {
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", prefrenceAreaId=").append(prefrenceAreaId);
|
||||
sb.append(", productId=").append(productId);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,380 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsPrefrenceAreaProductRelationExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsPrefrenceAreaProductRelationExample() {
|
||||
oredCriteria = new ArrayList<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 andPrefrenceAreaIdIsNull() {
|
||||
addCriterion("prefrence_area_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdIsNotNull() {
|
||||
addCriterion("prefrence_area_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdEqualTo(Long value) {
|
||||
addCriterion("prefrence_area_id =", value, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdNotEqualTo(Long value) {
|
||||
addCriterion("prefrence_area_id <>", value, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdGreaterThan(Long value) {
|
||||
addCriterion("prefrence_area_id >", value, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("prefrence_area_id >=", value, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdLessThan(Long value) {
|
||||
addCriterion("prefrence_area_id <", value, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("prefrence_area_id <=", value, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdIn(List<Long> values) {
|
||||
addCriterion("prefrence_area_id in", values, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdNotIn(List<Long> values) {
|
||||
addCriterion("prefrence_area_id not in", values, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdBetween(Long value1, Long value2) {
|
||||
addCriterion("prefrence_area_id between", value1, value2, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPrefrenceAreaIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("prefrence_area_id not between", value1, value2, "prefrenceAreaId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIsNull() {
|
||||
addCriterion("product_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIsNotNull() {
|
||||
addCriterion("product_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdEqualTo(Long value) {
|
||||
addCriterion("product_id =", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotEqualTo(Long value) {
|
||||
addCriterion("product_id <>", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdGreaterThan(Long value) {
|
||||
addCriterion("product_id >", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("product_id >=", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdLessThan(Long value) {
|
||||
addCriterion("product_id <", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("product_id <=", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIn(List<Long> values) {
|
||||
addCriterion("product_id in", values, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotIn(List<Long> values) {
|
||||
addCriterion("product_id not in", values, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdBetween(Long value1, Long value2) {
|
||||
addCriterion("product_id between", value1, value2, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("product_id not between", value1, value2, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
184
mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java
Normal file
184
mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java
Normal file
@@ -0,0 +1,184 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class CmsSubject implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long categoryId;
|
||||
|
||||
private String title;
|
||||
|
||||
private String pic;
|
||||
|
||||
private Integer productCount;
|
||||
|
||||
private Integer recommendStatus;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Integer collectCount;
|
||||
|
||||
private Integer readCount;
|
||||
|
||||
private Integer commentCount;
|
||||
|
||||
private String albumPics;
|
||||
|
||||
private String description;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private Integer forwardCount;
|
||||
|
||||
private String content;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getCategoryId() {
|
||||
return categoryId;
|
||||
}
|
||||
|
||||
public void setCategoryId(Long categoryId) {
|
||||
this.categoryId = categoryId;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getPic() {
|
||||
return pic;
|
||||
}
|
||||
|
||||
public void setPic(String pic) {
|
||||
this.pic = pic;
|
||||
}
|
||||
|
||||
public Integer getProductCount() {
|
||||
return productCount;
|
||||
}
|
||||
|
||||
public void setProductCount(Integer productCount) {
|
||||
this.productCount = productCount;
|
||||
}
|
||||
|
||||
public Integer getRecommendStatus() {
|
||||
return recommendStatus;
|
||||
}
|
||||
|
||||
public void setRecommendStatus(Integer recommendStatus) {
|
||||
this.recommendStatus = recommendStatus;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Integer getCollectCount() {
|
||||
return collectCount;
|
||||
}
|
||||
|
||||
public void setCollectCount(Integer collectCount) {
|
||||
this.collectCount = collectCount;
|
||||
}
|
||||
|
||||
public Integer getReadCount() {
|
||||
return readCount;
|
||||
}
|
||||
|
||||
public void setReadCount(Integer readCount) {
|
||||
this.readCount = readCount;
|
||||
}
|
||||
|
||||
public Integer getCommentCount() {
|
||||
return commentCount;
|
||||
}
|
||||
|
||||
public void setCommentCount(Integer commentCount) {
|
||||
this.commentCount = commentCount;
|
||||
}
|
||||
|
||||
public String getAlbumPics() {
|
||||
return albumPics;
|
||||
}
|
||||
|
||||
public void setAlbumPics(String albumPics) {
|
||||
this.albumPics = albumPics;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
public Integer getForwardCount() {
|
||||
return forwardCount;
|
||||
}
|
||||
|
||||
public void setForwardCount(Integer forwardCount) {
|
||||
this.forwardCount = forwardCount;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", categoryId=").append(categoryId);
|
||||
sb.append(", title=").append(title);
|
||||
sb.append(", pic=").append(pic);
|
||||
sb.append(", productCount=").append(productCount);
|
||||
sb.append(", recommendStatus=").append(recommendStatus);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", collectCount=").append(collectCount);
|
||||
sb.append(", readCount=").append(readCount);
|
||||
sb.append(", commentCount=").append(commentCount);
|
||||
sb.append(", albumPics=").append(albumPics);
|
||||
sb.append(", description=").append(description);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", forwardCount=").append(forwardCount);
|
||||
sb.append(", content=").append(content);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CmsSubjectCategory implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
private String icon;
|
||||
|
||||
private Integer subjectCount;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public Integer getSubjectCount() {
|
||||
return subjectCount;
|
||||
}
|
||||
|
||||
public void setSubjectCount(Integer subjectCount) {
|
||||
this.subjectCount = subjectCount;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
public Integer getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(Integer sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", name=").append(name);
|
||||
sb.append(", icon=").append(icon);
|
||||
sb.append(", subjectCount=").append(subjectCount);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", sort=").append(sort);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,580 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsSubjectCategoryExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsSubjectCategoryExample() {
|
||||
oredCriteria = new ArrayList<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 andSubjectCountIsNull() {
|
||||
addCriterion("subject_count is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountIsNotNull() {
|
||||
addCriterion("subject_count is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountEqualTo(Integer value) {
|
||||
addCriterion("subject_count =", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountNotEqualTo(Integer value) {
|
||||
addCriterion("subject_count <>", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountGreaterThan(Integer value) {
|
||||
addCriterion("subject_count >", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("subject_count >=", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountLessThan(Integer value) {
|
||||
addCriterion("subject_count <", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("subject_count <=", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountIn(List<Integer> values) {
|
||||
addCriterion("subject_count in", values, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountNotIn(List<Integer> values) {
|
||||
addCriterion("subject_count not in", values, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountBetween(Integer value1, Integer value2) {
|
||||
addCriterion("subject_count between", value1, value2, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("subject_count not between", value1, value2, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNull() {
|
||||
addCriterion("show_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNotNull() {
|
||||
addCriterion("show_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusEqualTo(Integer value) {
|
||||
addCriterion("show_status =", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotEqualTo(Integer value) {
|
||||
addCriterion("show_status <>", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThan(Integer value) {
|
||||
addCriterion("show_status >", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status >=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThan(Integer value) {
|
||||
addCriterion("show_status <", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status <=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIn(List<Integer> values) {
|
||||
addCriterion("show_status in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotIn(List<Integer> values) {
|
||||
addCriterion("show_status not in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status not between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIsNull() {
|
||||
addCriterion("sort is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIsNotNull() {
|
||||
addCriterion("sort is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortEqualTo(Integer value) {
|
||||
addCriterion("sort =", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotEqualTo(Integer value) {
|
||||
addCriterion("sort <>", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThan(Integer value) {
|
||||
addCriterion("sort >", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort >=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThan(Integer value) {
|
||||
addCriterion("sort <", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort <=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIn(List<Integer> values) {
|
||||
addCriterion("sort in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotIn(List<Integer> values) {
|
||||
addCriterion("sort not in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort not between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class CmsSubjectComment implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long subjectId;
|
||||
|
||||
private String memberNickName;
|
||||
|
||||
private String memberIcon;
|
||||
|
||||
private String content;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getSubjectId() {
|
||||
return subjectId;
|
||||
}
|
||||
|
||||
public void setSubjectId(Long subjectId) {
|
||||
this.subjectId = subjectId;
|
||||
}
|
||||
|
||||
public String getMemberNickName() {
|
||||
return memberNickName;
|
||||
}
|
||||
|
||||
public void setMemberNickName(String memberNickName) {
|
||||
this.memberNickName = memberNickName;
|
||||
}
|
||||
|
||||
public String getMemberIcon() {
|
||||
return memberIcon;
|
||||
}
|
||||
|
||||
public void setMemberIcon(String memberIcon) {
|
||||
this.memberIcon = memberIcon;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", subjectId=").append(subjectId);
|
||||
sb.append(", memberNickName=").append(memberNickName);
|
||||
sb.append(", memberIcon=").append(memberIcon);
|
||||
sb.append(", content=").append(content);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,651 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsSubjectCommentExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsSubjectCommentExample() {
|
||||
oredCriteria = new ArrayList<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 andSubjectIdIsNull() {
|
||||
addCriterion("subject_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdIsNotNull() {
|
||||
addCriterion("subject_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdEqualTo(Long value) {
|
||||
addCriterion("subject_id =", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdNotEqualTo(Long value) {
|
||||
addCriterion("subject_id <>", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdGreaterThan(Long value) {
|
||||
addCriterion("subject_id >", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("subject_id >=", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdLessThan(Long value) {
|
||||
addCriterion("subject_id <", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("subject_id <=", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdIn(List<Long> values) {
|
||||
addCriterion("subject_id in", values, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdNotIn(List<Long> values) {
|
||||
addCriterion("subject_id not in", values, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdBetween(Long value1, Long value2) {
|
||||
addCriterion("subject_id between", value1, value2, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("subject_id not between", value1, value2, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameIsNull() {
|
||||
addCriterion("member_nick_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameIsNotNull() {
|
||||
addCriterion("member_nick_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameEqualTo(String value) {
|
||||
addCriterion("member_nick_name =", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotEqualTo(String value) {
|
||||
addCriterion("member_nick_name <>", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameGreaterThan(String value) {
|
||||
addCriterion("member_nick_name >", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("member_nick_name >=", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameLessThan(String value) {
|
||||
addCriterion("member_nick_name <", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("member_nick_name <=", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameLike(String value) {
|
||||
addCriterion("member_nick_name like", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotLike(String value) {
|
||||
addCriterion("member_nick_name not like", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameIn(List<String> values) {
|
||||
addCriterion("member_nick_name in", values, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotIn(List<String> values) {
|
||||
addCriterion("member_nick_name not in", values, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameBetween(String value1, String value2) {
|
||||
addCriterion("member_nick_name between", value1, value2, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotBetween(String value1, String value2) {
|
||||
addCriterion("member_nick_name not between", value1, value2, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconIsNull() {
|
||||
addCriterion("member_icon is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconIsNotNull() {
|
||||
addCriterion("member_icon is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconEqualTo(String value) {
|
||||
addCriterion("member_icon =", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotEqualTo(String value) {
|
||||
addCriterion("member_icon <>", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconGreaterThan(String value) {
|
||||
addCriterion("member_icon >", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("member_icon >=", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconLessThan(String value) {
|
||||
addCriterion("member_icon <", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconLessThanOrEqualTo(String value) {
|
||||
addCriterion("member_icon <=", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconLike(String value) {
|
||||
addCriterion("member_icon like", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotLike(String value) {
|
||||
addCriterion("member_icon not like", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconIn(List<String> values) {
|
||||
addCriterion("member_icon in", values, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotIn(List<String> values) {
|
||||
addCriterion("member_icon not in", values, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconBetween(String value1, String value2) {
|
||||
addCriterion("member_icon between", value1, value2, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotBetween(String value1, String value2) {
|
||||
addCriterion("member_icon not between", value1, value2, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIsNull() {
|
||||
addCriterion("content is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIsNotNull() {
|
||||
addCriterion("content is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentEqualTo(String value) {
|
||||
addCriterion("content =", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotEqualTo(String value) {
|
||||
addCriterion("content <>", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentGreaterThan(String value) {
|
||||
addCriterion("content >", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("content >=", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLessThan(String value) {
|
||||
addCriterion("content <", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLessThanOrEqualTo(String value) {
|
||||
addCriterion("content <=", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLike(String value) {
|
||||
addCriterion("content like", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotLike(String value) {
|
||||
addCriterion("content not like", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIn(List<String> values) {
|
||||
addCriterion("content in", values, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotIn(List<String> values) {
|
||||
addCriterion("content not in", values, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentBetween(String value1, String value2) {
|
||||
addCriterion("content between", value1, value2, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotBetween(String value1, String value2) {
|
||||
addCriterion("content not between", value1, value2, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNull() {
|
||||
addCriterion("show_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNotNull() {
|
||||
addCriterion("show_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusEqualTo(Integer value) {
|
||||
addCriterion("show_status =", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotEqualTo(Integer value) {
|
||||
addCriterion("show_status <>", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThan(Integer value) {
|
||||
addCriterion("show_status >", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status >=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThan(Integer value) {
|
||||
addCriterion("show_status <", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status <=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIn(List<Integer> values) {
|
||||
addCriterion("show_status in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotIn(List<Integer> values) {
|
||||
addCriterion("show_status not in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status not between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
1081
mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java
Normal file
1081
mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,51 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CmsSubjectProductRelation implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long subjectId;
|
||||
|
||||
private Long productId;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getSubjectId() {
|
||||
return subjectId;
|
||||
}
|
||||
|
||||
public void setSubjectId(Long subjectId) {
|
||||
this.subjectId = subjectId;
|
||||
}
|
||||
|
||||
public Long getProductId() {
|
||||
return productId;
|
||||
}
|
||||
|
||||
public void setProductId(Long productId) {
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", subjectId=").append(subjectId);
|
||||
sb.append(", productId=").append(productId);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,380 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsSubjectProductRelationExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsSubjectProductRelationExample() {
|
||||
oredCriteria = new ArrayList<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 andSubjectIdIsNull() {
|
||||
addCriterion("subject_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdIsNotNull() {
|
||||
addCriterion("subject_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdEqualTo(Long value) {
|
||||
addCriterion("subject_id =", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdNotEqualTo(Long value) {
|
||||
addCriterion("subject_id <>", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdGreaterThan(Long value) {
|
||||
addCriterion("subject_id >", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("subject_id >=", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdLessThan(Long value) {
|
||||
addCriterion("subject_id <", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("subject_id <=", value, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdIn(List<Long> values) {
|
||||
addCriterion("subject_id in", values, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdNotIn(List<Long> values) {
|
||||
addCriterion("subject_id not in", values, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdBetween(Long value1, Long value2) {
|
||||
addCriterion("subject_id between", value1, value2, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("subject_id not between", value1, value2, "subjectId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIsNull() {
|
||||
addCriterion("product_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIsNotNull() {
|
||||
addCriterion("product_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdEqualTo(Long value) {
|
||||
addCriterion("product_id =", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotEqualTo(Long value) {
|
||||
addCriterion("product_id <>", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdGreaterThan(Long value) {
|
||||
addCriterion("product_id >", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("product_id >=", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdLessThan(Long value) {
|
||||
addCriterion("product_id <", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("product_id <=", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIn(List<Long> values) {
|
||||
addCriterion("product_id in", values, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotIn(List<Long> values) {
|
||||
addCriterion("product_id not in", values, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdBetween(Long value1, Long value2) {
|
||||
addCriterion("product_id between", value1, value2, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("product_id not between", value1, value2, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
151
mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java
Normal file
151
mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java
Normal file
@@ -0,0 +1,151 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class CmsTopic implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long categoryId;
|
||||
|
||||
private String name;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date startTime;
|
||||
|
||||
private Date endTime;
|
||||
|
||||
private Integer attendCount;
|
||||
|
||||
private Integer attentionCount;
|
||||
|
||||
private Integer readCount;
|
||||
|
||||
private String awardName;
|
||||
|
||||
private String attendType;
|
||||
|
||||
private String content;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getCategoryId() {
|
||||
return categoryId;
|
||||
}
|
||||
|
||||
public void setCategoryId(Long categoryId) {
|
||||
this.categoryId = categoryId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Date startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Date getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Date endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public Integer getAttendCount() {
|
||||
return attendCount;
|
||||
}
|
||||
|
||||
public void setAttendCount(Integer attendCount) {
|
||||
this.attendCount = attendCount;
|
||||
}
|
||||
|
||||
public Integer getAttentionCount() {
|
||||
return attentionCount;
|
||||
}
|
||||
|
||||
public void setAttentionCount(Integer attentionCount) {
|
||||
this.attentionCount = attentionCount;
|
||||
}
|
||||
|
||||
public Integer getReadCount() {
|
||||
return readCount;
|
||||
}
|
||||
|
||||
public void setReadCount(Integer readCount) {
|
||||
this.readCount = readCount;
|
||||
}
|
||||
|
||||
public String getAwardName() {
|
||||
return awardName;
|
||||
}
|
||||
|
||||
public void setAwardName(String awardName) {
|
||||
this.awardName = awardName;
|
||||
}
|
||||
|
||||
public String getAttendType() {
|
||||
return attendType;
|
||||
}
|
||||
|
||||
public void setAttendType(String attendType) {
|
||||
this.attendType = attendType;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", categoryId=").append(categoryId);
|
||||
sb.append(", name=").append(name);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", startTime=").append(startTime);
|
||||
sb.append(", endTime=").append(endTime);
|
||||
sb.append(", attendCount=").append(attendCount);
|
||||
sb.append(", attentionCount=").append(attentionCount);
|
||||
sb.append(", readCount=").append(readCount);
|
||||
sb.append(", awardName=").append(awardName);
|
||||
sb.append(", attendType=").append(attendType);
|
||||
sb.append(", content=").append(content);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class CmsTopicCategory implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
private String icon;
|
||||
|
||||
private Integer subjectCount;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public Integer getSubjectCount() {
|
||||
return subjectCount;
|
||||
}
|
||||
|
||||
public void setSubjectCount(Integer subjectCount) {
|
||||
this.subjectCount = subjectCount;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
public Integer getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(Integer sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", name=").append(name);
|
||||
sb.append(", icon=").append(icon);
|
||||
sb.append(", subjectCount=").append(subjectCount);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", sort=").append(sort);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,580 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsTopicCategoryExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsTopicCategoryExample() {
|
||||
oredCriteria = new ArrayList<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 andSubjectCountIsNull() {
|
||||
addCriterion("subject_count is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountIsNotNull() {
|
||||
addCriterion("subject_count is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountEqualTo(Integer value) {
|
||||
addCriterion("subject_count =", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountNotEqualTo(Integer value) {
|
||||
addCriterion("subject_count <>", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountGreaterThan(Integer value) {
|
||||
addCriterion("subject_count >", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("subject_count >=", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountLessThan(Integer value) {
|
||||
addCriterion("subject_count <", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("subject_count <=", value, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountIn(List<Integer> values) {
|
||||
addCriterion("subject_count in", values, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountNotIn(List<Integer> values) {
|
||||
addCriterion("subject_count not in", values, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountBetween(Integer value1, Integer value2) {
|
||||
addCriterion("subject_count between", value1, value2, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("subject_count not between", value1, value2, "subjectCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNull() {
|
||||
addCriterion("show_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNotNull() {
|
||||
addCriterion("show_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusEqualTo(Integer value) {
|
||||
addCriterion("show_status =", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotEqualTo(Integer value) {
|
||||
addCriterion("show_status <>", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThan(Integer value) {
|
||||
addCriterion("show_status >", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status >=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThan(Integer value) {
|
||||
addCriterion("show_status <", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status <=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIn(List<Integer> values) {
|
||||
addCriterion("show_status in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotIn(List<Integer> values) {
|
||||
addCriterion("show_status not in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status not between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIsNull() {
|
||||
addCriterion("sort is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIsNotNull() {
|
||||
addCriterion("sort is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortEqualTo(Integer value) {
|
||||
addCriterion("sort =", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotEqualTo(Integer value) {
|
||||
addCriterion("sort <>", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThan(Integer value) {
|
||||
addCriterion("sort >", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort >=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThan(Integer value) {
|
||||
addCriterion("sort <", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort <=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIn(List<Integer> values) {
|
||||
addCriterion("sort in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotIn(List<Integer> values) {
|
||||
addCriterion("sort not in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort not between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class CmsTopicComment implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String memberNickName;
|
||||
|
||||
private Long topicId;
|
||||
|
||||
private String memberIcon;
|
||||
|
||||
private String content;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Integer showStatus;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getMemberNickName() {
|
||||
return memberNickName;
|
||||
}
|
||||
|
||||
public void setMemberNickName(String memberNickName) {
|
||||
this.memberNickName = memberNickName;
|
||||
}
|
||||
|
||||
public Long getTopicId() {
|
||||
return topicId;
|
||||
}
|
||||
|
||||
public void setTopicId(Long topicId) {
|
||||
this.topicId = topicId;
|
||||
}
|
||||
|
||||
public String getMemberIcon() {
|
||||
return memberIcon;
|
||||
}
|
||||
|
||||
public void setMemberIcon(String memberIcon) {
|
||||
this.memberIcon = memberIcon;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", memberNickName=").append(memberNickName);
|
||||
sb.append(", topicId=").append(topicId);
|
||||
sb.append(", memberIcon=").append(memberIcon);
|
||||
sb.append(", content=").append(content);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,651 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsTopicCommentExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsTopicCommentExample() {
|
||||
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 andMemberNickNameIsNull() {
|
||||
addCriterion("member_nick_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameIsNotNull() {
|
||||
addCriterion("member_nick_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameEqualTo(String value) {
|
||||
addCriterion("member_nick_name =", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotEqualTo(String value) {
|
||||
addCriterion("member_nick_name <>", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameGreaterThan(String value) {
|
||||
addCriterion("member_nick_name >", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("member_nick_name >=", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameLessThan(String value) {
|
||||
addCriterion("member_nick_name <", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("member_nick_name <=", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameLike(String value) {
|
||||
addCriterion("member_nick_name like", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotLike(String value) {
|
||||
addCriterion("member_nick_name not like", value, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameIn(List<String> values) {
|
||||
addCriterion("member_nick_name in", values, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotIn(List<String> values) {
|
||||
addCriterion("member_nick_name not in", values, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameBetween(String value1, String value2) {
|
||||
addCriterion("member_nick_name between", value1, value2, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberNickNameNotBetween(String value1, String value2) {
|
||||
addCriterion("member_nick_name not between", value1, value2, "memberNickName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdIsNull() {
|
||||
addCriterion("topic_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdIsNotNull() {
|
||||
addCriterion("topic_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdEqualTo(Long value) {
|
||||
addCriterion("topic_id =", value, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdNotEqualTo(Long value) {
|
||||
addCriterion("topic_id <>", value, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdGreaterThan(Long value) {
|
||||
addCriterion("topic_id >", value, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("topic_id >=", value, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdLessThan(Long value) {
|
||||
addCriterion("topic_id <", value, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("topic_id <=", value, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdIn(List<Long> values) {
|
||||
addCriterion("topic_id in", values, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdNotIn(List<Long> values) {
|
||||
addCriterion("topic_id not in", values, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdBetween(Long value1, Long value2) {
|
||||
addCriterion("topic_id between", value1, value2, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTopicIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("topic_id not between", value1, value2, "topicId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconIsNull() {
|
||||
addCriterion("member_icon is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconIsNotNull() {
|
||||
addCriterion("member_icon is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconEqualTo(String value) {
|
||||
addCriterion("member_icon =", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotEqualTo(String value) {
|
||||
addCriterion("member_icon <>", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconGreaterThan(String value) {
|
||||
addCriterion("member_icon >", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("member_icon >=", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconLessThan(String value) {
|
||||
addCriterion("member_icon <", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconLessThanOrEqualTo(String value) {
|
||||
addCriterion("member_icon <=", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconLike(String value) {
|
||||
addCriterion("member_icon like", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotLike(String value) {
|
||||
addCriterion("member_icon not like", value, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconIn(List<String> values) {
|
||||
addCriterion("member_icon in", values, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotIn(List<String> values) {
|
||||
addCriterion("member_icon not in", values, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconBetween(String value1, String value2) {
|
||||
addCriterion("member_icon between", value1, value2, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberIconNotBetween(String value1, String value2) {
|
||||
addCriterion("member_icon not between", value1, value2, "memberIcon");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIsNull() {
|
||||
addCriterion("content is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIsNotNull() {
|
||||
addCriterion("content is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentEqualTo(String value) {
|
||||
addCriterion("content =", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotEqualTo(String value) {
|
||||
addCriterion("content <>", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentGreaterThan(String value) {
|
||||
addCriterion("content >", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("content >=", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLessThan(String value) {
|
||||
addCriterion("content <", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLessThanOrEqualTo(String value) {
|
||||
addCriterion("content <=", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLike(String value) {
|
||||
addCriterion("content like", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotLike(String value) {
|
||||
addCriterion("content not like", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIn(List<String> values) {
|
||||
addCriterion("content in", values, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotIn(List<String> values) {
|
||||
addCriterion("content not in", values, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentBetween(String value1, String value2) {
|
||||
addCriterion("content between", value1, value2, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotBetween(String value1, String value2) {
|
||||
addCriterion("content not between", value1, value2, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNull() {
|
||||
addCriterion("show_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIsNotNull() {
|
||||
addCriterion("show_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusEqualTo(Integer value) {
|
||||
addCriterion("show_status =", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotEqualTo(Integer value) {
|
||||
addCriterion("show_status <>", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThan(Integer value) {
|
||||
addCriterion("show_status >", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status >=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThan(Integer value) {
|
||||
addCriterion("show_status <", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("show_status <=", value, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusIn(List<Integer> values) {
|
||||
addCriterion("show_status in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotIn(List<Integer> values) {
|
||||
addCriterion("show_status not in", values, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andShowStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("show_status not between", value1, value2, "showStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
891
mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java
Normal file
891
mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java
Normal file
@@ -0,0 +1,891 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class CmsTopicExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public CmsTopicExample() {
|
||||
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 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 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 andStartTimeIsNull() {
|
||||
addCriterion("start_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeIsNotNull() {
|
||||
addCriterion("start_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeEqualTo(Date value) {
|
||||
addCriterion("start_time =", value, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeNotEqualTo(Date value) {
|
||||
addCriterion("start_time <>", value, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeGreaterThan(Date value) {
|
||||
addCriterion("start_time >", value, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("start_time >=", value, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeLessThan(Date value) {
|
||||
addCriterion("start_time <", value, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("start_time <=", value, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeIn(List<Date> values) {
|
||||
addCriterion("start_time in", values, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeNotIn(List<Date> values) {
|
||||
addCriterion("start_time not in", values, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("start_time between", value1, value2, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStartTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("start_time not between", value1, value2, "startTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeIsNull() {
|
||||
addCriterion("end_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeIsNotNull() {
|
||||
addCriterion("end_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeEqualTo(Date value) {
|
||||
addCriterion("end_time =", value, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeNotEqualTo(Date value) {
|
||||
addCriterion("end_time <>", value, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeGreaterThan(Date value) {
|
||||
addCriterion("end_time >", value, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("end_time >=", value, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeLessThan(Date value) {
|
||||
addCriterion("end_time <", value, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("end_time <=", value, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeIn(List<Date> values) {
|
||||
addCriterion("end_time in", values, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeNotIn(List<Date> values) {
|
||||
addCriterion("end_time not in", values, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("end_time between", value1, value2, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andEndTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("end_time not between", value1, value2, "endTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountIsNull() {
|
||||
addCriterion("attend_count is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountIsNotNull() {
|
||||
addCriterion("attend_count is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountEqualTo(Integer value) {
|
||||
addCriterion("attend_count =", value, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountNotEqualTo(Integer value) {
|
||||
addCriterion("attend_count <>", value, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountGreaterThan(Integer value) {
|
||||
addCriterion("attend_count >", value, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("attend_count >=", value, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountLessThan(Integer value) {
|
||||
addCriterion("attend_count <", value, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("attend_count <=", value, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountIn(List<Integer> values) {
|
||||
addCriterion("attend_count in", values, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountNotIn(List<Integer> values) {
|
||||
addCriterion("attend_count not in", values, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountBetween(Integer value1, Integer value2) {
|
||||
addCriterion("attend_count between", value1, value2, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendCountNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("attend_count not between", value1, value2, "attendCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountIsNull() {
|
||||
addCriterion("attention_count is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountIsNotNull() {
|
||||
addCriterion("attention_count is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountEqualTo(Integer value) {
|
||||
addCriterion("attention_count =", value, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountNotEqualTo(Integer value) {
|
||||
addCriterion("attention_count <>", value, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountGreaterThan(Integer value) {
|
||||
addCriterion("attention_count >", value, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("attention_count >=", value, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountLessThan(Integer value) {
|
||||
addCriterion("attention_count <", value, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("attention_count <=", value, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountIn(List<Integer> values) {
|
||||
addCriterion("attention_count in", values, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountNotIn(List<Integer> values) {
|
||||
addCriterion("attention_count not in", values, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountBetween(Integer value1, Integer value2) {
|
||||
addCriterion("attention_count between", value1, value2, "attentionCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttentionCountNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("attention_count not between", value1, value2, "attentionCount");
|
||||
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 Criteria andAwardNameIsNull() {
|
||||
addCriterion("award_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameIsNotNull() {
|
||||
addCriterion("award_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameEqualTo(String value) {
|
||||
addCriterion("award_name =", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameNotEqualTo(String value) {
|
||||
addCriterion("award_name <>", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameGreaterThan(String value) {
|
||||
addCriterion("award_name >", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("award_name >=", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameLessThan(String value) {
|
||||
addCriterion("award_name <", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("award_name <=", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameLike(String value) {
|
||||
addCriterion("award_name like", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameNotLike(String value) {
|
||||
addCriterion("award_name not like", value, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameIn(List<String> values) {
|
||||
addCriterion("award_name in", values, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameNotIn(List<String> values) {
|
||||
addCriterion("award_name not in", values, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameBetween(String value1, String value2) {
|
||||
addCriterion("award_name between", value1, value2, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAwardNameNotBetween(String value1, String value2) {
|
||||
addCriterion("award_name not between", value1, value2, "awardName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeIsNull() {
|
||||
addCriterion("attend_type is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeIsNotNull() {
|
||||
addCriterion("attend_type is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeEqualTo(String value) {
|
||||
addCriterion("attend_type =", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeNotEqualTo(String value) {
|
||||
addCriterion("attend_type <>", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeGreaterThan(String value) {
|
||||
addCriterion("attend_type >", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("attend_type >=", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeLessThan(String value) {
|
||||
addCriterion("attend_type <", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeLessThanOrEqualTo(String value) {
|
||||
addCriterion("attend_type <=", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeLike(String value) {
|
||||
addCriterion("attend_type like", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeNotLike(String value) {
|
||||
addCriterion("attend_type not like", value, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeIn(List<String> values) {
|
||||
addCriterion("attend_type in", values, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeNotIn(List<String> values) {
|
||||
addCriterion("attend_type not in", values, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeBetween(String value1, String value2) {
|
||||
addCriterion("attend_type between", value1, value2, "attendType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAttendTypeNotBetween(String value1, String value2) {
|
||||
addCriterion("attend_type not between", value1, value2, "attendType");
|
||||
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,117 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class OmsCompanyAddress implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String addressName;
|
||||
|
||||
private Integer sendStatus;
|
||||
|
||||
private Integer receiveStatus;
|
||||
|
||||
private String name;
|
||||
|
||||
private String phone;
|
||||
|
||||
private String province;
|
||||
|
||||
private String city;
|
||||
|
||||
private String region;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAddressName() {
|
||||
return addressName;
|
||||
}
|
||||
|
||||
public void setAddressName(String addressName) {
|
||||
this.addressName = addressName;
|
||||
}
|
||||
|
||||
public Integer getSendStatus() {
|
||||
return sendStatus;
|
||||
}
|
||||
|
||||
public void setSendStatus(Integer sendStatus) {
|
||||
this.sendStatus = sendStatus;
|
||||
}
|
||||
|
||||
public Integer getReceiveStatus() {
|
||||
return receiveStatus;
|
||||
}
|
||||
|
||||
public void setReceiveStatus(Integer receiveStatus) {
|
||||
this.receiveStatus = receiveStatus;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getRegion() {
|
||||
return region;
|
||||
}
|
||||
|
||||
public void setRegion(String region) {
|
||||
this.region = region;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", addressName=").append(addressName);
|
||||
sb.append(", sendStatus=").append(sendStatus);
|
||||
sb.append(", receiveStatus=").append(receiveStatus);
|
||||
sb.append(", name=").append(name);
|
||||
sb.append(", phone=").append(phone);
|
||||
sb.append(", province=").append(province);
|
||||
sb.append(", city=").append(city);
|
||||
sb.append(", region=").append(region);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,800 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class OmsCompanyAddressExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public OmsCompanyAddressExample() {
|
||||
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 andAddressNameIsNull() {
|
||||
addCriterion("address_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameIsNotNull() {
|
||||
addCriterion("address_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameEqualTo(String value) {
|
||||
addCriterion("address_name =", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameNotEqualTo(String value) {
|
||||
addCriterion("address_name <>", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameGreaterThan(String value) {
|
||||
addCriterion("address_name >", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("address_name >=", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameLessThan(String value) {
|
||||
addCriterion("address_name <", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("address_name <=", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameLike(String value) {
|
||||
addCriterion("address_name like", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameNotLike(String value) {
|
||||
addCriterion("address_name not like", value, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameIn(List<String> values) {
|
||||
addCriterion("address_name in", values, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameNotIn(List<String> values) {
|
||||
addCriterion("address_name not in", values, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameBetween(String value1, String value2) {
|
||||
addCriterion("address_name between", value1, value2, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAddressNameNotBetween(String value1, String value2) {
|
||||
addCriterion("address_name not between", value1, value2, "addressName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusIsNull() {
|
||||
addCriterion("send_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusIsNotNull() {
|
||||
addCriterion("send_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusEqualTo(Integer value) {
|
||||
addCriterion("send_status =", value, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusNotEqualTo(Integer value) {
|
||||
addCriterion("send_status <>", value, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusGreaterThan(Integer value) {
|
||||
addCriterion("send_status >", value, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("send_status >=", value, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusLessThan(Integer value) {
|
||||
addCriterion("send_status <", value, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("send_status <=", value, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusIn(List<Integer> values) {
|
||||
addCriterion("send_status in", values, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusNotIn(List<Integer> values) {
|
||||
addCriterion("send_status not in", values, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("send_status between", value1, value2, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSendStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("send_status not between", value1, value2, "sendStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusIsNull() {
|
||||
addCriterion("receive_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusIsNotNull() {
|
||||
addCriterion("receive_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusEqualTo(Integer value) {
|
||||
addCriterion("receive_status =", value, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusNotEqualTo(Integer value) {
|
||||
addCriterion("receive_status <>", value, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusGreaterThan(Integer value) {
|
||||
addCriterion("receive_status >", value, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("receive_status >=", value, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusLessThan(Integer value) {
|
||||
addCriterion("receive_status <", value, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("receive_status <=", value, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusIn(List<Integer> values) {
|
||||
addCriterion("receive_status in", values, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusNotIn(List<Integer> values) {
|
||||
addCriterion("receive_status not in", values, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("receive_status between", value1, value2, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReceiveStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("receive_status not between", value1, value2, "receiveStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameIsNull() {
|
||||
addCriterion("name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameIsNotNull() {
|
||||
addCriterion("name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameEqualTo(String value) {
|
||||
addCriterion("name =", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameNotEqualTo(String value) {
|
||||
addCriterion("name <>", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameGreaterThan(String value) {
|
||||
addCriterion("name >", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("name >=", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameLessThan(String value) {
|
||||
addCriterion("name <", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("name <=", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameLike(String value) {
|
||||
addCriterion("name like", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameNotLike(String value) {
|
||||
addCriterion("name not like", value, "name");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNameIn(List<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 andPhoneIsNull() {
|
||||
addCriterion("phone is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneIsNotNull() {
|
||||
addCriterion("phone is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneEqualTo(String value) {
|
||||
addCriterion("phone =", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneNotEqualTo(String value) {
|
||||
addCriterion("phone <>", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneGreaterThan(String value) {
|
||||
addCriterion("phone >", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("phone >=", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneLessThan(String value) {
|
||||
addCriterion("phone <", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneLessThanOrEqualTo(String value) {
|
||||
addCriterion("phone <=", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneLike(String value) {
|
||||
addCriterion("phone like", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneNotLike(String value) {
|
||||
addCriterion("phone not like", value, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneIn(List<String> values) {
|
||||
addCriterion("phone in", values, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneNotIn(List<String> values) {
|
||||
addCriterion("phone not in", values, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneBetween(String value1, String value2) {
|
||||
addCriterion("phone between", value1, value2, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPhoneNotBetween(String value1, String value2) {
|
||||
addCriterion("phone not between", value1, value2, "phone");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceIsNull() {
|
||||
addCriterion("province is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceIsNotNull() {
|
||||
addCriterion("province is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceEqualTo(String value) {
|
||||
addCriterion("province =", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceNotEqualTo(String value) {
|
||||
addCriterion("province <>", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceGreaterThan(String value) {
|
||||
addCriterion("province >", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("province >=", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceLessThan(String value) {
|
||||
addCriterion("province <", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceLessThanOrEqualTo(String value) {
|
||||
addCriterion("province <=", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceLike(String value) {
|
||||
addCriterion("province like", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceNotLike(String value) {
|
||||
addCriterion("province not like", value, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceIn(List<String> values) {
|
||||
addCriterion("province in", values, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceNotIn(List<String> values) {
|
||||
addCriterion("province not in", values, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceBetween(String value1, String value2) {
|
||||
addCriterion("province between", value1, value2, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProvinceNotBetween(String value1, String value2) {
|
||||
addCriterion("province not between", value1, value2, "province");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityIsNull() {
|
||||
addCriterion("city is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityIsNotNull() {
|
||||
addCriterion("city is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityEqualTo(String value) {
|
||||
addCriterion("city =", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityNotEqualTo(String value) {
|
||||
addCriterion("city <>", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityGreaterThan(String value) {
|
||||
addCriterion("city >", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("city >=", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityLessThan(String value) {
|
||||
addCriterion("city <", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityLessThanOrEqualTo(String value) {
|
||||
addCriterion("city <=", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityLike(String value) {
|
||||
addCriterion("city like", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityNotLike(String value) {
|
||||
addCriterion("city not like", value, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityIn(List<String> values) {
|
||||
addCriterion("city in", values, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityNotIn(List<String> values) {
|
||||
addCriterion("city not in", values, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityBetween(String value1, String value2) {
|
||||
addCriterion("city between", value1, value2, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCityNotBetween(String value1, String value2) {
|
||||
addCriterion("city not between", value1, value2, "city");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionIsNull() {
|
||||
addCriterion("region is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionIsNotNull() {
|
||||
addCriterion("region is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionEqualTo(String value) {
|
||||
addCriterion("region =", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionNotEqualTo(String value) {
|
||||
addCriterion("region <>", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionGreaterThan(String value) {
|
||||
addCriterion("region >", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("region >=", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionLessThan(String value) {
|
||||
addCriterion("region <", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionLessThanOrEqualTo(String value) {
|
||||
addCriterion("region <=", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionLike(String value) {
|
||||
addCriterion("region like", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionNotLike(String value) {
|
||||
addCriterion("region not like", value, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionIn(List<String> values) {
|
||||
addCriterion("region in", values, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionNotIn(List<String> values) {
|
||||
addCriterion("region not in", values, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionBetween(String value1, String value2) {
|
||||
addCriterion("region between", value1, value2, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRegionNotBetween(String value1, String value2) {
|
||||
addCriterion("region not between", value1, value2, "region");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
416
mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java
Normal file
416
mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java
Normal file
@@ -0,0 +1,416 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
public class OmsOrder implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long memberId;
|
||||
|
||||
private Long couponId;
|
||||
|
||||
private String orderSn;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private String memberUsername;
|
||||
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
private BigDecimal freightAmount;
|
||||
|
||||
private BigDecimal promotionAmount;
|
||||
|
||||
private BigDecimal integrationAmount;
|
||||
|
||||
private BigDecimal couponAmount;
|
||||
|
||||
private BigDecimal discountAmount;
|
||||
|
||||
private Integer payType;
|
||||
|
||||
private Integer sourceType;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private Integer orderType;
|
||||
|
||||
private String deliveryCompany;
|
||||
|
||||
private String deliverySn;
|
||||
|
||||
private Integer autoConfirmDay;
|
||||
|
||||
private Integer integration;
|
||||
|
||||
private Integer growth;
|
||||
|
||||
private String promotionInfo;
|
||||
|
||||
private Integer billType;
|
||||
|
||||
private String billHeader;
|
||||
|
||||
private String billContent;
|
||||
|
||||
private String billReceiverPhone;
|
||||
|
||||
private String billReceiverEmail;
|
||||
|
||||
private String receiverName;
|
||||
|
||||
private String receiverPhone;
|
||||
|
||||
private String receiverPostCode;
|
||||
|
||||
private String receiverProvince;
|
||||
|
||||
private String receiverCity;
|
||||
|
||||
private String receiverRegion;
|
||||
|
||||
private String receiverDetailAddress;
|
||||
|
||||
private String note;
|
||||
|
||||
private Integer confirmStatus;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getMemberId() {
|
||||
return memberId;
|
||||
}
|
||||
|
||||
public void setMemberId(Long memberId) {
|
||||
this.memberId = memberId;
|
||||
}
|
||||
|
||||
public Long getCouponId() {
|
||||
return couponId;
|
||||
}
|
||||
|
||||
public void setCouponId(Long couponId) {
|
||||
this.couponId = couponId;
|
||||
}
|
||||
|
||||
public String getOrderSn() {
|
||||
return orderSn;
|
||||
}
|
||||
|
||||
public void setOrderSn(String orderSn) {
|
||||
this.orderSn = orderSn;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getMemberUsername() {
|
||||
return memberUsername;
|
||||
}
|
||||
|
||||
public void setMemberUsername(String memberUsername) {
|
||||
this.memberUsername = memberUsername;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(BigDecimal totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getFreightAmount() {
|
||||
return freightAmount;
|
||||
}
|
||||
|
||||
public void setFreightAmount(BigDecimal freightAmount) {
|
||||
this.freightAmount = freightAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getPromotionAmount() {
|
||||
return promotionAmount;
|
||||
}
|
||||
|
||||
public void setPromotionAmount(BigDecimal promotionAmount) {
|
||||
this.promotionAmount = promotionAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getIntegrationAmount() {
|
||||
return integrationAmount;
|
||||
}
|
||||
|
||||
public void setIntegrationAmount(BigDecimal integrationAmount) {
|
||||
this.integrationAmount = integrationAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getCouponAmount() {
|
||||
return couponAmount;
|
||||
}
|
||||
|
||||
public void setCouponAmount(BigDecimal couponAmount) {
|
||||
this.couponAmount = couponAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getDiscountAmount() {
|
||||
return discountAmount;
|
||||
}
|
||||
|
||||
public void setDiscountAmount(BigDecimal discountAmount) {
|
||||
this.discountAmount = discountAmount;
|
||||
}
|
||||
|
||||
public Integer getPayType() {
|
||||
return payType;
|
||||
}
|
||||
|
||||
public void setPayType(Integer payType) {
|
||||
this.payType = payType;
|
||||
}
|
||||
|
||||
public Integer getSourceType() {
|
||||
return sourceType;
|
||||
}
|
||||
|
||||
public void setSourceType(Integer sourceType) {
|
||||
this.sourceType = sourceType;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getOrderType() {
|
||||
return orderType;
|
||||
}
|
||||
|
||||
public void setOrderType(Integer orderType) {
|
||||
this.orderType = orderType;
|
||||
}
|
||||
|
||||
public String getDeliveryCompany() {
|
||||
return deliveryCompany;
|
||||
}
|
||||
|
||||
public void setDeliveryCompany(String deliveryCompany) {
|
||||
this.deliveryCompany = deliveryCompany;
|
||||
}
|
||||
|
||||
public String getDeliverySn() {
|
||||
return deliverySn;
|
||||
}
|
||||
|
||||
public void setDeliverySn(String deliverySn) {
|
||||
this.deliverySn = deliverySn;
|
||||
}
|
||||
|
||||
public Integer getAutoConfirmDay() {
|
||||
return autoConfirmDay;
|
||||
}
|
||||
|
||||
public void setAutoConfirmDay(Integer autoConfirmDay) {
|
||||
this.autoConfirmDay = autoConfirmDay;
|
||||
}
|
||||
|
||||
public Integer getIntegration() {
|
||||
return integration;
|
||||
}
|
||||
|
||||
public void setIntegration(Integer integration) {
|
||||
this.integration = integration;
|
||||
}
|
||||
|
||||
public Integer getGrowth() {
|
||||
return growth;
|
||||
}
|
||||
|
||||
public void setGrowth(Integer growth) {
|
||||
this.growth = growth;
|
||||
}
|
||||
|
||||
public String getPromotionInfo() {
|
||||
return promotionInfo;
|
||||
}
|
||||
|
||||
public void setPromotionInfo(String promotionInfo) {
|
||||
this.promotionInfo = promotionInfo;
|
||||
}
|
||||
|
||||
public Integer getBillType() {
|
||||
return billType;
|
||||
}
|
||||
|
||||
public void setBillType(Integer billType) {
|
||||
this.billType = billType;
|
||||
}
|
||||
|
||||
public String getBillHeader() {
|
||||
return billHeader;
|
||||
}
|
||||
|
||||
public void setBillHeader(String billHeader) {
|
||||
this.billHeader = billHeader;
|
||||
}
|
||||
|
||||
public String getBillContent() {
|
||||
return billContent;
|
||||
}
|
||||
|
||||
public void setBillContent(String billContent) {
|
||||
this.billContent = billContent;
|
||||
}
|
||||
|
||||
public String getBillReceiverPhone() {
|
||||
return billReceiverPhone;
|
||||
}
|
||||
|
||||
public void setBillReceiverPhone(String billReceiverPhone) {
|
||||
this.billReceiverPhone = billReceiverPhone;
|
||||
}
|
||||
|
||||
public String getBillReceiverEmail() {
|
||||
return billReceiverEmail;
|
||||
}
|
||||
|
||||
public void setBillReceiverEmail(String billReceiverEmail) {
|
||||
this.billReceiverEmail = billReceiverEmail;
|
||||
}
|
||||
|
||||
public String getReceiverName() {
|
||||
return receiverName;
|
||||
}
|
||||
|
||||
public void setReceiverName(String receiverName) {
|
||||
this.receiverName = receiverName;
|
||||
}
|
||||
|
||||
public String getReceiverPhone() {
|
||||
return receiverPhone;
|
||||
}
|
||||
|
||||
public void setReceiverPhone(String receiverPhone) {
|
||||
this.receiverPhone = receiverPhone;
|
||||
}
|
||||
|
||||
public String getReceiverPostCode() {
|
||||
return receiverPostCode;
|
||||
}
|
||||
|
||||
public void setReceiverPostCode(String receiverPostCode) {
|
||||
this.receiverPostCode = receiverPostCode;
|
||||
}
|
||||
|
||||
public String getReceiverProvince() {
|
||||
return receiverProvince;
|
||||
}
|
||||
|
||||
public void setReceiverProvince(String receiverProvince) {
|
||||
this.receiverProvince = receiverProvince;
|
||||
}
|
||||
|
||||
public String getReceiverCity() {
|
||||
return receiverCity;
|
||||
}
|
||||
|
||||
public void setReceiverCity(String receiverCity) {
|
||||
this.receiverCity = receiverCity;
|
||||
}
|
||||
|
||||
public String getReceiverRegion() {
|
||||
return receiverRegion;
|
||||
}
|
||||
|
||||
public void setReceiverRegion(String receiverRegion) {
|
||||
this.receiverRegion = receiverRegion;
|
||||
}
|
||||
|
||||
public String getReceiverDetailAddress() {
|
||||
return receiverDetailAddress;
|
||||
}
|
||||
|
||||
public void setReceiverDetailAddress(String receiverDetailAddress) {
|
||||
this.receiverDetailAddress = receiverDetailAddress;
|
||||
}
|
||||
|
||||
public String getNote() {
|
||||
return note;
|
||||
}
|
||||
|
||||
public void setNote(String note) {
|
||||
this.note = note;
|
||||
}
|
||||
|
||||
public Integer getConfirmStatus() {
|
||||
return confirmStatus;
|
||||
}
|
||||
|
||||
public void setConfirmStatus(Integer confirmStatus) {
|
||||
this.confirmStatus = confirmStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", memberId=").append(memberId);
|
||||
sb.append(", couponId=").append(couponId);
|
||||
sb.append(", orderSn=").append(orderSn);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", memberUsername=").append(memberUsername);
|
||||
sb.append(", totalAmount=").append(totalAmount);
|
||||
sb.append(", freightAmount=").append(freightAmount);
|
||||
sb.append(", promotionAmount=").append(promotionAmount);
|
||||
sb.append(", integrationAmount=").append(integrationAmount);
|
||||
sb.append(", couponAmount=").append(couponAmount);
|
||||
sb.append(", discountAmount=").append(discountAmount);
|
||||
sb.append(", payType=").append(payType);
|
||||
sb.append(", sourceType=").append(sourceType);
|
||||
sb.append(", status=").append(status);
|
||||
sb.append(", orderType=").append(orderType);
|
||||
sb.append(", deliveryCompany=").append(deliveryCompany);
|
||||
sb.append(", deliverySn=").append(deliverySn);
|
||||
sb.append(", autoConfirmDay=").append(autoConfirmDay);
|
||||
sb.append(", integration=").append(integration);
|
||||
sb.append(", growth=").append(growth);
|
||||
sb.append(", promotionInfo=").append(promotionInfo);
|
||||
sb.append(", billType=").append(billType);
|
||||
sb.append(", billHeader=").append(billHeader);
|
||||
sb.append(", billContent=").append(billContent);
|
||||
sb.append(", billReceiverPhone=").append(billReceiverPhone);
|
||||
sb.append(", billReceiverEmail=").append(billReceiverEmail);
|
||||
sb.append(", receiverName=").append(receiverName);
|
||||
sb.append(", receiverPhone=").append(receiverPhone);
|
||||
sb.append(", receiverPostCode=").append(receiverPostCode);
|
||||
sb.append(", receiverProvince=").append(receiverProvince);
|
||||
sb.append(", receiverCity=").append(receiverCity);
|
||||
sb.append(", receiverRegion=").append(receiverRegion);
|
||||
sb.append(", receiverDetailAddress=").append(receiverDetailAddress);
|
||||
sb.append(", note=").append(note);
|
||||
sb.append(", confirmStatus=").append(confirmStatus);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
2532
mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java
Normal file
2532
mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java
Normal file
File diff suppressed because it is too large
Load Diff
173
mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java
Normal file
173
mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java
Normal file
@@ -0,0 +1,173 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class OmsOrderItem implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long orderId;
|
||||
|
||||
private String orderSn;
|
||||
|
||||
private Long productId;
|
||||
|
||||
private String proudctPic;
|
||||
|
||||
private String productName;
|
||||
|
||||
private String productBrand;
|
||||
|
||||
private String productSn;
|
||||
|
||||
private BigDecimal productAmount;
|
||||
|
||||
private Integer productCount;
|
||||
|
||||
private BigDecimal productRealAmount;
|
||||
|
||||
private String sp1;
|
||||
|
||||
private String sp2;
|
||||
|
||||
private String sp3;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(Long orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public String getOrderSn() {
|
||||
return orderSn;
|
||||
}
|
||||
|
||||
public void setOrderSn(String orderSn) {
|
||||
this.orderSn = orderSn;
|
||||
}
|
||||
|
||||
public Long getProductId() {
|
||||
return productId;
|
||||
}
|
||||
|
||||
public void setProductId(Long productId) {
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
public String getProudctPic() {
|
||||
return proudctPic;
|
||||
}
|
||||
|
||||
public void setProudctPic(String proudctPic) {
|
||||
this.proudctPic = proudctPic;
|
||||
}
|
||||
|
||||
public String getProductName() {
|
||||
return productName;
|
||||
}
|
||||
|
||||
public void setProductName(String productName) {
|
||||
this.productName = productName;
|
||||
}
|
||||
|
||||
public String getProductBrand() {
|
||||
return productBrand;
|
||||
}
|
||||
|
||||
public void setProductBrand(String productBrand) {
|
||||
this.productBrand = productBrand;
|
||||
}
|
||||
|
||||
public String getProductSn() {
|
||||
return productSn;
|
||||
}
|
||||
|
||||
public void setProductSn(String productSn) {
|
||||
this.productSn = productSn;
|
||||
}
|
||||
|
||||
public BigDecimal getProductAmount() {
|
||||
return productAmount;
|
||||
}
|
||||
|
||||
public void setProductAmount(BigDecimal productAmount) {
|
||||
this.productAmount = productAmount;
|
||||
}
|
||||
|
||||
public Integer getProductCount() {
|
||||
return productCount;
|
||||
}
|
||||
|
||||
public void setProductCount(Integer productCount) {
|
||||
this.productCount = productCount;
|
||||
}
|
||||
|
||||
public BigDecimal getProductRealAmount() {
|
||||
return productRealAmount;
|
||||
}
|
||||
|
||||
public void setProductRealAmount(BigDecimal productRealAmount) {
|
||||
this.productRealAmount = productRealAmount;
|
||||
}
|
||||
|
||||
public String getSp1() {
|
||||
return sp1;
|
||||
}
|
||||
|
||||
public void setSp1(String sp1) {
|
||||
this.sp1 = sp1;
|
||||
}
|
||||
|
||||
public String getSp2() {
|
||||
return sp2;
|
||||
}
|
||||
|
||||
public void setSp2(String sp2) {
|
||||
this.sp2 = sp2;
|
||||
}
|
||||
|
||||
public String getSp3() {
|
||||
return sp3;
|
||||
}
|
||||
|
||||
public void setSp3(String sp3) {
|
||||
this.sp3 = sp3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", orderId=").append(orderId);
|
||||
sb.append(", orderSn=").append(orderSn);
|
||||
sb.append(", productId=").append(productId);
|
||||
sb.append(", proudctPic=").append(proudctPic);
|
||||
sb.append(", productName=").append(productName);
|
||||
sb.append(", productBrand=").append(productBrand);
|
||||
sb.append(", productSn=").append(productSn);
|
||||
sb.append(", productAmount=").append(productAmount);
|
||||
sb.append(", productCount=").append(productCount);
|
||||
sb.append(", productRealAmount=").append(productRealAmount);
|
||||
sb.append(", sp1=").append(sp1);
|
||||
sb.append(", sp2=").append(sp2);
|
||||
sb.append(", sp3=").append(sp3);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
1121
mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java
Normal file
1121
mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,85 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class OmsOrderOperateHistory implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long orderId;
|
||||
|
||||
private String operateMan;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Integer orderStatus;
|
||||
|
||||
private String note;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(Long orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public String getOperateMan() {
|
||||
return operateMan;
|
||||
}
|
||||
|
||||
public void setOperateMan(String operateMan) {
|
||||
this.operateMan = operateMan;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Integer getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
|
||||
public void setOrderStatus(Integer orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getNote() {
|
||||
return note;
|
||||
}
|
||||
|
||||
public void setNote(String note) {
|
||||
this.note = note;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", orderId=").append(orderId);
|
||||
sb.append(", operateMan=").append(operateMan);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", orderStatus=").append(orderStatus);
|
||||
sb.append(", note=").append(note);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,581 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class OmsOrderOperateHistoryExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public OmsOrderOperateHistoryExample() {
|
||||
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 andOrderIdIsNull() {
|
||||
addCriterion("order_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdIsNotNull() {
|
||||
addCriterion("order_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdEqualTo(Long value) {
|
||||
addCriterion("order_id =", value, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdNotEqualTo(Long value) {
|
||||
addCriterion("order_id <>", value, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdGreaterThan(Long value) {
|
||||
addCriterion("order_id >", value, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("order_id >=", value, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdLessThan(Long value) {
|
||||
addCriterion("order_id <", value, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("order_id <=", value, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdIn(List<Long> values) {
|
||||
addCriterion("order_id in", values, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdNotIn(List<Long> values) {
|
||||
addCriterion("order_id not in", values, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdBetween(Long value1, Long value2) {
|
||||
addCriterion("order_id between", value1, value2, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("order_id not between", value1, value2, "orderId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManIsNull() {
|
||||
addCriterion("operate_man is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManIsNotNull() {
|
||||
addCriterion("operate_man is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManEqualTo(String value) {
|
||||
addCriterion("operate_man =", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManNotEqualTo(String value) {
|
||||
addCriterion("operate_man <>", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManGreaterThan(String value) {
|
||||
addCriterion("operate_man >", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("operate_man >=", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManLessThan(String value) {
|
||||
addCriterion("operate_man <", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManLessThanOrEqualTo(String value) {
|
||||
addCriterion("operate_man <=", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManLike(String value) {
|
||||
addCriterion("operate_man like", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManNotLike(String value) {
|
||||
addCriterion("operate_man not like", value, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManIn(List<String> values) {
|
||||
addCriterion("operate_man in", values, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManNotIn(List<String> values) {
|
||||
addCriterion("operate_man not in", values, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManBetween(String value1, String value2) {
|
||||
addCriterion("operate_man between", value1, value2, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOperateManNotBetween(String value1, String value2) {
|
||||
addCriterion("operate_man not between", value1, value2, "operateMan");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<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 andOrderStatusIsNull() {
|
||||
addCriterion("order_status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusIsNotNull() {
|
||||
addCriterion("order_status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusEqualTo(Integer value) {
|
||||
addCriterion("order_status =", value, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusNotEqualTo(Integer value) {
|
||||
addCriterion("order_status <>", value, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusGreaterThan(Integer value) {
|
||||
addCriterion("order_status >", value, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("order_status >=", value, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusLessThan(Integer value) {
|
||||
addCriterion("order_status <", value, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("order_status <=", value, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusIn(List<Integer> values) {
|
||||
addCriterion("order_status in", values, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusNotIn(List<Integer> values) {
|
||||
addCriterion("order_status not in", values, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("order_status between", value1, value2, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("order_status not between", value1, value2, "orderStatus");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteIsNull() {
|
||||
addCriterion("note is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteIsNotNull() {
|
||||
addCriterion("note is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteEqualTo(String value) {
|
||||
addCriterion("note =", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteNotEqualTo(String value) {
|
||||
addCriterion("note <>", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteGreaterThan(String value) {
|
||||
addCriterion("note >", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("note >=", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteLessThan(String value) {
|
||||
addCriterion("note <", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteLessThanOrEqualTo(String value) {
|
||||
addCriterion("note <=", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteLike(String value) {
|
||||
addCriterion("note like", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteNotLike(String value) {
|
||||
addCriterion("note not like", value, "note");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNoteIn(List<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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,317 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
public class OmsOrderReturnApply implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long orderId;
|
||||
|
||||
private Long companyAddressId;
|
||||
|
||||
private String orderSn;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private String memberUsername;
|
||||
|
||||
private BigDecimal returnAmount;
|
||||
|
||||
private String returnName;
|
||||
|
||||
private String returnPhone;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private Date handleTime;
|
||||
|
||||
private String productPic;
|
||||
|
||||
private String productName;
|
||||
|
||||
private String brandName;
|
||||
|
||||
private String productAttr;
|
||||
|
||||
private Integer productCount;
|
||||
|
||||
private String reason;
|
||||
|
||||
private String description;
|
||||
|
||||
private String proofPics;
|
||||
|
||||
private BigDecimal returnPostAmount;
|
||||
|
||||
private Integer returnPostStatus;
|
||||
|
||||
private BigDecimal confirmReturnAmount;
|
||||
|
||||
private String handleNote;
|
||||
|
||||
private String handleMan;
|
||||
|
||||
private String receiveMan;
|
||||
|
||||
private Date receiveTime;
|
||||
|
||||
private String receiveNote;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(Long orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public Long getCompanyAddressId() {
|
||||
return companyAddressId;
|
||||
}
|
||||
|
||||
public void setCompanyAddressId(Long companyAddressId) {
|
||||
this.companyAddressId = companyAddressId;
|
||||
}
|
||||
|
||||
public String getOrderSn() {
|
||||
return orderSn;
|
||||
}
|
||||
|
||||
public void setOrderSn(String orderSn) {
|
||||
this.orderSn = orderSn;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getMemberUsername() {
|
||||
return memberUsername;
|
||||
}
|
||||
|
||||
public void setMemberUsername(String memberUsername) {
|
||||
this.memberUsername = memberUsername;
|
||||
}
|
||||
|
||||
public BigDecimal getReturnAmount() {
|
||||
return returnAmount;
|
||||
}
|
||||
|
||||
public void setReturnAmount(BigDecimal returnAmount) {
|
||||
this.returnAmount = returnAmount;
|
||||
}
|
||||
|
||||
public String getReturnName() {
|
||||
return returnName;
|
||||
}
|
||||
|
||||
public void setReturnName(String returnName) {
|
||||
this.returnName = returnName;
|
||||
}
|
||||
|
||||
public String getReturnPhone() {
|
||||
return returnPhone;
|
||||
}
|
||||
|
||||
public void setReturnPhone(String returnPhone) {
|
||||
this.returnPhone = returnPhone;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Date getHandleTime() {
|
||||
return handleTime;
|
||||
}
|
||||
|
||||
public void setHandleTime(Date handleTime) {
|
||||
this.handleTime = handleTime;
|
||||
}
|
||||
|
||||
public String getProductPic() {
|
||||
return productPic;
|
||||
}
|
||||
|
||||
public void setProductPic(String productPic) {
|
||||
this.productPic = productPic;
|
||||
}
|
||||
|
||||
public String getProductName() {
|
||||
return productName;
|
||||
}
|
||||
|
||||
public void setProductName(String productName) {
|
||||
this.productName = productName;
|
||||
}
|
||||
|
||||
public String getBrandName() {
|
||||
return brandName;
|
||||
}
|
||||
|
||||
public void setBrandName(String brandName) {
|
||||
this.brandName = brandName;
|
||||
}
|
||||
|
||||
public String getProductAttr() {
|
||||
return productAttr;
|
||||
}
|
||||
|
||||
public void setProductAttr(String productAttr) {
|
||||
this.productAttr = productAttr;
|
||||
}
|
||||
|
||||
public Integer getProductCount() {
|
||||
return productCount;
|
||||
}
|
||||
|
||||
public void setProductCount(Integer productCount) {
|
||||
this.productCount = productCount;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
public void setReason(String reason) {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getProofPics() {
|
||||
return proofPics;
|
||||
}
|
||||
|
||||
public void setProofPics(String proofPics) {
|
||||
this.proofPics = proofPics;
|
||||
}
|
||||
|
||||
public BigDecimal getReturnPostAmount() {
|
||||
return returnPostAmount;
|
||||
}
|
||||
|
||||
public void setReturnPostAmount(BigDecimal returnPostAmount) {
|
||||
this.returnPostAmount = returnPostAmount;
|
||||
}
|
||||
|
||||
public Integer getReturnPostStatus() {
|
||||
return returnPostStatus;
|
||||
}
|
||||
|
||||
public void setReturnPostStatus(Integer returnPostStatus) {
|
||||
this.returnPostStatus = returnPostStatus;
|
||||
}
|
||||
|
||||
public BigDecimal getConfirmReturnAmount() {
|
||||
return confirmReturnAmount;
|
||||
}
|
||||
|
||||
public void setConfirmReturnAmount(BigDecimal confirmReturnAmount) {
|
||||
this.confirmReturnAmount = confirmReturnAmount;
|
||||
}
|
||||
|
||||
public String getHandleNote() {
|
||||
return handleNote;
|
||||
}
|
||||
|
||||
public void setHandleNote(String handleNote) {
|
||||
this.handleNote = handleNote;
|
||||
}
|
||||
|
||||
public String getHandleMan() {
|
||||
return handleMan;
|
||||
}
|
||||
|
||||
public void setHandleMan(String handleMan) {
|
||||
this.handleMan = handleMan;
|
||||
}
|
||||
|
||||
public String getReceiveMan() {
|
||||
return receiveMan;
|
||||
}
|
||||
|
||||
public void setReceiveMan(String receiveMan) {
|
||||
this.receiveMan = receiveMan;
|
||||
}
|
||||
|
||||
public Date getReceiveTime() {
|
||||
return receiveTime;
|
||||
}
|
||||
|
||||
public void setReceiveTime(Date receiveTime) {
|
||||
this.receiveTime = receiveTime;
|
||||
}
|
||||
|
||||
public String getReceiveNote() {
|
||||
return receiveNote;
|
||||
}
|
||||
|
||||
public void setReceiveNote(String receiveNote) {
|
||||
this.receiveNote = receiveNote;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", orderId=").append(orderId);
|
||||
sb.append(", companyAddressId=").append(companyAddressId);
|
||||
sb.append(", orderSn=").append(orderSn);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", memberUsername=").append(memberUsername);
|
||||
sb.append(", returnAmount=").append(returnAmount);
|
||||
sb.append(", returnName=").append(returnName);
|
||||
sb.append(", returnPhone=").append(returnPhone);
|
||||
sb.append(", status=").append(status);
|
||||
sb.append(", handleTime=").append(handleTime);
|
||||
sb.append(", productPic=").append(productPic);
|
||||
sb.append(", productName=").append(productName);
|
||||
sb.append(", brandName=").append(brandName);
|
||||
sb.append(", productAttr=").append(productAttr);
|
||||
sb.append(", productCount=").append(productCount);
|
||||
sb.append(", reason=").append(reason);
|
||||
sb.append(", description=").append(description);
|
||||
sb.append(", proofPics=").append(proofPics);
|
||||
sb.append(", returnPostAmount=").append(returnPostAmount);
|
||||
sb.append(", returnPostStatus=").append(returnPostStatus);
|
||||
sb.append(", confirmReturnAmount=").append(confirmReturnAmount);
|
||||
sb.append(", handleNote=").append(handleNote);
|
||||
sb.append(", handleMan=").append(handleMan);
|
||||
sb.append(", receiveMan=").append(receiveMan);
|
||||
sb.append(", receiveTime=").append(receiveTime);
|
||||
sb.append(", receiveNote=").append(receiveNote);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,62 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class OmsOrderReturnReason implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(Integer sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", name=").append(name);
|
||||
sb.append(", sort=").append(sort);
|
||||
sb.append(", status=").append(status);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,450 @@
|
||||
package com.macro.mall.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class OmsOrderReturnReasonExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public OmsOrderReturnReasonExample() {
|
||||
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 andSortIsNull() {
|
||||
addCriterion("sort is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIsNotNull() {
|
||||
addCriterion("sort is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortEqualTo(Integer value) {
|
||||
addCriterion("sort =", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotEqualTo(Integer value) {
|
||||
addCriterion("sort <>", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThan(Integer value) {
|
||||
addCriterion("sort >", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort >=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThan(Integer value) {
|
||||
addCriterion("sort <", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("sort <=", value, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortIn(List<Integer> values) {
|
||||
addCriterion("sort in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotIn(List<Integer> values) {
|
||||
addCriterion("sort not in", values, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSortNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sort not between", value1, value2, "sort");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIsNull() {
|
||||
addCriterion("status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIsNotNull() {
|
||||
addCriterion("status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusEqualTo(Integer value) {
|
||||
addCriterion("status =", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotEqualTo(Integer value) {
|
||||
addCriterion("status <>", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusGreaterThan(Integer value) {
|
||||
addCriterion("status >", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("status >=", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusLessThan(Integer value) {
|
||||
addCriterion("status <", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("status <=", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIn(List<Integer> values) {
|
||||
addCriterion("status in", values, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotIn(List<Integer> values) {
|
||||
addCriterion("status not in", values, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("status between", value1, value2, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("status not between", value1, value2, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user