diff --git a/src/com/engine/organization/mapper/hrmresource/SystemDataMapper.xml b/src/com/engine/organization/mapper/hrmresource/SystemDataMapper.xml
index f26bb174..09a8e63d 100644
--- a/src/com/engine/organization/mapper/hrmresource/SystemDataMapper.xml
+++ b/src/com/engine/organization/mapper/hrmresource/SystemDataMapper.xml
@@ -133,6 +133,7 @@
FROM cus_formfield t1,
cus_formdict t2
WHERE t1.fieldid = t2.id
+ AND t1.isuse = 1
AND t1.scope = 'HrmCustomFieldByInfoType'
AND t1.scopeid = #{scopeId}
UNION ALL
diff --git a/src/com/engine/organization/mapper/resource/JclOrgCustomTemplateMapper.xml b/src/com/engine/organization/mapper/resource/JclOrgCustomTemplateMapper.xml
index 432e2ba2..bfd7213d 100644
--- a/src/com/engine/organization/mapper/resource/JclOrgCustomTemplateMapper.xml
+++ b/src/com/engine/organization/mapper/resource/JclOrgCustomTemplateMapper.xml
@@ -32,7 +32,7 @@
diff --git a/src/com/engine/organization/service/HrmResourceService.java b/src/com/engine/organization/service/HrmResourceService.java
index 6cc1178f..17aff125 100644
--- a/src/com/engine/organization/service/HrmResourceService.java
+++ b/src/com/engine/organization/service/HrmResourceService.java
@@ -133,7 +133,7 @@ public interface HrmResourceService {
* @param params
* @return
*/
- Integer saveCustomTemplate(SearchTemplateParam params);
+ Map saveCustomTemplate(SearchTemplateParam params);
/**
* 批量修改保存定制列模板
diff --git a/src/com/engine/organization/service/impl/HrmResourceServiceImpl.java b/src/com/engine/organization/service/impl/HrmResourceServiceImpl.java
index 532e2ba2..128e0f1d 100644
--- a/src/com/engine/organization/service/impl/HrmResourceServiceImpl.java
+++ b/src/com/engine/organization/service/impl/HrmResourceServiceImpl.java
@@ -344,24 +344,20 @@ public class HrmResourceServiceImpl extends Service implements HrmResourceServic
templates.add(0, SearchTemplateParam.builder().key("-1").showname("默认模板").build());
}
- //1.增加全局模板
- if (userUID != 1) {
- templates.addAll(getHrmResourceMapper().getCustomOverAll());
- }
LinkedHashSet