|
|
@@ -2,6 +2,7 @@ package com.ruoyi.web.modules.trading.support;
|
|
2
|
2
|
|
|
3
|
3
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
4
|
4
|
import org.springframework.stereotype.Component;
|
|
|
5
|
+import com.github.pagehelper.PageHelper;
|
|
5
|
6
|
import com.ruoyi.common.exception.ServiceException;
|
|
6
|
7
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
7
|
8
|
import com.ruoyi.web.modules.trading.domain.BizDistributor;
|
|
|
@@ -23,6 +24,7 @@ public class AppDistributorSessionSupport
|
|
23
|
24
|
{
|
|
24
|
25
|
throw new ServiceException(AppDistributorHomeRules.MSG_NO_DISTRIBUTOR);
|
|
25
|
26
|
}
|
|
|
27
|
+ PageHelper.clearPage();
|
|
26
|
28
|
BizDistributor row = bizDistributorMapper.selectBizDistributorBySysUserId(userId);
|
|
27
|
29
|
if (row == null || row.getId() == null)
|
|
28
|
30
|
{
|