fix:添加用户id

dev
wangxy 12 months ago
parent 16a5068fa3
commit 1bf4568242

@ -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<ApplyInfoListVO> selectApplyInfoList(ApplyInfoListDTO applyInfoListDTO){
if (!SysUser.isAdmin(SecurityUtils.getUserId())){
applyInfoListDTO.setCreateId(SecurityUtils.getUserId());
}
return applyInfoListService.selectApplyInfoList(applyInfoListDTO);
}

Loading…
Cancel
Save