|
|
@ -20,6 +20,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
@ -34,9 +35,9 @@ import java.util.stream.Collectors; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Service |
|
|
|
@Service |
|
|
|
public class HrUserAccountServiceImpl extends ServiceImpl<HrUserAccountMapper, HrUserAccount> implements IHrUserAccountService { |
|
|
|
public class HrUserAccountServiceImpl extends ServiceImpl<HrUserAccountMapper, HrUserAccount> implements IHrUserAccountService { |
|
|
|
@Autowired |
|
|
|
@Resource |
|
|
|
private HrUserAccountMapper hrUserAccountMapper; |
|
|
|
private HrUserAccountMapper hrUserAccountMapper; |
|
|
|
@Autowired |
|
|
|
@Resource |
|
|
|
private HrUserInfoMapper hrUserInfoMapper; |
|
|
|
private HrUserInfoMapper hrUserInfoMapper; |
|
|
|
|
|
|
|
|
|
|
|
public List queryPage(Integer page, Integer size, UserInfoReq userInfoReq) { |
|
|
|
public List queryPage(Integer page, Integer size, UserInfoReq userInfoReq) { |
|
|
@ -98,4 +99,10 @@ public class HrUserAccountServiceImpl extends ServiceImpl<HrUserAccountMapper, H |
|
|
|
res.setMap(group2); |
|
|
|
res.setMap(group2); |
|
|
|
return res; |
|
|
|
return res; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public HrUserAccount selectAccountDetail(Integer accountId) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return hrUserAccountMapper.selectOne(new QueryWrapper<HrUserAccount>().eq("id",accountId)); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|