getGroupTree 修改

This commit is contained in:
2026-08-14 16:17:51 +08:00
parent 2c058cfa35
commit 9ae303a29d
10 changed files with 127 additions and 187 deletions
@@ -10,7 +10,7 @@ public class OperationLogSpecifications {
public static Specification<OperationLogRecord> schIdEquals(Integer schId) {
return (root, query, cb) -> {
if (schId == null || schId <= 0) {
if (schId == null || schId < 0) {
return cb.conjunction();
}
return cb.equal(root.get("schId"), schId);