diff --git a/canal-client/src/canal/client/CanalClientTest.java b/canal-client/src/canal/client/CanalClientTest.java index 77bf11a..ab55fb0 100644 --- a/canal-client/src/canal/client/CanalClientTest.java +++ b/canal-client/src/canal/client/CanalClientTest.java @@ -290,7 +290,7 @@ private static void printEntry(List entrys) { //获取字段值 if (eventType == EventType.DELETE) { - after = printColumn(rowData.getBeforeColumnsList()); + before = printColumn(rowData.getBeforeColumnsList()); } else if (eventType == EventType.INSERT) { after = printColumn(rowData.getAfterColumnsList()); } else { //update