|
|
|
@ -2,7 +2,6 @@ package com.gszc.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
|
|
|
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
|
|
|
|
import com.gszc.entity.Custom;
|
|
|
|
|
import com.gszc.entity.PcUser;
|
|
|
|
|
import com.gszc.mapper.PcUserMapper;
|
|
|
|
|
import com.gszc.service.IPcUserService;
|
|
|
|
@ -10,7 +9,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.UUID;
|
|
|
|
@ -35,6 +33,10 @@ public class PcUserServiceImpl extends ServiceImpl<PcUserMapper, PcUser> impleme
|
|
|
|
|
return pcUsers;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public PcUser pcUserDetail(String userId){
|
|
|
|
|
PcUser pcUser = pcUserMapper.selectById(userId);
|
|
|
|
|
return pcUser;
|
|
|
|
|
}
|
|
|
|
|
public void addUser(PcUser pcUser){
|
|
|
|
|
String uuid = UUID.randomUUID().toString();
|
|
|
|
|
pcUser.setId(uuid);
|
|
|
|
|