wjc
2 天以前 f52c6a80462514d8ad58b37668f61cdb611a2c21
app/src/main/java/com/hdl/photovoltaic/ui/newC/PowerStationsListActivity.java
@@ -283,21 +283,19 @@
                            hideLoading();
                        }
                        if (list != null && !list.isEmpty()) {
                            if (!comparableList(houseListBeanIDList, list)) {
                                //更新缓存
                                HdlResidenceLogic.getInstance().setHouseIdList(list, true);
                                if (houseListAdapter != null) {
                                    //重新获取列表数据
                                    initData();
                                    refreshDetails("");
                                    //更新电站选中状态
                                    setSelectState();
                                    //更新列表数据
                                    houseListAdapter.setList(houseListBeanIDList);
                                }
//                            if (!comparableList(houseListBeanIDList, list)) {
                            //更新缓存
                            HdlResidenceLogic.getInstance().setHouseIdList(list, true);
                            if (houseListAdapter != null) {
                                //重新获取列表数据
                                initData();
                                refreshDetails("");
                                //更新电站选中状态
                                setSelectState();
                                //更新列表数据
                                houseListAdapter.setList(houseListBeanIDList);
                            }
//                            }
                        }
                        nullDataUpdateUi(list);
                    }