zhijiezhao 3 rokov pred
rodič
commit
70e4d2bcf6

+ 1 - 1
src/main/java/com/caimei365/order/components/ProductService.java

@@ -355,7 +355,7 @@ public class ProductService {
         relation.setAssociateAmount(balancePayFee);
         relation.setRelationType(2);
         relation.setDelFlag(0);
-        String s = "YE" + new SimpleDateFormat("yyyyMMddHHmmssSSS") + "T" + orderId;
+        String s = "YE" + new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date()) + "T" + orderId;
         //todo 余额抵扣订单产生时未产生第三方平台交易,无流水号和唯一订单号,暂自定义相同,防止分账存参数空指针(线上/下余额改版)
         relation.setMbOrderId(s);
         relation.setOrderRequestNo(s);