package com.hs.api.mapper;

import com.hs.api.model.SerDepartment;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface SerDepartmentMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(SerDepartment record);

    SerDepartment selectByPrimaryKey(BigDecimal id);

    List<SerDepartment> selectAll();

    int updateByPrimaryKey(SerDepartment record);

    List<SerDepartment> selectSummaryDept(@Param("date") Integer date);
}