管灌系统巡查员智能手机App
app/src/main/java/com/dayu/pipirrapp/dao/InspectionLocationDao.java
@@ -38,7 +38,14 @@
    //查询所有该巡检id的坐标
    @Query("select  * from InspectionLocationBean where mInspectId=:mInspectId ORDER BY locateTime ASC")
    Single<List<InspectionLocationBean>> findByInspectId(String mInspectId);
    Single<List<InspectionLocationBean>> findBymInspectId(String mInspectId);
    //查询所有该巡检id的坐标
    @Query("select  * from InspectionLocationBean where InspectId=:inspectId ORDER BY locateTime ASC")
    Single<List<InspectionLocationBean>> findByInspectId(String inspectId);
    //查询所有未上传的mInspectId
    @Query("SELECT DISTINCT mInspectId FROM InspectionLocationBean WHERE isPost = false")