feat: add more detail info in log

This commit is contained in:
vran
2022-03-05 12:20:50 +08:00
parent e91f78541e
commit 2f09b2e42e
8 changed files with 134 additions and 17 deletions

View File

@@ -56,4 +56,17 @@ public class GroupDao extends BaseDao<GroupPojo> {
.where(GROUP.ID.in(ids)).and(GROUP.DELETED.eq(false))
.fetchInto(GroupPojo.class);
}
/**
* with deleted
*/
public List<GroupPojo> selectAllInIds(List<? extends Serializable> ids) {
if (ids == null || ids.isEmpty()) {
return Collections.emptyList();
}
return getDslContext()
.select(GROUP.fields()).from(GROUP)
.where(GROUP.ID.in(ids))
.fetchInto(GroupPojo.class);
}
}