where (条件1 and 条件2) or (条件3)
//条件1 and 条件2
hrmResumeExample.createCriteria()
.andNameEqualTo(user.get1())
.andPhoneEqualTo(user.get2());
//or (条件3 and 条件n)
hrmResumeExample.or(
hrmResumeExample.createCriteria()
.andTokenEqualTo(user.get3()));
where (条件1 and 条件2) and (条件3 or 条件4)
//条件1 and 条件2
example.createCriteria()
.andEqualTo("isDeleted",IsDeleted.NOT_DELETED))
.andEqualTo("parentId", projectCatalogEntity.getParentId());
//and (条件3 or 条件4)
example.and(example.createCriteria()
.andEqualTo("name", projectCatalogEntity.getName())
.orEqualTo("code", projectCatalogEntity.getCode()));