薪资计算逻辑完善

This commit is contained in:
2025-06-24 14:25:19 +08:00
parent 3d6fe57c50
commit 9995425f28
11 changed files with 70 additions and 13 deletions

View File

@@ -12,6 +12,5 @@ import org.springframework.data.repository.query.Param;
* @date 2025-06-23
*/
public interface OaEmployeeMapper extends BaseMapperPlus<OaEmployeeMapper, OaEmployee, OaEmployeeVo> {
Long getDefaultInsuranceTemplateId(@Param("employeeId") Long employeeId);
Long getDefaultSalaryTemplateId(@Param("employeeId") Long employeeId);
}

View File

@@ -3,7 +3,7 @@ package com.ruoyi.oa.mapper;
import com.ruoyi.oa.domain.OaEmployeeTemplateBinding;
import com.ruoyi.oa.domain.vo.OaEmployeeTemplateBindingVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.springframework.data.repository.query.Param;
import org.apache.ibatis.annotations.Param;
/**
* 员工模板绑定及月度发放记录Mapper接口

View File

@@ -3,7 +3,7 @@ package com.ruoyi.oa.mapper;
import com.ruoyi.oa.domain.OaInsuranceTemplateDetail;
import com.ruoyi.oa.domain.vo.OaInsuranceTemplateDetailVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.springframework.data.repository.query.Param;
import org.apache.ibatis.annotations.Param;
import java.util.List;

View File

@@ -3,7 +3,7 @@ package com.ruoyi.oa.mapper;
import com.ruoyi.oa.domain.OaSalaryTemplateDetail;
import com.ruoyi.oa.domain.vo.OaSalaryTemplateDetailVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.springframework.data.repository.query.Param;
import org.apache.ibatis.annotations.Param;
import java.util.List;