perf: 优化数据权限自身查询效率

pull/9/head
Carina 3 years ago
parent 93f95ce21b
commit 7368a0cf39

@ -164,7 +164,7 @@ public class QueryDataPermsHandler implements QueryBuilderChain{
});
}else {
// 查自身
wra.in(FieldUtil.humpToUnderline(MyBatisConstants.FIELD_CREATE_BY), currUser.getId());
wra.eq(FieldUtil.humpToUnderline(MyBatisConstants.FIELD_CREATE_BY), currUser.getId());
}
});
}

Loading…
Cancel
Save