Object List批量删除增加提示信息
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user