package com.rongwei.bscommon.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rongwei.bsentity.domain.EquLubricationPlanDo;
import com.rongwei.rwcommon.base.R;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>
 * 设备子系统——润滑计划标准 服务类
 * </p>
 *
 * @author fpy
 * @since 2024-01-12
 */
public interface EquLubricationPlanService extends IService<EquLubricationPlanDo> {

    /**
     * 导出润滑明细
     * @param parameter
     * @param response
     */
    void wordExportLubrication(Map<String, Object> parameter, HttpServletResponse response);

    /**
     * 根据设备ID修改润滑标准状态
     *
     * @param equipmentId
     * @return
     * @date 2024/1/16 17:36
     * @author shangmi
     *
     */
    void updateStateByEquId(String equipmentId);

    R timedTask();
}
