From b0978a62cf2050170793e87fbd01db1760808043 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期三, 04 十一月 2026 09:50:30 +0800
Subject: [PATCH] feat: 从长辉移植新高缺失的六个业务模块(安全生产/能耗/数采/备件/质检台账/售后问题回访)
---
yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/salary/HrmTaxRateConfigController.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/salary/HrmTaxRateConfigController.java b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/salary/HrmTaxRateConfigController.java
index 8e1323f..c7e3dca 100644
--- a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/salary/HrmTaxRateConfigController.java
+++ b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/salary/HrmTaxRateConfigController.java
@@ -67,7 +67,6 @@
@GetMapping("/get")
@Operation(summary = "鑾峰彇涓◣绋庣巼閰嶇疆")
@Parameter(name = "id", description = "閰嶇疆ID", required = true)
- @PreAuthorize("@ss.hasPermission('hrm:tax-rate:query')")
public CommonResult<HrmTaxRateConfigRespVO> getTaxRateConfig(@RequestParam("id") Long id) {
HrmTaxRateConfigDO config = taxRateConfigService.getTaxRateConfig(id);
return success(BeanUtils.toBean(config, HrmTaxRateConfigRespVO.class));
@@ -75,7 +74,6 @@
@GetMapping("/list")
@Operation(summary = "鑾峰彇涓◣绋庣巼閰嶇疆鍒楄〃")
- @PreAuthorize("@ss.hasPermission('hrm:tax-rate:query')")
public CommonResult<List<HrmTaxRateConfigRespVO>> getTaxRateConfigList() {
List<HrmTaxRateConfigDO> list = taxRateConfigService.getTaxRateConfigList();
return success(BeanUtils.toBean(list, HrmTaxRateConfigRespVO.class));
@@ -84,7 +82,6 @@
@GetMapping("/get-effective")
@Operation(summary = "鑾峰彇鐢熸晥鐨勪釜绋庣◣鐜囬厤缃垪琛紙鎸夌骇鏁版帓搴忥級")
@Parameter(name = "effectiveDate", description = "鐢熸晥鏃ユ湡", required = true)
- @PreAuthorize("@ss.hasPermission('hrm:tax-rate:query')")
public CommonResult<List<HrmTaxRateConfigRespVO>> getEffectiveTaxRateConfigList(
@RequestParam("effectiveDate") LocalDate effectiveDate) {
List<HrmTaxRateConfigDO> list = taxRateConfigService.getEffectiveTaxRateConfigList(effectiveDate);
@@ -101,7 +98,7 @@
.taxRate(new BigDecimal("3")).quickDeduction(new BigDecimal("0")).status(0).remark("").build()
);
// 杈撳嚭
- ExcelUtils.write(response, "涓◣绋庣巼閰嶇疆瀵煎叆妯℃澘.xls", "涓◣绋庣巼閰嶇疆鍒楄〃",
+ ExcelUtils.writeTemplate(response, "涓◣绋庣巼閰嶇疆瀵煎叆妯℃澘.xls", "涓◣绋庣巼閰嶇疆鍒楄〃",
HrmTaxRateConfigImportExcelVO.class, list);
}
--
Gitblit v1.9.3