Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
SongZhang 2024-09-23 11:16:54 +08:00
commit f28466cfae
1 changed files with 7 additions and 0 deletions

View File

@ -25,4 +25,11 @@ public class TbShopPermissionDto {
private Integer hasPermission; private Integer hasPermission;
private List<TbShopPermissionDto> children; private List<TbShopPermissionDto> children;
public Integer getHasPermission() {
if (hasPermission == null) {
return 0;
}
return hasPermission;
}
} }