提交 18b97d56 authored 作者: liuhaiquan's avatar liuhaiquan

修改货主付款收银台无银行卡报错的问题

上级 56237241
...@@ -50,6 +50,7 @@ import com.msl.user.data.UserSessionData; ...@@ -50,6 +50,7 @@ import com.msl.user.data.UserSessionData;
import com.msl.user.utils.TokenUtil; import com.msl.user.utils.TokenUtil;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.context.ApplicationEventPublisher; import org.springframework.context.ApplicationEventPublisher;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -130,7 +131,7 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService { ...@@ -130,7 +131,7 @@ public class OwnerRepaymentServiceImpl implements OwnerRepaymentService {
OwnerCashierInfoVO vo = ownerRepaymentStruct.convertCashierInfo(ownerRepayment); OwnerCashierInfoVO vo = ownerRepaymentStruct.convertCashierInfo(ownerRepayment);
OwnerInfoFeignVO ownerInfoFeignVO = ownerInfoService.getOwnerInfo(ownerRepayment.getOwnerUserNo()); OwnerInfoFeignVO ownerInfoFeignVO = ownerInfoService.getOwnerInfo(ownerRepayment.getOwnerUserNo());
String ownerAccountBank = ownerInfoFeignVO.getOwnerAccountBank(); String ownerAccountBank = Objects.isNull(ownerInfoFeignVO.getOwnerAccountBank())? StringUtils.EMPTY:ownerInfoFeignVO.getOwnerAccountBank().trim();
vo.setOrderPayWay(false); vo.setOrderPayWay(false);
if(nbBankConfig.getOrderSupportBank().contains(ownerAccountBank)){ if(nbBankConfig.getOrderSupportBank().contains(ownerAccountBank)){
vo.setOrderPayWay(true); vo.setOrderPayWay(true);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论