Update MapProdukKelompokKerjaService
Perbaikan set status mapping untuk menu mapping produk - kelompok kerja
This commit is contained in:
parent
91c7b000f8
commit
c5eae468b7
@ -185,6 +185,8 @@ public class MapProdukKelompokKerjaServiceImpl extends BaseVoServiceImpl impleme
|
|||||||
List<Map<String, Object>> mapping = mapProdukKelompokKerjaDao.findMappingByProduk(idProduk);
|
List<Map<String, Object>> mapping = mapProdukKelompokKerjaDao.findMappingByProduk(idProduk);
|
||||||
|
|
||||||
for (Map<String, Object> mapRs : kelompokKerja) {
|
for (Map<String, Object> mapRs : kelompokKerja) {
|
||||||
|
mapRs.put("noRec", null);
|
||||||
|
mapRs.put("statusMapping", false);
|
||||||
for (Map<String, Object> map : mapping) {
|
for (Map<String, Object> map : mapping) {
|
||||||
if (mapRs.get("subunitKerjaId").equals(map.get("kelompokKerjaId"))
|
if (mapRs.get("subunitKerjaId").equals(map.get("kelompokKerjaId"))
|
||||||
&& CommonUtil.isNotNullOrEmpty(map.get("noRec"))) {
|
&& CommonUtil.isNotNullOrEmpty(map.get("noRec"))) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user