package com.gkhy.assess.system.service;
|
|
import com.gkhy.assess.system.domain.SysAttach;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 系统配置表 服务类
|
* </p>
|
*
|
* @author kzy
|
* @since 2023-11-24 17:08:49
|
*/
|
public interface SysAttachService extends IService<SysAttach> {
|
|
/**
|
* 根据用户id获取附件
|
* @param userId
|
* @return
|
*/
|
List<SysAttach> getAttachsByUserId(Long userId,Integer type);
|
|
/**
|
* 根据用户id删除附件
|
* @param userId
|
* @param type
|
* @return
|
*/
|
int deleteAttachsByUserId(Long userId,Integer type);
|
|
/**
|
* 批量删除附件
|
* @param ids
|
* @return
|
*/
|
int deleteAttachsByIds(List<Long> ids);
|
|
|
}
|