@Log(message="批量删除了id={0}数据字典。")
@RequiresPermissions("Dictionary:delete")
@RequestMapping(value="/delete", method=RequestMethod.POST)
public @ResponseBody String deleteMany(Long[] ids) {
for (int i = 0; i < ids.length; i++) {
Dictionary dictionary = dictionaryService.get(ids[i]);
dictionaryService.delete(dictionary.getId());
}
LogUitls.putArgs(LogMessageObject.newWrite().setObjects(new Object[]{Arrays.toString(ids)}));
return AjaxObject.newOk("数据字典删除成功!").setCallbackType("").toString();
}