|
|
@@ -3,6 +3,7 @@ package com.qtzl.alterSales.dao.repo.jpa.second; |
|
|
|
import com.qtzl.alterSales.dao.entity.second.AflCenterUserInfo; |
|
|
|
import org.springframework.data.jpa.repository.JpaRepository; |
|
|
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor; |
|
|
|
import org.springframework.data.jpa.repository.Query; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
@@ -28,4 +29,15 @@ public interface AflCenterUserInfoRepo extends JpaRepository<AflCenterUserInfo, |
|
|
|
* @return 、 |
|
|
|
*/ |
|
|
|
List<AflCenterUserInfo> findByIdTypeAndIdNum(Integer idType, String idNum); |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据accountId获取用户信息 |
|
|
|
* @param accountId |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@Query(" from AflCenterUserInfo where accountId=?1 ") |
|
|
|
AflCenterUserInfo findByAccountId(String accountId); |
|
|
|
@Query(" select count(id) from AflCenterUserInfo") |
|
|
|
int byCount(); |
|
|
|
|
|
|
|
} |