From 9003f17defc6d3b39340dd1a89776695268789b5 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Thu, 26 Jun 2025 22:25:57 +0800
Subject: [PATCH] fix: 修复平台类目图标显示问题

---
 oying-system/src/main/java/com/oying/modules/pc/category/view/PlatformCategoryAdminView.java |    2 ++
 oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml                |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/pc/category/view/PlatformCategoryAdminView.java b/oying-system/src/main/java/com/oying/modules/pc/category/view/PlatformCategoryAdminView.java
index be1d942..9c61307 100644
--- a/oying-system/src/main/java/com/oying/modules/pc/category/view/PlatformCategoryAdminView.java
+++ b/oying-system/src/main/java/com/oying/modules/pc/category/view/PlatformCategoryAdminView.java
@@ -14,6 +14,8 @@
 
     private Integer sortWeight;
 
+    private Long iconId;
+
     private String iconUrl;
 
     private Integer active;
diff --git a/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml b/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml
index 86b2d88..7202dfe 100644
--- a/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml
+++ b/oying-system/src/main/resources/mapper/pc/category/PlatformCategoryMapper.xml
@@ -8,7 +8,7 @@
         <result column="level" property="level"/>
         <result column="sort_weight" property="sortWeight"/>
         <result column="icon_id" property="iconId"/>
-        <result column="icon_url" property="iconId"/>
+        <result column="icon_url" property="iconUrl"/>
         <result column="status" property="status"/>
         <result column="active" property="active"/>
         <result column="create_by" property="createBy"/>
@@ -18,7 +18,7 @@
     </resultMap>
 
     <sql id="Base_Column_List">
-        category_id, parent_id, name, level, sort_weight, icon_id, status, active, create_by, create_time, update_by, update_time
+        category_id, parent_id, name, level, sort_weight, icon_id, icon_url, status, active, create_by, create_time, update_by, update_time
     </sql>
 
     <select id="findAll" resultMap="BaseResultMap">

--
Gitblit v1.9.3