| | |
| | | /** |
| | | * 员工社保公积金档案 Mapper |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @Mapper |
| | | public interface HrmEmployeeSocialSecurityMapper extends BaseMapperX<HrmEmployeeSocialSecurityDO> { |
| | |
| | | .orderByDesc(HrmEmployeeSocialSecurityDO::getId)); |
| | | } |
| | | |
| | | default HrmEmployeeSocialSecurityDO selectByUserIdAndEffectiveDate(Long userId, LocalDate effectiveDate) { |
| | | return selectOne(new LambdaQueryWrapperX<HrmEmployeeSocialSecurityDO>() |
| | | .eq(HrmEmployeeSocialSecurityDO::getUserId, userId) |
| | | .eq(HrmEmployeeSocialSecurityDO::getEffectiveDate, effectiveDate)); |
| | | } |
| | | |
| | | } |