update 卡启动、vin启动逻辑修改

This commit is contained in:
Lemon
2023-07-08 11:03:43 +08:00
parent d96e80eccf
commit 64a43f6844
4 changed files with 104 additions and 36 deletions

View File

@@ -146,8 +146,11 @@ public class OrderService {
// // 保存订单到数据库 saveOrder2Database
// String orderCode = saveOrder2Database(dto);
String orderCode = orderBasicInfoService.generateOrder(dto);
return orderCode;
OrderBasicInfo basicInfo = orderBasicInfoService.generateOrder(dto);
if (basicInfo != null) {
return basicInfo.getOrderCode();
}
return null;
}
/**