|
|
@@ -26,6 +26,11 @@ public class TenantExceptionInformStrategyCO implements Serializable {
|
|
|
|
|
|
public static final String DEPARTMENT_LEVEL = "4";
|
|
|
|
|
|
+ public static final String SINGLE_NOTE = "10";
|
|
|
+
|
|
|
+ public static final String SINGLE_EMAIL = "11";
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* tenant identifier
|
|
|
*/
|
|
|
@@ -37,12 +42,12 @@ public class TenantExceptionInformStrategyCO implements Serializable {
|
|
|
private Map<String, ExceptionInformStrategyCmd> strategy;
|
|
|
|
|
|
public TenantExceptionInformStrategyCO() {
|
|
|
- this.strategy = new HashMap<>(4);
|
|
|
+ this.strategy = new HashMap<>(10);
|
|
|
}
|
|
|
|
|
|
- public TenantExceptionInformStrategyCO(String tenant) {
|
|
|
+ public TenantExceptionInformStrategyCO(String tenant, Integer size) {
|
|
|
this.tenant = tenant;
|
|
|
- this.strategy = new HashMap<>(4);
|
|
|
+ this.strategy = new HashMap<>(size);
|
|
|
}
|
|
|
|
|
|
public Integer getInformFlagByLevel(String level) {
|