日志查询添加配置信息

This commit is contained in:
leijun
2018-12-11 11:12:23 +08:00
parent 22c22c06d6
commit b8804d5d98
37 changed files with 397 additions and 102 deletions

View File

@@ -132,6 +132,8 @@ public class FileTransferCfgController extends BaseController{
model.addAttribute("tabList", tabList);
return "/cfg/fileTransfer/ftpSubList";
}
/**
* 做删除操作
* @param isValid
@@ -371,6 +373,24 @@ public class FileTransferCfgController extends BaseController{
return "/cfg/fileTransfer/fileDigestSubList";
}
@RequestMapping(value = {"ajaxFileDigestLogSubIdList"})
public String ajaxFileDigestLogSubIdList(Model model,Long cfgId,Integer index,Integer compileId) {
FileDigestCfg cfg = fileTransferCfgService.getFileDigestSubIdCfg(cfgId,compileId);
List<String[]> tabList = new ArrayList();
String cfgType = null;
if(!cfg.getCfgType().equals(cfgType)){
tabList.add(new String[]{"1",cfg.getCfgType()});
cfgType = cfg.getCfgType();
}
model.addAttribute("_cfg", cfg);
model.addAttribute("index", index);
model.addAttribute("tabList", tabList);
return "/cfg/fileTransfer/fileDigestLogSubList";
}
@RequestMapping(value = {"p2pList"})
public String p2pList(Model model,@ModelAttribute("cfg")CfgIndexInfo cfg,HttpServletRequest request,HttpServletResponse response) {
Page<CfgIndexInfo> searchPage=new Page<CfgIndexInfo>(request,response,"a");