diff --git a/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java b/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java index 1bab9bc..a060aac 100644 --- a/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java +++ b/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java @@ -2,6 +2,7 @@ package com.hyp.web.controller.manager; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.convert.Convert; +import com.hyp.common.core.domain.entity.SysUser; import com.hyp.common.core.domain.model.LoginUser; import com.hyp.common.enums.ApplyStatusEnum; import com.hyp.common.exception.ServiceException; @@ -60,6 +61,9 @@ public class ApplyInfoListManager { public List selectApplyInfoList(ApplyInfoListDTO applyInfoListDTO){ + if (!SysUser.isAdmin(SecurityUtils.getUserId())){ + applyInfoListDTO.setCreateId(SecurityUtils.getUserId()); + } return applyInfoListService.selectApplyInfoList(applyInfoListDTO); }