| | |
| | | @SysLog() |
| | | @ApiOperation(value = "更新多条数据") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "DepEntity", value = "主键ID集合", dataType = "DepEntity", paramType = "body", example = "") |
| | | @ApiImplicitParam(name = "list", value = "实体类集合", dataType = "DepEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDeps", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDeps(@RequestBody List<DepEntity> depEntity) { |
| | | public ResponseMsg<Integer> updateDeps(@RequestBody List<DepEntity> list) { |
| | | try { |
| | | int count = depService.updateDeps(depEntity); |
| | | int count = depService.updateDeps(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |