‘linchangsheng’ 1 周之前
父節點
當前提交
ebf879cfb7
共有 1 個文件被更改,包括 9 次插入14 次删除
  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