mirror of
https://github.com/BgaSol/sol-cloud
synced 2026-05-23 00:58:26 +00:00
feat(service): Enhance selectByIds method to include additional table lookup after fetching entities
This commit is contained in:
parent
23f193b619
commit
730c8fe559
1 changed files with 3 additions and 1 deletions
|
|
@ -261,7 +261,9 @@ public abstract class BaseService<ENTITY extends BaseEntity, PAGE_DTO extends Ba
|
|||
if (ObjectUtils.isEmpty(ids)) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return commonBaseMapper().selectByIds(Arrays.asList(ids));
|
||||
List<ENTITY> entities = commonBaseMapper().selectByIds(Arrays.asList(ids));
|
||||
this.findOtherTable(entities);
|
||||
return entities;
|
||||
}
|
||||
|
||||
// 先获取缓存中的结果
|
||||
|
|
|
|||
Loading…
Reference in a new issue