+6
-4
@@ -37,10 +37,12 @@ public class InboundErrorInfoManService extends BaseService {
|
||||
|
||||
InboundErrorInfoUI ui = inboundErrorInfoUIMapper.toVo(inboundErrorInfoService.getById(eaiSvcSerno));
|
||||
|
||||
adapterGroupService.findById(ui.getAdptrBzwkGroupName()).ifPresent(a -> {
|
||||
ui.setAdptrMsgDstcd(a.getAdptrmsgdstcd());
|
||||
ui.setAdptrMsgPtrncd(a.getAdptrmsgptrncd());
|
||||
});
|
||||
if (ui.getAdptrBzwkGroupName() != null) {
|
||||
adapterGroupService.findById(ui.getAdptrBzwkGroupName()).ifPresent(a -> {
|
||||
ui.setAdptrMsgDstcd(a.getAdptrmsgdstcd());
|
||||
ui.setAdptrMsgPtrncd(a.getAdptrmsgptrncd());
|
||||
});
|
||||
}
|
||||
|
||||
return ui;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user