get Real Customers: fix findByActive
This commit is contained in:
@@ -5,6 +5,6 @@ import org.springframework.data.jpa.repository.Query
|
||||
import org.springframework.data.repository.query.Param
|
||||
|
||||
interface CustomerService {
|
||||
@Query("FROM customer WHERE active = :active")
|
||||
fun findRealCustomers(@Param("active") active: String): List<Customer>
|
||||
@Query("FROM customer WHERE active = :active ")
|
||||
fun findByActive(@Param("active") active: String? ): List<Customer>
|
||||
}
|
||||
Reference in New Issue
Block a user