From aac23fc1061e8d7be75506f8fd9c0a831dba2837 Mon Sep 17 00:00:00 2001 From: lh <1209405678@qq.com> Date: Tue, 3 Apr 2018 13:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=B5=E5=8C=96=E5=9C=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../work/Hatchery/HatcheryReportActivity.java | 53 +++++++++++++++++-- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java b/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java index c7f4bd2..ee731eb 100644 --- a/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java +++ b/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java @@ -16,6 +16,7 @@ import com.qhclh.ytzh.tasks.ViewOnClickTask; import com.qhclh.ytzh.ui.Chose2timePopuWindow; import com.qhclh.ytzh.ui.LinkedHorizontalScrollView; import com.qhclh.ytzh.ui.NoScrollHorizontalScrollView; +import com.qhclh.ytzh.utils.DateTimeUtil; import org.forks.jsonrpc.JsonRpcResult; import org.forks.jsonrpc.RpcFacade; @@ -24,6 +25,7 @@ import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.ThreadMode; +import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -80,10 +82,6 @@ public class HatcheryReportActivity extends BaseActivity { protected void initData() { hatchingStoreID= getIntent().getLongExtra("hatchingStoreID",0); reportBeanList = new ArrayList<>(); - - for (int i =0;i<20;i++){ - reportBeanList.add(new HatcheryReportBean(i,i+1+"",i+2+"",i+3+"",i+4+"",i+5+"",i+6+"",i+7+"",i+8+"",i+9+"")); - } adapter = new HatcheryReportInfoAdapter(HatcheryReportActivity.this,reportBeanList); lv_report_info.setAdapter(adapter); } @@ -202,7 +200,52 @@ public class HatcheryReportActivity extends BaseActivity { List objList; @Override protected void successUI() { - System.out.println("aaa++++rpclist+++"+objList); + for (int i =0;i