package cn.quantgroup.third.customer.repo;

import cn.quantgroup.third.customer.entity.LhpdsSysUser;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface LhpdsSysUserRepo extends JpaRepository<LhpdsSysUser, Long> , JpaSpecificationExecutor<LhpdsSysUser> {

  @Query(value = "select * from lhpds_sys_user where account_id IN :accountIds", nativeQuery = true)
  List<LhpdsSysUser> getUserByAccountIdList(@Param("accountIds") List<String> accountIds);
}
