pjb
2025-06-26 00e990fd2ffa6bdf9ba748bd2f43a76a4eef2c49
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/OrderNoRuleServiceImpl.java
@@ -44,10 +44,10 @@
        StringBuffer buffer = new StringBuffer();
        buffer.append(orderNoRule.getOrderConst());//订单常量
        String pattern = "yyyyMMddHHmmss";
        if (orderNoRule.getTimeRule() == 0) {
            pattern = "yyyyMMdd";
        }
        String pattern = "yyMMddHHmmss";
//        if (orderNoRule.getTimeRule() == 0) {
//            pattern = "yyyyMMdd";
//        }
        SimpleDateFormat format = new SimpleDateFormat(pattern);
        buffer.append(format.format(new Date()));//订单时间