|
@@ -9,6 +9,7 @@ import com.fs.common.core.domain.ResponseResult;
|
|
|
import com.fs.common.core.page.TableDataInfo;
|
|
|
import com.fs.common.enums.BusinessType;
|
|
|
import com.fs.common.utils.ServletUtils;
|
|
|
+import com.fs.common.utils.StringUtils;
|
|
|
import com.fs.common.utils.poi.ExcelUtil;
|
|
|
import com.fs.course.service.IFsUserCompanyUserService;
|
|
|
import com.fs.framework.security.LoginUser;
|
|
@@ -241,8 +242,9 @@ public class FsUserController extends BaseController
|
|
|
public R darkRoomList(FsUserPageListParam param) {
|
|
|
LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
param.setUserId(loginUser.getUser().getUserId());
|
|
|
-// startPage();
|
|
|
-// PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
|
+ if(StringUtils.isFullNumber(param.getKeyword()) && param.getKeyword().trim().length() == 11){
|
|
|
+ param.setKeyword(encryptPhone(param.getKeyword()));
|
|
|
+ }
|
|
|
PageInfo<FsUserPageListVO> fsUserPageListVOPageInfo = fsUserService.selectFsUserPageList(param);
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
map.put("rows", fsUserPageListVOPageInfo.getList());
|
|
@@ -265,6 +267,9 @@ public class FsUserController extends BaseController
|
|
|
public R blacklist(FsUserPageListParam param) {
|
|
|
LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
param.setUserId(loginUser.getUser().getUserId());
|
|
|
+ if(StringUtils.isFullNumber(param.getKeyword()) && param.getKeyword().trim().length() == 11){
|
|
|
+ param.setKeyword(encryptPhone(param.getKeyword()));
|
|
|
+ }
|
|
|
PageInfo<FsUserPageListVO> fsUserPageListVOPageInfo = fsUserService.selectFsUserPageList(param);
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
map.put("rows", fsUserPageListVOPageInfo.getList());
|