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