com.macro.mall.model.SmsFlashPromotionExample Java Examples

The following examples show how to use com.macro.mall.model.SmsFlashPromotionExample. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SmsFlashPromotionServiceImpl.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@Override
public List<SmsFlashPromotion> list(String keyword, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum, pageSize);
    SmsFlashPromotionExample example = new SmsFlashPromotionExample();
    if (!StringUtils.isEmpty(keyword)) {
        example.createCriteria().andTitleLike("%" + keyword + "%");
    }
    return flashPromotionMapper.selectByExample(example);
}
 
Example #2
Source File: SmsFlashPromotionServiceImpl.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@Override
public List<SmsFlashPromotion> list(String keyword, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum, pageSize);
    SmsFlashPromotionExample example = new SmsFlashPromotionExample();
    if (!StringUtils.isEmpty(keyword)) {
        example.createCriteria().andTitleLike("%" + keyword + "%");
    }
    return flashPromotionMapper.selectByExample(example);
}
 
Example #3
Source File: SmsFlashPromotionServiceImpl.java    From mall with Apache License 2.0 5 votes vote down vote up
@Override
public List<SmsFlashPromotion> list(String keyword, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum, pageSize);
    SmsFlashPromotionExample example = new SmsFlashPromotionExample();
    if (!StringUtils.isEmpty(keyword)) {
        example.createCriteria().andTitleLike("%" + keyword + "%");
    }
    return flashPromotionMapper.selectByExample(example);
}
 
Example #4
Source File: SmsFlashPromotionServiceImpl.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@Override
public List<SmsFlashPromotion> list(String keyword, Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum, pageSize);
    SmsFlashPromotionExample example = new SmsFlashPromotionExample();
    if (!StringUtils.isEmpty(keyword)) {
        example.createCriteria().andTitleLike("%" + keyword + "%");
    }
    return flashPromotionMapper.selectByExample(example);
}
 
Example #5
Source File: SmsFlashPromotionMapper.java    From mall with Apache License 2.0 votes vote down vote up
long countByExample(SmsFlashPromotionExample example); 
Example #6
Source File: SmsFlashPromotionMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #7
Source File: SmsFlashPromotionMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #8
Source File: SmsFlashPromotionMapper.java    From macrozheng-mall with MIT License votes vote down vote up
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example); 
Example #9
Source File: SmsFlashPromotionMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int deleteByExample(SmsFlashPromotionExample example); 
Example #10
Source File: SmsFlashPromotionMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int countByExample(SmsFlashPromotionExample example); 
Example #11
Source File: SmsFlashPromotionMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #12
Source File: SmsFlashPromotionMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #13
Source File: SmsFlashPromotionMapper.java    From mall with Apache License 2.0 votes vote down vote up
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example); 
Example #14
Source File: SmsFlashPromotionMapper.java    From mall with Apache License 2.0 votes vote down vote up
int deleteByExample(SmsFlashPromotionExample example); 
Example #15
Source File: SmsFlashPromotionMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
long countByExample(SmsFlashPromotionExample example); 
Example #16
Source File: SmsFlashPromotionMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #17
Source File: SmsFlashPromotionMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #18
Source File: SmsFlashPromotionMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example); 
Example #19
Source File: SmsFlashPromotionMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int deleteByExample(SmsFlashPromotionExample example); 
Example #20
Source File: SmsFlashPromotionMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int countByExample(SmsFlashPromotionExample example); 
Example #21
Source File: SmsFlashPromotionMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #22
Source File: SmsFlashPromotionMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); 
Example #23
Source File: SmsFlashPromotionMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
List<SmsFlashPromotion> selectByExample(SmsFlashPromotionExample example); 
Example #24
Source File: SmsFlashPromotionMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int deleteByExample(SmsFlashPromotionExample example);