修改bug3
This commit is contained in:
parent
a639f4c71e
commit
70e988e9a8
@ -484,7 +484,7 @@ public class CardFuelRecordServiceImpl implements CardFuelRecordService {
|
|||||||
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||||
String timestamp = dateFormat.format(new Date());
|
String timestamp = dateFormat.format(new Date());
|
||||||
String randomString = UUID.randomUUID().toString().replace("-","").substring(0,6);
|
String randomString = UUID.randomUUID().toString().replace("-","").substring(0,6);
|
||||||
String orderNo = "cardfule"+timestamp+randomString;
|
String orderNo = "fule"+timestamp+randomString;
|
||||||
cardFuleOrders.setOrderNo(orderNo);
|
cardFuleOrders.setOrderNo(orderNo);
|
||||||
//付款类型
|
//付款类型
|
||||||
cardFuleOrders.setPayType(cardFuelRecordDTO.getPayType());
|
cardFuleOrders.setPayType(cardFuelRecordDTO.getPayType());
|
||||||
|
@ -166,7 +166,7 @@ public class CardValueRecordServiceImpl extends ServiceImpl<CardValueRecordMappe
|
|||||||
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||||
String timestamp = dateFormat.format(new Date());
|
String timestamp = dateFormat.format(new Date());
|
||||||
String randomString = UUID.randomUUID().toString().replace("-","").substring(0,6);
|
String randomString = UUID.randomUUID().toString().replace("-","").substring(0,6);
|
||||||
String orderNo = "cardvalue"+timestamp+randomString;
|
String orderNo = "value"+timestamp+randomString;
|
||||||
cardValueOrders.setOrderNo(orderNo);
|
cardValueOrders.setOrderNo(orderNo);
|
||||||
//付款类型
|
//付款类型
|
||||||
cardValueOrders.setPayType(cardValueRecordDTO.getPayType());
|
cardValueOrders.setPayType(cardValueRecordDTO.getPayType());
|
||||||
|
Loading…
Reference in New Issue
Block a user