|
|
@@ -27,7 +27,7 @@ public class WxBillSum implements Serializable { |
|
|
private String noTaxNeedPay = "0"; |
|
|
private String noTaxNeedPay = "0"; |
|
|
public String getNoTaxNeedPay() { |
|
|
public String getNoTaxNeedPay() { |
|
|
if (StringUtils.isNotBlank(taxRate)) { |
|
|
if (StringUtils.isNotBlank(taxRate)) { |
|
|
noTaxNeedPay = new BigDecimal(needPay).subtract(new BigDecimal(needPay).multiply(new BigDecimal(taxRate)).divide(new BigDecimal(100))).setScale(2,BigDecimal.ROUND_HALF_UP).toPlainString(); |
|
|
|
|
|
|
|
|
noTaxNeedPay = new BigDecimal(needPay).divide(new BigDecimal(taxRate).divide(new BigDecimal(100)).add(new BigDecimal(1)),6,BigDecimal.ROUND_HALF_UP).toPlainString(); |
|
|
return noTaxNeedPay; |
|
|
return noTaxNeedPay; |
|
|
} |
|
|
} |
|
|
return needPay; |
|
|
return needPay; |
|
|
|