Skip to main content

statistic_count_in_range

Function statistic_count_in_range 

Source
pub async fn statistic_count_in_range(
    db: &DatabaseConnection,
    start: DateTime<Utc>,
    end: DateTime<Utc>,
) -> ApiResult<PostCompletionStats>
Expand description

统计单时间段内各岗位完成数([start, end] 含边界,单条 SQL 四列 FILTER)