fix parentid
This commit is contained in:
parent
861b838102
commit
0009d7f9e7
@ -31,9 +31,6 @@ public class RksIsi extends BaseEntity {
|
||||
@Column(name = "parent_id")
|
||||
private Integer parentId;
|
||||
|
||||
@Column(name = "parent")
|
||||
private String parent;
|
||||
|
||||
@Column(name = "nama")
|
||||
private String nama;
|
||||
|
||||
|
@ -19,6 +19,7 @@ public class RksIsiResponse extends BaseResponse {
|
||||
private String nama;
|
||||
private String bab;
|
||||
private String subBab;
|
||||
private String kelompok;
|
||||
private String urutan;
|
||||
private Boolean isKontrak;
|
||||
private Boolean isActive;
|
||||
|
@ -36,6 +36,7 @@ public class GetListRksIsiService implements BaseService<RksIsiRequest, ListRksI
|
||||
.bab(rksIsi.getBab())
|
||||
.subBab(rksIsi.getSubBab())
|
||||
.urutan(rksIsi.getUrutan())
|
||||
.kelompok(rksIsi.getKelompok())
|
||||
.isKontrak(rksIsi.getIsKontrak())
|
||||
.build();
|
||||
rksIsiResponseList.add(rksIsiResponse);
|
||||
|
@ -57,7 +57,7 @@ public class PostCreateRksIsiService implements BaseService<RksIsiRequest, RksIs
|
||||
Constants.ERR_TTL_10002,
|
||||
String.format(Constants.ERR_MSG_10002, "Bab", input.getBab()));
|
||||
}
|
||||
rksIsi.setParent(input.getParent());
|
||||
rksIsi.setParentId(input.getParentId());
|
||||
rksIsi.setBab(input.getBab());
|
||||
return;
|
||||
}
|
||||
@ -71,7 +71,7 @@ public class PostCreateRksIsiService implements BaseService<RksIsiRequest, RksIs
|
||||
Constants.ERR_TTL_10002,
|
||||
String.format(Constants.ERR_MSG_10002, "Sub Bab", input.getSubBab()));
|
||||
}
|
||||
rksIsi.setParent(input.getParent());
|
||||
rksIsi.setParentId(input.getParentId());
|
||||
rksIsi.setSubBab(input.getSubBab());
|
||||
return;
|
||||
}
|
||||
@ -85,7 +85,7 @@ public class PostCreateRksIsiService implements BaseService<RksIsiRequest, RksIs
|
||||
Constants.ERR_TTL_10002,
|
||||
String.format(Constants.ERR_MSG_10002, "Sub Bab", input.getKelompok()));
|
||||
}
|
||||
rksIsi.setParent(input.getParent());
|
||||
rksIsi.setParentId(input.getParentId());
|
||||
rksIsi.setKelompok(input.getKelompok());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user