日志公共类增加查询字段

This commit is contained in:
zhanghongqing
2018-06-12 13:32:00 +08:00
parent 5a3bb59f17
commit 9d552fa8d3
2 changed files with 26 additions and 2 deletions

View File

@@ -29,6 +29,30 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
private String nestAddrList; //嵌套地址列表
private String userRegion; //用户自定义
//自定义字段
protected String seltype;//选中类型,页面搜索用
protected String searchFoundStartTime;//开始时间格式为yyyy-mm-dd hh24:mi:ss
protected String searchFoundendTime;//结束时间,格式同上
public String getSearchFoundStartTime() {
return searchFoundStartTime;
}
public void setSearchFoundStartTime(String searchFoundStartTime) {
this.searchFoundStartTime = searchFoundStartTime;
}
public String getSearchFoundendTime() {
return searchFoundendTime;
}
public void setSearchFoundendTime(String searchFoundendTime) {
this.searchFoundendTime = searchFoundendTime;
}
public String getSeltype() {
return seltype;
}
public void setSeltype(String seltype) {
this.seltype = seltype;
}
public Integer getCfgId() {
return cfgId;
}

View File

@@ -6,12 +6,12 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.nis.web.controller.BaseController;
@Controller
@RequestMapping(value = "/logs")
@RequestMapping(value = "/log")
public class LogChartController extends BaseController{
@RequestMapping(value="logChart")
public String logChart(){
return "/logs/chart";
return "/log/chart";
}
@RequestMapping(value="ajaxChart")
@ResponseBody