|
@@ -6,6 +6,7 @@ import cn.hutool.core.convert.Convert;
|
|
import cn.hutool.core.lang.Validator;
|
|
import cn.hutool.core.lang.Validator;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import cn.hutool.core.util.StrUtil;
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
@@ -42,6 +43,7 @@ import com.zhongzheng.modules.goods.domain.Goods;
|
|
import com.zhongzheng.modules.goods.service.IGoodsService;
|
|
import com.zhongzheng.modules.goods.service.IGoodsService;
|
|
import com.zhongzheng.modules.grade.bo.ClassGradeUserQueryBo;
|
|
import com.zhongzheng.modules.grade.bo.ClassGradeUserQueryBo;
|
|
import com.zhongzheng.modules.grade.service.IClassGradeUserService;
|
|
import com.zhongzheng.modules.grade.service.IClassGradeUserService;
|
|
|
|
+import com.zhongzheng.modules.grade.service.impl.ClassGradeServiceImpl;
|
|
import com.zhongzheng.modules.grade.vo.ClassGradeUserGoodsVo;
|
|
import com.zhongzheng.modules.grade.vo.ClassGradeUserGoodsVo;
|
|
import com.zhongzheng.modules.system.domain.SysTenant;
|
|
import com.zhongzheng.modules.system.domain.SysTenant;
|
|
import com.zhongzheng.modules.system.service.ISysConfigService;
|
|
import com.zhongzheng.modules.system.service.ISysConfigService;
|
|
@@ -54,6 +56,8 @@ import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
import com.zhongzheng.modules.user.mapper.UserMapper;
|
|
import com.zhongzheng.modules.user.mapper.UserMapper;
|
|
import com.zhongzheng.modules.user.service.*;
|
|
import com.zhongzheng.modules.user.service.*;
|
|
import com.zhongzheng.modules.user.vo.*;
|
|
import com.zhongzheng.modules.user.vo.*;
|
|
|
|
+import org.slf4j.Logger;
|
|
|
|
+import org.slf4j.LoggerFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
@@ -78,6 +82,8 @@ import java.util.stream.Collectors;
|
|
@Service
|
|
@Service
|
|
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
|
|
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
|
|
|
|
|
|
|
|
+ private static Logger log = LoggerFactory.getLogger(UserServiceImpl.class);
|
|
|
|
+
|
|
@Autowired
|
|
@Autowired
|
|
private CollectCourseMapper collectCourseMapper;
|
|
private CollectCourseMapper collectCourseMapper;
|
|
|
|
|
|
@@ -962,6 +968,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
|
if(Validator.isEmpty(bo.getTelphone())){
|
|
if(Validator.isEmpty(bo.getTelphone())){
|
|
throw new CustomException("用户手机号码缺失");
|
|
throw new CustomException("用户手机号码缺失");
|
|
}
|
|
}
|
|
|
|
+ log.info("批量获取用户ID" + JSON.toJSONString(bo));
|
|
// if(Validator.isEmpty(bo.getIdCard())){
|
|
// if(Validator.isEmpty(bo.getIdCard())){
|
|
// throw new CustomException("用户身份证号码缺失");
|
|
// throw new CustomException("用户身份证号码缺失");
|
|
// }
|
|
// }
|