no message

main
이범준 6 months ago
parent 3c3b5efa1a
commit 3f6f350e8c

@ -34,8 +34,7 @@ public class FimsOgdpServiceBean extends AbstractServiceBean implements OgdpServ
@Override @Override
public String create(Department dept) { public String create(Department dept) {
if(dept instanceof FimsDepartment) { if(dept instanceof FimsDepartment fdept) {
FimsDepartment fdept = (FimsDepartment) dept;
return fimsOgdpBean.createFimsDept(fdept) ? "[S]" : "[F]"; return fimsOgdpBean.createFimsDept(fdept) ? "[S]" : "[F]";
} }
return "[F]"; return "[F]";
@ -43,8 +42,7 @@ public class FimsOgdpServiceBean extends AbstractServiceBean implements OgdpServ
@Override @Override
public String update(Department dept) { public String update(Department dept) {
if(dept instanceof FimsDepartment) { if(dept instanceof FimsDepartment fdept) {
FimsDepartment fdept = (FimsDepartment) dept;
return fimsOgdpBean.updateFimsDept(fdept) ? "[S]" : "[F]"; return fimsOgdpBean.updateFimsDept(fdept) ? "[S]" : "[F]";
} }
return "[F]"; return "[F]";

Loading…
Cancel
Save