Procházet zdrojové kódy

修改导出合作商户计算纳税额

LiFei před 3 roky
rodič
revize
4aab38c877

+ 1 - 1
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/hlwsubcontractor/controller/HlwSubcontractorAccountFlowController.java

@@ -366,7 +366,7 @@ public class HlwSubcontractorAccountFlowController extends JeecgController<HlwSu
 		 if (hwPaymentList.size() > 0) {
 			 for (int i = 0; i < hwPaymentList.size(); i++) {
 				 hwPaymentList.get(i).setPersonalNetPayment(businessAccountUtils.add(hwPaymentList.get(i).getAmount(),hwPaymentList.get(i).getServiceFee()));
-				 personalTaxPayment = businessAccountUtils.add(personalTaxPayment, businessAccountUtils.round(businessAccountUtils.mul(businessAccountUtils.div(hwPaymentList.get(i).getPersonalNetPayment(), 1.06), 0.06), 2));
+				 personalTaxPayment =  businessAccountUtils.round(businessAccountUtils.mul(businessAccountUtils.div(hwPaymentList.get(i).getPersonalNetPayment(), 1.06), 0.06), 2);
 				 hwPaymentList.get(i).setPersonalTaxPayment(personalTaxPayment);
 			 }
 		 }