diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java index 1ff492a3a..b41b78b3f 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java @@ -2511,6 +2511,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService { */ @Override public Map generateOrderForThirdParty(QueryStartChargeDTO dto) { + logger.info("联联平台生成订单param:{}", JSON.toJSONString(dto)); // 获取到第三方平台类型 String operatorId = dto.getOperatorId(); String type = ThirdPartyOperatorIdEnum.getTypeByOperatorId(operatorId); @@ -2590,7 +2591,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService { resultMap.put("orderBasicInfo", orderBasicInfo); resultMap.put("orderDetail", orderDetail); // resultMap.put("accountBalance", totalAccountAmount); - + logger.info("联联平台生成订单result:{}", JSON.toJSONString(resultMap)); return resultMap; } diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/lianlian/service/LianLianPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/lianlian/service/LianLianPlatformServiceImpl.java index 19371fd60..5714d10f9 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/lianlian/service/LianLianPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/lianlian/service/LianLianPlatformServiceImpl.java @@ -46,6 +46,8 @@ import com.jsowell.thirdparty.platform.factory.ThirdPartyPlatformFactory; import com.jsowell.thirdparty.platform.util.*; import com.jsowell.thirdparty.service.ThirdpartySecretInfoService; import org.apache.commons.collections4.CollectionUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -57,6 +59,7 @@ import java.util.stream.Collectors; @Service public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService { + Logger logger = LoggerFactory.getLogger(this.getClass()); // 平台类型 private final String thirdPlatformType = ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getTypeCode(); @@ -1246,7 +1249,6 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService { .connectorID(pileConnectorCode) .succStat(0) .failReason(0) - .build(); String type = ThirdPartyOperatorIdEnum.getTypeByOperatorId(dto.getOperatorId()); if (StringUtils.equals(ThirdPlatformTypeEnum.XIN_DIAN_TU.getTypeCode(), type)) { @@ -1274,7 +1276,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService { // 生成sig // String resultSign = GBSignUtils.sign(resultMap, configInfo.getSignSecret()); // resultMap.put("Sig", resultSign); - + logger.info("联联平台请求启动充电 result :{}", JSON.toJSONString(vo)); Map resultMap = ThirdPartyPlatformUtils.generateResultMap(vo, thirdPartySecretInfoVO); return resultMap;