...
|
...
|
@@ -248,6 +248,9 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon |
|
|
@Autowired
|
|
|
private DepositOrderMapper depositOrderMapper;
|
|
|
|
|
|
@Autowired
|
|
|
private DepositCodeService depositCodeService;
|
|
|
|
|
|
private static final String BUYER_ORDER_META_KEY_DELIVERY_ADDRESS = "delivery_address";
|
|
|
|
|
|
private static final String BUYER_ORDER_META_KEY_RECALL_ADDRESS = "recall_address";
|
...
|
...
|
@@ -1371,11 +1374,12 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon |
|
|
return jsonObject;
|
|
|
}
|
|
|
|
|
|
private static String generateDepositCode() {
|
|
|
//生成寄存码:当前时间戳后9位
|
|
|
public String generateDepositCode() {
|
|
|
/*//生成寄存码:当前时间戳后9位
|
|
|
String currentSeconds = String.valueOf(DateUtil.getCurrentTimeSeconds());
|
|
|
Random random = new Random();
|
|
|
return currentSeconds.substring(1, currentSeconds.length()-1) + "" + random.nextInt(9);
|
|
|
return currentSeconds.substring(1, currentSeconds.length()-1) + "" + random.nextInt(9);*/
|
|
|
return String.valueOf(depositCodeService.selectDepositCode());
|
|
|
}
|
|
|
|
|
|
//鉴定不通过 : 平台收货后,直接鉴定不通过
|
...
|
...
|
|