生成退款流水号

int a = (int) (Math.random() * (999 - 100 + 1)) + 100;
//生成退款流水号
String requestSerialId = "HYTK" + memberId + "VIP" + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmm")) + a;
posted @ 2017-02-03 17:05  jims u  阅读(479)  评论(0)    收藏  举报