提交 5bece656 编写于 作者: JEECG低代码平台's avatar JEECG低代码平台

解决:关于使用Quzrtz 开启线程任务, #465

上级 80888155
......@@ -49,8 +49,15 @@ public class MybatisInterceptor implements Interceptor {
for (Field field : fields) {
log.debug("------field.name------" + field.getName());
try {
//update-begin--Author:scott Date:20190828 for:关于使用Quzrtz 开启线程任务, #465
// 获取登录用户信息
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
LoginUser sysUser = null;
try{
sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
}catch (Exception e){
sysUser = null;
}
//update-end--Author:scott Date:20190828 for:关于使用Quzrtz 开启线程任务, #465
if ("createBy".equals(field.getName())) {
field.setAccessible(true);
Object local_createBy = field.get(parameter);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册