Browse Source

no message

master
lh 7 years ago
parent
commit
69da866f4c
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      app/src/main/java/com/qhclh/ytzh/work/Poultrydailyreport/ChandanFragment.java
  2. +3
    -3
      app/src/main/java/com/qhclh/ytzh/work/Poultrydailyreport/YuchuFragment.java

+ 3
- 3
app/src/main/java/com/qhclh/ytzh/work/Poultrydailyreport/ChandanFragment.java View File

@ -77,10 +77,10 @@ public class ChandanFragment extends BaseFragment {
TextView item3 = view2.findViewById(R.id.item3);
TextView item4 = view2.findViewById(R.id.item4);
if (detailsList.get(j).getLong("Batch_ID")!=null) {
item1.setText("批次:" + detailsList.get(j).getLong("Batch_ID"));
if (detailsList.get(j).getString("Batch_Name")!=null) {
item1.setText("批次:" + detailsList.get(j).getString("Batch_Name"));
}else {
item1.setText("批次:");
item1.setText("批次:");
}
if (detailsList.get(j).getString("Week")!=null) {


+ 3
- 3
app/src/main/java/com/qhclh/ytzh/work/Poultrydailyreport/YuchuFragment.java View File

@ -83,10 +83,10 @@ public class YuchuFragment extends BaseFragment {
TextView item3 = view2.findViewById(R.id.item3);
TextView item4 = view2.findViewById(R.id.item4);
if (detailsList.get(j).getLong("Batch_ID")!=null) {
item1.setText("批次:" + detailsList.get(j).getLong("Batch_ID"));
if (detailsList.get(j).getString("Batch_Name")!=null) {
item1.setText("批次:" + detailsList.get(j).getString("Batch_Name"));
}else {
item1.setText("批次:");
item1.setText("批次:");
}
if (detailsList.get(j).getString("Week")!=null) {
item2.setText("周龄:" + detailsList.get(j).getString("Week"));


Loading…
Cancel
Save