|
@@ -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("商户收款账户异常");
|