|
|
|
@ -93,14 +93,14 @@ public class YuchuFragment extends BaseFragment { |
|
|
|
}else { |
|
|
|
item2.setText("周龄:"); |
|
|
|
} |
|
|
|
if (detailsList.get(j).getInt("SiTaoNumber")!=null) { |
|
|
|
item3.setText("母死淘:" + detailsList.get(j).getInt("SiTaoNumber")); |
|
|
|
if (detailsList.get(j).getInt("FemaleSiTaoNumber")!=null) { |
|
|
|
item3.setText("母死淘:" + detailsList.get(j).getInt("FemaleSiTaoNumber")); |
|
|
|
}else { |
|
|
|
item3.setText("母死淘:"); |
|
|
|
} |
|
|
|
|
|
|
|
if (detailsList.get(j).getDecimal("SurvivalRate")!=null) { |
|
|
|
item4.setText("母成活率:" + detailsList.get(j).getDecimal("SurvivalRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString() + "%"); |
|
|
|
if (detailsList.get(j).getDecimal("FemaleSurvivalRate")!=null) { |
|
|
|
item4.setText("母成活率:" + detailsList.get(j).getDecimal("FemaleSurvivalRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString() + "%"); |
|
|
|
}else { |
|
|
|
item4.setText("母成活率:"); |
|
|
|
} |
|
|
|
|