@Query(value = "select * from consignment where org_first_id IN(?1)", nativeQuery = true)
List<ConsignmentEntity> findByOrgFirstIds(List<String> orgFirstId);
nativeQuery = true 表示用原生的SQL,要是false,就要用对象和属性了。
@Query(value = "select * from consignment where org_first_id IN(?1)", nativeQuery = true)
List<ConsignmentEntity> findByOrgFirstIds(List<String> orgFirstId);
nativeQuery = true 表示用原生的SQL,要是false,就要用对象和属性了。