|
@@ -992,7 +992,7 @@ public class CmsOrderDonServiceImpl extends ServiceImpl<OrderDonMapper,OrderDon>
|
|
|
if (!redisService.setNx(RedisKey.GROUPS_RELATION_NUM_KEY + relationId, userId, 60 * 5L)) {
|
|
if (!redisService.setNx(RedisKey.GROUPS_RELATION_NUM_KEY + relationId, userId, 60 * 5L)) {
|
|
|
if (retryNum == 7) throw BusinessRuntimeException.getInstance("该车队人员已满,请选择另一车队");
|
|
if (retryNum == 7) throw BusinessRuntimeException.getInstance("该车队人员已满,请选择另一车队");
|
|
|
retryNum++;
|
|
retryNum++;
|
|
|
- getRelationThisTrips(userId, groupsId, retryNum);
|
|
|
|
|
|
|
+ return getRelationThisTrips(userId, groupsId, retryNum);
|
|
|
}
|
|
}
|
|
|
int count = groupsMapper.decrAvailableNum(relation.getGroupsId());
|
|
int count = groupsMapper.decrAvailableNum(relation.getGroupsId());
|
|
|
if (count == 0) {
|
|
if (count == 0) {
|