This commit is contained in:
77
2024-03-31 19:30:36 +08:00
parent 936338e4b8
commit beee0998d9
11 changed files with 103 additions and 38 deletions

View File

@@ -144,6 +144,9 @@ public class DynamicController extends BaseController {
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable Long[] ids) {
return toAjax(dynamicService.removeBatchByIds(Arrays.asList(ids)));
for (Long id : ids) {
dynamicService.deleteDynamicAdmin(id);
}
return R.ok();
}
}