浏览代码

1.机构小组调整

yuanliang 1 年之前
父节点
当前提交
b8e60f5205

+ 2 - 2
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/TenantAlbumCategoryServiceImpl.java

@@ -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);