设备退运工作流程完成
This commit is contained in:
@@ -127,7 +127,7 @@ public class BpmModelController extends BaseController {
|
||||
@PostMapping("/update")
|
||||
@ApiOperation("修改模型")
|
||||
@ApiImplicitParam(name = "updateParam", value = "流程分类数据", required = true)
|
||||
public HttpResult<Object> update( @Validated @RequestBody BpmModelParam.BpmModelUpdateParam updateParam) {
|
||||
public HttpResult<Object> update(@Validated @RequestBody BpmModelParam.BpmModelUpdateParam updateParam) {
|
||||
String methodDescribe = getMethodDescribe("update");
|
||||
modelService.updateModel(updateParam);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
|
||||
@@ -153,7 +153,8 @@ public class BpmModelController extends BaseController {
|
||||
modelService.deployModel(id);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
|
||||
}
|
||||
//
|
||||
|
||||
//
|
||||
// @PutMapping("/update-state")
|
||||
// @Operation(summary = "修改模型的状态", description = "实际更新的部署的流程定义的状态")
|
||||
// @PreAuthorize("@ss.hasPermission('bpm:model:update')")
|
||||
@@ -162,13 +163,13 @@ public class BpmModelController extends BaseController {
|
||||
// return success(true);
|
||||
// }
|
||||
//
|
||||
// @DeleteMapping("/delete")
|
||||
// @Operation(summary = "删除模型")
|
||||
// @Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||
// @PreAuthorize("@ss.hasPermission('bpm:model:delete')")
|
||||
// public CommonResult<Boolean> deleteModel(@RequestParam("id") String id) {
|
||||
// modelService.deleteModel(id);
|
||||
// return success(true);
|
||||
// }
|
||||
@GetMapping("/delete")
|
||||
@Operation(summary = "删除模型")
|
||||
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||
public HttpResult<Boolean> deleteModel(String id) {
|
||||
String methodDescribe = getMethodDescribe("deleteModel");
|
||||
modelService.deleteModel(id);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user