Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 19 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 19 Rev 24
Línea 8... Línea 8...
8
 
8
 
9
import com.cesams.twogetskills.entity.Progress;
9
import com.cesams.twogetskills.entity.Progress;
10
import com.cesams.twogetskills.room.ResultCount;
10
import com.cesams.twogetskills.room.ResultCount;
Línea -... Línea 11...
-
 
11
import com.cesams.twogetskills.room.ResultTotalInt;
-
 
12
 
11
import com.cesams.twogetskills.room.ResultTotalInt;
13
import java.util.List;
12
 
14
 
Línea 13... Línea 15...
13
@Dao
15
@Dao
14
public interface ProgressDao {
16
public interface ProgressDao {
Línea 42... Línea 44...
42
    Progress  selectByTopicUuidAndUserUuid(String topicUuid, String userUuid);
44
    Progress  selectByTopicUuidAndUserUuid(String topicUuid, String userUuid);
Línea 43... Línea 45...
43
 
45
 
44
    @Query("SELECT * FROM tb_progress WHERE capsule_uuid = :capsuleUuid AND type = 'c' LIMIT 1")
46
    @Query("SELECT * FROM tb_progress WHERE capsule_uuid = :capsuleUuid AND type = 'c' LIMIT 1")
Línea -... Línea 47...
-
 
47
    Progress selectByCapsuleUuid(String capsuleUuid);
-
 
48
 
-
 
49
    @Query("SELECT * FROM tb_progress WHERE type = 'c' ORDER BY updated_on DESC")
45
    Progress selectByCapsuleUuid(String capsuleUuid);
50
    List<Progress> selectAllCapsulesProgress();
46
 
51
 
Línea 47... Línea 52...
47
    @Query("SELECT * FROM tb_progress WHERE capsule_uuid = :capsuleUuid AND user_uuid = :userUuid AND type = 'c' LIMIT 1")
52
    @Query("SELECT * FROM tb_progress WHERE capsule_uuid = :capsuleUuid AND user_uuid = :userUuid AND type = 'c' LIMIT 1")
48
    Progress selectByCapsuleUuidAndUserUuid(String capsuleUuid, String userUuid);
53
    Progress selectByCapsuleUuidAndUserUuid(String capsuleUuid, String userUuid);