enhance list drp pengadaan by id drp

This commit is contained in:
dirgantarasiahaan
2023-06-02 15:12:29 +07:00
parent 5be630964f
commit d2015e6695
3 changed files with 7 additions and 4 deletions

View File

@@ -51,8 +51,9 @@ public interface DrpPengadaanRepository extends JpaRepository<DrpPengadaan, Long
"JOIN SupplyPositioningMatrix spm ON spm.id = dp.supplyPositioningMatrixId " +
"JOIN UnitInisiator ui ON ui.id = dp.unitInisiatorId " +
"WHERE dp.isDelete = false " +
"AND dp.drpId = :drpId " +
"ORDER BY dp.id")
Page<DrpPengadaanView> getListDrpPengadaan(Pageable pageable);
Page<DrpPengadaanView> getListDrpPengadaan(Long drpId, Pageable pageable);
@Query(value = "SELECT dp.id as id, " +
"dp.nomor as nomor, " +