com.macro.mall.model.CmsSubjectExample Java Examples

The following examples show how to use com.macro.mall.model.CmsSubjectExample. 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: CmsSubjectServiceImpl.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@Override
public List<CmsSubject> list(String keyword, Integer pageNum, Integer pageSize) {
    PageHelper.startPage(pageNum, pageSize);
    CmsSubjectExample example = new CmsSubjectExample();
    CmsSubjectExample.Criteria criteria = example.createCriteria();
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andTitleLike("%" + keyword + "%");
    }
    return subjectMapper.selectByExample(example);
}
 
Example #2
Source File: CmsSubjectServiceImpl.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@Override
public List<CmsSubject> list(String keyword, Integer pageNum, Integer pageSize) {
    PageHelper.startPage(pageNum, pageSize);
    CmsSubjectExample example = new CmsSubjectExample();
    CmsSubjectExample.Criteria criteria = example.createCriteria();
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andTitleLike("%" + keyword + "%");
    }
    return subjectMapper.selectByExample(example);
}
 
Example #3
Source File: CmsSubjectServiceImpl.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@Override
public List<CmsSubject> list(String keyword, Integer pageNum, Integer pageSize) {
    PageHelper.startPage(pageNum, pageSize);
    CmsSubjectExample example = new CmsSubjectExample();
    CmsSubjectExample.Criteria criteria = example.createCriteria();
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andTitleLike("%" + keyword + "%");
    }
    return subjectMapper.selectByExample(example);
}
 
Example #4
Source File: CmsSubjectServiceImpl.java    From mall with Apache License 2.0 5 votes vote down vote up
@Override
public List<CmsSubject> list(String keyword, Integer pageNum, Integer pageSize) {
    PageHelper.startPage(pageNum, pageSize);
    CmsSubjectExample example = new CmsSubjectExample();
    CmsSubjectExample.Criteria criteria = example.createCriteria();
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andTitleLike("%" + keyword + "%");
    }
    return subjectMapper.selectByExample(example);
}
 
Example #5
Source File: CmsSubjectServiceImpl.java    From macrozheng-mall with MIT License 4 votes vote down vote up
@Override
public List<CmsSubject> listAll() {
    return subjectMapper.selectByExample(new CmsSubjectExample());
}
 
Example #6
Source File: CmsSubjectServiceImpl.java    From macrozheng with Apache License 2.0 4 votes vote down vote up
@Override
public List<CmsSubject> listAll() {
    return subjectMapper.selectByExample(new CmsSubjectExample());
}
 
Example #7
Source File: CmsSubjectServiceImpl.java    From mall-swarm with Apache License 2.0 4 votes vote down vote up
@Override
public List<CmsSubject> listAll() {
    return subjectMapper.selectByExample(new CmsSubjectExample());
}
 
Example #8
Source File: CmsSubjectServiceImpl.java    From mall with Apache License 2.0 4 votes vote down vote up
@Override
public List<CmsSubject> listAll() {
    return subjectMapper.selectByExample(new CmsSubjectExample());
}
 
Example #9
Source File: CmsSubjectMapper.java    From mall with Apache License 2.0 votes vote down vote up
List<CmsSubject> selectByExample(CmsSubjectExample example); 
Example #10
Source File: CmsSubjectMapper.java    From mall with Apache License 2.0 votes vote down vote up
long countByExample(CmsSubjectExample example); 
Example #11
Source File: CmsSubjectMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #12
Source File: CmsSubjectMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #13
Source File: CmsSubjectMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #14
Source File: CmsSubjectMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int countByExample(CmsSubjectExample example); 
Example #15
Source File: CmsSubjectMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int deleteByExample(CmsSubjectExample example); 
Example #16
Source File: CmsSubjectMapper.java    From macrozheng-mall with MIT License votes vote down vote up
List<CmsSubject> selectByExampleWithBLOBs(CmsSubjectExample example); 
Example #17
Source File: CmsSubjectMapper.java    From macrozheng-mall with MIT License votes vote down vote up
List<CmsSubject> selectByExample(CmsSubjectExample example); 
Example #18
Source File: CmsSubjectMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #19
Source File: CmsSubjectMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #20
Source File: CmsSubjectMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #21
Source File: CmsSubjectMapper.java    From mall with Apache License 2.0 votes vote down vote up
List<CmsSubject> selectByExampleWithBLOBs(CmsSubjectExample example); 
Example #22
Source File: CmsSubjectMapper.java    From mall with Apache License 2.0 votes vote down vote up
int deleteByExample(CmsSubjectExample example); 
Example #23
Source File: CmsSubjectMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
long countByExample(CmsSubjectExample example); 
Example #24
Source File: CmsSubjectMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #25
Source File: CmsSubjectMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #26
Source File: CmsSubjectMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); 
Example #27
Source File: CmsSubjectMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
List<CmsSubject> selectByExample(CmsSubjectExample example); 
Example #28
Source File: CmsSubjectMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
List<CmsSubject> selectByExampleWithBLOBs(CmsSubjectExample example); 
Example #29
Source File: CmsSubjectMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int deleteByExample(CmsSubjectExample example); 
Example #30
Source File: CmsSubjectMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int countByExample(CmsSubjectExample example);