|
|
@ -12,6 +12,7 @@ import com.qhclh.ytzh.R; |
|
|
import com.qhclh.ytzh.base.BaseActivity; |
|
|
import com.qhclh.ytzh.base.BaseActivity; |
|
|
import com.qhclh.ytzh.bean.ReportBean; |
|
|
import com.qhclh.ytzh.bean.ReportBean; |
|
|
import com.qhclh.ytzh.bean.ReportString; |
|
|
import com.qhclh.ytzh.bean.ReportString; |
|
|
|
|
|
import com.qhclh.ytzh.tasks.ViewOnClickTask; |
|
|
import com.qhclh.ytzh.ui.LinkedHorizontalScrollView; |
|
|
import com.qhclh.ytzh.ui.LinkedHorizontalScrollView; |
|
|
import com.qhclh.ytzh.ui.NoScrollHorizontalScrollView; |
|
|
import com.qhclh.ytzh.ui.NoScrollHorizontalScrollView; |
|
|
import com.qhclh.ytzh.work.breedpoultry.DatanalysisActivity; |
|
|
import com.qhclh.ytzh.work.breedpoultry.DatanalysisActivity; |
|
|
@ -61,8 +62,12 @@ public class ReportActivity extends BaseActivity { |
|
|
combination(lv_buildhousename, lv_report_info, sv_title, sv_report_detail); |
|
|
combination(lv_buildhousename, lv_report_info, sv_title, sv_report_detail); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private long bfid; |
|
|
|
|
|
private long time; |
|
|
@Override |
|
|
@Override |
|
|
protected void initData() { |
|
|
protected void initData() { |
|
|
|
|
|
bfid = getIntent().getLongExtra("BreedFactory_id",0); |
|
|
|
|
|
time = getIntent().getLongExtra("time",0); |
|
|
buildhouseList = new ArrayList<>(); |
|
|
buildhouseList = new ArrayList<>(); |
|
|
reportBeanList = new ArrayList<>(); |
|
|
reportBeanList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
@ -79,6 +84,28 @@ public class ReportActivity extends BaseActivity { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
protected void onResume() { |
|
|
|
|
|
super.onResume(); |
|
|
|
|
|
DetailListView(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void DetailListView() { |
|
|
|
|
|
ViewOnClickTask DetailListViewTask = new ViewOnClickTask(this,"加载中...") { |
|
|
|
|
|
@Override |
|
|
|
|
|
protected void successUI() { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public Object call() throws Exception { |
|
|
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
} |
|
|
|
|
|
}; |
|
|
|
|
|
DetailListViewTask.execute(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
protected void initOper() { |
|
|
protected void initOper() { |
|
|
|
|
|
|
|
|
|