使用数组接收参数即可
/**
* 业务对象定义设置
*
* @return Result
*/
@PreAuth
@Log(value = "业务对象定义设置" , exception = "业务对象定义设置请求异常" )
@PostMapping("/set" )
@ApiOperation(value = "业务对象定义设置" , notes = "业务对象定义设置,支持新增或修改1" )
public Result<?> set(@RequestBody GiBoDefVO [] boDefs,String saveType) {
return Result.condition(giBoDefService.saveOrUpdate(boDefs,saveType));
}