package com.hs.api.mapper;

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

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

public interface SerDoctorMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(SerDoctor record);

    SerDoctor selectByPrimaryKey(BigDecimal id);

    List<SerDoctor> selectAll();

    int updateByPrimaryKey(SerDoctor record);

    List<SerDoctor> selectDoctor(@Param("dept") String dept);
}