package com.gkhy.hazmat.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.hazmat.common.api.CommonPage;
import com.gkhy.hazmat.system.domain.HzProductEntryRecord;
/**
*
* 成品入库记录表 服务类
*
*
* @author kzy
* @since 2024-08-06 16:06:49
*/
public interface HzProductEntryRecordService extends IService {
/**
* 根据条件分页查询成品入库记录列表
* @param entryRecord
* @return
*/
CommonPage selectEntryRecordList(HzProductEntryRecord entryRecord);
/**
* 根据id查询成品入库记录信息
*
* @param entryRecordId 入库记录ID
* @return
*/
public HzProductEntryRecord selectEntryRecordById(Long entryRecordId);
/**
* 新增成品入库记录
*
* @param entryRecord 入库记录信息
* @return 结果
*/
public int insertEntryRecord(HzProductEntryRecord entryRecord);
/**
* 删除成品入库记录
*
* @param entryRecordId 入库记录ID
* @return 结果
*/
public int deleteEntryRecordById(Long entryRecordId);
/**
* 成品入库操作
* @param entryRecordId
*/
public void doEntry(Long entryRecordId);
/**
* 更新入库记录
* @param entryRecord
* @return
*/
int updateEntryRecord(HzProductEntryRecord entryRecord);
/**
* 根据入库id查询详情
* @param entryId
* @return
*/
CommonPage selectProductListByEntryId(Long entryId);
}