From 283abf45cb23a35124f76dd9cea57dddf4a99caf Mon Sep 17 00:00:00 2001 From: Anlin <184993826@qq.com> Date: Mon, 14 Jul 2025 15:06:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../merchant/service/impl/BusMerchantProductServiceImpl.java | 1 - .../main/java/org/dromara/payment/util/TaxCalculatorUtils.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/merchant/service/impl/BusMerchantProductServiceImpl.java b/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/merchant/service/impl/BusMerchantProductServiceImpl.java index d20f06d..0eae84f 100644 --- a/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/merchant/service/impl/BusMerchantProductServiceImpl.java +++ b/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/merchant/service/impl/BusMerchantProductServiceImpl.java @@ -207,7 +207,6 @@ public class BusMerchantProductServiceImpl extends BaseService implements IBusMe SysSyd sysSyd = sydMapper.selectSysSydById(vo.getSydId()); log.info("sydId:"+sysSyd.getId()+"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); SysThirdPlatform sysThirdPlatform = thirdPlatformMapper.selectThirdAppInfo(sysSyd.getId()); - log.info("sysThirdPlatform:"+sysThirdPlatform.getPlatformName()); if (ObjectUtils.isNotEmpty(sysThirdPlatform)&&sysThirdPlatform.getPlatformName().equals("薪遇见")){ BusMerchant busMerchant = busMerchantMapper.selectById(mer_id); xyjService.addMerchant(busMerchant,vo.getSydId()); diff --git a/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/util/TaxCalculatorUtils.java b/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/util/TaxCalculatorUtils.java index 40c98f6..a185088 100644 --- a/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/util/TaxCalculatorUtils.java +++ b/ruoyi-modules/ruoyi-payment/src/main/java/org/dromara/payment/util/TaxCalculatorUtils.java @@ -45,7 +45,7 @@ public class TaxCalculatorUtils { validateParams(cumulativeIncome, taxMonth, cumulativePrepaidTax); // 2. 计算累计减除费用:5000 * n(n为月份) - BigDecimal cumulativeDeduction = MONTHLY_DEDUCTION.multiply(new BigDecimal(taxMonth)); + BigDecimal cumulativeDeduction = MONTHLY_DEDUCTION; // 3. 计算应纳税所得额:累计收入 × (1 - 20%) - 累计减除费用 BigDecimal taxableIncome = cumulativeIncome