This commit is contained in:
YAS\29473
2025-05-23 18:48:38 +08:00
parent d94b8ebcba
commit 267e4e523f
3 changed files with 4 additions and 12 deletions

View File

@@ -930,7 +930,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
*/
@Override
public String notificationChargeOrderInfo(String orderCode) {
log.info("LianLianPlatformServiceImpl.notificationChargeOrderInfo start");
// 根据订单号查询出信息
OrderBasicInfo orderBasicInfo = orderBasicInfoService.getOrderInfoByOrderCode(orderCode);
OrderDetail orderDetail = orderBasicInfoService.getOrderDetailByOrderCode(orderCode);
@@ -963,7 +963,6 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
.startTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, orderBasicInfo.getChargeStartTime()))
.endTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, orderBasicInfo.getChargeEndTime()))
.paymentAmount(orderBasicInfo.getPayAmount())
.orderType(Constants.one)
// .payChannel()
.stopReason(0)
// .chargeDetails()
@@ -1001,7 +1000,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
List<ChargeDetail> chargeDetails = new ArrayList<>();
for (BillingPriceVO billingPriceVO : billingList) {
detail = new ChargeDetail();
//改为YYYY-MM-DD HH:mm:ss格式
/* //改为YYYY-MM-DD HH:mm:ss格式
//拼接 开始时间和结束时间
String startTime = billingPriceVO.getStartTime();
String endTime = billingPriceVO.getEndTime();
@@ -1009,7 +1008,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
billingPriceVO.setStartTime(DateUtils.formatTime(startTime));
billingPriceVO.setEndTime(DateUtils.formatTime(endTime));
billingPriceVO.getStartTime();
billingPriceVO.getStartTime();*/
if (StringUtils.equals(billingPriceVO.getTimeType(), "1")) {
// 尖时段
detail.setDetailStartTime(billingPriceVO.getStartTime());