fix phase3 acceptance roots and payable validation
This commit is contained in:
@@ -41,7 +41,7 @@ public class FeePaymentSnapshotValidator {
|
||||
}
|
||||
return Snapshot.empty();
|
||||
}
|
||||
if (!"PAYABLE".equals(direction) || !MODES.contains(mode)) {
|
||||
if (!"PAYABLE".equals(direction) || mode == null || !MODES.contains(mode)) {
|
||||
throw bad("应付费用必须选择ON_ACCOUNT或DIRECT_PAID");
|
||||
}
|
||||
if ("ON_ACCOUNT".equals(mode)) {
|
||||
|
||||
Reference in New Issue
Block a user