业务需求: 从员工表中查询5天之内过生日的人,以及五天之内合同到期的人,返回一个 Map 集合,封装了员工的姓名及还有几天过生日; Dao 层如下: @Repository public interface EmpMapper extends BaseMapper<Employee> { @Select("select * from employee\n" + "where DATE_FORMAT(birthday,'%m-%d') >= DATE_FORMAT(now(),'%m-%d')\n&qu...