BUG修复
This commit is contained in:
parent
9f1e83a5f5
commit
e3207f2996
|
|
@ -70,8 +70,8 @@ public class ImportCommonServiceImpl extends Service implements ImportCommonServ
|
|||
* extend_group
|
||||
*/
|
||||
private static final Long COMPANY_TYPE = 1L;
|
||||
private static final Long DEPARTMENT_TYPE = 1L;
|
||||
private static final Long JOB_TYPE = 1L;
|
||||
private static final Long DEPARTMENT_TYPE = 2L;
|
||||
private static final Long JOB_TYPE = 3L;
|
||||
|
||||
|
||||
private ExtendInfoMapper getExtendInfoMapper() {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public class HasRightUtil {
|
|||
* @return
|
||||
*/
|
||||
public static boolean hasRight(User user, String rightName, boolean isReturnFalse) {
|
||||
boolean hasRight = HrmUserVarify.checkUserRight("Scheme:All", user);
|
||||
boolean hasRight = HrmUserVarify.checkUserRight(rightName, user);
|
||||
if (!isReturnFalse) {
|
||||
OrganizationAssert.isTrue(hasRight, "暂无权限访问");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue