lyhzzz 2 年之前
父節點
當前提交
df6a2c06d3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/sale/pay/wx/WechatPayService.java

+ 1 - 1
src/main/java/com/fdkankan/sale/pay/wx/WechatPayService.java

@@ -50,7 +50,7 @@ public class WechatPayService {
         if(repair == null){
         if(repair == null){
             throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
             throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
         }
         }
-        if(repair.getStatus() != 9 || repair.getStatus() != 4){
+        if(repair.getStatus() != 9 && repair.getStatus() != 4){
             throw new BusinessException(ResultCode.REPAIR_STATUS_NOT_EXITS);
             throw new BusinessException(ResultCode.REPAIR_STATUS_NOT_EXITS);
         }
         }
         RepairPay repairPay = repairPayService.getByRepairId(param.getRepairId(),1);
         RepairPay repairPay = repairPayService.getByRepairId(param.getRepairId(),1);