修改日志公共类属性名称
This commit is contained in:
@@ -489,7 +489,7 @@ public class BaseController {
|
||||
public void setLogAction(BaseLogEntity log) {
|
||||
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
|
||||
for (FunctionServiceDict dict : serviceList) {
|
||||
if (dict.getServiceId().intValue() == log.getServiceType().intValue()) {
|
||||
if (dict.getServiceId().intValue() == log.getService().intValue()) {
|
||||
log.setAction(dict.getAction());
|
||||
}
|
||||
}
|
||||
@@ -513,20 +513,20 @@ public class BaseController {
|
||||
entry.setSearchFoundEndTime(endTime);
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(entry.getProtocol())) {
|
||||
params.put("searchTransProto", entry.getProtocol());
|
||||
if (StringUtils.isNotBlank(entry.getTransProto())) {
|
||||
params.put("searchTransProto", entry.getTransProto());
|
||||
}
|
||||
if (entry.getServiceType()!=null) {
|
||||
params.put("searchService", entry.getServiceType());
|
||||
if (entry.getService()!=null) {
|
||||
params.put("searchService", entry.getService());
|
||||
}
|
||||
if (StringUtils.isNotBlank(entry.getServerIp())) {
|
||||
params.put("searchDIp", entry.getServerIp());
|
||||
if (StringUtils.isNotBlank(entry.getdIp())) {
|
||||
params.put("searchDIp", entry.getdIp());
|
||||
}
|
||||
if (StringUtils.isNotBlank(entry.getClientIp())) {
|
||||
params.put("searchSIp", entry.getClientIp());
|
||||
if (StringUtils.isNotBlank(entry.getsIp())) {
|
||||
params.put("searchSIp", entry.getsIp());
|
||||
}
|
||||
if (StringUtils.isNotBlank(entry.getCljIp())) {
|
||||
params.put("searchCapIp", entry.getCljIp());
|
||||
if (StringUtils.isNotBlank(entry.getCapIp())) {
|
||||
params.put("searchCapIp", entry.getCapIp());
|
||||
}
|
||||
if (entry.getDirection()!=null) {
|
||||
params.put("searchDirection", entry.getDirection());
|
||||
|
||||
Reference in New Issue
Block a user