Bladeren bron

sql优化

zouxuan 11 maanden geleden
bovenliggende
commit
e81fe4fd7c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/IndexBaseMonthDataMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/IndexBaseMonthDataMapper.xml

@@ -1970,7 +1970,7 @@
 			COUNT(user_id_) total_num_,
 			COUNT(user_id_) activate_num_,
 			COUNT(user_id_) percent_
-		FROM (SELECT
+		FROM (
 			  SELECT su.organ_id_, su.tenant_id_, smcr.user_id_
 					  , COUNT(DISTINCT DATE_FORMAT(smcr.create_time_, '%Y-%m-%d')) AS days
 			  FROM sys_music_compare_record smcr