|
@@ -3,6 +3,7 @@ package com.zhongzheng.modules.user.service.impl;
|
|
|
import cn.hutool.core.bean.BeanUtil;
|
|
import cn.hutool.core.bean.BeanUtil;
|
|
|
import cn.hutool.core.lang.Validator;
|
|
import cn.hutool.core.lang.Validator;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
+import com.zhongzheng.common.annotation.DataScope;
|
|
|
import com.zhongzheng.common.exception.CustomException;
|
|
import com.zhongzheng.common.exception.CustomException;
|
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
|
import com.zhongzheng.modules.base.bo.ConsoleQueryBo;
|
|
import com.zhongzheng.modules.base.bo.ConsoleQueryBo;
|
|
@@ -148,6 +149,7 @@ public class UserUpdateServiceImpl extends ServiceImpl<UserUpdateMapper, UserUpd
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
|
|
+ @DataScope(businessAlias = "cb")
|
|
|
public List<UserUpdateVo> listUserChangeInfo(ConsoleQueryBo bo) {
|
|
public List<UserUpdateVo> listUserChangeInfo(ConsoleQueryBo bo) {
|
|
|
List<UserUpdateVo> userUpdateVos = entity2UserUpdateVo(baseMapper.selectChangeInfo(bo));
|
|
List<UserUpdateVo> userUpdateVos = entity2UserUpdateVo(baseMapper.selectChangeInfo(bo));
|
|
|
userUpdateVos.forEach(userUpdate->{
|
|
userUpdateVos.forEach(userUpdate->{
|