Commit d8217b5f by guojuxing

操作日志的操作模块修复

parent 676de3c2
......@@ -47,7 +47,11 @@ public class LogUtils {
//操作模块
String moduleMenuName = (String) RequestContext.getContext().getRequest().getAttribute("moduleMenuName");
Integer moduleMenuId = (Integer) RequestContext.getContext().getRequest().getAttribute("moduleMenuId");
logDTO.setRelationId(Long.valueOf(moduleMenuId));
if (moduleMenuId != null) {
logDTO.setRelationId(Long.valueOf(moduleMenuId));
} else {
LOGGER.info("操作模块数据有误");
}
//操作对象
//账号(手机号)?
......
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