|
|
|
@ -323,7 +323,7 @@ public class SignSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<SignRecord |
|
|
|
|
//判断是否为小数 转换为小数
|
|
|
|
|
BigDecimal bigDecimal = new BigDecimal(rate); |
|
|
|
|
if(bigDecimal.compareTo(new BigDecimal("0.99")) < 1 ){ |
|
|
|
|
rate = bigDecimal.multiply(new BigDecimal("100")).toPlainString(); |
|
|
|
|
rate = bigDecimal.multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
invoiceDetail.setTaxRate(rate); |
|
|
|
|