浏览代码

数据去重

yumeng 2 年之前
父节点
当前提交
1f43aba54f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

+ 3 - 1
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -624,7 +624,9 @@
                       'supplyChain',
                       'commodityManagement',
                       'supplyChainAdmin'
-    ) order  by t3.create_time asc
+    )
+     group by t3.user_id
+     order  by t3.create_time asc
 
     </select>
     <select id="adminReportList" resultType="com.alibaba.fastjson.JSONObject">