|
@@ -109,7 +109,7 @@ public class ContractInventoryFormController extends BladeController {
|
|
|
*/
|
|
|
@PostMapping("/add")
|
|
|
@ApiOperationSupport(order = 4)
|
|
|
- @ApiOperation(value = "新增", notes = "传入contractInventoryForm")
|
|
|
+ @ApiOperation(value = "新增", notes = "传入整个节点信息,普通新增isSupplement传0,增补传1")
|
|
|
public R<String> add(@Valid @RequestBody ContractInventoryForm form) {
|
|
|
contractInventoryFormService.add(form);
|
|
|
return R.success("新增成功");
|
|
@@ -143,7 +143,7 @@ public class ContractInventoryFormController extends BladeController {
|
|
|
*/
|
|
|
@GetMapping("/delete")
|
|
|
@ApiOperationSupport(order = 7)
|
|
|
- @ApiOperation(value = "删除单个节点", notes = "传入id")
|
|
|
+ @ApiOperation(value = "删除节点", notes = "传入id")
|
|
|
public R delete(@ApiParam(value = "id", required = true) @RequestParam Long id,@RequestParam Long contractId) {
|
|
|
contractInventoryFormService.delete(id,contractId);
|
|
|
return R.success("删除成功");
|