This commit is contained in:
2025-08-08 17:58:51 +08:00
parent 5202ec3be1
commit 00fbeedc56

View File

@@ -75,6 +75,9 @@ public class ScenicAccountServiceImpl implements ScenicAccountService {
@Override
public ScenicAccountEntity getScenicAccountByAccount(String account) {
ScenicAccountEntity accountEntity = mapper.getByAccount(account);
if (accountEntity == null) {
throw new BaseException("账号异常");
}
List<Long> scenicList = mapper.getAccountRelations(accountEntity.getId());
accountEntity.setScenicId(scenicList);
return accountEntity;