|
@@ -9,7 +9,7 @@
|
|
|
t.temp_director_training_camp_id_ as id,
|
|
|
count(t.id_) as applyCount,
|
|
|
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
|
|
|
where t.temp_director_training_camp_id_ in
|
|
|
<foreach collection="ids" item="id" open="(" separator="," close=")">
|