diff --git a/sys/shkd-sys-sys/build.gradle b/sys/shkd-sys-sys/build.gradle deleted file mode 100644 index 8f470ce..0000000 --- a/sys/shkd-sys-sys/build.gradle +++ /dev/null @@ -1,14 +0,0 @@ -/* - * This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin. - * If there are any issues during the use process, you can provide feedback to the kingdee developer community website. - * Website: https://developer.kingdee.com/developer?productLineId=29 - * Author: liebin.zheng - * Generate Date: 2024-10-25 13:35:51 - */ - -dependencies { - api project(':shkd-base-common') - api project(':shkd-base-helper') -} - - diff --git a/sys/shkd-sys-sys/src/main/java/resources/.gitkeep b/sys/shkd-sys-sys/src/main/java/resources/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/business/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/business/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/common/AppflgConstant.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/common/AppflgConstant.java index 1d45dfa..c5ef03a 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/common/AppflgConstant.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/common/AppflgConstant.java @@ -3,9 +3,9 @@ * If there are any issues during the use process, you can provide feedback to the kingdee developer community website. * Website: https://developer.kingdee.com/developer?productLineId=29 * Author: liebin.zheng - * Generate Date: 2024-10-25 13:35:51 + * Generate Date: 2024-10-25 14:27:06 */ -package shkd.sys.sys.common; +package shkd.shkd1.sys.sys.common; /** * sys云sys应用-通用常量类
@@ -13,7 +13,7 @@ package shkd.sys.sys.common; * 标识或缓存的常量,需以"KEY_"、"FID_"、"ENTRY_"或"SUBENTRY_"作为变量的前缀。
* * @author shkd - * @date 2024-10-25 13:35:51 + * @date 2024-10-25 14:27:06 */ public class AppflgConstant { diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/api/PayBillApiSavePlugin.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/api/PayBillApiSavePlugin.java new file mode 100644 index 0000000..91b0082 --- /dev/null +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/api/PayBillApiSavePlugin.java @@ -0,0 +1,18 @@ +package shkd.sys.sys.plugin.api; + +import kd.bos.openapi.api.plugin.ApiSavePlugin; + +import java.util.List; +import java.util.Map; + +/** + * @Description + * @Author Tao + * @Date 2024/11/7 + */ +public class PayBillApiSavePlugin implements ApiSavePlugin { + @Override + public List> preHandleRequestData(List> reqData) { + return reqData; + } +} diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/operate/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/operate/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/other/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/other/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/report/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/report/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/workflow/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/workflow/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/webapi/.gitkeep b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/webapi/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/shkd-sys-sys/src/main/resources/.gitkeep b/sys/shkd-sys-sys/src/main/resources/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/sys/src/main/java/fi/plugin/APPaymentListPlugin.java b/sys/src/main/java/fi/plugin/APPaymentListPlugin.java new file mode 100644 index 0000000..cb606cf --- /dev/null +++ b/sys/src/main/java/fi/plugin/APPaymentListPlugin.java @@ -0,0 +1,20 @@ +package fi.plugin; + +import kd.bos.form.control.events.BeforeItemClickEvent; +import kd.bos.form.control.events.ItemClickEvent; +import kd.bos.list.plugin.AbstractListPlugin; + +import java.util.EventObject; + +public class APPaymentListPlugin extends AbstractListPlugin { + + @Override + public void beforeItemClick(BeforeItemClickEvent evt) { + super.beforeItemClick(evt); + String itemKey = evt.getItemKey(); + if ("tbldel".equals(itemKey)){ + this.getView().showErrorNotification("测试————无法删除!"); + evt.setCancel(true); + } + } +} diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/business/test.java b/sys/src/main/java/sys/business/test.java similarity index 86% rename from sys/shkd-sys-sys/src/main/java/shkd/sys/sys/business/test.java rename to sys/src/main/java/sys/business/test.java index 9290473..5b53bf2 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/business/test.java +++ b/sys/src/main/java/sys/business/test.java @@ -1,4 +1,4 @@ -package shkd.sys.sys.business; +package sys.business; import java.util.ArrayList; import java.util.List;