commit
This commit is contained in:
+2
-2
@@ -56,7 +56,7 @@ public class TeacherCongressDelegateServiceImpl extends BaseServiceImpl<Teacher_
|
|||||||
@Override
|
@Override
|
||||||
public Pagination<Teacher_congress_delegate> pageData(TeacherCongressDelegateManagePageParam pageForm) {
|
public Pagination<Teacher_congress_delegate> pageData(TeacherCongressDelegateManagePageParam pageForm) {
|
||||||
Cnd cnd = buildCondition(pageForm, "");
|
Cnd cnd = buildCondition(pageForm, "");
|
||||||
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_TC_ADMIN.name())) {
|
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_ADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_TC_ADMIN.name())) {
|
||||||
cnd.and("delegationId", "in", proposalCommonService.getSelfManageDelegationIds());
|
cnd.and("delegationId", "in", proposalCommonService.getSelfManageDelegationIds());
|
||||||
}
|
}
|
||||||
cnd.asc("id");
|
cnd.asc("id");
|
||||||
@@ -88,7 +88,7 @@ public class TeacherCongressDelegateServiceImpl extends BaseServiceImpl<Teacher_
|
|||||||
$condition
|
$condition
|
||||||
""");
|
""");
|
||||||
Cnd cnd = buildCondition(pageForm, "t1.");
|
Cnd cnd = buildCondition(pageForm, "t1.");
|
||||||
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_TC_ADMIN.name())) {
|
if (!AuthUtil.hasRole(RoleConstant.SYSADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_ADMIN.name()) && !AuthUtil.hasRole(RoleConstant.SCHOOL_UNION_TC_ADMIN.name())) {
|
||||||
cnd.and("t1.delegationId", "in", proposalCommonService.getSelfManageDelegationIds());
|
cnd.and("t1.delegationId", "in", proposalCommonService.getSelfManageDelegationIds());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user