mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-14 19:18:11 +08:00
update
This commit is contained in:
@@ -530,6 +530,12 @@ public class GuangXiPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
}
|
}
|
||||||
// 拼装订单编号
|
// 拼装订单编号
|
||||||
String startChargeSeq = Constants.OPERATORID_JIANG_SU + orderCode + DateUtils.dateTimeNow(DateUtils.YYMMDD);
|
String startChargeSeq = Constants.OPERATORID_JIANG_SU + orderCode + DateUtils.dateTimeNow(DateUtils.YYMMDD);
|
||||||
|
if (startChargeSeq.length() >27){
|
||||||
|
//将订单编号中的C去掉
|
||||||
|
String substring = StringUtils.substring(orderCode , 1);
|
||||||
|
startChargeSeq = Constants.OPERATORID_JIANG_SU + substring + DateUtils.dateTimeNow(DateUtils.YYMMDD);
|
||||||
|
}
|
||||||
|
|
||||||
ChargeOrderInfo chargeOrderInfo = ChargeOrderInfo.builder()
|
ChargeOrderInfo chargeOrderInfo = ChargeOrderInfo.builder()
|
||||||
.startChargeSeq(startChargeSeq)
|
.startChargeSeq(startChargeSeq)
|
||||||
// .startChargeType()
|
// .startChargeType()
|
||||||
|
|||||||
Reference in New Issue
Block a user