From 80662b34fe93b4ede00c7fc03fbd9f01355c94e2 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 07 四月 2025 13:52:17 +0800 Subject: [PATCH] 修改任务接口 --- business/src/main/java/com/ycl/service/ProjectInfoService.java | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/business/src/main/java/com/ycl/service/ProjectInfoService.java b/business/src/main/java/com/ycl/service/ProjectInfoService.java index fea0421..b36daf1 100644 --- a/business/src/main/java/com/ycl/service/ProjectInfoService.java +++ b/business/src/main/java/com/ycl/service/ProjectInfoService.java @@ -3,10 +3,19 @@ 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; /** * 椤圭洰绠$悊鍩虹淇℃伅琛� 鏈嶅姟绫� @@ -42,7 +51,7 @@ * @param id * @return */ - Result removeById(String id); + Result removeById(Long id); /** * 鍒嗛〉鏌ヨ @@ -63,4 +72,24 @@ * @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); + + Result searchByKey(String wordKey); } -- Gitblit v1.8.0