diff --git a/src/main/java/club/joylink/rtss/services/training2/Training2Service.java b/src/main/java/club/joylink/rtss/services/training2/Training2Service.java index 6f47f180b..1caf89b46 100644 --- a/src/main/java/club/joylink/rtss/services/training2/Training2Service.java +++ b/src/main/java/club/joylink/rtss/services/training2/Training2Service.java @@ -688,7 +688,11 @@ public class Training2Service { .reduce((m1, m2) -> m2).orElse(null); String source = String.valueOf(simOperation2.getParams().get("content")); String target = message.getContent(); - if (StrUtils.isMatch(source, target, 20)) { + if (Operation.Type.Conversation_Chat_Text.equals(simOperation2.getOperationType())) { + if (Objects.equals(source,target)) { + simOperation2.doOperated(); + } + } else if (StrUtils.isMatch(source, target, 20)) { simOperation2.doOperated(); } }