BiFunctionConvertTest

This commit is contained in:
redkale
2024-05-28 08:58:47 +08:00
parent 54e8ab3b7e
commit 284785841a

View File

@@ -60,11 +60,11 @@ public class BiFunctionConvertTest {
if (userid == 3) { // 玩家3的cards不输出 if (userid == 3) { // 玩家3的cards不输出
return null; return null;
} }
return t.get(u); return t.get(u);
} }
return t.get(u); return t.get(u);
}, },
(Object u) -> { (Object u) -> {
if (table != u) { if (table != u) {
return null; return null;
} }
@@ -78,5 +78,4 @@ public class BiFunctionConvertTest {
+ "\"tableid\":100,\"extcol1\":30,\"extcol2\":\"扩展字段值\"}", + "\"tableid\":100,\"extcol1\":30,\"extcol2\":\"扩展字段值\"}",
convert2.convertTo(table)); convert2.convertTo(table));
} }
} }