package cn.stylefeng.guns.modular.sm.scrapCategoryRecord.service;
import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.sm.scrapCategoryRecord.entity.ScrapCategoryRecord;
import cn.stylefeng.guns.modular.sm.scrapCategoryRecord.model.params.ScrapCategoryRecordParam;
import cn.stylefeng.guns.modular.sm.scrapCategoryRecord.model.result.ScrapCategoryRecordResult;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
*
* 报废记录 服务类
*
*
* @author ruimin
* @since 2023-02-23
*/
public interface ScrapCategoryRecordService extends IService {
/**
* 新增
*
* @author ruimin
* @Date 2023-02-23
*/
void add(ScrapCategoryRecordParam param);
/**
* 删除
*
* @author ruimin
* @Date 2023-02-23
*/
void delete(ScrapCategoryRecordParam param);
/**
* 更新
*
* @author ruimin
* @Date 2023-02-23
*/
void update(ScrapCategoryRecordParam param);
/**
* 查询单条数据,Specification模式
*
* @author ruimin
* @Date 2023-02-23
*/
ScrapCategoryRecordResult findBySpec(ScrapCategoryRecordParam param);
/**
* 查询列表,Specification模式
*
* @author ruimin
* @Date 2023-02-23
*/
List findListBySpec(ScrapCategoryRecordParam param);
/**
* 查询分页数据,Specification模式
*
* @author ruimin
* @Date 2023-02-23
*/
LayuiPageInfo findPageBySpec(ScrapCategoryRecordParam param);
Integer getScrapQuantity();
Integer getScrapQuantityWeek();
}