fix phase3 acceptance roots and payable validation

This commit is contained in:
2026-08-24 11:48:16 +08:00
parent 044678f65c
commit 257c019b36
15 changed files with 115 additions and 30 deletions
@@ -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)) {