/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.transport.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.transport.excel.EquipmentLedgerExcel;
import org.springblade.transport.pojo.entity.EquipmentLedger;
import org.springblade.transport.pojo.vo.EquipmentLedgerVO;

import java.util.List;

/**
 * 设备台账服务接口
 *
 * @author Chill
 */
public interface IEquipmentLedgerService extends BaseService<EquipmentLedger> {
	IPage<EquipmentLedgerVO> selectEquipmentLedgerPage(IPage<EquipmentLedgerVO> page, EquipmentLedgerVO equipmentLedger);
	boolean submit(EquipmentLedger equipmentLedger);
	List<EquipmentLedgerExcel> importEquipmentLedger(List<EquipmentLedgerExcel> data);
	List<EquipmentLedgerExcel> exportEquipmentLedger(Wrapper<EquipmentLedger> queryWrapper);
	String nextEquipmentCode();
}
