1
This commit is contained in:
1 parent
8ad4e7ad42
commit
68e216209a
1 file changed
+3
+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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user