Object List批量删除增加提示信息

This commit is contained in:
zhangwenqing
2019-06-25 17:47:47 +08:00
parent ca17b49bf8
commit 8fb4f6e5b5
12 changed files with 327 additions and 35 deletions

View File

@@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
@@ -142,7 +143,14 @@ public class IpCommGroupController extends BaseController {
return "redirect:" + adminPath + "/basics/ip/list?functionId=" + functionId;
}
// 批量删除前获取提示信息
@ResponseBody
@RequestMapping(value="ajaxCheckIsLastOneCfgBatch",method=RequestMethod.POST)
public List<Integer> ajaxCheckIsLastOneCfgBatch(Model model, IpCommCfg searchCfg){
return ipCommGroupCfgService.ajaxCheckIsLastOneCfgBatch(searchCfg);
}
// 数据导出
@RequestMapping(value = "/exportIpComm")
public void exportIpCommonCfg(Model model, @ModelAttribute("cfg") IpCommCfg entity, String ids, RedirectAttributes redirectAttributes,