From 5f988ae8e9516b0ec2406fef7d207b216e30c2af Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期五, 13 十二月 2024 16:50:38 +0800 Subject: [PATCH] 优化接口 回复巡检员问题上报接口 已回复的加限制,只能回复一次 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnit.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnit.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnit.java index 3757b30..38cc9dd 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnit.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/support/SupportUnit.java @@ -4,7 +4,7 @@ import com.dy.common.threadPool.TreadPoolFactory; import com.dy.common.mw.UnitAdapterInterface; import com.dy.common.mw.UnitInterface; -import com.dy.common.mw.UnitStartedCallbackInterface; +import com.dy.common.mw.UnitCallbackInterface; public class SupportUnit implements UnitInterface { @@ -36,7 +36,7 @@ } @Override - public void start(UnitStartedCallbackInterface callback) throws Exception { + public void start(UnitCallbackInterface callback) throws Exception { if(!started){ started = true ; if(confVo.enableShortThreadPool) { @@ -65,7 +65,7 @@ } @Override - public void stop(UnitStartedCallbackInterface callback) { + public void stop(UnitCallbackInterface callback) { } /* -- Gitblit v1.8.0