产品ID生成更改

master
anthonyywj2 3 years ago
parent 585282ca51
commit 300076f48f

@ -151,7 +151,7 @@ public class GennerOrderUtils {
redisUtil.expire("udiRelId", getSecondsNextEarlyMorning()); redisUtil.expire("udiRelId", getSecondsNextEarlyMorning());
} }
String curTime = System.currentTimeMillis() + ""; String curTime = System.currentTimeMillis() + "";
return Long.parseLong(curTime.substring(1, curTime.length() - 3)) + incrementalSerial; return Long.parseLong("80" + curTime.substring(1, curTime.length() - 5)) + incrementalSerial;
} }
} }

Loading…
Cancel
Save