commit
20faaba30b
@ -46,7 +46,7 @@ public class MembreService {
|
|||||||
|
|
||||||
public SimpleCombModel find(int licence, String np) throws Throwable {
|
public SimpleCombModel find(int licence, String np) throws Throwable {
|
||||||
return VertxContextSupport.subscribeAndAwait(() -> Panache.withTransaction(() ->
|
return VertxContextSupport.subscribeAndAwait(() -> Panache.withTransaction(() ->
|
||||||
repository.find("licence = ?1 AND (lname collate UTF8_GENERAL_CI LIKE ?2 OR fname collate UTF8_GENERAL_CI LIKE ?2)",
|
repository.find("licence = ?1 AND (lname LIKE ?2 OR fname LIKE ?2)",
|
||||||
licence, np).firstResult().map(SimpleCombModel::fromModel)));
|
licence, np).firstResult().map(SimpleCombModel::fromModel)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user