server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/CompanyServiceImpl.java
@@ -292,7 +292,7 @@ if(company.getId() == null|| StringUtils.isBlank(company.getName())){ throw new BusinessException(ResponseStatus.BAD_REQUEST); } if(company.getType()!=null && !(company.getType() ==0 || company.getType() ==1)){ if(company.getType()!=null && !(company.getType() ==0 || company.getType() ==1 || company.getType() ==-1)){ throw new BusinessException(ResponseStatus.DATA_EXISTS.getCode(), "对不起,组织类型不正确,请按要求填写~"); } //查询名称不能重复