|
|
@ -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]";
|
|
|
|