diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuangXiPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuangXiPlatformServiceImpl.java index 818c54af7..8b866452a 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuangXiPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/GuangXiPlatformServiceImpl.java @@ -530,6 +530,12 @@ public class GuangXiPlatformServiceImpl implements ThirdPartyPlatformService { } // 拼装订单编号 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() .startChargeSeq(startChargeSeq) // .startChargeType()