From d50efbdf17dcec0639cd3f1f17c6620c2e5189cc Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Thu, 23 Oct 2025 11:44:21 +0800 Subject: [PATCH] =?UTF-8?q?demand:=20=20=20=20TMS=E7=B3=BB=E7=BB=9F=20-=20?= =?UTF-8?q?=E8=BF=90=E8=BE=93=E7=AE=A1=E7=90=86=20-=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=B8=85=E9=99=A4autoScanSiteBatch=E4=BB=BB=E5=8A=A1=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=8E=A5=E5=8F=A3=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../erp/web/emis/EmisCommonController.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCommonController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCommonController.java index e23d42d09..114df9f00 100644 --- a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCommonController.java +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCommonController.java @@ -955,6 +955,28 @@ public class EmisCommonController extends EmisBaseController } } + /** + * 清除autoScanSiteBatch任务状态 + * + * @return + */ + @GetMapping("/clearAutoScanSiteBatchStatus") + public AjaxResult clearAutoScanSiteBatchStatus() { + String statusKey = "autoScanSiteBatch_status"; + log.info("clearAutoScanSiteBatchStatus start"); + + try { + // 清除任务状态 + redissonService.setStr(statusKey, "", 0); + log.info("autoScanSiteBatch status cleared successfully"); + return AjaxResult.success("任务状态已清除"); + } catch (Exception ex) { + ex.printStackTrace(); + log.error("clearAutoScanSiteBatchStatus exception:" + ex.getMessage()); + return AjaxResult.error("清除状态失败:" + ex.getMessage()); + } + } + /** * 单独出账 * @return