| | |
| | | .observeOn(Schedulers.io()).subscribe(inspectionBean -> { |
| | | fragment.mInspectionBean = inspectionBean; |
| | | // 查询当前未关闭的巡检记录下所有的坐标 |
| | | DaoSingleton.getAsynchInstance(fragment.getContext()).inspectionLocationDao().findByInspectId(inspectionBean.getmInspectId()).subscribeOn(Schedulers.io()) |
| | | DaoSingleton.getAsynchInstance(fragment.getContext()).inspectionLocationDao().findBymInspectId(inspectionBean.getmInspectId()).subscribeOn(Schedulers.io()) |
| | | .observeOn(AndroidSchedulers.mainThread()).subscribe(inspectionLocationBeans -> { |
| | | fragment.aginShowLocation(inspectionLocationBeans); |
| | | }); |