fix 后清算报表gst

master
luoyang 6 years ago
parent fbea4cee5b
commit 25ef91379f

@ -13,7 +13,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.1.2</jib-maven-plugin.version> <jib-maven-plugin.version>1.1.2</jib-maven-plugin.version>
<docker-image.version>1.0.26</docker-image.version> <docker-image.version>1.0.27</docker-image.version>
</properties> </properties>
<dependencies> <dependencies>

@ -205,9 +205,9 @@ public class SurchargeAccountServiceImpl implements SurchargeAccountService {
} }
} }
pdfInfo.put("surcharge_wechat", wechatSurcharge); pdfInfo.put("surcharge_wechat", wechatSurcharge);
pdfInfo.put("amount_wechat", wechatSurcharge); pdfInfo.put("amount_wechat", wechatSurcharge.add(wechatTaxAmount));
pdfInfo.put("surcharge_alipay", alipaySurcharge); pdfInfo.put("surcharge_alipay", alipaySurcharge);
pdfInfo.put("amount_alipay", alipaySurcharge); pdfInfo.put("amount_alipay", alipaySurcharge.add(alipayTaxAmount));
pdfInfo.put("amount", wechatSurcharge.add(alipaySurcharge)); pdfInfo.put("amount", wechatSurcharge.add(alipaySurcharge));
pdfInfo.put("gst", wechatTaxAmount.add(alipayTaxAmount)); pdfInfo.put("gst", wechatTaxAmount.add(alipayTaxAmount));
pdfInfo.put("total_amount", (wechatAmount.add(alipayAmount)).setScale(2, RoundingMode.DOWN)); pdfInfo.put("total_amount", (wechatAmount.add(alipayAmount)).setScale(2, RoundingMode.DOWN));

Loading…
Cancel
Save