|
|
@@ -3,14 +3,15 @@ package nckd.jxccl.hr.tsc.plugin.form;
|
|
|
import kd.bos.form.events.AfterDoOperationEventArgs;
|
|
|
import kd.bos.form.plugin.AbstractFormPlugin;
|
|
|
import kd.sdk.plugin.Plugin;
|
|
|
-import nckd.jxccl.base.common.constant.FormConstant;
|
|
|
-
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
- * 动态表单插件
|
|
|
+ * 延长下架时间弹窗 动态表单插件
|
|
|
+ * @author turborao
|
|
|
+ * 时间 2026/1/15 16:05
|
|
|
*/
|
|
|
+@SuppressWarnings("unused")
|
|
|
public class AnnounceDowndateFormPlugin extends AbstractFormPlugin implements Plugin {
|
|
|
|
|
|
@Override
|
|
|
@@ -19,7 +20,7 @@ public class AnnounceDowndateFormPlugin extends AbstractFormPlugin implements Pl
|
|
|
boolean success = afterDoOperationEventArgs.getOperationResult() != null && afterDoOperationEventArgs.getOperationResult().isSuccess();
|
|
|
if (success && "commit".equalsIgnoreCase(operateKey)) {
|
|
|
Object value = this.getModel().getValue("nckd_date");
|
|
|
- Map<String,Object> map = new HashMap(1);
|
|
|
+ Map<String,Object> map = new HashMap<>();
|
|
|
map.put("downdate",value);
|
|
|
this.getView().returnDataToParent(map);
|
|
|
this.getView().close();
|