Commit ec080a6e1b9d1fdee16ae5b35b4a5f88b0e9e7ad

Authored by liquanyu
1 parent 6e501599c2

update

Showing 1 changed file with 10 additions and 0 deletions

platform-common/src/main/java/com/lyms/platform/common/utils/StringUtils.java View file @ ec080a6
... ... @@ -423,5 +423,15 @@
423 423 }
424 424 return "";
425 425 }
  426 +
  427 + public static String riskCodeStr(Long numCode) {
  428 + if (numCode != null)
  429 + {
  430 + StringBuffer sb = new StringBuffer(String.valueOf(numCode));
  431 + sb.insert(4,"-");
  432 + return sb.toString();
  433 + }
  434 + return "";
  435 + }
426 436 }