‘linchangsheng’ 1 week ago
parent
commit
ebf879cfb7
1 changed files with 9 additions and 14 deletions
  1. 9 14
      src/main/resources/mapper/CustomGoodsCategoryMapper.xml

+ 9 - 14
src/main/resources/mapper/CustomGoodsCategoryMapper.xml

@@ -11,20 +11,15 @@
 
     <select id="list" resultMap="listResultMap">
         SELECT
-            category_id AS categoryId,
-            name AS name,
-            status AS status,
-            img_url AS imgUrl,
-            goods_num AS goodsNum,
-            level AS level,
-            parent_id AS parentId,
-            sort_num AS sortNum,
-            main_name AS mainName,
-            main_number AS mainNumber,
-            tax_number,
-            tax_percent,
-            goods_number,
-            create_time AS createTime
+        category_id AS categoryId,
+        name AS name,
+        status AS status,
+        img_url AS imgUrl,
+        goods_num AS goodsNum,
+        level AS level,
+        parent_id AS parentId,
+        sort_num AS sortNum,
+        create_time AS createTime
         FROM goods_category
         <where>
             del = 0