|
|
|
@ -43,7 +43,7 @@ public class OrderNoMakeUtil {
|
|
|
|
|
String serialNoFormatStr = MessageFormat.format(PlatformConstWords.SERIAL_NO_FORMAT, orderNoRule.getSerialNoLength());
|
|
|
|
|
|
|
|
|
|
// 判断是否首次生成(SerialNo初始值-1)
|
|
|
|
|
if (orderNoRule.getSerialNo() > 0) {
|
|
|
|
|
if (orderNoRule.getSerialNo() > 0 && orderNo.indexOf(PlatformConstWords.SERIAL_NO) != -1) {
|
|
|
|
|
String newNo = orderNo.substring(0,orderNo.indexOf(PlatformConstWords.SERIAL_NO));
|
|
|
|
|
String oldNo = orderNoRule.getOrderNo().substring(0,orderNo.indexOf(PlatformConstWords.SERIAL_NO));
|
|
|
|
|
// 前缀(日期)不同后是否重置流水号
|
|
|
|
|