王皓雯 6 years ago
commit 8147e9c981

@ -0,0 +1,34 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.sock.mall</groupId>
<artifactId>mall-mbg</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>mall-mbg</name>
<dependencies>
<!-- MyBatis 生成器 -->
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.3.3</version>
</dependency>
<!-- MyBatis-->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.4.2</version>
</dependency>
<!--Mysql数据库驱动-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.46</version>
</dependency>
</dependencies>
</project>

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.CmsHelpCategory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsHelp;
import com.sock.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,36 @@
package com.sock.mall.mapper;
import com.sock.mall.model.CmsPrefrenceArea;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsPrefrenceAreaProductRelation;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsSubjectCategory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsSubjectComment;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsSubject;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsSubjectProductRelation;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsTopicCategory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsTopicComment;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.CmsTopic;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.OmsCartItem;
import com.sock.mall.model.OmsCartItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsCartItemMapper {
int countByExample(OmsCartItemExample example);
int deleteByExample(OmsCartItemExample example);
int deleteByPrimaryKey(Long id);
int insert(OmsCartItem record);
int insertSelective(OmsCartItem record);
List<OmsCartItem> selectByExample(OmsCartItemExample example);
OmsCartItem selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example);
int updateByExample(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example);
int updateByPrimaryKeySelective(OmsCartItem record);
int updateByPrimaryKey(OmsCartItem record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.OmsCompanyAddress;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.OmsOrderItem;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.OmsOrder;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.OmsOrderOperateHistory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.OmsOrderReturnApply;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.OmsOrderReturnReason;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.OmsOrderSetting;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsAlbum;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsAlbumPic;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsBrand;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsComment;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsCommentReplay;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsFeightTemplate;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsMemberPrice;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductAttributeCategory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductAttribute;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductAttributeValue;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductCategoryAttributeRelation;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductCategory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductFullReduction;
import com.sock.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(Long id);
int insert(PmsProductFullReduction record);
int insertSelective(PmsProductFullReduction record);
List<PmsProductFullReduction> selectByExample(PmsProductFullReductionExample example);
PmsProductFullReduction selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example);
int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example);
int updateByPrimaryKeySelective(PmsProductFullReduction record);
int updateByPrimaryKey(PmsProductFullReduction record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.PmsProductLadder;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProduct;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductOperateLog;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsProductVertifyRecord;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.PmsSkuStock;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsCouponHistory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsCoupon;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsCouponProductCategoryRelation;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsCouponProductRelation;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsFlashPromotionLog;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsFlashPromotion;
import com.sock.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(Long id);
int insert(SmsFlashPromotion record);
int insertSelective(SmsFlashPromotion record);
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example);
SmsFlashPromotion selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example);
int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example);
int updateByPrimaryKeySelective(SmsFlashPromotion record);
int updateByPrimaryKey(SmsFlashPromotion record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.SmsFlashPromotionProductRelation;
import com.sock.mall.model.SmsFlashPromotionProductRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsFlashPromotionProductRelationMapper {
int countByExample(SmsFlashPromotionProductRelationExample example);
int deleteByExample(SmsFlashPromotionProductRelationExample example);
int deleteByPrimaryKey(Long id);
int insert(SmsFlashPromotionProductRelation record);
int insertSelective(SmsFlashPromotionProductRelation record);
List<SmsFlashPromotionProductRelation> selectByExample(SmsFlashPromotionProductRelationExample example);
SmsFlashPromotionProductRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example);
int updateByExample(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example);
int updateByPrimaryKeySelective(SmsFlashPromotionProductRelation record);
int updateByPrimaryKey(SmsFlashPromotionProductRelation record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.SmsFlashPromotionSession;
import com.sock.mall.model.SmsFlashPromotionSessionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsFlashPromotionSessionMapper {
int countByExample(SmsFlashPromotionSessionExample example);
int deleteByExample(SmsFlashPromotionSessionExample example);
int deleteByPrimaryKey(Long id);
int insert(SmsFlashPromotionSession record);
int insertSelective(SmsFlashPromotionSession record);
List<SmsFlashPromotionSession> selectByExample(SmsFlashPromotionSessionExample example);
SmsFlashPromotionSession selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example);
int updateByPrimaryKeySelective(SmsFlashPromotionSession record);
int updateByPrimaryKey(SmsFlashPromotionSession record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.SmsHomeAdvertise;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsHomeBrand;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsHomeNewProduct;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsHomeRecommendProduct;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.SmsHomeRecommendSubject;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsAdminLoginLog;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsAdmin;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsAdminPermissionRelation;
import com.sock.mall.model.UmsAdminPermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminPermissionRelationMapper {
int countByExample(UmsAdminPermissionRelationExample example);
int deleteByExample(UmsAdminPermissionRelationExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsAdminPermissionRelation record);
int insertSelective(UmsAdminPermissionRelation record);
List<UmsAdminPermissionRelation> selectByExample(UmsAdminPermissionRelationExample example);
UmsAdminPermissionRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example);
int updateByExample(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example);
int updateByPrimaryKeySelective(UmsAdminPermissionRelation record);
int updateByPrimaryKey(UmsAdminPermissionRelation record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.UmsAdminRoleRelation;
import com.sock.mall.model.UmsAdminRoleRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminRoleRelationMapper {
int countByExample(UmsAdminRoleRelationExample example);
int deleteByExample(UmsAdminRoleRelationExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsAdminRoleRelation record);
int insertSelective(UmsAdminRoleRelation record);
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
UmsAdminRoleRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
int updateByPrimaryKeySelective(UmsAdminRoleRelation record);
int updateByPrimaryKey(UmsAdminRoleRelation record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.UmsGrowthChangeHistory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsIntegrationChangeHistory;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsIntegrationConsumeSetting;
import com.sock.mall.model.UmsIntegrationConsumeSettingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsIntegrationConsumeSettingMapper {
int countByExample(UmsIntegrationConsumeSettingExample example);
int deleteByExample(UmsIntegrationConsumeSettingExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsIntegrationConsumeSetting record);
int insertSelective(UmsIntegrationConsumeSetting record);
List<UmsIntegrationConsumeSetting> selectByExample(UmsIntegrationConsumeSettingExample example);
UmsIntegrationConsumeSetting selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example);
int updateByExample(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example);
int updateByPrimaryKeySelective(UmsIntegrationConsumeSetting record);
int updateByPrimaryKey(UmsIntegrationConsumeSetting record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.UmsMemberLevel;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberLoginLog;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMember;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberMemberTagRelation;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberProductCategoryRelation;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberReceiveAddress;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberRuleSetting;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberStatisticsInfo;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberTag;
import com.sock.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.sock.mall.mapper;
import com.sock.mall.model.UmsMemberTask;
import com.sock.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);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.UmsPermission;
import com.sock.mall.model.UmsPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsPermissionMapper {
int countByExample(UmsPermissionExample example);
int deleteByExample(UmsPermissionExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsPermission record);
int insertSelective(UmsPermission record);
List<UmsPermission> selectByExample(UmsPermissionExample example);
UmsPermission selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example);
int updateByExample(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example);
int updateByPrimaryKeySelective(UmsPermission record);
int updateByPrimaryKey(UmsPermission record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.UmsRole;
import com.sock.mall.model.UmsRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsRoleMapper {
int countByExample(UmsRoleExample example);
int deleteByExample(UmsRoleExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsRole record);
int insertSelective(UmsRole record);
List<UmsRole> selectByExample(UmsRoleExample example);
UmsRole selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsRole record, @Param("example") UmsRoleExample example);
int updateByExample(@Param("record") UmsRole record, @Param("example") UmsRoleExample example);
int updateByPrimaryKeySelective(UmsRole record);
int updateByPrimaryKey(UmsRole record);
}

@ -0,0 +1,30 @@
package com.sock.mall.mapper;
import com.sock.mall.model.UmsRolePermissionRelation;
import com.sock.mall.model.UmsRolePermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsRolePermissionRelationMapper {
int countByExample(UmsRolePermissionRelationExample example);
int deleteByExample(UmsRolePermissionRelationExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsRolePermissionRelation record);
int insertSelective(UmsRolePermissionRelation record);
List<UmsRolePermissionRelation> selectByExample(UmsRolePermissionRelationExample example);
UmsRolePermissionRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example);
int updateByExample(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example);
int updateByPrimaryKeySelective(UmsRolePermissionRelation record);
int updateByPrimaryKey(UmsRolePermissionRelation record);
}

@ -0,0 +1,107 @@
package com.sock.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,94 @@
package com.sock.mall.model;
import java.io.Serializable;
public class CmsHelpCategory implements Serializable {
private Long id;
private String name;
/**
*
*
* @mbggenerated
*/
private String icon;
/**
*
*
* @mbggenerated
*/
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.sock.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);
}
}
}

@ -0,0 +1,641 @@
package com.sock.mall.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CmsHelpExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public CmsHelpExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCategoryIdIsNull() {
addCriterion("category_id is null");
return (Criteria) this;
}
public Criteria andCategoryIdIsNotNull() {
addCriterion("category_id is not null");
return (Criteria) this;
}
public Criteria andCategoryIdEqualTo(Long value) {
addCriterion("category_id =", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdNotEqualTo(Long value) {
addCriterion("category_id <>", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdGreaterThan(Long value) {
addCriterion("category_id >", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) {
addCriterion("category_id >=", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdLessThan(Long value) {
addCriterion("category_id <", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdLessThanOrEqualTo(Long value) {
addCriterion("category_id <=", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdIn(List<Long> values) {
addCriterion("category_id in", values, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdNotIn(List<Long> values) {
addCriterion("category_id not in", values, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdBetween(Long value1, Long value2) {
addCriterion("category_id between", value1, value2, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdNotBetween(Long value1, Long value2) {
addCriterion("category_id not between", value1, value2, "categoryId");
return (Criteria) this;
}
public Criteria andIconIsNull() {
addCriterion("icon is null");
return (Criteria) this;
}
public Criteria andIconIsNotNull() {
addCriterion("icon is not null");
return (Criteria) this;
}
public Criteria andIconEqualTo(String value) {
addCriterion("icon =", value, "icon");
return (Criteria) this;
}
public Criteria andIconNotEqualTo(String value) {
addCriterion("icon <>", value, "icon");
return (Criteria) this;
}
public Criteria andIconGreaterThan(String value) {
addCriterion("icon >", value, "icon");
return (Criteria) this;
}
public Criteria andIconGreaterThanOrEqualTo(String value) {
addCriterion("icon >=", value, "icon");
return (Criteria) this;
}
public Criteria andIconLessThan(String value) {
addCriterion("icon <", value, "icon");
return (Criteria) this;
}
public Criteria andIconLessThanOrEqualTo(String value) {
addCriterion("icon <=", value, "icon");
return (Criteria) this;
}
public Criteria andIconLike(String value) {
addCriterion("icon like", value, "icon");
return (Criteria) this;
}
public Criteria andIconNotLike(String value) {
addCriterion("icon not like", value, "icon");
return (Criteria) this;
}
public Criteria andIconIn(List<String> values) {
addCriterion("icon in", values, "icon");
return (Criteria) this;
}
public Criteria andIconNotIn(List<String> values) {
addCriterion("icon not in", values, "icon");
return (Criteria) this;
}
public Criteria andIconBetween(String value1, String value2) {
addCriterion("icon between", value1, value2, "icon");
return (Criteria) this;
}
public Criteria andIconNotBetween(String value1, String value2) {
addCriterion("icon not between", value1, value2, "icon");
return (Criteria) this;
}
public Criteria andTitleIsNull() {
addCriterion("title is null");
return (Criteria) this;
}
public Criteria andTitleIsNotNull() {
addCriterion("title is not null");
return (Criteria) this;
}
public Criteria andTitleEqualTo(String value) {
addCriterion("title =", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotEqualTo(String value) {
addCriterion("title <>", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThan(String value) {
addCriterion("title >", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThanOrEqualTo(String value) {
addCriterion("title >=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThan(String value) {
addCriterion("title <", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThanOrEqualTo(String value) {
addCriterion("title <=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLike(String value) {
addCriterion("title like", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotLike(String value) {
addCriterion("title not like", value, "title");
return (Criteria) this;
}
public Criteria andTitleIn(List<String> values) {
addCriterion("title in", values, "title");
return (Criteria) this;
}
public Criteria andTitleNotIn(List<String> values) {
addCriterion("title not in", values, "title");
return (Criteria) this;
}
public Criteria andTitleBetween(String value1, String value2) {
addCriterion("title between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andTitleNotBetween(String value1, String value2) {
addCriterion("title not between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andShowStatusIsNull() {
addCriterion("show_status is null");
return (Criteria) this;
}
public Criteria andShowStatusIsNotNull() {
addCriterion("show_status is not null");
return (Criteria) this;
}
public Criteria andShowStatusEqualTo(Integer value) {
addCriterion("show_status =", value, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusNotEqualTo(Integer value) {
addCriterion("show_status <>", value, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusGreaterThan(Integer value) {
addCriterion("show_status >", value, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) {
addCriterion("show_status >=", value, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusLessThan(Integer value) {
addCriterion("show_status <", value, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusLessThanOrEqualTo(Integer value) {
addCriterion("show_status <=", value, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusIn(List<Integer> values) {
addCriterion("show_status in", values, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusNotIn(List<Integer> values) {
addCriterion("show_status not in", values, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusBetween(Integer value1, Integer value2) {
addCriterion("show_status between", value1, value2, "showStatus");
return (Criteria) this;
}
public Criteria andShowStatusNotBetween(Integer value1, Integer value2) {
addCriterion("show_status not between", value1, value2, "showStatus");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andReadCountIsNull() {
addCriterion("read_count is null");
return (Criteria) this;
}
public Criteria andReadCountIsNotNull() {
addCriterion("read_count is not null");
return (Criteria) this;
}
public Criteria andReadCountEqualTo(Integer value) {
addCriterion("read_count =", value, "readCount");
return (Criteria) this;
}
public Criteria andReadCountNotEqualTo(Integer value) {
addCriterion("read_count <>", value, "readCount");
return (Criteria) this;
}
public Criteria andReadCountGreaterThan(Integer value) {
addCriterion("read_count >", value, "readCount");
return (Criteria) this;
}
public Criteria andReadCountGreaterThanOrEqualTo(Integer value) {
addCriterion("read_count >=", value, "readCount");
return (Criteria) this;
}
public Criteria andReadCountLessThan(Integer value) {
addCriterion("read_count <", value, "readCount");
return (Criteria) this;
}
public Criteria andReadCountLessThanOrEqualTo(Integer value) {
addCriterion("read_count <=", value, "readCount");
return (Criteria) this;
}
public Criteria andReadCountIn(List<Integer> values) {
addCriterion("read_count in", values, "readCount");
return (Criteria) this;
}
public Criteria andReadCountNotIn(List<Integer> values) {
addCriterion("read_count not in", values, "readCount");
return (Criteria) this;
}
public Criteria andReadCountBetween(Integer value1, Integer value2) {
addCriterion("read_count between", value1, value2, "readCount");
return (Criteria) this;
}
public Criteria andReadCountNotBetween(Integer value1, Integer value2) {
addCriterion("read_count not between", value1, value2, "readCount");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,89 @@
package com.sock.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;
/**
*
*
* @mbggenerated
*/
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.sock.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.sock.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.sock.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);
}
}
}

@ -0,0 +1,225 @@
package com.sock.mall.model;
import java.io.Serializable;
import java.util.Date;
public class CmsSubject implements Serializable {
private Long id;
private Long categoryId;
private String title;
/**
*
*
* @mbggenerated
*/
private String pic;
/**
*
*
* @mbggenerated
*/
private Integer productCount;
private Integer recommendStatus;
private Date createTime;
private Integer collectCount;
private Integer readCount;
private Integer commentCount;
/**
*
*
* @mbggenerated
*/
private String albumPics;
private String description;
/**
* 0->1->
*
* @mbggenerated
*/
private Integer showStatus;
/**
*
*
* @mbggenerated
*/
private Integer forwardCount;
/**
*
*
* @mbggenerated
*/
private String categoryName;
private String content;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getCategoryId() {
return categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getPic() {
return pic;
}
public void setPic(String pic) {
this.pic = pic;
}
public Integer getProductCount() {
return productCount;
}
public void setProductCount(Integer productCount) {
this.productCount = productCount;
}
public Integer getRecommendStatus() {
return recommendStatus;
}
public void setRecommendStatus(Integer recommendStatus) {
this.recommendStatus = recommendStatus;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Integer getCollectCount() {
return collectCount;
}
public void setCollectCount(Integer collectCount) {
this.collectCount = collectCount;
}
public Integer getReadCount() {
return readCount;
}
public void setReadCount(Integer readCount) {
this.readCount = readCount;
}
public Integer getCommentCount() {
return commentCount;
}
public void setCommentCount(Integer commentCount) {
this.commentCount = commentCount;
}
public String getAlbumPics() {
return albumPics;
}
public void setAlbumPics(String albumPics) {
this.albumPics = albumPics;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Integer getShowStatus() {
return showStatus;
}
public void setShowStatus(Integer showStatus) {
this.showStatus = showStatus;
}
public Integer getForwardCount() {
return forwardCount;
}
public void setForwardCount(Integer forwardCount) {
this.forwardCount = forwardCount;
}
public String getCategoryName() {
return categoryName;
}
public void setCategoryName(String categoryName) {
this.categoryName = categoryName;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", categoryId=").append(categoryId);
sb.append(", title=").append(title);
sb.append(", pic=").append(pic);
sb.append(", productCount=").append(productCount);
sb.append(", recommendStatus=").append(recommendStatus);
sb.append(", createTime=").append(createTime);
sb.append(", collectCount=").append(collectCount);
sb.append(", readCount=").append(readCount);
sb.append(", commentCount=").append(commentCount);
sb.append(", albumPics=").append(albumPics);
sb.append(", description=").append(description);
sb.append(", showStatus=").append(showStatus);
sb.append(", forwardCount=").append(forwardCount);
sb.append(", categoryName=").append(categoryName);
sb.append(", content=").append(content);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -0,0 +1,94 @@
package com.sock.mall.model;
import java.io.Serializable;
public class CmsSubjectCategory implements Serializable {
private Long id;
private String name;
/**
*
*
* @mbggenerated
*/
private String icon;
/**
*
*
* @mbggenerated
*/
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.sock.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.sock.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.sock.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);
}
}
}

@ -0,0 +1,51 @@
package com.sock.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.sock.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);
}
}
}

@ -0,0 +1,176 @@
package com.sock.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;
/**
*
*
* @mbggenerated
*/
private Integer attendCount;
/**
*
*
* @mbggenerated
*/
private Integer attentionCount;
private Integer readCount;
/**
*
*
* @mbggenerated
*/
private String awardName;
/**
*
*
* @mbggenerated
*/
private String attendType;
/**
*
*
* @mbggenerated
*/
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,94 @@
package com.sock.mall.model;
import java.io.Serializable;
public class CmsTopicCategory implements Serializable {
private Long id;
private String name;
/**
*
*
* @mbggenerated
*/
private String icon;
/**
*
*
* @mbggenerated
*/
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.sock.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.sock.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.sock.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);
}
}
}

@ -0,0 +1,891 @@
package com.sock.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,326 @@
package com.sock.mall.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class OmsCartItem implements Serializable {
private Long id;
private Long productId;
private Long productSkuId;
private Long memberId;
/**
*
*
* @mbggenerated
*/
private Integer quantity;
/**
*
*
* @mbggenerated
*/
private BigDecimal price;
/**
* 1
*
* @mbggenerated
*/
private String sp1;
/**
* 2
*
* @mbggenerated
*/
private String sp2;
/**
* 3
*
* @mbggenerated
*/
private String sp3;
/**
*
*
* @mbggenerated
*/
private String productPic;
/**
*
*
* @mbggenerated
*/
private String productName;
/**
*
*
* @mbggenerated
*/
private String productSubTitle;
/**
* sku
*
* @mbggenerated
*/
private String productSkuCode;
/**
*
*
* @mbggenerated
*/
private String memberNickname;
/**
*
*
* @mbggenerated
*/
private Date createDate;
/**
*
*
* @mbggenerated
*/
private Date modifyDate;
/**
*
*
* @mbggenerated
*/
private Integer deleteStatus;
/**
*
*
* @mbggenerated
*/
private Long productCategoryId;
private String productBrand;
private String productSn;
/**
* :[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]
*
* @mbggenerated
*/
private String productAttr;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getProductId() {
return productId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
public Long getProductSkuId() {
return productSkuId;
}
public void setProductSkuId(Long productSkuId) {
this.productSkuId = productSkuId;
}
public Long getMemberId() {
return memberId;
}
public void setMemberId(Long memberId) {
this.memberId = memberId;
}
public Integer getQuantity() {
return quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
public BigDecimal getPrice() {
return price;
}
public void setPrice(BigDecimal price) {
this.price = price;
}
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;
}
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 getProductSubTitle() {
return productSubTitle;
}
public void setProductSubTitle(String productSubTitle) {
this.productSubTitle = productSubTitle;
}
public String getProductSkuCode() {
return productSkuCode;
}
public void setProductSkuCode(String productSkuCode) {
this.productSkuCode = productSkuCode;
}
public String getMemberNickname() {
return memberNickname;
}
public void setMemberNickname(String memberNickname) {
this.memberNickname = memberNickname;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public Date getModifyDate() {
return modifyDate;
}
public void setModifyDate(Date modifyDate) {
this.modifyDate = modifyDate;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public void setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
}
public Long getProductCategoryId() {
return productCategoryId;
}
public void setProductCategoryId(Long productCategoryId) {
this.productCategoryId = productCategoryId;
}
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 String getProductAttr() {
return productAttr;
}
public void setProductAttr(String productAttr) {
this.productAttr = productAttr;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", productId=").append(productId);
sb.append(", productSkuId=").append(productSkuId);
sb.append(", memberId=").append(memberId);
sb.append(", quantity=").append(quantity);
sb.append(", price=").append(price);
sb.append(", sp1=").append(sp1);
sb.append(", sp2=").append(sp2);
sb.append(", sp3=").append(sp3);
sb.append(", productPic=").append(productPic);
sb.append(", productName=").append(productName);
sb.append(", productSubTitle=").append(productSubTitle);
sb.append(", productSkuCode=").append(productSkuCode);
sb.append(", memberNickname=").append(memberNickname);
sb.append(", createDate=").append(createDate);
sb.append(", modifyDate=").append(modifyDate);
sb.append(", deleteStatus=").append(deleteStatus);
sb.append(", productCategoryId=").append(productCategoryId);
sb.append(", productBrand=").append(productBrand);
sb.append(", productSn=").append(productSn);
sb.append(", productAttr=").append(productAttr);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -0,0 +1,173 @@
package com.sock.mall.model;
import java.io.Serializable;
public class OmsCompanyAddress implements Serializable {
private Long id;
/**
*
*
* @mbggenerated
*/
private String addressName;
/**
* 0->1->
*
* @mbggenerated
*/
private Integer sendStatus;
/**
* 0->1->
*
* @mbggenerated
*/
private Integer receiveStatus;
/**
*
*
* @mbggenerated
*/
private String name;
/**
*
*
* @mbggenerated
*/
private String phone;
/**
* /
*
* @mbggenerated
*/
private String province;
/**
*
*
* @mbggenerated
*/
private String city;
/**
*
*
* @mbggenerated
*/
private String region;
/**
*
*
* @mbggenerated
*/
private String detailAddress;
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;
}
public String getDetailAddress() {
return detailAddress;
}
public void setDetailAddress(String detailAddress) {
this.detailAddress = detailAddress;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", addressName=").append(addressName);
sb.append(", sendStatus=").append(sendStatus);
sb.append(", receiveStatus=").append(receiveStatus);
sb.append(", name=").append(name);
sb.append(", phone=").append(phone);
sb.append(", province=").append(province);
sb.append(", city=").append(city);
sb.append(", region=").append(region);
sb.append(", detailAddress=").append(detailAddress);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -0,0 +1,870 @@
package com.sock.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 Criteria andDetailAddressIsNull() {
addCriterion("detail_address is null");
return (Criteria) this;
}
public Criteria andDetailAddressIsNotNull() {
addCriterion("detail_address is not null");
return (Criteria) this;
}
public Criteria andDetailAddressEqualTo(String value) {
addCriterion("detail_address =", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressNotEqualTo(String value) {
addCriterion("detail_address <>", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressGreaterThan(String value) {
addCriterion("detail_address >", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressGreaterThanOrEqualTo(String value) {
addCriterion("detail_address >=", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressLessThan(String value) {
addCriterion("detail_address <", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressLessThanOrEqualTo(String value) {
addCriterion("detail_address <=", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressLike(String value) {
addCriterion("detail_address like", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressNotLike(String value) {
addCriterion("detail_address not like", value, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressIn(List<String> values) {
addCriterion("detail_address in", values, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressNotIn(List<String> values) {
addCriterion("detail_address not in", values, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressBetween(String value1, String value2) {
addCriterion("detail_address between", value1, value2, "detailAddress");
return (Criteria) this;
}
public Criteria andDetailAddressNotBetween(String value1, String value2) {
addCriterion("detail_address not between", value1, value2, "detailAddress");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,714 @@
package com.sock.mall.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class OmsOrder implements Serializable {
/**
* id
*
* @mbggenerated
*/
private Long id;
private Long memberId;
private Long couponId;
/**
*
*
* @mbggenerated
*/
private String orderSn;
/**
*
*
* @mbggenerated
*/
private Date createTime;
/**
*
*
* @mbggenerated
*/
private String memberUsername;
/**
*
*
* @mbggenerated
*/
private BigDecimal totalAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal payAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal freightAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal promotionAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal integrationAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal couponAmount;
/**
* 使
*
* @mbggenerated
*/
private BigDecimal discountAmount;
/**
* 0->1->2->
*
* @mbggenerated
*/
private Integer payType;
/**
* 0->PC1->app
*
* @mbggenerated
*/
private Integer sourceType;
/**
* 0->1->2->3->4->5->
*
* @mbggenerated
*/
private Integer status;
/**
* 0->1->
*
* @mbggenerated
*/
private Integer orderType;
/**
* ()
*
* @mbggenerated
*/
private String deliveryCompany;
/**
*
*
* @mbggenerated
*/
private String deliverySn;
/**
*
*
* @mbggenerated
*/
private Integer autoConfirmDay;
/**
*
*
* @mbggenerated
*/
private Integer integration;
/**
*
*
* @mbggenerated
*/
private Integer growth;
/**
*
*
* @mbggenerated
*/
private String promotionInfo;
/**
* 0->1->2->
*
* @mbggenerated
*/
private Integer billType;
/**
*
*
* @mbggenerated
*/
private String billHeader;
/**
*
*
* @mbggenerated
*/
private String billContent;
/**
*
*
* @mbggenerated
*/
private String billReceiverPhone;
/**
*
*
* @mbggenerated
*/
private String billReceiverEmail;
/**
*
*
* @mbggenerated
*/
private String receiverName;
/**
*
*
* @mbggenerated
*/
private String receiverPhone;
/**
*
*
* @mbggenerated
*/
private String receiverPostCode;
/**
* /
*
* @mbggenerated
*/
private String receiverProvince;
/**
*
*
* @mbggenerated
*/
private String receiverCity;
/**
*
*
* @mbggenerated
*/
private String receiverRegion;
/**
*
*
* @mbggenerated
*/
private String receiverDetailAddress;
/**
*
*
* @mbggenerated
*/
private String note;
/**
* 0->1->
*
* @mbggenerated
*/
private Integer confirmStatus;
/**
* 0->1->
*
* @mbggenerated
*/
private Integer deleteStatus;
/**
* 使
*
* @mbggenerated
*/
private Integer useIntegration;
/**
*
*
* @mbggenerated
*/
private Date paymentTime;
/**
*
*
* @mbggenerated
*/
private Date deliveryTime;
/**
*
*
* @mbggenerated
*/
private Date receiveTime;
/**
*
*
* @mbggenerated
*/
private Date commentTime;
/**
*
*
* @mbggenerated
*/
private Date modifyTime;
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 getPayAmount() {
return payAmount;
}
public void setPayAmount(BigDecimal payAmount) {
this.payAmount = payAmount;
}
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;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public void setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
}
public Integer getUseIntegration() {
return useIntegration;
}
public void setUseIntegration(Integer useIntegration) {
this.useIntegration = useIntegration;
}
public Date getPaymentTime() {
return paymentTime;
}
public void setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
}
public Date getDeliveryTime() {
return deliveryTime;
}
public void setDeliveryTime(Date deliveryTime) {
this.deliveryTime = deliveryTime;
}
public Date getReceiveTime() {
return receiveTime;
}
public void setReceiveTime(Date receiveTime) {
this.receiveTime = receiveTime;
}
public Date getCommentTime() {
return commentTime;
}
public void setCommentTime(Date commentTime) {
this.commentTime = commentTime;
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
@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(", payAmount=").append(payAmount);
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(", deleteStatus=").append(deleteStatus);
sb.append(", useIntegration=").append(useIntegration);
sb.append(", paymentTime=").append(paymentTime);
sb.append(", deliveryTime=").append(deliveryTime);
sb.append(", receiveTime=").append(receiveTime);
sb.append(", commentTime=").append(commentTime);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

@ -0,0 +1,353 @@
package com.sock.mall.model;
import java.io.Serializable;
import java.math.BigDecimal;
public class OmsOrderItem implements Serializable {
private Long id;
/**
* id
*
* @mbggenerated
*/
private Long orderId;
/**
*
*
* @mbggenerated
*/
private String orderSn;
private Long productId;
private String productPic;
private String productName;
private String productBrand;
private String productSn;
/**
*
*
* @mbggenerated
*/
private BigDecimal productPrice;
/**
*
*
* @mbggenerated
*/
private Integer productQuantity;
/**
* sku
*
* @mbggenerated
*/
private Long productSkuId;
/**
* sku
*
* @mbggenerated
*/
private String productSkuCode;
/**
* id
*
* @mbggenerated
*/
private Long productCategoryId;
/**
*
*
* @mbggenerated
*/
private String sp1;
private String sp2;
private String sp3;
/**
*
*
* @mbggenerated
*/
private String promotionName;
/**
*
*
* @mbggenerated
*/
private BigDecimal promotionAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal couponAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal integrationAmount;
/**
*
*
* @mbggenerated
*/
private BigDecimal realAmount;
private Integer giftIntegration;
private Integer giftGrowth;
/**
* :[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]
*
* @mbggenerated
*/
private String productAttr;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getOrderId() {
return orderId;
}
public void setOrderId(Long orderId) {
this.orderId = orderId;
}
public String getOrderSn() {
return orderSn;
}
public void setOrderSn(String orderSn) {
this.orderSn = orderSn;
}
public Long getProductId() {
return productId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
public String getProductPic() {
return productPic;
}
public void setProductPic(String productPic) {
this.productPic = productPic;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public String getProductBrand() {
return productBrand;
}
public void setProductBrand(String productBrand) {
this.productBrand = productBrand;
}
public String getProductSn() {
return productSn;
}
public void setProductSn(String productSn) {
this.productSn = productSn;
}
public BigDecimal getProductPrice() {
return productPrice;
}
public void setProductPrice(BigDecimal productPrice) {
this.productPrice = productPrice;
}
public Integer getProductQuantity() {
return productQuantity;
}
public void setProductQuantity(Integer productQuantity) {
this.productQuantity = productQuantity;
}
public Long getProductSkuId() {
return productSkuId;
}
public void setProductSkuId(Long productSkuId) {
this.productSkuId = productSkuId;
}
public String getProductSkuCode() {
return productSkuCode;
}
public void setProductSkuCode(String productSkuCode) {
this.productSkuCode = productSkuCode;
}
public Long getProductCategoryId() {
return productCategoryId;
}
public void setProductCategoryId(Long productCategoryId) {
this.productCategoryId = productCategoryId;
}
public String 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;
}
public String getPromotionName() {
return promotionName;
}
public void setPromotionName(String promotionName) {
this.promotionName = promotionName;
}
public BigDecimal getPromotionAmount() {
return promotionAmount;
}
public void setPromotionAmount(BigDecimal promotionAmount) {
this.promotionAmount = promotionAmount;
}
public BigDecimal getCouponAmount() {
return couponAmount;
}
public void setCouponAmount(BigDecimal couponAmount) {
this.couponAmount = couponAmount;
}
public BigDecimal getIntegrationAmount() {
return integrationAmount;
}
public void setIntegrationAmount(BigDecimal integrationAmount) {
this.integrationAmount = integrationAmount;
}
public BigDecimal getRealAmount() {
return realAmount;
}
public void setRealAmount(BigDecimal realAmount) {
this.realAmount = realAmount;
}
public Integer getGiftIntegration() {
return giftIntegration;
}
public void setGiftIntegration(Integer giftIntegration) {
this.giftIntegration = giftIntegration;
}
public Integer getGiftGrowth() {
return giftGrowth;
}
public void setGiftGrowth(Integer giftGrowth) {
this.giftGrowth = giftGrowth;
}
public String getProductAttr() {
return productAttr;
}
public void setProductAttr(String productAttr) {
this.productAttr = productAttr;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", orderId=").append(orderId);
sb.append(", orderSn=").append(orderSn);
sb.append(", productId=").append(productId);
sb.append(", productPic=").append(productPic);
sb.append(", productName=").append(productName);
sb.append(", productBrand=").append(productBrand);
sb.append(", productSn=").append(productSn);
sb.append(", productPrice=").append(productPrice);
sb.append(", productQuantity=").append(productQuantity);
sb.append(", productSkuId=").append(productSkuId);
sb.append(", productSkuCode=").append(productSkuCode);
sb.append(", productCategoryId=").append(productCategoryId);
sb.append(", sp1=").append(sp1);
sb.append(", sp2=").append(sp2);
sb.append(", sp3=").append(sp3);
sb.append(", promotionName=").append(promotionName);
sb.append(", promotionAmount=").append(promotionAmount);
sb.append(", couponAmount=").append(couponAmount);
sb.append(", integrationAmount=").append(integrationAmount);
sb.append(", realAmount=").append(realAmount);
sb.append(", giftIntegration=").append(giftIntegration);
sb.append(", giftGrowth=").append(giftGrowth);
sb.append(", productAttr=").append(productAttr);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save