Commit 35ade8c5 authored by 赵啸非's avatar 赵啸非

添加设备日志类型筛选

parent bc15c106
...@@ -109,3 +109,13 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName ...@@ -109,3 +109,13 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'dzmp', '电子门牌', 1, 4, 0, 'level', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'dzmp', '电子门牌', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'hysdzmp', '会议室电子门牌', 1, 4, 0, 'level', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'hysdzmp', '会议室电子门牌', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'device-manager', '设备管理系统', 1, 4, 0, 'level', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'device-manager', '设备管理系统', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'java', 'JAVA', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'php', 'PHP', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'c#', 'C#', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'android', 'ANDROID', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'vue', 'VUE', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'webos', 'WEBOS', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'ios', 'IOS', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'python', 'PYTHON', 1, 4, 0, 'level', NULL, NULL, NULL);
...@@ -46,7 +46,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL ...@@ -46,7 +46,7 @@ public class ErrorLogController extends BaseCRUDJsonBodyMappingController<ErrorL
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "platform", paramService.getParamBySecondOrganize("ErrorLog","platform")); this.addDict(model, "platform", paramService.getParamBySecondOrganize("ErrorLog","platform"));
this.addDict(model, "level", paramService.getParamBySecondOrganize("ErrorLog","level")); this.addDict(model, "level", paramService.getParamBySecondOrganize("ErrorLog","level"));
this.addDict(model, "appName", paramService.getParamBySecondOrganize("BizLog","appName")); this.addDict(model, "appName", paramService.getParamBySecondOrganize("OperateLog","platformMark"));
super.init(model, context); super.init(model, context);
} }
......
...@@ -61,6 +61,9 @@ public class OperateLogController extends BaseCRUDJsonBodyMappingController<Oper ...@@ -61,6 +61,9 @@ public class OperateLogController extends BaseCRUDJsonBodyMappingController<Oper
@Override @Override
@UnAuth @UnAuth
public String save(@RequestBody OperateLogEntity entity) { public String save(@RequestBody OperateLogEntity entity) {
return super.save(entity); return super.save(entity);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment