zoujiajian 2 년 전
부모
커밋
33291f2247
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

+ 3 - 3
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

@@ -380,11 +380,11 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
 							throw BusinessRuntimeException.getInstance("系统繁忙,请重试...");
 						}
 					}
-					if (groups == null) {
-						groups = groupsMapper.selectById(relation.getGroupsId());
-					}
 				}
 			}
+			if (groups == null) {
+				groups = groupsMapper.selectById(relation.getGroupsId());
+			}
 			//车队目前可用停车数
 			relation.setGroupsAvailParkingNum(groups.getAvailableParkingNum());
 		}