|
|
|
@ -570,9 +570,12 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
|
// }
|
|
|
|
|
//按照小数处理
|
|
|
|
|
if(StringUtils.isNotBlank(isInteger)){ |
|
|
|
|
if ("*".equals(taxRate) || "**".equals(taxRate) || "***".equals(taxRate) || "不征税".equals(taxRate) || "免税".equals(taxRate)) { |
|
|
|
|
} else { |
|
|
|
|
BigDecimal bigDecimal = new BigDecimal(taxRate); |
|
|
|
|
taxRate = bigDecimal.divide(new BigDecimal("100")).toPlainString(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if ("11".equals(invoiceType)) { |
|
|
|
|
taxRate = "0"; |
|
|
|
|
} |
|
|
|
|