选装售后
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

HandleStatus.java 775B

12345678910111213141516171819202122232425262728293031323334
  1. package com.qtzl.alterSales.manager.enums;
  2. public enum HandleStatus {
  3. /**
  4. * 文件生成
  5. */
  6. FILE_CREATE("文件生成",1){},
  7. FILE_REQUEST("文件接收",2){},
  8. FILE_SEND("文件发送",3){},
  9. FILE_RESPONSE("发送成功",4){},
  10. SEND_FAILED("发送失败",5){},
  11. NET_ERROR("网络异常",6){},
  12. FILE_RESOLVE("文件解析",7){},
  13. RESOLVE_FAILED("解析失败",8){},
  14. INTERFACE_REQUSET("发行接口响应",11){},
  15. INTERFACE_RESPONSE("发行接口正常返回",12){},
  16. INTERFACE_EXCEPATION("发行接口异常返回",13){},
  17. ;
  18. private final String value;
  19. private final int code;
  20. public String getValue() {
  21. return value;
  22. }
  23. public int getCode() {
  24. return code;
  25. }
  26. private HandleStatus(String value, int code) {
  27. this.value = value;
  28. this.code = code;
  29. }
  30. }