Browse Source

refactor(empmgt): 优化任期人员列表过滤逻辑

- 移除冗余的注释,提升代码可读性
- 简化日期范围判断条件,提高执行效率
wyc 6 days ago
parent
commit
82483bb701

+ 1 - 1
code/swc/nckd-jxccl-swc/src/main/java/nckd/jxccl/swc/mas/plugin/form/empmgt/TenurePersonListListPlugin.java

@@ -223,7 +223,7 @@ public class TenurePersonListListPlugin extends AbstractListPlugin implements Pl
                     .filter(record -> {
                         Date startDate = record.getDate(MasConstant.STARTDATE);
                         Date endDate = record.getDate(MasConstant.ENDDATE);
-                        // 判断记录是否在当年范围内
+
                         return startDate != null && !startDate.after(endOfYear) &&
                                 (endDate == null || !endDate.before(startOfYear));
                     })