Browse Source

Merge branch 'zx_saas_director_0927' of http://git.dayaedu.com/yonge/mec into zx_saas_director_0927

yonge 2 months ago
parent
commit
994db7682c

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

@@ -9,7 +9,7 @@
         t.temp_director_training_camp_id_ as id,
         t.temp_director_training_camp_id_ as id,
         count(t.id_) as applyCount,
         count(t.id_) as applyCount,
         sum(if(t.payment_status_ = 'PAID',1,0)) as payCount,
         sum(if(t.payment_status_ = 'PAID',1,0)) as payCount,
-        sum(if(t.payment_status_ = 'PAID',t.payment_amount_,0)) as payCount
+        sum(if(t.payment_status_ = 'PAID',t.payment_amount_,0)) as payAmount
         from temp_director_training_camp_detail t
         from temp_director_training_camp_detail t
         where t.temp_director_training_camp_id_ in
         where t.temp_director_training_camp_id_ in
         <foreach collection="ids" item="id" open="(" separator="," close=")">
         <foreach collection="ids" item="id" open="(" separator="," close=")">