From 4ee86eb0f4984bf3ede3196ad8c5fe95e8c5a504 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 15 六月 2022 19:05:02 +0800
Subject: [PATCH] 优化代码
---
service-dev/src/main/java/com/java110/dev/cmd/SaveMappingCmd.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/service-dev/src/main/java/com/java110/dev/cmd/SaveMappingCmd.java b/service-dev/src/main/java/com/java110/dev/cmd/SaveMappingCmd.java
index e0fc0f9..d7c0976 100644
--- a/service-dev/src/main/java/com/java110/dev/cmd/SaveMappingCmd.java
+++ b/service-dev/src/main/java/com/java110/dev/cmd/SaveMappingCmd.java
@@ -3,7 +3,7 @@
import com.alibaba.fastjson.JSONObject;
import com.java110.core.annotation.Java110Cmd;
import com.java110.core.context.ICmdDataFlowContext;
-import com.java110.core.event.cmd.AbstractServiceCmdListener;
+import com.java110.core.event.cmd.Cmd;
import com.java110.core.event.cmd.CmdEvent;
import com.java110.utils.exception.CmdException;
@@ -11,15 +11,15 @@
* 淇濆瓨缂栫爜鏄犲皠澶勭悊绫�
*/
@Java110Cmd(serviceCode = "mapping.saveMapping")
-public class SaveMappingCmd extends AbstractServiceCmdListener {
+public class SaveMappingCmd extends Cmd {
@Override
- protected void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+ public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
}
@Override
- protected void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+ public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
}
}
--
Gitblit v1.8.0