Merge branch 'zalan' into 'master'
find Real customer api (inconvinence) See merge request bossanyit/aitrainer_server!12
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package com.aitrainer.api.service
|
||||
|
||||
import com.aitrainer.api.model.Customer
|
||||
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>
|
||||
}
|
||||
Reference in New Issue
Block a user