diff --git a/app/src/main/java/com/qhclh/ytzh/work/carsmannage/GrossChickenFragment.java b/app/src/main/java/com/qhclh/ytzh/work/carsmannage/GrossChickenFragment.java index 955e720..4b1580a 100644 --- a/app/src/main/java/com/qhclh/ytzh/work/carsmannage/GrossChickenFragment.java +++ b/app/src/main/java/com/qhclh/ytzh/work/carsmannage/GrossChickenFragment.java @@ -120,12 +120,14 @@ public class GrossChickenFragment extends BaseFragment implements RefreshLayout. Map where = queryObj.getMap("Where"); if (userid != 0) { where.put("User_ID", userid); + }else { + where.put("MyOwn",true); } if (factryid != 0) { where.put("BreedFactory_ID", factryid); } if (time != 0) { - where.put("CreateTime", time / 1000); + where.put("Date", time / 1000); } List orderList = queryObj.getList("OrderBy"); @@ -190,12 +192,14 @@ public class GrossChickenFragment extends BaseFragment implements RefreshLayout. Map where = queryObj.getMap("Where"); if (userid!= 0) { where.put("User_ID", userid); + }else { + where.put("MyOwn",true); } if (factryid!= 0) { where.put("BreedFactory_ID", factryid); } if (time != 0) { - where.put("CreateTime", time / 1000); + where.put("Date", time / 1000); } List orderList = queryObj.getList("OrderBy");