|
@@ -27,8 +27,9 @@ public abstract class AbstractCusDeclareBiz implements CuspayBiz {
|
|
|
//重新加载缓存
|
|
|
@PostConstruct
|
|
|
private void reloadPayCaches() {
|
|
|
- if (this.paymentService == null)
|
|
|
+ if (this.paymentService == null) {
|
|
|
throw new NullPointerException("paymentService is null");
|
|
|
+ }
|
|
|
List<MerchPayCfg> list = this.paymentService.loadMerchPayCfg();
|
|
|
if (list != null && !list.isEmpty()) {
|
|
|
list.forEach(cfg ->{
|