Update PelayananPasienServiceImpl.java
Perbaikan pesan produk belum mapping atau bukan termasuk diskon paket
This commit is contained in:
parent
572089bec8
commit
63bdf28615
@ -2239,7 +2239,8 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel
|
||||
.filter(d -> !listId.contains(d.getProduk().getId())).findFirst();
|
||||
if (byProduk.isPresent())
|
||||
throw new ServiceVOException("Produk " + byProduk.get().getProduk().getNamaProduk()
|
||||
+ " tidak dapat didiskon karena belum dilakukan mapping");
|
||||
+ " tidak dapat didiskon karena belum dilakukan mapping /" +
|
||||
" tidak termasuk detail paket yang dapat diskon");
|
||||
}
|
||||
listPelayanan.forEach(p -> {
|
||||
Optional<TagihanPendaftaranDto> dto = dtoList.stream().filter(d -> d.getNoRec().equals(p.getNoRec()))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user