com.macro.mall.model.PmsSkuStockExample Java Examples

The following examples show how to use com.macro.mall.model.PmsSkuStockExample. 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: PmsSkuStockServiceImpl.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@Override
public List<PmsSkuStock> getList(Long pid, String keyword) {
    PmsSkuStockExample example = new PmsSkuStockExample();
    PmsSkuStockExample.Criteria criteria = example.createCriteria().andProductIdEqualTo(pid);
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andSkuCodeLike("%" + keyword + "%");
    }
    return skuStockMapper.selectByExample(example);
}
 
Example #2
Source File: PmsSkuStockServiceImpl.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@Override
public List<PmsSkuStock> getList(Long pid, String keyword) {
    PmsSkuStockExample example = new PmsSkuStockExample();
    PmsSkuStockExample.Criteria criteria = example.createCriteria().andProductIdEqualTo(pid);
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andSkuCodeLike("%" + keyword + "%");
    }
    return skuStockMapper.selectByExample(example);
}
 
Example #3
Source File: PmsSkuStockServiceImpl.java    From mall with Apache License 2.0 5 votes vote down vote up
@Override
public List<PmsSkuStock> getList(Long pid, String keyword) {
    PmsSkuStockExample example = new PmsSkuStockExample();
    PmsSkuStockExample.Criteria criteria = example.createCriteria().andProductIdEqualTo(pid);
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andSkuCodeLike("%" + keyword + "%");
    }
    return skuStockMapper.selectByExample(example);
}
 
Example #4
Source File: PmsSkuStockServiceImpl.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@Override
public List<PmsSkuStock> getList(Long pid, String keyword) {
    PmsSkuStockExample example = new PmsSkuStockExample();
    PmsSkuStockExample.Criteria criteria = example.createCriteria().andProductIdEqualTo(pid);
    if (!StringUtils.isEmpty(keyword)) {
        criteria.andSkuCodeLike("%" + keyword + "%");
    }
    return skuStockMapper.selectByExample(example);
}
 
Example #5
Source File: PmsSkuStockMapper.java    From mall with Apache License 2.0 votes vote down vote up
long countByExample(PmsSkuStockExample example); 
Example #6
Source File: PmsSkuStockMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #7
Source File: PmsSkuStockMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #8
Source File: PmsSkuStockMapper.java    From macrozheng-mall with MIT License votes vote down vote up
List<PmsSkuStock> selectByExample(PmsSkuStockExample example); 
Example #9
Source File: PmsSkuStockMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int deleteByExample(PmsSkuStockExample example); 
Example #10
Source File: PmsSkuStockMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int countByExample(PmsSkuStockExample example); 
Example #11
Source File: PmsSkuStockMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #12
Source File: PmsSkuStockMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #13
Source File: PmsSkuStockMapper.java    From mall with Apache License 2.0 votes vote down vote up
List<PmsSkuStock> selectByExample(PmsSkuStockExample example); 
Example #14
Source File: PmsSkuStockMapper.java    From mall with Apache License 2.0 votes vote down vote up
int deleteByExample(PmsSkuStockExample example); 
Example #15
Source File: PmsSkuStockMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
long countByExample(PmsSkuStockExample example); 
Example #16
Source File: PmsSkuStockMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #17
Source File: PmsSkuStockMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #18
Source File: PmsSkuStockMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
List<PmsSkuStock> selectByExample(PmsSkuStockExample example); 
Example #19
Source File: PmsSkuStockMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int deleteByExample(PmsSkuStockExample example); 
Example #20
Source File: PmsSkuStockMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int countByExample(PmsSkuStockExample example); 
Example #21
Source File: PmsSkuStockMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #22
Source File: PmsSkuStockMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); 
Example #23
Source File: PmsSkuStockMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
List<PmsSkuStock> selectByExample(PmsSkuStockExample example); 
Example #24
Source File: PmsSkuStockMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int deleteByExample(PmsSkuStockExample example);