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