From 2f6529a3efdd6812e13dbc37ce09974e3a024055 Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期三, 16 八月 2023 16:52:41 +0800
Subject: [PATCH] # 工资表配置表 导出模板索字段添加

---
 server/src/main/java/doumeemes/config/shiro/ShiroRealm.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/src/main/java/doumeemes/config/shiro/ShiroRealm.java b/server/src/main/java/doumeemes/config/shiro/ShiroRealm.java
index e130db9..3db5c23 100644
--- a/server/src/main/java/doumeemes/config/shiro/ShiroRealm.java
+++ b/server/src/main/java/doumeemes/config/shiro/ShiroRealm.java
@@ -146,9 +146,9 @@
             if(cu == null){
                 throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"瀵逛笉璧凤紝璇ヤ紒涓氱敤鎴蜂笉瀛樺湪锛�");
             }
-            if(Constants.equalsInteger(cu.getStatus(),Constants.ONE)){
-                throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"瀵逛笉璧凤紝璇ヤ紒涓氱敤鎴峰凡绂佺敤锛�");
-            }
+//            if(Constants.equalsInteger(cu.getStatus(),Constants.ONE)){
+//                throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"瀵逛笉璧凤紝璇ヤ紒涓氱敤鎴峰凡绂佺敤锛�");
+//            }
             rootDepart = departmentExtService.getModelById(c.getCompanyId(),cu.getRootDepartId());
             comDepart = departmentExtService.getModelById(c.getCompanyId(),cu.getComDepartId());
             depart = departmentExtService.getModelById(c.getCompanyId(),cu.getDepartmentId());

--
Gitblit v1.9.3