From 30481003d9c1b191765fe0f47ad0e1558bd64de8 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期二, 01 四月 2025 17:21:45 +0800 Subject: [PATCH] 获取赋码规则新增文件 --- business/src/main/java/com/ycl/service/ProjectProcessService.java | 129 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 125 insertions(+), 4 deletions(-) diff --git a/business/src/main/java/com/ycl/service/ProjectProcessService.java b/business/src/main/java/com/ycl/service/ProjectProcessService.java index e200d09..31b41fb 100644 --- a/business/src/main/java/com/ycl/service/ProjectProcessService.java +++ b/business/src/main/java/com/ycl/service/ProjectProcessService.java @@ -1,10 +1,16 @@ package com.ycl.service; +import com.ycl.common.core.domain.R; import com.ycl.domain.entity.ProjectProcess; import com.baomidou.mybatisplus.extension.service.IService; import com.ycl.common.base.Result; -import com.ycl.domain.form.ProjectProcessForm; +import com.ycl.domain.form.*; import com.ycl.domain.query.ProjectProcessQuery; +import com.ycl.domain.query.TaskQuery; +import com.ycl.domain.vo.CustomerTaskVO; +import com.ycl.domain.vo.IndexMsgCountVO; +import com.ycl.system.domain.base.AbsQuery; + import java.util.List; /** @@ -23,11 +29,11 @@ Result page(ProjectProcessQuery query); /** - * 鏍规嵁id鏌ユ壘 - * @param id + * 鏍规嵁椤圭洰id鏌ユ壘 + * @param form * @return */ - Result detail(Integer id); + Result detail(ProjectProcessForm form); /** * 椤圭洰璁剧疆娴佺▼ @@ -36,4 +42,119 @@ * @return */ Result projectSetProcess(ProjectProcessForm form); + + /** + * 鍚姩娴佺▼ + * + * @param form + * @return + */ + Result startProcess(ProjectProcessForm form); + + /** + * 鏌ヨ浠诲姟鍒楄〃 + * + * @param query + * @return + */ + Result taskList(TaskQuery query); + + /** + * 鑾峰彇鎵�鏈夌殑寰呭姙浠诲姟 + * + * @param taskName + * @param pageSize + * @param pageNum + * @param result + */ + void getAllTodoTask(String taskName, int pageSize, int pageNum, Result result); + + /** + * 棣栭〉--鑾峰彇鍒嗛〉鏌ヨ寰呭姙浠诲姟 + * + * @param taskName + * @param pageSize + * @param pageNum + * @param result + */ + void getIndexTodoTask(String taskName, int pageSize, int pageNum, Result result); + + Result detailByProcessInsId(TaskQuery query); + + /** + * 鏌ヨ鏄惁鏄鎵逛换鍔� + * + * @param processDefinitionId 娴佺▼瀹氫箟id + * @param processDefinitionId 浠诲姟id + * @return + */ + Result taskIsAuditing(String processDefinitionId, String taskId); + + /** + * 浠诲姟杞姙 + * + * @param form + * @return + */ + Result taskDelegation(TaskDelegationForm form); + + /** + * 璺宠繃浠诲姟 + * + * @param form + * @return + */ + Result taskJump(TaskJumpForm form); + + /** + * 瀹圭己浠诲姟 + * + * @param form + * @return + */ + Result taskWait(TaskWaitForm form); + + /** + * 鐫e姙浠诲姟 + * + * @param form + * @return + */ + Result taskSupervise(TaskSuperviseForm form); + + /** + * 鎸傝捣浠诲姟 + * + * @param form + * @return + */ + Result taskHangup(TaskHangupForm form); + + /** + * 鍙栨秷鎸傝捣浠诲姟 + * + * @param form + * @return + */ + Result cancelTaskHangup(TaskHangupForm form); + + /** + * 浠诲姟鍙戣捣鍗忓悓鍔炵悊 + * + * @param form + * @return + */ + Result taskTeamwork(TaskTeamWorkForm form); + + Result getProcessMsg(AbsQuery query); + + /** + * 鑾峰彇棣栭〉瀹圭己浠诲姟 + * + * @param s + * @param pageSize + * @param currentPage + * @param result + */ + void getIndexWaitTask(String s, int pageSize, int currentPage, Result result); } -- Gitblit v1.8.0