瀏覽代碼

201910231809

caolong 5 年之前
父節點
當前提交
542e27904e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/SearchProviderMapper.xml

+ 1 - 1
src/main/resources/mapper/SearchProviderMapper.xml

@@ -18,7 +18,7 @@
   </delete>
 
     <select id="listBigType" resultType="java.lang.String">
-    select p_name name from search_provider where store_id = #{storeId} and level = 2
+    select p_name pName from search_provider where store_id = #{storeId} and level = 2 group by name
   </select>
 
     <select id="listTypeBypName" resultType="java.lang.String">