From d60d905750e86e7dbcbf932ee2aa7bb835f879bc Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Wed, 04 Jun 2025 08:24:32 +0800 Subject: [PATCH] 1、PlatformCategory继承BaseEntity 2、调整PlatformCategoryView字段 3、完成queryPlatformCategory接口开发 --- oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java b/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java index 8b70f78..6f2552a 100644 --- a/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java +++ b/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java @@ -3,14 +3,14 @@ import cn.hutool.core.bean.BeanUtil; import com.oying.modules.pc.category.domain.PlatformCategory; import com.oying.modules.pc.category.view.PlatformCategoryCustomerView; -import com.oying.modules.pc.category.view.PlatformCategoryView; +import com.oying.modules.pc.category.view.PlatformCategoryAdminView; import org.springframework.stereotype.Component; @Component public class PlatformCategoryViewAssembler { - public PlatformCategoryView toPlatformCategoryResponse(PlatformCategory category) { - PlatformCategoryView categoryView = new PlatformCategoryView(); + public PlatformCategoryAdminView toPlatformCategoryResponse(PlatformCategory category) { + PlatformCategoryAdminView categoryView = new PlatformCategoryAdminView(); BeanUtil.copyProperties(category, categoryView); categoryView.setIconUrl(""); return categoryView; -- Gitblit v1.9.3