com.macro.mall.model.OmsOrderReturnReasonExample Java Examples

The following examples show how to use com.macro.mall.model.OmsOrderReturnReasonExample. 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: OmsOrderReturnReasonServiceImpl.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@Override
public int updateStatus(List<Long> ids, Integer status) {
    if(!status.equals(0)&&!status.equals(1)){
        return 0;
    }
    OmsOrderReturnReason record = new OmsOrderReturnReason();
    record.setStatus(status);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.updateByExampleSelective(record,example);
}
 
Example #2
Source File: OmsOrderReturnReasonServiceImpl.java    From macrozheng-mall with MIT License 5 votes vote down vote up
@Override
public List<OmsOrderReturnReason> list(Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.setOrderByClause("sort desc");
    return returnReasonMapper.selectByExample(example);
}
 
Example #3
Source File: OmsOrderReturnReasonServiceImpl.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@Override
public List<OmsOrderReturnReason> list(Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.setOrderByClause("sort desc");
    return returnReasonMapper.selectByExample(example);
}
 
Example #4
Source File: OmsOrderReturnReasonServiceImpl.java    From mall-swarm with Apache License 2.0 5 votes vote down vote up
@Override
public int updateStatus(List<Long> ids, Integer status) {
    if(!status.equals(0)&&!status.equals(1)){
        return 0;
    }
    OmsOrderReturnReason record = new OmsOrderReturnReason();
    record.setStatus(status);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.updateByExampleSelective(record,example);
}
 
Example #5
Source File: OmsOrderReturnReasonServiceImpl.java    From mall with Apache License 2.0 5 votes vote down vote up
@Override
public List<OmsOrderReturnReason> list(Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.setOrderByClause("sort desc");
    return returnReasonMapper.selectByExample(example);
}
 
Example #6
Source File: OmsOrderReturnReasonServiceImpl.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@Override
public int updateStatus(List<Long> ids, Integer status) {
    if(!status.equals(0)&&!status.equals(1)){
        return 0;
    }
    OmsOrderReturnReason record = new OmsOrderReturnReason();
    record.setStatus(status);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.updateByExampleSelective(record,example);
}
 
Example #7
Source File: OmsOrderReturnReasonServiceImpl.java    From macrozheng with Apache License 2.0 5 votes vote down vote up
@Override
public List<OmsOrderReturnReason> list(Integer pageSize, Integer pageNum) {
    PageHelper.startPage(pageNum,pageSize);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.setOrderByClause("sort desc");
    return returnReasonMapper.selectByExample(example);
}
 
Example #8
Source File: OmsOrderReturnReasonServiceImpl.java    From mall with Apache License 2.0 5 votes vote down vote up
@Override
public int updateStatus(List<Long> ids, Integer status) {
    if(!status.equals(0)&&!status.equals(1)){
        return 0;
    }
    OmsOrderReturnReason record = new OmsOrderReturnReason();
    record.setStatus(status);
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.updateByExampleSelective(record,example);
}
 
Example #9
Source File: OmsOrderReturnReasonServiceImpl.java    From macrozheng-mall with MIT License 4 votes vote down vote up
@Override
public int delete(List<Long> ids) {
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.deleteByExample(example);
}
 
Example #10
Source File: OmsOrderReturnReasonServiceImpl.java    From mall-swarm with Apache License 2.0 4 votes vote down vote up
@Override
public int delete(List<Long> ids) {
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.deleteByExample(example);
}
 
Example #11
Source File: OmsOrderReturnReasonServiceImpl.java    From mall with Apache License 2.0 4 votes vote down vote up
@Override
public int delete(List<Long> ids) {
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.deleteByExample(example);
}
 
Example #12
Source File: OmsOrderReturnReasonServiceImpl.java    From macrozheng with Apache License 2.0 4 votes vote down vote up
@Override
public int delete(List<Long> ids) {
    OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample();
    example.createCriteria().andIdIn(ids);
    return returnReasonMapper.deleteByExample(example);
}
 
Example #13
Source File: OmsOrderReturnReasonMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); 
Example #14
Source File: OmsOrderReturnReasonMapper.java    From mall with Apache License 2.0 votes vote down vote up
long countByExample(OmsOrderReturnReasonExample example); 
Example #15
Source File: OmsOrderReturnReasonMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int countByExample(OmsOrderReturnReasonExample example); 
Example #16
Source File: OmsOrderReturnReasonMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int deleteByExample(OmsOrderReturnReasonExample example); 
Example #17
Source File: OmsOrderReturnReasonMapper.java    From macrozheng-mall with MIT License votes vote down vote up
List<OmsOrderReturnReason> selectByExample(OmsOrderReturnReasonExample example); 
Example #18
Source File: OmsOrderReturnReasonMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); 
Example #19
Source File: OmsOrderReturnReasonMapper.java    From macrozheng-mall with MIT License votes vote down vote up
int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); 
Example #20
Source File: OmsOrderReturnReasonMapper.java    From mall with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); 
Example #21
Source File: OmsOrderReturnReasonMapper.java    From mall with Apache License 2.0 votes vote down vote up
List<OmsOrderReturnReason> selectByExample(OmsOrderReturnReasonExample example); 
Example #22
Source File: OmsOrderReturnReasonMapper.java    From mall with Apache License 2.0 votes vote down vote up
int deleteByExample(OmsOrderReturnReasonExample example); 
Example #23
Source File: OmsOrderReturnReasonMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
long countByExample(OmsOrderReturnReasonExample example); 
Example #24
Source File: OmsOrderReturnReasonMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); 
Example #25
Source File: OmsOrderReturnReasonMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); 
Example #26
Source File: OmsOrderReturnReasonMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
List<OmsOrderReturnReason> selectByExample(OmsOrderReturnReasonExample example); 
Example #27
Source File: OmsOrderReturnReasonMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int deleteByExample(OmsOrderReturnReasonExample example); 
Example #28
Source File: OmsOrderReturnReasonMapper.java    From macrozheng with Apache License 2.0 votes vote down vote up
int countByExample(OmsOrderReturnReasonExample example); 
Example #29
Source File: OmsOrderReturnReasonMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); 
Example #30
Source File: OmsOrderReturnReasonMapper.java    From mall-swarm with Apache License 2.0 votes vote down vote up
int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example);