新火炬后端单体项目初始化代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);
}