|
@ -47,7 +47,7 @@ public class DcEventProcessController extends BaseController |
|
|
* 查询事件处理流程列表 |
|
|
* 查询事件处理流程列表 |
|
|
*/ |
|
|
*/ |
|
|
@ApiOperation("查询事件处理流程列表") |
|
|
@ApiOperation("查询事件处理流程列表") |
|
|
@PreAuthorize("@ss.hasPermi('system:process:list')") |
|
|
// @PreAuthorize("@ss.hasPermi('system:process:list')")
|
|
|
@GetMapping("/list") |
|
|
@GetMapping("/list") |
|
|
public TableDataInfo list(DcEventProcess dcEventProcess) |
|
|
public TableDataInfo list(DcEventProcess dcEventProcess) |
|
|
{ |
|
|
{ |
|
@ -62,7 +62,7 @@ public class DcEventProcessController extends BaseController |
|
|
* 导出事件处理流程列表 |
|
|
* 导出事件处理流程列表 |
|
|
*/ |
|
|
*/ |
|
|
@ApiOperation("导出事件处理流程列表") |
|
|
@ApiOperation("导出事件处理流程列表") |
|
|
@PreAuthorize("@ss.hasPermi('system:process:export')") |
|
|
// @PreAuthorize("@ss.hasPermi('system:process:export')")
|
|
|
@Log(title = "事件处理流程", businessType = BusinessType.EXPORT) |
|
|
@Log(title = "事件处理流程", businessType = BusinessType.EXPORT) |
|
|
@PostMapping("/export") |
|
|
@PostMapping("/export") |
|
|
public void export(HttpServletResponse response, DcEventProcess dcEventProcess) |
|
|
public void export(HttpServletResponse response, DcEventProcess dcEventProcess) |
|
@ -76,7 +76,7 @@ public class DcEventProcessController extends BaseController |
|
|
* 获取事件处理流程详细信息 |
|
|
* 获取事件处理流程详细信息 |
|
|
*/ |
|
|
*/ |
|
|
@ApiOperation("获取事件处理流程详细信息") |
|
|
@ApiOperation("获取事件处理流程详细信息") |
|
|
@PreAuthorize("@ss.hasPermi('system:process:query')") |
|
|
// @PreAuthorize("@ss.hasPermi('system:process:query')")
|
|
|
@GetMapping(value = "/{id}") |
|
|
@GetMapping(value = "/{id}") |
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) |
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) |
|
|
{ |
|
|
{ |
|
@ -87,7 +87,7 @@ public class DcEventProcessController extends BaseController |
|
|
* 新增事件处理流程 |
|
|
* 新增事件处理流程 |
|
|
*/ |
|
|
*/ |
|
|
@ApiOperation("新增事件处理流程") |
|
|
@ApiOperation("新增事件处理流程") |
|
|
@PreAuthorize("@ss.hasPermi('system:process:add')") |
|
|
// @PreAuthorize("@ss.hasPermi('system:process:add')")
|
|
|
@Log(title = "事件处理流程", businessType = BusinessType.INSERT) |
|
|
@Log(title = "事件处理流程", businessType = BusinessType.INSERT) |
|
|
@PostMapping |
|
|
@PostMapping |
|
|
public AjaxResult add(@RequestBody DcEventProcess dcEventProcess) throws IOException, InvalidExtensionException { |
|
|
public AjaxResult add(@RequestBody DcEventProcess dcEventProcess) throws IOException, InvalidExtensionException { |
|
@ -103,7 +103,7 @@ public class DcEventProcessController extends BaseController |
|
|
* 修改事件处理流程 |
|
|
* 修改事件处理流程 |
|
|
*/ |
|
|
*/ |
|
|
@ApiOperation("修改事件处理流程") |
|
|
@ApiOperation("修改事件处理流程") |
|
|
@PreAuthorize("@ss.hasPermi('system:process:edit')") |
|
|
// @PreAuthorize("@ss.hasPermi('system:process:edit')")
|
|
|
@Log(title = "事件处理流程", businessType = BusinessType.UPDATE) |
|
|
@Log(title = "事件处理流程", businessType = BusinessType.UPDATE) |
|
|
@PutMapping |
|
|
@PutMapping |
|
|
public AjaxResult edit(@RequestBody DcEventProcess dcEventProcess) |
|
|
public AjaxResult edit(@RequestBody DcEventProcess dcEventProcess) |
|
@ -115,7 +115,7 @@ public class DcEventProcessController extends BaseController |
|
|
* 删除事件处理流程 |
|
|
* 删除事件处理流程 |
|
|
*/ |
|
|
*/ |
|
|
@ApiOperation("删除事件处理流程") |
|
|
@ApiOperation("删除事件处理流程") |
|
|
@PreAuthorize("@ss.hasPermi('system:process:remove')") |
|
|
// @PreAuthorize("@ss.hasPermi('system:process:remove')")
|
|
|
@Log(title = "事件处理流程", businessType = BusinessType.DELETE) |
|
|
@Log(title = "事件处理流程", businessType = BusinessType.DELETE) |
|
|
@DeleteMapping("/{ids}") |
|
|
@DeleteMapping("/{ids}") |
|
|
public AjaxResult remove(@PathVariable Long[] ids) |
|
|
public AjaxResult remove(@PathVariable Long[] ids) |
|
|