考虑到员工入职时间可能短于1年,strftime('%Y', s2.to_date)-strftime('%Y', s1.to_date)<=1 会不会更完善?
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务