多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
```java @Query("from Person p inner join BankCard b on p.id = b.person.id and p.username = ?1 and b.cardNumber = ?2") Person findByUsernameAndCardNum(String username, String cardNum); @Query(value = "select t1.* from tb_person t1 inner join tb_bank_card t2" + " on t1.id=t2.person_id and t1.username = ?1 and t2.card_num = ?2", nativeQuery = true) Person findByUsernameAndCardNum2(String username, String cardNum); ```