|
|
@ -2,6 +2,7 @@ package com.hyp.web.controller.manager;
|
|
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
|
import cn.hutool.core.convert.Convert;
|
|
|
|
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.core.domain.model.LoginUser;
|
|
|
|
import com.hyp.common.enums.ApplyStatusEnum;
|
|
|
|
import com.hyp.common.enums.ApplyStatusEnum;
|
|
|
|
import com.hyp.common.exception.ServiceException;
|
|
|
|
import com.hyp.common.exception.ServiceException;
|
|
|
@ -60,6 +61,9 @@ public class ApplyInfoListManager {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<ApplyInfoListVO> selectApplyInfoList(ApplyInfoListDTO applyInfoListDTO){
|
|
|
|
public List<ApplyInfoListVO> selectApplyInfoList(ApplyInfoListDTO applyInfoListDTO){
|
|
|
|
|
|
|
|
if (!SysUser.isAdmin(SecurityUtils.getUserId())){
|
|
|
|
|
|
|
|
applyInfoListDTO.setCreateId(SecurityUtils.getUserId());
|
|
|
|
|
|
|
|
}
|
|
|
|
return applyInfoListService.selectApplyInfoList(applyInfoListDTO);
|
|
|
|
return applyInfoListService.selectApplyInfoList(applyInfoListDTO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|