updated code

This commit is contained in:
nisha
2024-11-21 18:08:47 +05:30
parent aa37f7d3c3
commit 275a1ba287

View File

@@ -341,7 +341,7 @@ public class ApplicationDao {
builder.desc(builder.isNotNull(root.get(GepafinConstant.SUBMISSION_DATE))), builder.desc(builder.isNotNull(root.get(GepafinConstant.SUBMISSION_DATE))),
builder.desc(root.get(GepafinConstant.SUBMISSION_DATE)) builder.desc(root.get(GepafinConstant.SUBMISSION_DATE))
); );
predicate = builder.and(predicate, root.get("hubId").in(userEntity.getHub().getId())); predicate = builder.and(predicate, builder.equal(root.get("hubId"), userEntity.getHub().getId()));
return predicate; return predicate;
}; };
} }