Browse Source

```
refactor(other): 移除冗余的返回语句和调试代码

移除了 DelayedRetirementDateCalcTask 类中多个方法内的多余 `return length;` 语句,
这些语句在逻辑上是重复的,不会影响程序执行流程。同时注释掉及删除了无句,如用的打印语:
- `System.out.println("性别为:女55")`
- `System.out.printf("根据计算,您的预计退休日期为:%s\n", retirementDate.toString())`

此举旨在提升代码整洁度与可维护性,避免潜在混淆。
```

turborao 1 tháng trước cách đây
mục cha
commit
d6fd4ba691

+ 3 - 0
code/swc/nckd-jxccl-swc/src/main/java/nckd/jxccl/swc/init/plugin/other/DelayedRetirementDateCalcTask.java

@@ -13,6 +13,8 @@ import kd.bos.servicehelper.BusinessDataServiceHelper;
 import kd.bos.servicehelper.QueryServiceHelper;
 import kd.bos.servicehelper.operation.SaveServiceHelper;
 import kd.bos.util.StringUtils;
+import kd.hrmp.hrpi.common.HRPIConstants;
+import kd.sdk.hr.hspm.business.helper.HSPMBusinessDataServiceHelper;
 import kd.sdk.plugin.Plugin;
 
 
@@ -38,6 +40,7 @@ import java.util.stream.Collectors;
 public class DelayedRetirementDateCalcTask  extends AbstractTask implements Plugin {
     private static Log logger = LogFactory.getLog(DelayedRetirementDateCalcTask.class);
 
+
     @Override
     public void execute(RequestContext requestContext, Map<String, Object> map) throws KDException {