|
@@ -197,9 +197,9 @@ public class DeviceCreateIdsServiceImpl extends ServiceImpl<DeviceCreateIdsMappe
|
|
|
return R.ok();
|
|
|
}
|
|
|
|
|
|
- @PostMapping("updateBatch")
|
|
|
+ @Override
|
|
|
@ApiOperation("批量修改")
|
|
|
- public R updateBatch(@RequestBody @Validated DeviceCreateIdsDto.UpdateBatch updateBatch) {
|
|
|
+ public R updateBatch(DeviceCreateIdsDto.UpdateBatch updateBatch) {
|
|
|
List<Long> deviceIds = updateBatch.getDeviceIds();
|
|
|
List<DeviceCreateIds> deviceCreateIdss = new ArrayList<>(deviceIds.size());
|
|
|
deviceIds.forEach(deviceId -> {
|