|
|
@@ -31,7 +31,7 @@ public enum NoticeTypes {
|
|
|
*/
|
|
|
public static Integer getType(Integer i) {
|
|
|
if (i == NoticeStatus.TASK_PATENT_ERROR.getCode() || i == NoticeStatus.TASK_PATENT_REMIND.getCode()) {
|
|
|
- return 1;
|
|
|
+ return ZLTX.code;
|
|
|
} else if (i == NoticeStatus.ORDER_CHANGE_ADD.getCode() || i == NoticeStatus.ORDER_CHANGE_UDPATE.getCode()
|
|
|
|| i == NoticeStatus.ORDER_BACK.getCode() || i == NoticeStatus.ORDER_REFUND.getCode()
|
|
|
|| i == NoticeStatus.ORDER_REFUND_REFUSE.getCode() || i == NoticeStatus.ORDER_CHANGE_YES.getCode()
|
|
|
@@ -49,34 +49,34 @@ public enum NoticeTypes {
|
|
|
|| i == NoticeStatus.PROJECT_SOPT_NO.getCode()
|
|
|
|| i == NoticeStatus.PROJECT_RENEW_START.getCode() || i == NoticeStatus.PROJECT_RENEW_YES.getCode()
|
|
|
|| i == NoticeStatus.PROJECT_RENEW_NO.getCode() ) {
|
|
|
- return 2;
|
|
|
+ return DDSH.code;
|
|
|
} else if (i == NoticeStatus.CUSTOMER_LOSE30.getCode() || i == NoticeStatus.CUSTOMER_LOSE270.getCode()
|
|
|
|| i == NoticeStatus.CUSTOMER_CHENNEL_LOSE.getCode() || i == NoticeStatus.CUSTOMER_CHENNEL_RECOVERY.getCode()
|
|
|
|| i == NoticeStatus.RESTRICT_PROJECT_LOSE30.getCode() || i == NoticeStatus.RESTRICT_PROJECT_LOSE270.getCode()
|
|
|
+ ) {
|
|
|
+ return KHSF.code;
|
|
|
+ } else if (i == NoticeStatus.CUSTOMER_PRIVATE_REMINDER.getCode()|| i == NoticeStatus.CUSTOMER_LOSE_REMINDER.getCode()
|
|
|
|| i == NoticeStatus.RESTRICT_PROJECT_LOSE30_REMIND.getCode() || i == NoticeStatus.RESTRICT_PROJECT_LOSE270_REMIND.getCode()
|
|
|
) {
|
|
|
- return 3;
|
|
|
- } else if (i == NoticeStatus.CUSTOMER_PRIVATE_REMINDER.getCode()
|
|
|
- || i == NoticeStatus.CUSTOMER_LOSE_REMINDER.getCode()) {
|
|
|
- return 4;
|
|
|
+ return XSGJ.code;
|
|
|
} else if (i == NoticeStatus.ORDER_DUN.getCode() || i == NoticeStatus.ORDER_ARREARS_DUN.getCode()
|
|
|
|| i == NoticeStatus.PAYMENT_DUN.getCode() || i == NoticeStatus.PAYMENT_NODE.getCode()
|
|
|
|| i == NoticeStatus.PAYMENT_NO.getCode() || i == NoticeStatus.PAYMENT_YES.getCode()
|
|
|
|| i == NoticeStatus.PAYMENT_COMPLETE.getCode()) {
|
|
|
- return 5;
|
|
|
+ return CKFK.code;
|
|
|
} else if (i == NoticeStatus.ORDER_INVPICE_START.getCode() || i == NoticeStatus.ORDER_INVPICE_YES.getCode()
|
|
|
|| i == NoticeStatus.ORDER_INVPICE_NO.getCode() || i == NoticeStatus.ORDER_INVPICE_APPROVA_YES.getCode()
|
|
|
|| i == NoticeStatus.ORDER_INVPICE_APPROVA_NO.getCode()
|
|
|
|| i == NoticeStatus.ORDER_INVPICE_END.getCode()) {
|
|
|
- return 6;
|
|
|
+ return DDKP.code;
|
|
|
}else if (i == NoticeStatus.MENBER_DUN.getCode()) {
|
|
|
- return 7;
|
|
|
+ return HYCS.code;
|
|
|
}else if ( i== NoticeStatus.PUBLIC_OTHERS_USER.getCode() || i== NoticeStatus.PUBLIC_RELEASE_START.getCode()
|
|
|
|| i== NoticeStatus.PUBLIC_RELEASE_YES.getCode()|| i== NoticeStatus.PUBLIC_RELEASE_NO.getCode()
|
|
|
|| i== NoticeStatus.PUBLIC_CARBON_COPY.getCode()) {
|
|
|
- return 8;
|
|
|
+ return GCXX.code;
|
|
|
}
|
|
|
- return 0;
|
|
|
+ return ELSE.code;
|
|
|
}
|
|
|
|
|
|
private static final Map<Integer, NoticeTypes> status = new HashMap<Integer, NoticeTypes>();
|