Browse Source

sql优化

zouxuan 1 year ago
parent
commit
e81fe4fd7c

+ 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