修改bug3

This commit is contained in:
齐天大圣 2024-01-15 11:12:07 +08:00
parent a639f4c71e
commit 70e988e9a8
2 changed files with 2 additions and 2 deletions

View File

@ -484,7 +484,7 @@ public class CardFuelRecordServiceImpl implements CardFuelRecordService {
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
String timestamp = dateFormat.format(new Date());
String randomString = UUID.randomUUID().toString().replace("-","").substring(0,6);
String orderNo = "cardfule"+timestamp+randomString;
String orderNo = "fule"+timestamp+randomString;
cardFuleOrders.setOrderNo(orderNo);
//付款类型
cardFuleOrders.setPayType(cardFuelRecordDTO.getPayType());

View File

@ -166,7 +166,7 @@ public class CardValueRecordServiceImpl extends ServiceImpl<CardValueRecordMappe
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
String timestamp = dateFormat.format(new Date());
String randomString = UUID.randomUUID().toString().replace("-","").substring(0,6);
String orderNo = "cardvalue"+timestamp+randomString;
String orderNo = "value"+timestamp+randomString;
cardValueOrders.setOrderNo(orderNo);
//付款类型
cardValueOrders.setPayType(cardValueRecordDTO.getPayType());