diff --git a/src/main/java/com/study/design/service/OrderService.java b/src/main/java/com/study/design/service/OrderService.java index 1aacbb5f23d6d1753a4adf85e73f2de91b156f8b..014219f8168ed266f29348bb4cac7770d3018dcb 100644 --- a/src/main/java/com/study/design/service/OrderService.java +++ b/src/main/java/com/study/design/service/OrderService.java @@ -30,7 +30,7 @@ public class OrderService { private StateMachinePersister stateMachinePersister; /** - * 模拟一个存储 + * 模拟一个存储DB */ private final List orders = new ArrayList<>(); @@ -119,7 +119,7 @@ public class OrderService { /** - * 状态变更 + * 状态变更,消息通知 * * @param message * @param order