This commit is contained in:
dzc committed 2026-02-03 15:09:44 +08:00
1 parent 8ad4e7ad42
commit 68e216209a
1 file changed
+3
@@ -258,6 +258,9 @@ public class WalletCodeUseServiceImpl extends ServiceImpl<WalletCodeUseMapper, W
.orderByDesc(WalletCodeUseEntity::getId)
.last("limit 1")
);
if (ObjectUtil.isEmpty(detail) || ObjectUtil.isEmpty(detail.getCodeContent())) {
return null;
}
return detail.getCodeContent();
}