package com.ssj.dao.sys.salary;

import com.ssj.bean.sys.salary.Salary;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Mount Liu
 * @date 2019/8/15
 */
@Repository
public interface SalaryDao extends JpaRepository<Salary, String> {
    /**
     * 查询某月所有人的工资
     *
     * @param month
     * @return
     */
    List<Salary> findByMonth(String month);



}
