xubh 4 år sedan
förälder
incheckning
0ade823920
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/main/java/com/minpay/shouhuo/deliveryaction/DeliveryAction.java

+ 1 - 1
src/main/java/com/minpay/shouhuo/deliveryaction/DeliveryAction.java

@@ -162,7 +162,7 @@ public class DeliveryAction implements IMINAction{
 			throw new MINBusinessException("没有提货信息!");
 		}
 		String equType = list.get(0).get("equType");
-		if(!"00".equals(equType) || !"01".equals(equType)){
+		if(!"00".equals(equType) && !"01".equals(equType)){
 			throw new MINBusinessException("机器类型不支持推货!");
 		}