9b0426b785385ad1c03f3801d582b458c95252cc.svn-base 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package cn.com.goldenwater.dcproj.util;
  2. public class BisInspPblmPlistConventUtil {
  3. public static String isRect(String value) {
  4. if (value == null) {
  5. return "";
  6. }
  7. switch (value) {
  8. case "0":
  9. return "否";
  10. case "1":
  11. return "是";
  12. default:
  13. return "";
  14. }
  15. }
  16. public static String crtState(String value) {
  17. if (value == null) {
  18. return "未整改";
  19. }
  20. // 0 未整改 1 整改中 2整改完成 3 不具备整改条件
  21. switch (value) {
  22. case "0":
  23. return "未整改";
  24. case "1":
  25. return "整改中";
  26. case "2":
  27. return "整改完成";
  28. case "3":
  29. return "不具备整改条件";
  30. default:
  31. return "未整改";
  32. }
  33. }
  34. public static String dataStat(String value) {
  35. if (value == null) {
  36. return "";
  37. }
  38. switch (value) {
  39. case "0":
  40. return "正常";
  41. case "9":
  42. return "删除";
  43. default:
  44. return "";
  45. }
  46. }
  47. }