Update MapProdukKelompokKerjaService

Perbaikan set status mapping untuk menu mapping produk - kelompok kerja
This commit is contained in:
Salman Manoe 2022-03-31 20:06:56 +07:00
parent 91c7b000f8
commit c5eae468b7

View File

@ -185,6 +185,8 @@ public class MapProdukKelompokKerjaServiceImpl extends BaseVoServiceImpl impleme
List<Map<String, Object>> mapping = mapProdukKelompokKerjaDao.findMappingByProduk(idProduk);
for (Map<String, Object> mapRs : kelompokKerja) {
mapRs.put("noRec", null);
mapRs.put("statusMapping", false);
for (Map<String, Object> map : mapping) {
if (mapRs.get("subunitKerjaId").equals(map.get("kelompokKerjaId"))
&& CommonUtil.isNotNullOrEmpty(map.get("noRec"))) {