xubh 4 년 전
부모
커밋
33b8ceaab1
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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("商户收款账户异常");