Browse Source

no message

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

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

@ -103,7 +103,9 @@ public class HatcheryReportActivity extends BaseActivity {
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))));
long first = (long)1000 * 60 * 60 * 24*38;
long second = (long)1000 * 60 * 60 * 24*19;
QueryHatchingStoreDetails(hatchingStoreID,new SimpleDateFormat("yyyy-MM-dd").parse(DateTimeUtil.getYMD(new Date(System.currentTimeMillis() - first))),new SimpleDateFormat("yyyy-MM-dd").parse(DateTimeUtil.getYMD(new Date(System.currentTimeMillis() - second))));
} catch (ParseException e) {
e.printStackTrace();
}


Loading…
Cancel
Save