Merge remote-tracking branch 'origin/master' into dev-deploy

This commit is contained in:
Salman Manoe 2023-10-13 07:30:08 +07:00
commit ad408172c4

View File

@ -113,7 +113,6 @@ public interface PasienDao extends JpaRepository<Pasien, Integer> {
@Query(value = "select ps.* " + "from pasien_m ps " + "where ps.statusenabled is true "
+ "and (ps.nobpjs is not null " + "and trim(ps.nobpjs) <> '' " + "and ps.nobpjs <> '-' "
+ "and ps.nobpjs ~ '[0-9]+' " + "and length(ps.nobpjs) = 13) " + "and (ps.noidentitas is null "
+ "or length(ps.noidentitas) <> 16) "
+ "order by ps.statusenabled, ps.tgldaftar desc limit 300", nativeQuery = true)
+ "or length(ps.noidentitas) <> 16) " + "order by ps.statusenabled, ps.tgldaftar desc", nativeQuery = true)
List<Pasien> findByValidBpjs();
}