IEquipmentMaintainStandardService.java 1.7 KB
package com.skua.modules.equipment.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.skua.modules.equipment.entity.EquipmentMaintainStandard;
import com.skua.modules.equipment.vo.EquipmentMaintainStandardVO;

import java.util.List;
import java.util.Map;

public interface IEquipmentMaintainStandardService extends IService<EquipmentMaintainStandard> {
    /**
     * 新增保养标准库
     *
     * @param equipmentMaintainStandard
     * @return
     */
    Integer addEquipmentMaintainStandard(EquipmentMaintainStandard equipmentMaintainStandard);

    /**
     * 新增保养标准库集合
     * @param equipmentMaintainStandardList
     */
    void addList(List<EquipmentMaintainStandard>equipmentMaintainStandardList);
    /**
     * 保养标准库分页列表
     *
     * @param pageList
     * @param equipmentMaintainStandard
     * @return
     */
    Page<EquipmentMaintainStandardVO> queryCustomPageList(Page<EquipmentMaintainStandardVO> pageList, EquipmentMaintainStandard equipmentMaintainStandard);

    void update(EquipmentMaintainStandard equipmentMaintainStandard);

    void delete(String id);
    EquipmentMaintainStandard queryById(String id);

    List<EquipmentMaintainStandardVO>getFactory();
    List<EquipmentMaintainStandardVO>getCompany();
    /**
     * <pre>
     * 获取机构列表
     * </pre>
     * @param projectType【factory单厂/group集团】
     * @return
     * @author Li Yuanyuan, 2023年4月11日 下午1:41:52
     * @Description: TODO(这里描述这个方法的需求变更情况)
     */
	List<Map<String, Object>> getDepartList(String projectType);
}