package com.hs.api.service.Impl;

import com.hs.api.mapper.SerDepartmentMapper;
import com.hs.api.model.SerDepartment;
import com.hs.api.service.SerDeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SerDeptServiceImpl implements SerDeptService {
    @Resource
    private SerDepartmentMapper serDepartmentMapper;

    @Override
    public List<SerDepartment> getList(Integer date) {
        List<SerDepartment> list = serDepartmentMapper.selectSummaryDept(date);
        return list;
    }
}
