浏览代码

管乐迷需求一大推

zouxuan 2 年之前
父节点
当前提交
4f48822a3b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mec-biz/src/main/resources/config/mybatis/IndexBaseMonthDataMapper.xml

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

@@ -2189,6 +2189,7 @@
 							where mg.organ_id_ = #{organId} group by sr.user_id_,mg.cooperation_organ_id_) cop ON cop.user_id_ = spo.user_id_
 		WHERE spo.status_ = 'SUCCESS' AND DATE_FORMAT(spo.pay_time_,'%Y-%m-%d') BETWEEN #{startTime} AND #{endTime}
 		  AND cop.user_id_ = spo.user_id_
+		GROUP BY cop.organ_id_
 	</select>
 	<select id="indexImportCoop" resultType="com.ym.mec.biz.dal.dto.DecimalMapDto">
 		select co.id_ id,co.name_ name,SUM(spo.expect_amount_) amount from cooperation_organ co