/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.hr.dao;

import com.jeeplus.common.persistence.CrudDao;
import com.jeeplus.common.persistence.annotation.MyBatisDao;
import com.jeeplus.modules.hr.entity.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * 人员基本信息DAO接口
 * @author fgy
 * @version 2017-12-06
 */
@MyBatisDao
public interface UserInfoDao extends CrudDao<UserInfo> {

    List<UserInfo> findList(UserInfo userInfo);

    UserInfo findUserInfoByUserIdCompanyId(@Param("userId") String userId, @Param("companyId") String companyId);

    ArrayList<UserInfo> findUserInfoList(UserInfo userInfo);
}