From 14943f4a30e027dcf8956272192666524a851eff Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期一, 18 八月 2025 20:31:00 +0800
Subject: [PATCH] 安灯发起、安灯处理  安灯响应

---
 src/main/java/org/jeecg/modules/andon/controller/AndonResponseConfigController.java |   18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/src/main/java/org/jeecg/modules/andon/controller/AndonResponseConfigController.java b/src/main/java/org/jeecg/modules/andon/controller/AndonResponseConfigController.java
index 63510ae..5fa20d7 100644
--- a/src/main/java/org/jeecg/modules/andon/controller/AndonResponseConfigController.java
+++ b/src/main/java/org/jeecg/modules/andon/controller/AndonResponseConfigController.java
@@ -11,6 +11,7 @@
 import org.jeecg.common.system.base.controller.JeecgController;
 import org.jeecg.common.system.query.QueryGenerator;
 import org.jeecg.modules.andon.dto.AndonButtonDTO;
+import org.jeecg.modules.andon.dto.AndonOrdeDto;
 import org.jeecg.modules.andon.entity.AndonResponseConfig;
 import org.jeecg.modules.andon.service.IAndonResponseConfigService;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -68,9 +69,8 @@
     @AutoLog(value = "瀹夌伅宸ュ崟-鍙戦�侀涔︽秷鎭�")
     @ApiOperation(value = "瀹夌伅宸ュ崟-鍙戦�侀涔︽秷鎭�", notes = "瀹夌伅宸ュ崟-鍙戦�侀涔︽秷鎭�")
     @PostMapping(value = "/sendMessage")
-    public Result<String> sendMessage(@RequestBody AndonButtonDTO andonButtonDTO) {
+    public Result<String> sendMessage(@RequestBody AndonOrdeDto andonButtonDTO) {
         try {
-            andonButtonDTO.setBlinkingFlag(1);
             // 璋冪敤鏈嶅姟灞傚鐞嗕笟鍔¢�昏緫
             andonResponseConfigService.sendAndonNotification(andonButtonDTO);
             return Result.OK("娣诲姞鎴愬姛锛�");
@@ -179,20 +179,6 @@
     @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
     public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
         return super.importExcel(request, response, AndonResponseConfig.class);
-    }
-
-
-    /**
-     * APP瀹夌伅鎸夐挳鍒楄〃鏌ヨ
-     *
-     * @param factoryId
-     * @return
-     */
-    @ApiOperation(value = "瀹夌伅鎸夐挳閰嶇疆-鍒楄〃鏌ヨ", notes = "瀹夌伅鎸夐挳閰嶇疆-鍒楄〃鏌ヨ")
-    @GetMapping(value = "/queryAndonButtonList")
-    public Result<List<AndonButtonDTO>> queryAndonButtonList(@RequestParam("factoryId") String factoryId) {
-        List<AndonButtonDTO> list = andonResponseConfigService.queryAndonButtonList(factoryId);
-        return Result.OK(list);
     }
 
 }

--
Gitblit v1.9.3