| 
														
															@@ -164,9 +164,9 @@ public class TenantAlbumCategoryServiceImpl extends ServiceImpl<TenantAlbumCateg 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             QueryWrapper<TenantAlbum> queryWrapper = new QueryWrapper<>(); 
														 | 
														
														 | 
														
															             QueryWrapper<TenantAlbum> queryWrapper = new QueryWrapper<>(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             queryWrapper.lambda() 
														 | 
														
														 | 
														
															             queryWrapper.lambda() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     .eq(ETenantAlbumCategoryType.CATEGORY_TYPE.equals(albumCategory.getCategoryType()), 
														 | 
														
														 | 
														
															                     .eq(ETenantAlbumCategoryType.CATEGORY_TYPE.equals(albumCategory.getCategoryType()), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TenantAlbum::getCategoryLevelId, tenantAlbumCategory.getId()) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            TenantAlbum::getCategoryTypeId, tenantAlbumCategory.getId()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     .eq(ETenantAlbumCategoryType.CATEGORY_LEVEL.equals(albumCategory.getCategoryType()), 
														 | 
														
														 | 
														
															                     .eq(ETenantAlbumCategoryType.CATEGORY_LEVEL.equals(albumCategory.getCategoryType()), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TenantAlbum::getCategoryTypeId, tenantAlbumCategory.getId()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            TenantAlbum::getCategoryLevelId, tenantAlbumCategory.getId()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             Integer useCount = tenantAlbumMapper.selectCount(queryWrapper); 
														 | 
														
														 | 
														
															             Integer useCount = tenantAlbumMapper.selectCount(queryWrapper); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if (useCount > 0) { 
														 | 
														
														 | 
														
															             if (useCount > 0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 checkTenantAlbumCategoryDetailUsed(albumCategory.getCategoryType(), removeDetailIdList); 
														 | 
														
														 | 
														
															                 checkTenantAlbumCategoryDetailUsed(albumCategory.getCategoryType(), removeDetailIdList); 
														 |