huminghao 3 месяцев назад
Родитель
Сommit
9c4b2ca4aa

+ 3
- 3
gly-base-core/src/main/java/cn/com/taiji/core/repo/jpa/user/AccountInfoRepo.java Просмотреть файл

@@ -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);

Загрузка…
Отмена
Сохранить