|
|
@@ -38,6 +38,7 @@ import com.fs.qw.domain.QwUser;
|
|
|
import com.fs.qw.mapper.QwExternalContactMapper;
|
|
|
import com.fs.qw.mapper.QwUserMapper;
|
|
|
import com.fs.qw.service.IQwGroupChatService;
|
|
|
+import com.github.pagehelper.PageHelper;
|
|
|
import com.fs.qw.service.IQwGroupChatUserService;
|
|
|
import com.fs.qw.vo.GroupUserExternalVo;
|
|
|
import com.fs.system.domain.SysConfig;
|
|
|
@@ -447,7 +448,8 @@ public class FsCourseLinkServiceImpl implements IFsCourseLinkService
|
|
|
// URL解码
|
|
|
String sLink = URLDecoder.decode(link, "UTF-8");
|
|
|
|
|
|
- // 从数据库中查找短链对应的真实链接
|
|
|
+ // 从数据库中查找短链对应的真实链接(先清掉线程残留的 PageHelper,避免 SQL 已有 limit 1 再被追加 LIMIT)
|
|
|
+ PageHelper.clearPage();
|
|
|
FsCourseLink courseLink = fsCourseLinkMapper.selectFsCourseLinkByLink(sLink);
|
|
|
if (courseLink != null) {
|
|
|
// 获取当前时间
|
|
|
@@ -580,7 +582,8 @@ public class FsCourseLinkServiceImpl implements IFsCourseLinkService
|
|
|
// URL解码
|
|
|
String sLink = URLDecoder.decode(link, "UTF-8");
|
|
|
|
|
|
- // 从数据库中查找短链对应的真实链接
|
|
|
+ // 从数据库中查找短链对应的真实链接(先清掉线程残留的 PageHelper,避免 SQL 已有 limit 1 再被追加 LIMIT)
|
|
|
+ PageHelper.clearPage();
|
|
|
FsCourseLink courseLink = fsCourseLinkMapper.selectFsCourseLinkByLink(sLink);
|
|
|
if (courseLink != null) {
|
|
|
// 获取当前时间
|