package cn.iocoder.yudao.module.iot.service.recipepointrecord;

import java.util.*;
import javax.validation.*;
import cn.iocoder.yudao.module.iot.controller.admin.recipepointrecord.vo.*;
import cn.iocoder.yudao.module.iot.dal.dataobject.recipepointrecord.RecipePointRecordDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;

/**
 * IoT配方点位记录 Service 接口
 *
 * @author 内蒙必硕
 */
public interface RecipePointRecordService {

    /**
     * 创建IoT配方点位记录
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createRecipePointRecord(@Valid RecipePointRecordSaveReqVO createReqVO);

    /**
     * 更新IoT配方点位记录
     *
     * @param updateReqVO 更新信息
     */
    void updateRecipePointRecord(@Valid RecipePointRecordSaveReqVO updateReqVO);

    /**
     * 删除IoT配方点位记录
     *
     * @param id 编号
     */
    void deleteRecipePointRecord(Long id);

    /**
     * 获得IoT配方点位记录
     *
     * @param id 编号
     * @return IoT配方点位记录
     */
    RecipePointRecordDO getRecipePointRecord(Long id);

    /**
     * 获得IoT配方点位记录分页
     *
     * @param pageReqVO 分页查询
     * @return IoT配方点位记录分页
     */
    PageResult<RecipePointRecordDO> getRecipePointRecordPage(RecipePointRecordPageReqVO pageReqVO);

}