|
@ -24,10 +24,10 @@ public class FlwLabelController { |
|
|
private final FlwLabelService flwDepartService; |
|
|
private final FlwLabelService flwDepartService; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 查询流程部门关系 |
|
|
* 查询流程标签关系 |
|
|
* flowCode |
|
|
* flowCode |
|
|
*/ |
|
|
*/ |
|
|
@Operation(summary = "查询流程部门关系",description = "查询流程部门关系") |
|
|
@Operation(summary = "查询流程标签关系",description = "查询流程标签关系") |
|
|
@GetMapping("/{flowCode}/getInfo") |
|
|
@GetMapping("/{flowCode}/getInfo") |
|
|
public R<FlowLabel> getInfo(@PathVariable String flowCode) { |
|
|
public R<FlowLabel> getInfo(@PathVariable String flowCode) { |
|
|
return R.ok(flwDepartService.getInfo(flowCode)); |
|
|
return R.ok(flwDepartService.getInfo(flowCode)); |
|
@ -35,10 +35,10 @@ public class FlwLabelController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 绑定流程部门关系 |
|
|
* 绑定流程标签关系 |
|
|
* flowCode |
|
|
* flowCode |
|
|
*/ |
|
|
*/ |
|
|
@Operation(summary = "绑定流程部门关系",description = "绑定流程部门关系") |
|
|
@Operation(summary = "绑定流程标签关系",description = "绑定流程标签关系") |
|
|
@PostMapping("/bind/label") |
|
|
@PostMapping("/bind/label") |
|
|
public R<FlowLabel> bindLabel(@Validated({AddGroup.class}) @RequestBody FlowLabel flowLabel) { |
|
|
public R<FlowLabel> bindLabel(@Validated({AddGroup.class}) @RequestBody FlowLabel flowLabel) { |
|
|
return R.ok(flwDepartService.bindLabel(flowLabel)); |
|
|
return R.ok(flwDepartService.bindLabel(flowLabel)); |
|
|