|
@ -38,9 +38,9 @@ public interface BasePatientDao extends PagingAndSortingRepository<BasePatientDO
|
|
|
@Query("from BasePatientDO p where p.mobile = ?1 and p.del=?2")
|
|
|
List<BasePatientDO> findByMobileAndDel(String mobile,String del);
|
|
|
|
|
|
@Modifying
|
|
|
@Query(" update BasePatientDO a set a.openid=?2 where a.id=?1 ")
|
|
|
int updateOpenId(String id, String openId);
|
|
|
// @Modifying
|
|
|
// @Query(" update BasePatientDO a set a.openid=?2 where a.id=?1 ")
|
|
|
// int updateOpenId(String id, String openId);
|
|
|
|
|
|
BasePatientDO findByIdAndDel(String id,String del);
|
|
|
}
|