|
@@ -131,8 +131,11 @@ public class PaymentAction implements IMINAction{
|
|
|
if(equInf == null){
|
|
|
throw new BusinessCodeException("JINM1101");//售货机异常,请联系工作人员
|
|
|
}else{
|
|
|
- if(!"00".equals(equInf.getState())){
|
|
|
- throw new BusinessCodeException("JINM1102");//售货机运行异常,请联系工作人员
|
|
|
+ String equType = equInf.getEquType();
|
|
|
+ if("00".equals(equType) || "01".equals(equType) ){
|
|
|
+ if(!"00".equals(equInf.getState())){
|
|
|
+ throw new BusinessCodeException("JINM1102");//售货机运行异常,请联系工作人员
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
//获取商户信息
|