Browse Source

开单合理项维护

zhaops 4 years ago
parent
commit
63d6fcb03a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/com/diagbot/facade/BillManFacade.java

+ 1 - 0
src/main/java/com/diagbot/facade/BillManFacade.java

@@ -301,6 +301,7 @@ public class BillManFacade {
         }
         //修改成已存在规则
         if (billSaveVO.getRelationId() != null
+                && existRelation != null
                 && !billSaveVO.getRelationId().equals(existRelation.getRelationId())) {
             throw new CommonException(CommonErrorCode.IS_EXISTS, "规则已存在");
         }