Browse Source

no message

master
lh 7 years ago
parent
commit
2473f50158
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java

+ 7
- 1
app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java View File

@ -26,6 +26,8 @@ import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@ -94,7 +96,11 @@ public class HatcheryReportActivity extends BaseActivity {
@Override
protected void onResume() {
super.onResume();
try {
QueryHatchingStoreDetails(hatchingStoreID,new SimpleDateFormat("yyyy-MM-dd").parse(DateTimeUtil.getYMD(new Date(System.currentTimeMillis() - 1000 * 60 * 60 * 24*19))),new SimpleDateFormat("yyyy-MM-dd").parse(DateTimeUtil.getYMD(new Date(System.currentTimeMillis() - 1000 * 60 * 60 * 24))));
} catch (ParseException e) {
e.printStackTrace();
}
}
@Override


Loading…
Cancel
Save