jpa 中的联表查询
ConstructorExpression<SafeOccupational> subject = Projections.constructor(SafeOccupational.class, safeOccupational.id,
safeOccupational.name, enterprise.id, enterprise.entName);
JPAQuery<SafeOccupational> jpaQuery = queryFactory.select(subject)
.from(safeOccupational).innerJoin(enterprise).on(safeOccupational.ownEntId.eq(enterprise.id))
.offset(pageParam.getPageIndex()).limit(pageParam