Remove unuse query

optimize import
This commit is contained in:
jacques 2022-03-12 21:29:26 +01:00
parent 8728c79909
commit af71f54796

View file

@ -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);