Commit ff9c90b3ad566a29a36250209af1970c67d48643
1 parent
43e11a59
金蝶对接模型创建
Showing
1 changed file
with
2 additions
and
2 deletions
etrade-thirdparty/src/main/java/com/diligrp/etrade/thirdparty/exec/ZrHolder.java
... | ... | @@ -24,14 +24,14 @@ public class ZrHolder implements InitializingBean, DisposableBean { |
24 | 24 | public final static Map<BusinessEnum, ErrorHandler> ERROR_HANDLER_CONTEXT = new ConcurrentHashMap<>(); |
25 | 25 | |
26 | 26 | @Resource |
27 | - private List<AbstractBusinessHandler<?>> abstractBusinessHandlerList; | |
27 | + private List<AbstractBusinessHandler<?>> businessHandlers; | |
28 | 28 | |
29 | 29 | @Resource |
30 | 30 | private List<ErrorHandler> errorHandlers; |
31 | 31 | |
32 | 32 | @Override |
33 | 33 | public void afterPropertiesSet() throws Exception { |
34 | - abstractBusinessHandlerList.forEach(e-> CONTEXT.put(e.getType(), e)); | |
34 | + businessHandlers.forEach(e-> CONTEXT.put(e.getType(), e)); | |
35 | 35 | errorHandlers.forEach(e-> ERROR_HANDLER_CONTEXT.put(e.getBusinessType(), e)); |
36 | 36 | } |
37 | 37 | ... | ... |