Update service master pasien
Penerapan parameter kdprofile untuk flag update nik pasien kepesertaan bpjs
This commit is contained in:
parent
d0a3b67d6c
commit
6d3a1ecc42
@ -110,7 +110,7 @@ public interface PasienDao extends JpaRepository<Pasien, Integer> {
|
||||
+ "and to_char(anak.tglLahir,'yyyy-MM-dd') between :tglAwal and :tglAkhir " + "order by ibu.namaPasien")
|
||||
List<Map<String, Object>> findIbuAnak(@Param("tglAwal") String tglAwal, @Param("tglAkhir") String tglAkhir);
|
||||
|
||||
@Query(value = "select ps.* " + "from pasien_m ps " + "where ps.statusenabled is true "
|
||||
@Query(value = "select ps.* " + "from pasien_m ps " + "where ps.statusenabled is true " + "and ps.kdProfile <> 1 "
|
||||
+ "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", nativeQuery = true)
|
||||
|
||||
@ -17,4 +17,5 @@ import lombok.NoArgsConstructor;
|
||||
public class PesertaBpjsDto {
|
||||
private String noKartu;
|
||||
private String nik;
|
||||
private Short kdProfile;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user