Commit 20558cb9 by 张富康

feat(perfSalary): 添加申诉考勤天数接口及实现

- 在 PerfRuleRemote 接口中新增 effectiveReferralAppeal 方法声明
- PerfRuleRemoteImpl 中添加 effectiveReferralAppeal 方法具体实现
- 调用 attendanceSummaryService 的 confirmUpdateAppealAttendance 方法处理考勤申诉
- 注入 AttendanceSummaryService 依赖支持该功能
- 修复部分注释格式及代码风格细节
1 parent 5b603680
...@@ -93,4 +93,9 @@ public interface PerfRuleRemote { ...@@ -93,4 +93,9 @@ public interface PerfRuleRemote {
* 交车数定时任务 * 交车数定时任务
*/ */
RpcResponse<Boolean> stats(); RpcResponse<Boolean> stats();
/**
* 申诉考勤天数
*/
RpcResponse<Boolean> effectiveReferralAppeal();
} }
...@@ -8,6 +8,7 @@ import lombok.extern.slf4j.Slf4j; ...@@ -8,6 +8,7 @@ import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService; import org.apache.dubbo.config.annotation.DubboService;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List; import java.util.List;
@Slf4j @Slf4j
...@@ -26,7 +27,8 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote { ...@@ -26,7 +27,8 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote {
private PerformanceEvaluationService performanceEvaluationService; private PerformanceEvaluationService performanceEvaluationService;
@Resource @Resource
private EffectiveReferralReviewService effectiveReferralReviewService; private EffectiveReferralReviewService effectiveReferralReviewService;
@Resource
private AttendanceSummaryService attendanceSummaryService;
/** /**
...@@ -230,7 +232,14 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote { ...@@ -230,7 +232,14 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote {
return RpcResponse.success(true); return RpcResponse.success(true);
} }
/**
* 申诉考勤天数
*/
@Override
public RpcResponse<Boolean> effectiveReferralAppeal() {
attendanceSummaryService.confirmUpdateAppealAttendance("18684780942", "2025-12", BigDecimal.valueOf(0));
return RpcResponse.success(true);
}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!