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