|
@@ -5,9 +5,7 @@ import com.boman.domain.constant.ServiceNameConstants;
|
|
import com.boman.domain.dto.AjaxResult;
|
|
import com.boman.domain.dto.AjaxResult;
|
|
import com.boman.domain.dto.TaskDto;
|
|
import com.boman.domain.dto.TaskDto;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author zhong.hui
|
|
* @author zhong.hui
|
|
@@ -34,6 +32,22 @@ public interface RemoteJflowTaskService {
|
|
@PostMapping("/jflow/p/cs/task/backlog/list")
|
|
@PostMapping("/jflow/p/cs/task/backlog/list")
|
|
AjaxResult pendingTaskSearch(@RequestBody TaskDto taskDto);
|
|
AjaxResult pendingTaskSearch(@RequestBody TaskDto taskDto);
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 同意申请
|
|
|
|
+ * @param taskDto
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/jflow/p/c/task/page/pass")
|
|
|
|
+ AjaxResult pagePass(@RequestBody TaskDto taskDto);
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 驳回
|
|
|
|
+ * @param taskDto
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/jflow/p/c/task/page/deny")
|
|
|
|
+ AjaxResult pageDeny(@RequestBody TaskDto taskDto);
|
|
|
|
+
|
|
@GetMapping("/jflow/p/cs/task/count")
|
|
@GetMapping("/jflow/p/cs/task/count")
|
|
JSONObject approvalStatistics(@RequestBody TaskDto taskDto);
|
|
JSONObject approvalStatistics(@RequestBody TaskDto taskDto);
|
|
}
|
|
}
|