release
yishiqihuasheng 2 years ago
parent 861d53e8cd
commit 54bb25a7e3
  1. 6
      dxhy-erp/src/main/java/com/dxhy/erp/service/SNPushCheckRecordService.java

@ -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)) {

Loading…
Cancel
Save