HQL查询可能与以下几行相似:
选择c来自联系人c加入c.phones cphones其中c.userAccount.email =:email 和cphones.formatedNumber =:number
另外,您可能想要处理这样的查询结果。该 列表() 方法返回总是一个列表,从来没有空。
return !result.isEmpty();

HQL查询可能与以下几行相似:
选择c来自联系人c加入c.phones cphones其中c.userAccount.email =:email 和cphones.formatedNumber =:number
另外,您可能想要处理这样的查询结果。该 列表() 方法返回总是一个列表,从来没有空。
return !result.isEmpty();