|
@@ -1,7 +1,6 @@
|
|
|
package com.wx.blink.backend.factory;
|
|
package com.wx.blink.backend.factory;
|
|
|
|
|
|
|
|
-import com.wx.blink.backend.handler.CustomizeProcessEventHandler;
|
|
|
|
|
-import com.wx.blink.backend.handler.ProviderRegisterProcessSubmitEventHandler;
|
|
|
|
|
|
|
+import com.wx.blink.backend.handler.*;
|
|
|
import com.wx.blink.base.common.code.SystemErrorCode;
|
|
import com.wx.blink.base.common.code.SystemErrorCode;
|
|
|
import com.wx.blink.base.common.domain.ResponseDTO;
|
|
import com.wx.blink.base.common.domain.ResponseDTO;
|
|
|
|
|
|
|
@@ -22,19 +21,24 @@ public class CustomizeProcessFactory {
|
|
|
|
|
|
|
|
static {
|
|
static {
|
|
|
processorMap.put(0, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
processorMap.put(0, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
|
- put("PROVIDER_REGISTER", new ProviderRegisterProcessSubmitEventHandler());
|
|
|
|
|
|
|
+ //put("PROVIDER_REGISTER", new ProviderRegisterProcessEventHandler());
|
|
|
}});
|
|
}});
|
|
|
|
|
|
|
|
processorMap.put(1, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
processorMap.put(1, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
|
}});
|
|
}});
|
|
|
|
|
|
|
|
processorMap.put(2, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
processorMap.put(2, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
|
|
|
+ put("PROVIDER_REGISTER", new ProviderRegisterProcessEventHandler());
|
|
|
}});
|
|
}});
|
|
|
|
|
|
|
|
processorMap.put(3, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
processorMap.put(3, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
|
}});
|
|
}});
|
|
|
|
|
|
|
|
processorMap.put(4, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
processorMap.put(4, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
|
|
|
+ //费用报销流程
|
|
|
|
|
+ put("EXPENSE_STATEMENT", new ExpenseStatementProcessEventHandler());
|
|
|
|
|
+ //借款申请流程
|
|
|
|
|
+ put("LOAN_APPLY", new LoanApplyProcessEventHandler());
|
|
|
}});
|
|
}});
|
|
|
|
|
|
|
|
processorMap.put(5, new HashMap<String, CustomizeProcessEventHandler>() {{
|
|
processorMap.put(5, new HashMap<String, CustomizeProcessEventHandler>() {{
|