You've already forked FrameTour-BE
null
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user