zoujiajian 2 lat temu
rodzic
commit
33291f2247

+ 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());
 		}