|
@@ -1,6 +1,7 @@
|
|
|
package com.fs.qw.qwTask;
|
|
package com.fs.qw.qwTask;
|
|
|
|
|
|
|
|
import com.fs.course.service.IFsUserCourseService;
|
|
import com.fs.course.service.IFsUserCourseService;
|
|
|
|
|
+import com.fs.his.service.IFsUserService;
|
|
|
import com.fs.qw.domain.QwIpadServerLog;
|
|
import com.fs.qw.domain.QwIpadServerLog;
|
|
|
import com.fs.qw.domain.QwUser;
|
|
import com.fs.qw.domain.QwUser;
|
|
|
import com.fs.qw.mapper.QwUserMapper;
|
|
import com.fs.qw.mapper.QwUserMapper;
|
|
@@ -72,6 +73,9 @@ public class qwTask {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private WxWorkService wxWorkService;
|
|
private WxWorkService wxWorkService;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsUserService fsUserService;
|
|
|
|
|
+
|
|
|
|
|
|
|
|
//正在使用
|
|
//正在使用
|
|
|
public void qwExternalContact()
|
|
public void qwExternalContact()
|
|
@@ -286,4 +290,13 @@ public class qwTask {
|
|
|
qwUserMapper.updateQwUser(u);
|
|
qwUserMapper.updateQwUser(u);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 自动解除误封禁的用户
|
|
|
|
|
+ * 定时任务:将 fs_user 表中 status=0 且 remark 为 null 的用户
|
|
|
|
|
+ * 自动恢复为 status=1,并设置 remark="自动解除封禁"
|
|
|
|
|
+ */
|
|
|
|
|
+ public void autoUnbanMistakenlyDisabledUsers() {
|
|
|
|
|
+ fsUserService.autoUnbanMistakenlyDisabledUsers();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|