mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Remove unuse query
optimize import
This commit is contained in:
parent
8728c79909
commit
af71f54796
1 changed files with 0 additions and 5 deletions
|
@ -19,20 +19,15 @@ public interface MedicDAO {
|
||||||
@Insert
|
@Insert
|
||||||
void insert(Medic... medics);
|
void insert(Medic... medics);
|
||||||
|
|
||||||
|
|
||||||
@Update
|
@Update
|
||||||
void update(Medic... medics);
|
void update(Medic... medics);
|
||||||
|
|
||||||
@Delete
|
@Delete
|
||||||
void delete(Medic medic);
|
void delete(Medic medic);
|
||||||
|
|
||||||
|
|
||||||
@Query("SELECT * FROM medics")
|
@Query("SELECT * FROM medics")
|
||||||
List<Medic> getAllMedics();
|
List<Medic> getAllMedics();
|
||||||
|
|
||||||
/* @Query("SELECT * FROM medics WHERE id = :id")
|
|
||||||
Medic getMedicBy(Long id);*/
|
|
||||||
|
|
||||||
@Query("SELECT * FROM medics WHERE cip13 = :cip13")
|
@Query("SELECT * FROM medics WHERE cip13 = :cip13")
|
||||||
Medic getMedicByCIP13(String cip13);
|
Medic getMedicByCIP13(String cip13);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue