liulin
2024-08-07 9b78e42138064fda4b067ae5bd59d48a9500ea94
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.lunhan.xxx.common.util;
 
public class OrderUtil {
 
    public static String getOrderNo(String prefix) {
        SnowFlake idWorker = new SnowFlake(7, 7);
        long id = idWorker.nextId();
        String rechargeOrder = prefix + id;
        return rechargeOrder;
    }
 
 
}