package com.zioinfo.cms.dashboard.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DashboardMapper {
    int countContentByStatus(@Param("status") String status);
    int countTotalContent();
    int countMedia();
    int countPendingUgc();
    int countMembers();
    /** 워크플로우 단계별 콘텐츠 수. */
    List<Map<String, Object>> contentByStatus();
}
