|
@ -77,7 +77,7 @@ |
|
|
ifnull(vi.activityCount,0) as activityCount |
|
|
ifnull(vi.activityCount,0) as activityCount |
|
|
from epdc_volunteer_org o |
|
|
from epdc_volunteer_org o |
|
|
left join (select VOLUNTEER_ORG_ID,count(id) as userCount |
|
|
left join (select VOLUNTEER_ORG_ID,count(id) as userCount |
|
|
from epdc_volunteer_org_relation |
|
|
from epdc_volunteer |
|
|
where del_flag='0' |
|
|
where del_flag='0' |
|
|
group by VOLUNTEER_ORG_ID)vo on vo.VOLUNTEER_ORG_ID=o.id |
|
|
group by VOLUNTEER_ORG_ID)vo on vo.VOLUNTEER_ORG_ID=o.id |
|
|
left join (select VOLUNTEER_ORG_ID,count(r.id) as activityCount |
|
|
left join (select VOLUNTEER_ORG_ID,count(r.id) as activityCount |
|
|