|
|
|
@ -1985,7 +1985,12 @@ select gr.id as orgId, |
|
|
|
shoudJoin.id as orgId, |
|
|
|
shoudJoin.name as orgName, |
|
|
|
shoudJoin.pid as parentId, |
|
|
|
shoudJoin.type_key as orgType, |
|
|
|
case shoudJoin.type_key |
|
|
|
when 'grid_party' then 'grid' |
|
|
|
when 'community_party' then 'agency' |
|
|
|
when 'street_party' then 'agency' |
|
|
|
else '' end |
|
|
|
as orgType, |
|
|
|
shoudJoin.area_code as area_code, |
|
|
|
ifnull(round(ifnull(shoudJoin.issueNum,0)/ifnull(shoudJoin.userNum,0) ,2),0) as avgIssue, |
|
|
|
ifnull(shoudJoin.issueNum,0) as avgIssueFz, |
|
|
|
|