权限管理 BUG修复

pull/65/MERGE^2
dxfeng 3 years ago
parent 6956c0847e
commit c0332d51ba

@ -267,7 +267,6 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
@Override
public Map<String, Object> getDeptBaseForm(Map<String, Object> params) {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
OrganizationAssert.notNull(params.get("viewAttr"), "请标识操作类型");
// 2编辑 1查看
@ -303,7 +302,6 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
@Override
public Map<String, Object> getSaveForm() {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
Map<String, Object> apiDatas = new HashMap<>();
List<SearchConditionGroup> addGroups = new ArrayList<>();
List<SearchConditionItem> conditionItems = new ArrayList<>();
@ -356,7 +354,6 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
*/
@Override
public List<SearchConditionGroup> getCopyForm() {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
List<SearchConditionGroup> addGroups = new ArrayList<>();
List<SearchConditionItem> condition = new ArrayList<>();
SearchConditionItem compBrowserItem = OrganizationFormItemUtil.browserItem(user, 2, 16, 3, false, "复制到", "161", "company", "compBrowser");
@ -408,7 +405,6 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
@Override
public List<SearchConditionGroup> getMergeForm(Long id) {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
List<SearchConditionGroup> addGroups = new ArrayList<>();
List<SearchConditionItem> condition = new ArrayList<>();
SearchConditionItem deptBrowserItem = OrganizationFormItemUtil.browserItem(user, 2, 16, 3, false, "合并到部门", "161", "department", "deptBrowser");
@ -448,7 +444,6 @@ public class DepartmentServiceImpl extends Service implements DepartmentService
@Override
public List<SearchConditionGroup> getMoveForm() {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
List<SearchConditionGroup> addGroups = new ArrayList<>();
List<SearchConditionItem> condition = new ArrayList<>();
SearchConditionItem compBrowserItem = OrganizationFormItemUtil.browserItem(user, 2, 16, 2, false, "请选择公司/分部", "161", "company", "compBrowser");

@ -251,7 +251,6 @@ public class JobServiceImpl extends Service implements JobService {
@Override
public Map<String, Object> getSaveForm() {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
Map<String, Object> apiDatas = new HashMap<>();
List<SearchConditionGroup> addGroups = new ArrayList<>();
List<SearchConditionItem> conditionItems = new ArrayList<>();
@ -302,7 +301,6 @@ public class JobServiceImpl extends Service implements JobService {
@Override
public Map<String, Object> getJobBaseForm(Map<String, Object> params) {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
OrganizationAssert.notNull(params.get("viewAttr"), "请标识操作类型");
// 2编辑 1查看
@ -441,7 +439,6 @@ public class JobServiceImpl extends Service implements JobService {
@Override
public Map<String, Object> getHrmListByJobId(Long jobId) {
HasRightUtil.hasRight(user, RIGHT_NAME, false);
OrganizationWeaTable<EmployeeTableVO> table = new OrganizationWeaTable<>(user, EmployeeTableVO.class);
WeaResultMsg result = new WeaResultMsg(false);
result.putAll(table.makeDataResult());

Loading…
Cancel
Save