소스 검색

调整错误

xubh 5 년 전
부모
커밋
0ade823920
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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("机器类型不支持推货!");
 		}