package com.gkhy.assess.system.mapper;
|
|
import com.gkhy.assess.system.domain.AssProjectMaterial;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Mapper;
|
import java.util.List;
|
|
/**
|
* <p>
|
* 项目归档文件表 Mapper 接口
|
* </p>
|
*
|
* @author kzy
|
* @since 2023-12-12 10:46:54
|
*/
|
@Mapper
|
public interface AssProjectMaterialMapper extends BaseMapper<AssProjectMaterial> {
|
/**
|
* 根据项目id获取项目归档数量
|
* @param projectId
|
* @return
|
*/
|
int getCountByProjectId(Long projectId);
|
|
/**
|
* 根据项目id获取项目归档
|
* @param projectId
|
* @return
|
*/
|
List<AssProjectMaterial> getProjectMaterialByProjectId(Long projectId);
|
|
/**
|
* 根据id或许项目归档
|
* @param projectMaterialId
|
* @return
|
*/
|
AssProjectMaterial getProjectMaterialById(Long projectMaterialId);
|
|
}
|