|
@@ -227,11 +227,11 @@ public class PerformOrderServiceImpl implements PerformOrderService {
|
|
|
public Boolean payMerchantTotal(PlatformOrderDTO orderInfo) {
|
|
|
log.info("订单:{} 更新商户号统计 ----------start---------", orderInfo.getOrderId());
|
|
|
try {
|
|
|
- if (StringUtils.isEmpty(orderInfo.getGamePaywayId())) {
|
|
|
+ if (orderInfo.getGamePaywayId() == null) {
|
|
|
log.error("订单:{} 更新商户号统计时,该订单GamePaywayId为空", orderInfo.getOrderId());
|
|
|
return false;
|
|
|
}
|
|
|
- GamePayWay gamePayWayInfo = gamePayWayService.getInfo(orderInfo.getGamePaywayId());
|
|
|
+ GamePayWay gamePayWayInfo = gamePayWayService.getInfo(String.valueOf(orderInfo.getGamePaywayId()));
|
|
|
if (Objects.isNull(gamePayWayInfo)) {
|
|
|
log.error("订单:{} 更新商户号统计时,获取GamePayway表id:{}信息为空", orderInfo.getOrderId(), orderInfo.getGamePaywayId());
|
|
|
return false;
|