|
|
@ -74,12 +74,23 @@ |
|
|
|
member.pids, |
|
|
|
member.staff_id, |
|
|
|
member.staff_name, |
|
|
|
<if test="month != null"> |
|
|
|
member.project_count, |
|
|
|
member.issue_to_project_count, |
|
|
|
member.closed_issue_count, |
|
|
|
member.project_response_count, |
|
|
|
member.project_transfer_count, |
|
|
|
member.project_closed_count |
|
|
|
</if> |
|
|
|
<if test="month == null"> |
|
|
|
sum(member.project_count) project_count, |
|
|
|
sum(member.issue_to_project_count) issue_to_project_count, |
|
|
|
sum(member.closed_issue_count) closed_issue_count, |
|
|
|
sum(member.project_response_count) project_response_count, |
|
|
|
sum(member.project_transfer_count) project_transfer_count, |
|
|
|
sum(member.project_closed_count) project_closed_count |
|
|
|
</if> |
|
|
|
|
|
|
|
from fact_grid_member_statistics_daily member |
|
|
|
<where> |
|
|
|
<if test="gridIds != null and gridIds.size() > 0"> |
|
|
@ -95,6 +106,9 @@ |
|
|
|
</if> |
|
|
|
and del_flag = 0 |
|
|
|
</where> |
|
|
|
<if test="month == null"> |
|
|
|
group by member.staff_id |
|
|
|
</if> |
|
|
|
order by ${sort} desc |
|
|
|
</select> |
|
|
|
|
|
|
|