package com.ycl.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ycl.common.base.Result;
|
import com.ycl.domain.entity.ProjectInfo;
|
import com.ycl.domain.form.DocumentInfoForm;
|
import com.ycl.domain.form.ProjectForm;
|
import com.ycl.domain.form.ProjectInfoForm;
|
import com.ycl.domain.query.ProjectExportQuery;
|
import com.ycl.domain.query.ProjectInfoQuery;
|
import com.ycl.domain.vo.IndexCountVO;
|
import com.ycl.domain.vo.IndexDTO;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import javax.servlet.http.HttpServletResponse;
|
import java.io.IOException;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 项目管理基础信息表 服务类
|
*
|
* @author flq
|
* @since 2024-11-22
|
*/
|
public interface ProjectInfoService extends IService<ProjectInfo> {
|
|
/**
|
* 添加
|
* @param form
|
* @return
|
*/
|
Result add(ProjectInfoForm form);
|
|
/**
|
* 修改
|
* @param form
|
* @return
|
*/
|
Result update(ProjectInfoForm form);
|
|
/**
|
* 批量删除
|
* @param ids
|
* @return
|
*/
|
Result remove(List<String> ids);
|
|
/**
|
* id删除
|
* @param id
|
* @return
|
*/
|
Result removeById(Long id);
|
|
/**
|
* 分页查询
|
* @param query
|
* @return
|
*/
|
Result page(ProjectInfoQuery query);
|
|
/**
|
* 根据id查找
|
* @param id
|
* @return
|
*/
|
Result detail(Integer id);
|
|
/**
|
* 列表
|
* @return
|
*/
|
Result all();
|
|
IndexCountVO getIndexCount(IndexDTO indexDTO);
|
|
Map<String,Integer> countExceptionProject(IndexDTO indexDTO);
|
|
Result docDetail(Integer id);
|
|
Result addDoc(DocumentInfoForm form);
|
|
Result getManagerFlag(Integer recordId);
|
|
void export(HttpServletResponse response, ProjectExportQuery query) throws IOException;
|
|
Result updateUsedStatus(Integer id, Integer usedStatus);
|
|
void importProject(MultipartFile file);
|
|
Result editProject(ProjectForm form);
|
}
|