xubh il y a 4 ans
Parent
commit
33b8ceaab1
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/main/java/com/minpay/common/pay/ShouhuoPay.java

+ 3 - 0
src/main/java/com/minpay/common/pay/ShouhuoPay.java

@@ -185,6 +185,9 @@ public class ShouhuoPay implements IMINAction{
 					throw new MINBusinessException("没有找到此售货机");
 				}
 				String payeeNo = equipmentInf.getPayeeNo();//收款账号
+				if(CommonUtil.isEmpty(payeeNo)){
+					throw new MINBusinessException("商户未设置收款账号");
+				}
 				VmHlAccount vmHlAccount = Service.lookup(IMINDataBaseService.class).getMybatisMapper(VmHlAccountMapper.class).selectByPrimaryKey(payeeNo);
 				if(vmHlAccount == null || StringUtil.isNullOrEmpty(vmHlAccount.getNumber())){
 					throw new MINBusinessException("商户收款账户异常");