新火炬后端单体项目初始化代码
src/main/java/org/jeecg/modules/andon/service/IAndonResponseConfigService.java
@@ -1,7 +1,10 @@
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: 安灯响应配置
@@ -11,4 +14,19 @@
 */
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);
}