UserInfoService.java 793 Bytes
Newer Older
吴泽佳's avatar
吴泽佳 committed
1 2
package com.tanpu.feo.feojob.service;

吴泽佳's avatar
吴泽佳 committed
3
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
吴泽佳's avatar
吴泽佳 committed
4
import com.tanpu.feo.feojob.entity.UserInfoEntity;
吴泽佳's avatar
吴泽佳 committed
5 6 7 8
import com.tanpu.feo.feojob.mapper.UserInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
吴泽佳's avatar
吴泽佳 committed
9 10 11 12

import java.util.List;

/**
吴泽佳's avatar
吴泽佳 committed
13
 * ServiceImp
吴泽佳's avatar
吴泽佳 committed
14 15 16
 *
 * @author zejia zj wu 2021年05月18日
 * @version 1.0
吴泽佳's avatar
吴泽佳 committed
17 18 19 20
 */
@Service("userInfoService")
@Slf4j
public class UserInfoService {
吴泽佳's avatar
吴泽佳 committed
21

吴泽佳's avatar
吴泽佳 committed
22 23
	@Autowired
	private UserInfoMapper userInfoMapper;
吴泽佳's avatar
吴泽佳 committed
24

吴泽佳's avatar
吴泽佳 committed
25 26 27
	public List<UserInfoEntity> getUserInfoListByOrgId(String orgId) {
		return userInfoMapper.selectList(Wrappers.lambdaQuery(UserInfoEntity.class).eq(UserInfoEntity::getOrgId, orgId).eq(UserInfoEntity::getDeletetag,"0"));
	}
吴泽佳's avatar
吴泽佳 committed
28
}