| | |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.omd.vo.LifeCycleVO; |
| | | import com.vci.ubcs.omd.wrapper.LifeCycleRuleWrapper; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.BladeQueryObject; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增或修改 |
| | | * 新增 |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "新增或修改",notes = "传入生命周期页面对象") |
| | | public R<LifeCycleVO> submit(@RequestBody LifeCycleDTO lifeCycleDTO){ |
| | | @ApiOperation(value = "新增",notes = "传入生命周期页面对象") |
| | | public R<LifeCycleVO> addSave(@RequestBody LifeCycleDTO lifeCycleDTO){ |
| | | return R.data(lifeCycleService.addSave(lifeCycleDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 新增或修改 |
| | | * 修改 |
| | | */ |
| | | @PutMapping("/edit-save") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "修改",notes = "传入生命周期页面对象") |
| | | public R<LifeCycleVO> editSave(@RequestBody LifeCycleDTO lifeCycleDTO){ |
| | | return R.data(lifeCycleService.editSave(lifeCycleDTO)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | @PostMapping("/batch-submit") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "新增或修改",notes = "传入状态池页面对象") |
| | | public R<List<LifeCycleVO>> batchSubmit(@RequestBody List<LifeCycleDTO> lifeCycleDTOs){ |
| | | @ApiOperation(value = "新增或修改",notes = "传入生命周期页面对象") |
| | | public R<List<LifeCycleVO>> batchAddSave(@RequestBody List<LifeCycleDTO> lifeCycleDTOs){ |
| | | return R.data(lifeCycleService.batchAddSave(lifeCycleDTOs)); |
| | | } |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | @PostMapping("/batch-edit-save") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "修改",notes = "传入生命周期页面对象") |
| | | public R<List<LifeCycleVO>> batchEditSave(@RequestBody List<LifeCycleDTO> lifeCycleDTOs){ |
| | | return R.data(lifeCycleService.batchEditSave(lifeCycleDTOs)); |
| | | } |
| | | |
| | | /** |
| | | * 删除 |
| | | */ |
| | | @PostMapping("/remove") |