parent
50807026f3
commit
4df3586237
@ -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
|
||||
Loading…
Reference in new issue