Просмотр исходного кода

fix(report): 修复未调整报表数据查询逻辑

- 添加在岗状态过滤条件,确保只查询在岗员工数据
- 修正了报表数据插件中的查询过滤器配置
wyc 1 неделя назад
Родитель
Сommit
631acc5c16

+ 3 - 1
code/hr/nckd-jxccl-hr/src/main/java/nckd/jxccl/hr/psms/plugin/form/adjust/report/UnAdjustedReportReportListDataPlugin.java

@@ -133,7 +133,9 @@ public class UnAdjustedReportReportListDataPlugin extends AbstractReportListData
                         ORMHint.JoinHint.LEFT, Boolean.FALSE))
                 .and(QFilter.join(FormConstant.EMPLOYEE_KEY, String.join(".", FormConstant.HRPI_PEREDUEXP, FormConstant.EMPLOYEE_KEY), new QFilter(String.join(".", FormConstant.HRPI_PEREDUEXP, "ishighestdegree"),
                                 QCP.equals, EnableEnum.YES.getCode()),
-                        ORMHint.JoinHint.LEFT, Boolean.FALSE));
+                        ORMHint.JoinHint.LEFT, Boolean.FALSE))
+                //在岗
+                .and(String.join( ".", FormConstant.POS_STATUS, FormConstant.POST_STATE_CLS, FormConstant.NUMBER_KEY),QCP.equals,"1010_S");
     }
 
     /**