|
|
@ -89,9 +89,9 @@ public class ChandanFragment extends BaseFragment { |
|
|
item2.setText("周龄:"); |
|
|
item2.setText("周龄:"); |
|
|
} |
|
|
} |
|
|
if (detailsList.get(j).getDecimal("SurvivalRate")!=null) { |
|
|
if (detailsList.get(j).getDecimal("SurvivalRate")!=null) { |
|
|
item3.setText("成活率:" + detailsList.get(j).getDecimal("SurvivalRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString() + "%"); |
|
|
|
|
|
|
|
|
item3.setText("母成活率:" + detailsList.get(j).getDecimal("SurvivalRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString() + "%"); |
|
|
}else { |
|
|
}else { |
|
|
item3.setText("成活率:"); |
|
|
|
|
|
|
|
|
item3.setText("母成活率:"); |
|
|
} |
|
|
} |
|
|
if (detailsList.get(j).getDecimal("EggRate")!=null) { |
|
|
if (detailsList.get(j).getDecimal("EggRate")!=null) { |
|
|
item4.setText("产蛋率:" + detailsList.get(j).getDecimal("EggRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString() + "%"); |
|
|
item4.setText("产蛋率:" + detailsList.get(j).getDecimal("EggRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString() + "%"); |
|
|
|