|
@@ -1,12 +1,9 @@
|
|
|
package com.ruoyi.execution.produce.dispersed.controller;
|
|
|
|
|
|
-import java.util.List;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import com.ruoyi.execution.produce.dispersed.runbpm.RunImplementationClass;
|
|
|
-import com.ruoyi.execution.produce.dispersed.enetity.runbpm.IntoProduction;
|
|
|
import com.ruoyi.system.entity.CommonEntity;
|
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -22,7 +19,6 @@ import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
import com.ruoyi.common.enums.BusinessType;
|
|
|
import com.ruoyi.execution.produce.dispersed.enetity.BpmExecuteProcess;
|
|
|
import com.ruoyi.execution.produce.dispersed.service.IBpmExecuteProcessService;
|
|
|
-import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
|
|
/**
|
|
@@ -42,7 +38,7 @@ public class BpmExecuteProcessController extends BaseController {
|
|
|
/**
|
|
|
* 查询流程执行任务列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:process:list')")
|
|
|
+ // @PreAuthorize("@ss.hasPermi('system:process:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(BpmExecuteProcess bpmExecuteProcess) {
|
|
|
startPage();
|
|
@@ -52,7 +48,7 @@ public class BpmExecuteProcessController extends BaseController {
|
|
|
/**
|
|
|
* 导出流程执行任务列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:process:export')")
|
|
|
+ // @PreAuthorize("@ss.hasPermi('system:process:export')")
|
|
|
@Log(title = "流程执行任务", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, BpmExecuteProcess bpmExecuteProcess) {
|
|
@@ -64,7 +60,7 @@ public class BpmExecuteProcessController extends BaseController {
|
|
|
/**
|
|
|
* 获取流程执行任务详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:process:query')")
|
|
|
+ // @PreAuthorize("@ss.hasPermi('system:process:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
return success(bpmExecuteProcessService.selectBpmExecuteProcessById(id));
|
|
@@ -73,7 +69,7 @@ public class BpmExecuteProcessController extends BaseController {
|
|
|
/**
|
|
|
* 新增流程执行任务
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:process:add')")
|
|
|
+ // @PreAuthorize("@ss.hasPermi('system:process:add')")
|
|
|
@Log(title = "流程执行任务", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody BpmExecuteProcess bpmExecuteProcess) {
|
|
@@ -83,7 +79,7 @@ public class BpmExecuteProcessController extends BaseController {
|
|
|
/**
|
|
|
* 修改流程执行任务
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:process:edit')")
|
|
|
+ // @PreAuthorize("@ss.hasPermi('system:process:edit')")
|
|
|
@Log(title = "流程执行任务", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody BpmExecuteProcess bpmExecuteProcess) {
|
|
@@ -93,7 +89,7 @@ public class BpmExecuteProcessController extends BaseController {
|
|
|
/**
|
|
|
* 删除流程执行任务
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:process:remove')")
|
|
|
+ // @PreAuthorize("@ss.hasPermi('system:process:remove')")
|
|
|
@Log(title = "流程执行任务", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids) {
|