|
|
@ -31,7 +31,8 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
|
|
|
|
private FileBean fileBean;
|
|
|
|
private FileBean fileBean;
|
|
|
|
@Resource(name = "crdnService")
|
|
|
|
@Resource(name = "crdnService")
|
|
|
|
private CrdnService crdnService;
|
|
|
|
private CrdnService crdnService;
|
|
|
|
|
|
|
|
@Resource(name = "crdnBean")
|
|
|
|
|
|
|
|
private CrdnBean crdnBean;
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public int createCrdns(List<String> interfaceSequences) {
|
|
|
|
public int createCrdns(List<String> interfaceSequences) {
|
|
|
|
List<Petition> petitions = smgBean.getPetitions(interfaceSequences);
|
|
|
|
List<Petition> petitions = smgBean.getPetitions(interfaceSequences);
|
|
|
@ -52,7 +53,7 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
crdn.setCvlcptLinkYn("Y");
|
|
|
|
crdn.setCvlcptLinkYn("Y");
|
|
|
|
crdnService.create(null, crdn, files);
|
|
|
|
crdnBean.create(null, crdn, files);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
importBean.createCvlcpts(petitions);
|
|
|
|
importBean.createCvlcpts(petitions);
|
|
|
|