|
|
@ -466,11 +466,7 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
if (StringUtils.isNoneBlank(invoiceData.get("sl").toString())) { |
|
|
|
if (StringUtils.isNoneBlank(invoiceData.get("sl").toString())) { |
|
|
|
taxRate = invoiceData.get("sl").toString(); |
|
|
|
taxRate = invoiceData.get("sl").toString(); |
|
|
|
if (!"0".equals(taxRate)) { |
|
|
|
if (!"0".equals(taxRate)) { |
|
|
|
// taxRate = taxRate.substring(0, taxRate.length() - 1);
|
|
|
|
taxRate = taxRate.substring(0, taxRate.length() - 1); |
|
|
|
//TODO 存疑等飞哥回来商量
|
|
|
|
|
|
|
|
taxRate = taxRate.replace("%",""); |
|
|
|
|
|
|
|
BigDecimal taxRateBigDecimal = new BigDecimal(taxRate); |
|
|
|
|
|
|
|
taxRate = taxRateBigDecimal.divide(new BigDecimal("100")).toPlainString(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ("11".equals(invoiceType)) { |
|
|
|
if ("11".equals(invoiceType)) { |
|
|
|