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