package com.doumee.service.business; 
 | 
  
 | 
import com.doumee.core.model.PageData; 
 | 
import com.doumee.core.model.PageWrap; 
 | 
import com.doumee.dao.business.model.CateBudget; 
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 品类价格区间表Service定义 
 | 
 * @author 江蹄蹄 
 | 
 * @since 2023/05/15 17:09 
 | 
 */ 
 | 
public interface CateBudgetService { 
 | 
  
 | 
    /** 
 | 
     * 创建 
 | 
     *  
 | 
     * @param cateBudget 实体对象 
 | 
     * @return Integer 
 | 
     */ 
 | 
    Integer create(CateBudget cateBudget); 
 | 
  
 | 
    /** 
 | 
     * 主键删除 
 | 
     * 
 | 
     * @param id 主键 
 | 
     */ 
 | 
    void deleteById(Integer id); 
 | 
  
 | 
    /** 
 | 
     * 删除 
 | 
     * 
 | 
     * @param cateBudget 实体对象 
 | 
     */ 
 | 
    void delete(CateBudget cateBudget); 
 | 
  
 | 
    /** 
 | 
     * 批量主键删除 
 | 
     * 
 | 
     * @param ids 主键集 
 | 
     */ 
 | 
    void deleteByIdInBatch(List<Integer> ids); 
 | 
  
 | 
    /** 
 | 
     * 主键更新 
 | 
     * 
 | 
     * @param cateBudget 实体对象 
 | 
     */ 
 | 
    void updateById(CateBudget cateBudget); 
 | 
  
 | 
    /** 
 | 
     * 批量主键更新 
 | 
     * 
 | 
     * @param cateBudgets 实体集 
 | 
     */ 
 | 
    void updateByIdInBatch(List<CateBudget> cateBudgets); 
 | 
  
 | 
    /** 
 | 
     * 主键查询 
 | 
     * 
 | 
     * @param id 主键 
 | 
     * @return CateBudget 
 | 
     */ 
 | 
    CateBudget findById(Integer id); 
 | 
  
 | 
    /** 
 | 
     * 条件查询单条记录 
 | 
     * 
 | 
     * @param cateBudget 实体对象 
 | 
     * @return CateBudget 
 | 
     */ 
 | 
    CateBudget findOne(CateBudget cateBudget); 
 | 
  
 | 
    /** 
 | 
     * 条件查询 
 | 
     * 
 | 
     * @param cateBudget 实体对象 
 | 
     * @return List<CateBudget> 
 | 
     */ 
 | 
    List<CateBudget> findList(CateBudget cateBudget); 
 | 
   
 | 
    /** 
 | 
     * 分页查询 
 | 
     * 
 | 
     * @param pageWrap 分页对象 
 | 
     * @return PageData<CateBudget> 
 | 
     */ 
 | 
    PageData<CateBudget> findPage(PageWrap<CateBudget> pageWrap); 
 | 
  
 | 
    /** 
 | 
     * 条件统计 
 | 
     * 
 | 
     * @param cateBudget 实体对象 
 | 
     * @return long 
 | 
     */ 
 | 
    long count(CateBudget cateBudget); 
 | 
} 
 |