소스 검색

数据去重

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">