package com.whyc.controller;
|
|
import com.whyc.dto.Response;
|
import com.whyc.dto.WorkflowPropertyDTO;
|
import com.whyc.service.WorkflowPropertyService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
import org.springframework.web.bind.annotation.*;
|
|
import java.util.List;
|
|
@RestController
|
@RequestMapping("workflowProperty")
|
@Api(tags = "工作流属性")
|
public class WorkflowPropertyController {
|
|
@Autowired
|
private WorkflowPropertyService service;
|
|
@PostMapping
|
@ApiOperation(value = "新增")
|
public Response add(@RequestBody List<WorkflowPropertyDTO> propertyList){
|
return null;
|
}
|
|
@PutMapping
|
@ApiOperation(value = "修改")
|
public Response update(){
|
return null;
|
}
|
|
@DeleteMapping
|
@ApiOperation(value = "删除")
|
public Response delete(){
|
return null;
|
}
|
|
@GetMapping("linkInfo")
|
@ApiOperation(value = "查询节点信息")
|
public Response getLinkInfo(@RequestParam Integer type){
|
return null;
|
}
|
|
@GetMapping("roleInfo")
|
@ApiOperation(value = "查询角色信息")
|
public Response getLinkInfo(@RequestParam Integer type,@RequestParam Integer linkId){
|
return null;
|
}
|
|
|
|
|
|
}
|