package org.jeecg.modules.andon.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.jeecg.modules.andon.dto.AndonButtonDTO;
|
import org.jeecg.modules.andon.entity.AndonResponseConfig;
|
|
import java.util.List;
|
|
/**
|
* @Description: 安灯响应配置
|
* @Author: jeecg-boot
|
* @Date: 2025-07-10
|
* @Version: V1.0
|
*/
|
public interface IAndonResponseConfigService extends IService<AndonResponseConfig> {
|
AndonResponseConfig getAndonResponseConfigByFactoryIdAndButtonId(String factoryId, String buttonId);
|
|
/**
|
* 根据工厂id查询按钮列表
|
* @param factoryId 工厂id
|
* @return
|
*/
|
List<AndonButtonDTO> queryAndonButtonList(String factoryId);
|
|
|
/**
|
* 发送安灯通知
|
* @param andonButtonDTO 安灯按钮DTO
|
* @return 结果
|
*/
|
void sendAndonNotification(AndonButtonDTO andonButtonDTO);
|
}
|