|
|
@@ -15,11 +15,11 @@ public interface AccountInfoRepo extends AbstractJpaRepo<AccountInfo, String> { |
|
|
|
@Query("FROM AccountInfo WHERE openId=?1") |
|
|
|
AccountInfo findByOpenId(String openId); |
|
|
|
|
|
|
|
@Query("FROM AccountInfo WHERE idNum = ?1 and userType = ?2") |
|
|
|
AccountInfo findByIdNumAndUserType(String idNum, UserType userType); |
|
|
|
@Query("FROM AccountInfo WHERE idNum = ?1") |
|
|
|
AccountInfo findByIdNumAndUserType(String idNum); |
|
|
|
|
|
|
|
@Query("FROM AccountInfo WHERE mobile=?1 ") |
|
|
|
List<AccountInfo> findAllByMobile(String mobile); |
|
|
|
AccountInfo findAllByMobile(String mobile); |
|
|
|
|
|
|
|
@Query("FROM AccountInfo WHERE openId in ?1") |
|
|
|
List<AccountInfo> findByOpenIdList(List<String> openIds); |