jpa 原生sql踩的坑

List<Long> loseItems = itemRepository.getSale_OutItemIdIn(items);sql @Query(value= "SELECT id FROM item WHERE id IN ?1 AND sold_out =TRUE", nativeQuery=true) get    List<Long> getSale_OutItemIdIn(Coll
相關文章
相關標籤/搜索