Commit 2d3c72ae by 张富康

feat(perfSalary): 添加交车数定时任务接口及实现

- 在PerfRuleRemote接口中新增stats方法
- 在PerfRuleRemoteImpl实现类中注入EffectiveReferralReviewService
- 实现stats方法调用effectiveReferralReviewService.stats方法
- 确保stats接口返回成功响应
1 parent d3afe4be
...@@ -89,5 +89,8 @@ public interface PerfRuleRemote { ...@@ -89,5 +89,8 @@ public interface PerfRuleRemote {
*/ */
RpcResponse<Boolean> autoPerfEvaluation(); RpcResponse<Boolean> autoPerfEvaluation();
/**
* 交车数定时任务
*/
RpcResponse<Boolean> stats();
} }
...@@ -24,6 +24,8 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote { ...@@ -24,6 +24,8 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote {
private AutoPerfEvaluationService autoPerfEvaluationService; private AutoPerfEvaluationService autoPerfEvaluationService;
@Resource @Resource
private PerformanceEvaluationService performanceEvaluationService; private PerformanceEvaluationService performanceEvaluationService;
@Resource
private EffectiveReferralReviewService effectiveReferralReviewService;
...@@ -219,6 +221,15 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote { ...@@ -219,6 +221,15 @@ public class PerfRuleRemoteImpl implements PerfRuleRemote {
return RpcResponse.success(true); return RpcResponse.success(true);
} }
/**
* 交车数定时任务
*/
@Override
public RpcResponse<Boolean> stats() {
effectiveReferralReviewService.stats("");
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!