IEquipmentCheckService.java 1.0 KB
package com.skua.modules.equipment.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.skua.modules.equipment.dto.EquipmentCheckAddDTO;
import com.skua.modules.equipment.dto.EquipmentCheckDTO;
import com.skua.modules.equipment.dto.EquipmentCheckQueryDTO;
import com.skua.modules.equipment.entity.EquipmentCheck;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.equipment.vo.EquipmentCheckQueryVO;
import com.skua.modules.supplies.vo.EquipmentCheckChildDetailQueryVO;

import java.util.List;

/**
 * 资产盘点
 */
public interface IEquipmentCheckService extends IService<EquipmentCheck> {

    void add(EquipmentCheckAddDTO equipmentCheckDTO) throws Exception;

    void edit(EquipmentCheckAddDTO dto) throws Exception;

    IPage<EquipmentCheckQueryVO> pageQuery(EquipmentCheckQueryDTO dto, Integer pageNo, Integer pageSize);

    /**
     * 资产盘点详情
     * @param id 盘点id
     * @return
     */
    List<EquipmentCheckChildDetailQueryVO> queryChildDetailById(String id);
}