From 4df3586237a5206d6bd37e3dc8ef4d99071fa811 Mon Sep 17 00:00:00 2001 From: pc9arzikf <2675083410@qq.com> Date: Sun, 26 Oct 2025 13:29:26 +0800 Subject: [PATCH] ADD file via upload --- AmountRule.java | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 AmountRule.java diff --git a/AmountRule.java b/AmountRule.java new file mode 100644 index 0000000..cd78981 --- /dev/null +++ b/AmountRule.java @@ -0,0 +1,35 @@ +package 订单审批工作流; + + +/** + * @author 方初阳 + * @version 1.0 + * @created 23-10月-2025 19:43:44 + */ +public class AmountRule implements ApprovalRule { + + private double threshold; + + public AmountRule(){ + + } + + public void finalize() throws Throwable { + + } + /** + * + * @param threshold + */ + public void AmountRule(threshold:double threshold){ + + } + + /** + * + * @param order + */ + public boolean validate(order:Order order){ + return false; + } +}//end AmountRule \ No newline at end of file