commit
This commit is contained in:
+1
-2
@@ -53,7 +53,7 @@ public class SiteRecordController {
|
||||
|
||||
@At
|
||||
@ApiOperation("分页查询")
|
||||
@SaCheckPermission("site.mine")
|
||||
@SaCheckPermission("site.record")
|
||||
public Result pageData(PageForm pageForm,
|
||||
@Param("year") Integer year,
|
||||
@Param("siteType") String siteType,
|
||||
@@ -90,7 +90,6 @@ public class SiteRecordController {
|
||||
cnd.andEX("year(info.applyDay)", "=", year);
|
||||
cnd.andEX("si.typeId", "=", siteType);
|
||||
cnd.andEX("info.siteId", "=", siteId);
|
||||
cnd.and("info.createdBy", "=", SecurityUtil.getUserId());
|
||||
|
||||
if (!AuthUtil.hasRoleOr(RoleConstant.SYSADMIN.name(), RoleConstant.SCHOOL_UNION_ADMIN.name())) {
|
||||
cnd.and("info.applyUnionId", "=", SecurityUtil.getUnionId());
|
||||
|
||||
Reference in New Issue
Block a user