浏览代码

sql优化

zouxuan 1 年之前
父节点
当前提交
e81fe4fd7c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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