Browse Source

Merge branch 'saas' of http://git.dayaedu.com/yonge/mec into zx_saas_12-21

zouxuan 2 years ago
parent
commit
144b9ca141

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

@@ -2194,7 +2194,7 @@
 		select co.id_ id,co.name_ name,SUM(spo.expect_amount_) amount from cooperation_organ co
 		left join student_payment_order spo ON co.id_ = spo.music_group_id_ AND spo.type_ = 'SCHOOL'
 		AND spo.group_type_ = 'OUTORDER' AND spo.status_ = 'SUCCESS' AND DATE_FORMAT(spo.pay_time_,'%Y-%m-%d') BETWEEN #{startTime} AND #{endTime}
-		where co.is_enable_ AND co.del_flag_ = 0
+		where co.is_enable_ AND co.del_flag_ = 0 AND co.organ_id_ = #{organId}
 		group by co.id_
 	</select>
 </mapper>